/* ===== VERIFY PAGE ===== */

/* Info banner */
.verify-info {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(79, 143, 255, 0.08);
    border: 1px solid rgba(79, 143, 255, 0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.verify-info i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.verify-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.verify-info strong {
    color: var(--text);
}

/* Code input */
.verify-code-input {
    text-align: center;
    font-size: 1.4rem !important;
    font-weight: 700;
    letter-spacing: 6px;
    font-family: monospace;
    padding: 16px !important;
    text-transform: uppercase;
}

.verify-code-input::placeholder {
    font-size: 0.9rem;
    letter-spacing: normal;
    font-weight: 400;
    font-family: inherit;
    text-transform: none;
}

/* Resend section */
.verify-resend {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.verify-resend p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin: 0 0 10px;
}

.verify-resend__btn {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    font-family: inherit;
}

.verify-resend__btn:hover:not(:disabled) {
    background: rgba(79, 143, 255, 0.1);
    text-decoration: underline;
}

.verify-resend__btn--disabled {
    color: var(--text-muted) !important;
    opacity: 0.5;
    cursor: not-allowed;
}

.verify-resend__btn--disabled:hover {
    background: none !important;
    text-decoration: none !important;
}

/* ===== SHAKE ANIMATION ===== */
.auth-card.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 50%, 90% { transform: translateX(-6px); }
    30%, 70% { transform: translateX(6px); }
}

.verify-resend__btn i {
    margin-right: 4px;
}

/* ===== ALERT MESSAGES ===== */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.auth-alert--fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.auth-alert {
    position: relative;
    overflow: hidden;
}

.auth-alert__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    animation: alertProgress 7s linear forwards;
}

.auth-alert--error .auth-alert__progress {
    background: #ef4444;
}

.auth-alert--success .auth-alert__progress {
    background: var(--accent);
}

@keyframes alertProgress {
    from { width: 100%; }
    to { width: 0%; }
}

.auth-alert p {
    margin: 0;
}

.auth-alert--error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.auth-alert--error i {
    color: #ef4444;
    margin-top: 2px;
    flex-shrink: 0;
}

.auth-alert--success {
    background: rgba(6, 214, 160, 0.1);
    border: 1px solid rgba(6, 214, 160, 0.2);
    color: var(--accent);
}

.auth-alert--success i {
    color: var(--accent);
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] .verify-info {
    background: rgba(79, 143, 255, 0.06);
    border-color: rgba(79, 143, 255, 0.12);
}

[data-theme="light"] .auth-alert--error {
    background: rgba(239, 68, 68, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

[data-theme="light"] .auth-alert--error i {
    color: #dc2626;
}

[data-theme="light"] .auth-alert--success {
    background: rgba(6, 214, 160, 0.06);
    border-color: rgba(6, 214, 160, 0.15);
}
