/*
==================================
Loading Wave Only
==================================
*/

/* Loader Container */
.loader-display {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader-display.hide-loader {
    opacity: 0;
    visibility: hidden;
}

/* Loading Wave */
.loading-wave {
    width: 120px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.loading-bar {
    width: 8px;
    height: 12px;
    margin: 0 5px;
    background-color: #ffffff;
    border-radius: 4px;
    animation: loading-wave-animation 1.8s ease-in-out infinite;
}

.loading-bar:nth-child(2) {
    animation-delay: 0.15s;
}

.loading-bar:nth-child(3) {
    animation-delay: 0.3s;
}

.loading-bar:nth-child(4) {
    animation-delay: 0.45s;
}

@keyframes loading-wave-animation {
    0% {
        height: 12px;
    }
    50% {
        height: 50px;
    }
    100% {
        height: 12px;
    }
}

/* Responsive */
@media (max-width: 576px) {
    .loading-wave {
        width: 100px;
        height: 50px;
    }

    .loading-bar {
        width: 6px;
        height: 10px;
        margin: 0 4px;
    }

    @keyframes loading-wave-animation {
        0% { height: 10px; }
        50% { height: 40px; }
        100% { height: 10px; }
    }
}
