/* ===== Exchange Loading Animation (clean) ===== */

.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 17, 0.95);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
}

.success-overlay.show {
    display: flex;
    opacity: 1;
}

.success-logo {
    width: 100px;
    height: auto;
    margin-bottom: 32px;
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Progress bar */
.progress-bar-container {
    width: 300px;
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 4s ease-out;
    box-shadow: 0 0 10px rgba(240, 185, 11, 0.5);
}

.success-overlay.show .progress-bar-fill {
    width: 90%;
}

/* Loading text */
.loading-status-text {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
    transition: opacity 0.3s ease;
}