/* Fullscreen Loading Overlay */
#page-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.697);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease-in-out, visibility 0.25s ease-in-out;
}

#page-loader-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Container content wrapper */
.page-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0.8;
}

/* Product Logo with smooth pulse animation */
.page-loader-logo {
    max-width: 220px;
    height: auto;
    animation: page-loader-pulse 1.8s ease-in-out infinite;
}

@keyframes page-loader-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.85;
    }
}

/* Animated Loading... text */
.page-loader-text {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #545759;
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
}

.page-loader-dots::after {
    content: '';
    display: inline-block;
    width: 20px;
    text-align: left;
    animation: page-loader-dots 1.5s steps(4, end) infinite;
}

@keyframes page-loader-dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}
