/* ========================================
   ACCOUNT NUMBER SCRAMBLE ANIMATION
   ======================================== */

.account-number-box {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.account-number-box.show {
    opacity: 1;
    transform: translateY(0);
}

.account-number-box code {
    display: block;
    font-family: 'VT323', monospace;
    font-size: 16px;
    letter-spacing: 2px;
    padding: 15px;
    border: 2px solid var(--border);
    background: var(--bg);
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle generating animation - theme compatible */
.account-number-box code.generating {
    border-color: var(--muted);
    color: var(--fg);
}

/* Masking animation state */
.account-number-box code.masking {
    color: var(--muted);
    border-color: var(--border);
}

/* Revealed state - after real Account Number is shown */
.account-number-box code.revealed {
    animation: subtleReveal 0.6s ease-out;
    border-color: var(--border);
    color: var(--fg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 
                0 0 40px rgba(0, 0, 0, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@keyframes subtleReveal {
    0% {
        opacity: 0.3;
        transform: scale(0.98);
        box-shadow: none;
    }
    50% {
        box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 
                    0 0 40px rgba(0, 0, 0, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
}

/* Continue button disabled state */
#continueBtn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

#continueBtn:disabled:hover {
    transform: none;
}
