.page-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none; /* initially disable clicks */
}

.page-overlay.hide,
.page-overlay {
    pointer-events: none;
}

.loadBar {
    width: 200px;
    height: 4px;
    background: #eee;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 2px;
}

.subloadBar {
    width: 0%;
    height: 100%;
    background: #f97b06;
    animation: loadProgress 2s linear forwards;
}

@keyframes loadProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}
