.auth-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 100%);
}

.auth-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 40px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-card h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-primary);
    font-size: 1.6rem;
    font-weight: 700;
}

.auth-card .subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-sans);
    transition: border-color var(--transition-base);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Password Requirements */
.password-requirements {
    margin-top: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.password-requirements .req-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.password-requirements li {
    padding: 3px 0;
    color: #999;
    transition: color 0.2s;
}

.password-requirements li.valid {
    color: var(--success);
}

/* Password Toggle */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper input {
    width: 100%;
    padding-right: 45px !important;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    transition: color 0.2s;
    z-index: 2;
}

.password-toggle:hover { color: var(--text-primary); }
.password-toggle svg { width: 20px; height: 20px; pointer-events: none; }

/* Disabled button state */
.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Mobile */
@media (max-width: 768px) {
    .auth-section { padding: 20px 15px; }
    .auth-card { padding: 30px 20px; }
    .auth-card h2 { font-size: 1.4rem; }
}


/* Forgot password link */
.forgot-link {
    text-align: center;
    margin-top: 15px;
}

.forgot-link a {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-link a:hover {
    text-decoration: underline;
}

/* Modal close button */
.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    color: #fff;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 4px;
    display: flex;
    align-items: center;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Modal form overrides */
.modal-content .form-group input {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.06);
    box-sizing: border-box;
}

.modal-content .password-requirements {
    margin-top: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

.modal-content .password-requirements .req-title {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.modal-content .password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-content .password-requirements li {
    padding: 3px 0;
    color: #999;
    font-size: 0.82rem;
}

/* Account actions */
.account-actions {
    display: flex;
    gap: 10px;
    row-gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* reCAPTCHA notice */
.captcha-notice {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 15px;
}