/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ РЕГИСТРАЦИИ ===== */

/* Auth Section */
.auth-section {
    padding: 3rem 0;
    min-height: calc(100vh - 250px);
    display: flex;
    align-items: center;
}

.auth-container {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
}

.auth-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.auth-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Form */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-input {
    padding: 0.85rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-white);
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(46, 139, 87, 0.15);
}

.form-input.error {
    border-color: var(--danger-color);
}

/* Name fields grid */
.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Error message */
.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.error-message.general-error {
    text-align: center;
    padding: 1rem;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 0.5rem;
    border: 1px solid var(--danger-color);
}

/* Password requirements */
.password-requirements {
    font-size: 0.8rem;
    color: var(--medium-gray);
    margin-top: 0.25rem;
}

/* Divider */
.auth-divider {
    text-align: center;
    margin: 2rem 0 1.5rem;
    position: relative;
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
    z-index: 1;
}

.auth-divider span {
    background: var(--bg-white);
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Buttons */
.btn-full {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    justify-content: center;
}

.text-center {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }
    
    .name-fields {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 2rem 0;
    }
    
    .auth-container {
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .btn-full {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .form-input {
        padding: 0.75rem;
    }
}