/**
 * Golden Bet Contact Form Styles
 * @version 1.0.0
 * @package GoldenBetContactForm
 */

.golden-bet-contact-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background: #0f0f0f;
    color: #ffffff;
    padding: 20px 0;
    border-radius: 20px;
    margin: 20px 0;
    box-sizing: border-box;
}

.golden-bet-contact-wrapper * {
    box-sizing: border-box;
}

.golden-bet-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.golden-bet-header {
    display: flex;
    align-items: center;
    margin-bottom: 50px;
    padding: 20px 0;
}

.golden-bet-logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.golden-bet-logo-icon {
    width: 36px;
    height: 36px;
    background: #00ff7f;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.golden-bet-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.golden-bet-main-content.form-only {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.golden-bet-contact-info {
    padding-right: 20px;
}

.golden-bet-contact-info h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #00ff7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.golden-bet-contact-info p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.golden-bet-contact-details {
    margin-top: 30px;
}

.golden-bet-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    transition: all 0.3s ease;
}

.golden-bet-contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 127, 0.4);
}

.golden-bet-contact-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #00ff7f;
    flex-shrink: 0;
}

.golden-bet-contact-form {
    background: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 127, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.golden-bet-form-group {
    margin-bottom: 25px;
}

.golden-bet-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

.golden-bet-form-group input,
.golden-bet-form-group textarea,
.golden-bet-form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #ffffff !important;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    -webkit-text-fill-color: #ffffff !important;
}

.golden-bet-form-group input:focus,
.golden-bet-form-group textarea:focus,
.golden-bet-form-group select:focus {
    outline: none;
    border-color: #00ff7f;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 255, 127, 0.1);
}

.golden-bet-form-group input::placeholder,
.golden-bet-form-group textarea::placeholder {
    color: #888;
}

.golden-bet-form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.golden-bet-form-group select {
    cursor: pointer;
}

.golden-bet-form-group select option {
    background: #1a1a1a;
    color: #ffffff;
}

.golden-bet-form-response {
    margin-bottom: 20px;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 500;
    display: none;
}

.golden-bet-form-response.success {
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid rgba(0, 255, 127, 0.3);
    color: #00ff7f;
}

.golden-bet-form-response.error {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
}

.golden-bet-submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #00ff7f 0%, #00cc66 100%);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    font-family: inherit;
}

.golden-bet-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #00cc66 0%, #009944 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 127, 0.3);
}

.golden-bet-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.golden-bet-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.golden-bet-btn-loading {
    display: none;
}

/* Анимация загрузки */
.golden-bet-submit-btn:disabled .golden-bet-btn-loading {
    display: inline-block;
}

.golden-bet-submit-btn:disabled .golden-bet-btn-text {
    display: none;
}

/* Адаптивная верстка */
@media (max-width: 1024px) {
    .golden-bet-main-content {
        gap: 40px;
    }
    
    .golden-bet-contact-info h1 {
        font-size: 36px;
    }
    
    .golden-bet-contact-form {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .golden-bet-main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .golden-bet-contact-info {
        padding-right: 0;
        margin-bottom: 20px;
    }
    
    .golden-bet-contact-info h1 {
        font-size: 28px;
    }
    
    .golden-bet-contact-form {
        padding: 30px 20px;
    }
    
    .golden-bet-container {
        padding: 15px;
    }
    
    .golden-bet-header {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .golden-bet-contact-wrapper {
        margin: 10px 0;
        border-radius: 15px;
    }
    
    .golden-bet-contact-info h1 {
        font-size: 24px;
    }
    
    .golden-bet-contact-info p {
        font-size: 16px;
    }
    
    .golden-bet-form-group input,
    .golden-bet-form-group textarea,
    .golden-bet-form-group select {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .golden-bet-submit-btn {
        padding: 15px 25px;
        font-size: 14px;
    }
    
    .golden-bet-contact-form {
        padding: 25px 15px;
    }
    
    .golden-bet-container {
        padding: 10px;
    }
    
    .golden-bet-logo {
        font-size: 20px;
    }
    
    .golden-bet-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

/* Поддержка темной темы */
@media (prefers-color-scheme: dark) {
    .golden-bet-contact-wrapper {
        background: #0a0a0a;
    }
}

/* Улучшенная доступность */
.golden-bet-form-group input:focus,
.golden-bet-form-group textarea:focus,
.golden-bet-form-group select:focus {
    outline: 2px solid #00ff7f;
    outline-offset: 2px;
}

.golden-bet-submit-btn:focus {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

/* Анимации появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.golden-bet-contact-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

.golden-bet-contact-item {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.golden-bet-contact-item:nth-child(1) { animation-delay: 0.1s; }
.golden-bet-contact-item:nth-child(2) { animation-delay: 0.2s; }
.golden-bet-contact-item:nth-child(3) { animation-delay: 0.3s; }

/* Поддержка RTL */
[dir="rtl"] .golden-bet-logo-icon {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .golden-bet-contact-icon {
    margin-right: 0;
    margin-left: 15px;
}

[dir="rtl"] .golden-bet-contact-info {
    padding-right: 0;
    padding-left: 20px;
}

/* Высокий контраст */
@media (prefers-contrast: high) {
    .golden-bet-contact-form {
        border: 2px solid #00ff7f;
    }
    
    .golden-bet-form-group input,
    .golden-bet-form-group textarea,
    .golden-bet-form-group select {
        border: 2px solid rgba(255, 255, 255, 0.5);
    }
    
    .golden-bet-submit-btn {
        border: 2px solid #000;
    }
}

/* Принт стили */
@media print {
    .golden-bet-contact-wrapper {
        background: white;
        color: black;
        box-shadow: none;
    }
    
    .golden-bet-submit-btn {
        display: none;
    }
    
    .golden-bet-form-response {
        display: none !important;
    }
}