.auth-step {
    animation: stepIn .38s cubic-bezier(.16, 1, .3, 1);
}

.auth-step[hidden] {
    display: none;
}

@keyframes stepIn {
    from {
        opacity: 0;
        transform: translateX(14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Luxury Segmented Mode Switcher */
.auth-mode-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 14px;
    padding: 5px;
    margin-bottom: 22px;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.4);
}

.mode-tab-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 10px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #9CA3AF;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.mode-tab-btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
}

.mode-tab-btn:hover {
    color: #F3F4F6;
    background: rgba(255, 255, 255, 0.03);
}

.mode-tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22) 0%, rgba(212, 175, 55, 0.08) 100%);
    border-color: rgba(212, 175, 55, 0.48);
    color: #F5DE98;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.mode-tab-btn.active i {
    color: #E6C25B;
}

/* Feature Badge */
.auth-feature-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px dashed rgba(212, 175, 55, 0.32);
    border-radius: 10px;
    padding: 9px 12px;
    font-size: 11.5px;
    color: #E6C25B;
    margin-bottom: 18px;
    line-height: 1.55;
}

.auth-feature-badge i {
    font-size: 16px;
    flex-shrink: 0;
    color: #D4AF37;
}

/* Helper Row */
.auth-helper-row {
    margin-top: -6px;
    margin-bottom: 18px;
    display: flex;
    justify-content: flex-start;
}

.auth-helper-row .text-link {
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    color: #F5DE98;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-helper-row .text-link:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Step Alert */
.step-alert {
    background: var(--danger-bg, rgba(255, 69, 58, 0.12));
    border: 1px solid rgba(255, 69, 58, .35);
    color: #FFD2D0;
    padding: 10px 13px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-size: 12.5px;
    font-weight: 600;
    display: none;
    align-items: center;
    gap: 8px;
}

.step-alert.show {
    display: flex;
    animation: stepIn .25s ease;
}

.step-alert i {
    font-size: 16px;
    flex-shrink: 0;
}

/* OTP Timer & Resend */
.otp-timer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
    font-size: 12px;
    color: #9CA3AF;
}

.btn-resend-otp {
    background: none;
    border: none;
    color: #F5DE98;
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s ease;
}

.btn-resend-otp:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* Password Rules Box */
.password-rules-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 18px;
}

.rule-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #71717A;
    transition: color 0.2s ease;
}

.rule-item i {
    font-size: 13px;
    transition: all 0.2s ease;
}

.rule-item.valid {
    color: #34D399;
}

.rule-item.valid i {
    color: #34D399;
}


.btn-submit[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none !important;
}
