.login-card {
    animation: authCardIn 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes authCardIn {
    from { opacity: 0; transform: translateY(14px) scale(0.985); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.login-card > * {
    animation: authFieldIn 320ms ease both;
}
.login-card > *:nth-child(1) { animation-delay: 60ms; }
.login-card > *:nth-child(2) { animation-delay: 100ms; }
.login-card > *:nth-child(3) { animation-delay: 140ms; }
.login-card > *:nth-child(4) { animation-delay: 180ms; }
.login-card > *:nth-child(5) { animation-delay: 220ms; }

@keyframes authFieldIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.verify-title {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.verify-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.verify-email {
    color: var(--text);
    font-weight: 600;
    word-break: break-all;
}

.verify-alert { font-size: 13px; }

.verify-field-error { font-size: 12px; }

.otp-group {
    display: flex;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.otp-box {
    width: 100%;
    min-width: 0;
    height: 52px;
    padding: 0;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
    border-radius: var(--radius);
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.otp-box.is-filled {
    border-color: var(--primary);
    background: var(--primary-light);
}

.otp-group.is-invalid .otp-box {
    border-color: var(--danger);
    background: var(--danger-bg);
}

.verify-hint {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin: 10px 0 0;
}

.otp-plain-input {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.4em;
}

.verify-submit { padding: 10px; }

.verify-resend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    color: var(--text-secondary);
}

.verify-resend-btn {
    padding: 6px 4px;
    min-height: 44px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    transition: color var(--transition), opacity var(--transition);
}

.verify-resend-btn:hover:not(:disabled) { color: var(--primary-hover); }

.verify-resend-btn:disabled {
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.7;
    cursor: not-allowed;
}

.verify-countdown {
    font-size: 12.5px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.verify-footer {
    text-align: center;
    margin-top: 10px;
}

.verify-footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    font-size: 12.5px;
    color: var(--text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition);
}

.verify-footer-link:hover { color: var(--primary-hover); }

.verify-login-link {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.verify-back-btn { font-size: 13px; }

@media (max-width: 575.98px) {
    .otp-group { gap: 6px; }
    .otp-box { height: 48px; font-size: 19px; }
    .login-card .btn-primary,
    .login-card .form-control { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .login-card,
    .login-card > * { animation: none !important; }
}
