/* =====================================================================
   FilmParty — resend-code countdown control (shared, auth pages)
   Isolated: only `.auth-resend*` selectors. RTL-aware.
   ===================================================================== */

.auth-resend-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.auth-resend-form {
    margin: 0;
    flex: 0 0 auto;
}

.auth-resend-btn {
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 10px 16px;
    font: inherit;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
    font-variant-numeric: tabular-nums;
}

.auth-resend-btn:hover:not([disabled]) {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.28);
}

.auth-resend-btn.is-waiting,
.auth-resend-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.62;
    background: rgba(255, 255, 255, 0.04);
}

.auth-resend-btn.is-waiting {
    /* Subtle pulse so the user reads it as "counting", not just dead. */
    animation: fpResendPulse 1.6s ease-in-out infinite;
}

@keyframes fpResendPulse {
    0%, 100% { opacity: 0.62; }
    50%      { opacity: 0.82; }
}

@media (prefers-reduced-motion: reduce) {
    .auth-resend-btn.is-waiting {
        animation: none;
    }
}
