/* Auth Section Styles */
.auth-section {
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: calc(100vh - 200px);
}

.auth-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.auth-forms-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.auth-forms-wrapper.show-benefits {
    grid-template-columns: 1fr 1fr;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-tab:hover {
    color: #937b61;
    background: rgba(147, 123, 97, 0.05);
}

.auth-tab.active {
    color: #937b61;
    border-bottom-color: #937b61;
}

.auth-tab i {
    font-size: 1.2rem;
}

/* Auth Form Container */
.auth-form-container {
    display: none;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.auth-form-container.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-form-header h2 {
    font-size: 2rem;
    color: #253d30;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-form-header h2 i {
    color: #937b61;
}

.auth-form-header p {
    color: #666;
    font-size: 1rem;
}

/* Auth Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #253d30;
    font-size: 0.95rem;
}

.form-group label i {
    color: #937b61;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #937b61;
    box-shadow: 0 0 0 3px rgba(147, 123, 97, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    padding-right: 45px;
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #937b61;
}

.password-strength {
    font-size: 0.85rem;
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.25rem;
}

.password-strength.weak {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

.password-strength.medium {
    color: #ffc107;
    background: rgba(255, 193, 7, 0.1);
}

.password-strength.strong {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.checkbox-group {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    color: #937b61;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #6d5a47;
    text-decoration: underline;
}

.btn-auth {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #937b61 0%, #6d5a47 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-auth:hover {
    background: linear-gradient(135deg, #6d5a47 0%, #937b61 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 123, 97, 0.3);
}

.btn-auth:active {
    transform: translateY(0);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: #999;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
}

.social-auth {
    display: flex;
    gap: 1rem;
}

.auth-bottom-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.95rem;
}

.auth-link-btn {
    background: none;
    border: none;
    color: #937b61;
    cursor: pointer;
    font-weight: 700;
    padding: 0;
    font-size: 0.95rem;
}

.auth-link-btn:hover {
    text-decoration: underline;
}

.btn-social {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.btn-social:hover {
    border-color: #937b61;
    color: #937b61;
    transform: translateY(-2px);
}

.btn-vk {
    color: #4680c2;
}

.btn-vk:hover {
    background: #4680c2;
    color: white;
    border-color: #4680c2;
}

.btn-google {
    color: #db4437;
}

.btn-google:hover {
    background: #db4437;
    color: white;
    border-color: #db4437;
}

/* Benefits Section */
.auth-benefits {
    display: none;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    align-self: start;
}

.auth-benefits.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.auth-benefits h3 {
    text-align: center;
    color: #253d30;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-benefits h3 i {
    color: #937b61;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border-left: 4px solid #937b61;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card i {
    font-size: 2rem;
    color: #937b61;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    color: #253d30;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 400px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-left: 4px solid #28a745;
}

.notification-success i {
    color: #28a745;
}

.notification-error {
    border-left: 4px solid #dc3545;
}

.notification-error i {
    color: #dc3545;
}

.notification-info {
    border-left: 4px solid #17a2b8;
}

.notification-info i {
    color: #17a2b8;
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-forms-wrapper.show-benefits {
        grid-template-columns: 1fr;
    }
    
    .auth-benefits {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 80px 0 60px;
    }

    .auth-form-container {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .social-auth {
        flex-direction: column;
    }

    .auth-tabs {
        flex-direction: column;
    }

    .auth-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
    }

    .auth-tab.active {
        border-left-color: #937b61;
        border-bottom-color: transparent;
    }
}

