body.page-loading {
    margin: 0; height: 100%; overflow: hidden;
}

.splash-screen {
    display: none;
}

.page-loading .splash-screen {
    position: absolute;
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-family: Inter, Helvetica, "sans-serif";
    background-color: #F9F9F9;
    color: #5E6278;
    line-height: 1;
    font-size: 14px;
    font-weight: 400;
}

.page-loading .splash-screen span {
    color: #5E6278;
    transition: none !important;
    -webkit-font-smoothing: antialiased;
}

.page-loading .splash-screen img {
    margin-bottom: 24px;
    max-height: 60px;
    max-width: 200px;
    object-fit: contain;
}

html[data-bs-theme="dark"] .page-loading .splash-screen {
    background-color: #151521;
    color: #ffffff;
}

/* Loading indicator (replaces the static "Loading ..." text) */
.splash-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top-color: #009ef7;
    border-radius: 50%;
    animation: splash-spin 0.8s linear infinite;
}

html[data-bs-theme="dark"] .splash-spinner {
    border-color: rgba(255, 255, 255, 0.15);
    border-top-color: #009ef7;
}

@keyframes splash-spin {
    to {
        transform: rotate(360deg);
    }
}
