:root {
    --bg-body: #0b0e11;
    --primary-yellow: #0052FF;
    --text-secondary: #848e9c;
}

.waiter__ {
    color: white;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: var(--bg-body, #0a0b0d);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.loader-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Bar Wave Loader */
.bar-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 40px;
}

.bar {
    width: 4px;
    height: 12px;
    background-color: var(--primary-yellow);
    border-radius: 2px;
    animation: barWave 1.2s infinite ease-in-out;
    box-shadow: 0 0 8px rgba(0, 82, 255, 0.3);
}

/* Staggered animation delays for 5 bars */
.bar:nth-child(1) { animation-delay: 0.0s; }
.bar:nth-child(2) { animation-delay: 0.1s; }
.bar:nth-child(3) { animation-delay: 0.2s; }
.bar:nth-child(4) { animation-delay: 0.3s; }
.bar:nth-child(5) { animation-delay: 0.4s; }

@keyframes barWave {
    0%, 100% {
        height: 12px;
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        height: 32px;
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 0 15px rgba(0, 82, 255, 0.6);
    }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 14px;
    letter-spacing: 0.5px;
    font-weight: 400;
}

/* Blocker Styles */
.bloker__ {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-body, #0b0e11);
    z-index: 20000;
    color: var(--text-primary, white);
    text-align: center;
}

.bloker_box__ {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg, #181a20);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--card-border, #2b2f36);
    max-width: 90%;
    width: 400px;
}

.bloker__h4 {
    color: #ff4d4d;
    margin-bottom: 15px;
    font-size: 24px;
}

.bloker__p {
    font-size: 16px;
    color: #848e9c;
}

/* Small loader for buttons */
.bn-loader-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 20px;
}

.bn-loader-sm .bar {
    width: 2px;
    height: 6px;
    background-color: #181A20;
    box-shadow: none;
    animation: barWaveSm 1.2s infinite ease-in-out;
}

@keyframes barWaveSm {
    0%, 100% {
        height: 6px;
        opacity: 0.4;
    }
    50% {
        height: 16px;
        opacity: 1;
    }
}

.bn-loader-sm .bar:nth-child(1) { animation-delay: 0.0s; }
.bn-loader-sm .bar:nth-child(2) { animation-delay: 0.1s; }
.bn-loader-sm .bar:nth-child(3) { animation-delay: 0.2s; }
.bn-loader-sm .bar:nth-child(4) { animation-delay: 0.3s; }
.bn-loader-sm .bar:nth-child(5) { animation-delay: 0.4s; }