/* ================= LOADER ANIMATION STYLES ================= */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0D2137;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader-container {
    text-align: center;
}

.loader-logo {
    margin-bottom: 40px;
    animation: pulse 2s infinite;
}

.loader-logo img {
    height: 80px;
    width: auto;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loader {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 50px;
    gap: 5px;
    margin-bottom: 20px;
}

.candle {
    width: 8px;
    height: 20px;
    background-color: #43A047;
    animation: candle-animation 1s infinite;
    border-radius: 1px;
    transition: height 0.5s ease, background-color 0.5s ease;
}

.candle:nth-child(1) { animation-delay: 0.1s; }
.candle:nth-child(2) { animation-delay: 0.2s; }
.candle:nth-child(3) { animation-delay: 0.3s; }
.candle:nth-child(4) { animation-delay: 0.4s; }
.candle:nth-child(5) { animation-delay: 0.5s; }
.candle:nth-child(6) { animation-delay: 0.4s; }
.candle:nth-child(7) { animation-delay: 0.3s; }
.candle:nth-child(8) { animation-delay: 0.2s; }
.candle:nth-child(9) { animation-delay: 0.1s; }
.candle:nth-child(10) { animation-delay: 0s; }

@keyframes candle-animation {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

.loading-text {
    color: #E6BE4C;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

/* ================= END LOADER ANIMATION STYLES ================= */

@media (max-width: 767px) {
    .loader-logo img {
        height: 60px;
    }
    
    .loader {
        height: 40px;
    }
    
    .candle {
        width: 6px;
    }
    
    .loading-text {
        font-size: 14px;
    }
}