/* ============================================
   LEVERAGE - PREMIUM STOCK MARKET LOADER
   Logo Pulse & Glow Theme (Chart Optimized)
   ============================================ */
.leverage-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    /* Pure Black as per image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.leverage-loader.simple-glow-theme {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.loader-logo-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Glow */
.logo-glow-effect {
    position: absolute;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.8) 0%, rgba(37, 99, 235, 0) 70%);
    border-radius: 50%;
    animation: pulseGlow 2s ease-in-out infinite alternate;
    z-index: 0;
    filter: blur(10px);
}

/* Main Logo Image */
.loader-main-logo {
    position: relative;
    width: 64px !important;
    height: 64px !important;
    max-width: 64px !important;
    max-height: 64px !important;
    border-radius: 12px;
    object-fit: contain;
    z-index: 1;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6);
}

/* Text Container */
.loader-text-clean {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #8E8E93;
    /* iOS grey text */
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Blue Dot Pulse */
.loader-dot-pulse {
    width: 8px;
    height: 8px;
    background-color: #2563EB;
    border-radius: 50%;
    animation: dotPulse 1.5s infinite ease-in-out;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.8);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes dotPulse {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(0, 122, 255, 0.5);
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
        box-shadow: 0 0 15px rgba(0, 122, 255, 1);
    }

    100% {
        transform: scale(0.8);
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(0, 122, 255, 0.5);
    }
}

/* Helper for fade out */
.leverage-loader-overlay.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease-out;
    pointer-events: none;
}
