.global-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F8F9FE;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.global-loader.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.wave-loader {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
}

.wave-bar {
    display: inline-block;
    width: 5px;
    height: 12px;
    border-radius: 3px;
    background: #8982bc;
    animation: waveLoad 1s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: -0.4s; }
.wave-bar:nth-child(2) { animation-delay: -0.3s; }
.wave-bar:nth-child(3) { animation-delay: -0.2s; }
.wave-bar:nth-child(4) { animation-delay: -0.1s; }
.wave-bar:nth-child(5) { animation-delay:  0s;   }

@keyframes waveLoad {
    0%, 100% { height: 12px; opacity: 0.5; }
    50%      { height: 34px; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .wave-bar { animation: none; height: 24px; }
}