.report-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(24, 39, 56, 0.62);
}

.report-loading-overlay {
    display: none;
}

.report-loading-overlay.is-visible {
    display: flex !important;
}

.report-loading-dialog {
    width: min(100%, 31rem);
    padding: 2rem 1.65rem 1.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.99);
    border: 1px solid #d7e0e8;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
    text-align: center;
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.report-loading-accent {
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: #1f4e79;
}

.report-loading-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 0 auto 1rem;
    padding: 0.2rem 0;
}

.report-loading-logo {
    display: block;
    object-fit: contain;
}

.report-loading-logo-bsu {
    width: 5.2rem;
    height: 5.2rem;
}

.report-loading-logo-system {
    width: 4.4rem;
    height: 4.4rem;
}

.report-loading-divider {
    width: 1px;
    height: 3.6rem;
    background: #cad5e2;
    box-shadow: none;
}

.report-loading-eyebrow {
    margin: 0 0 0.85rem;
    color: #557086;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.report-loading-spinner-wrap {
    width: 5.15rem;
    height: 5.15rem;
    margin: 0 auto 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f3f6f9;
    box-shadow: inset 0 0 0 1px rgba(193, 205, 219, 0.9);
}

.report-loading-spinner {
    width: 3.25rem;
    height: 3.25rem;
    border: 4px solid #d7e0ea;
    border-top-color: #1f4e79;
    border-right-color: #8b1e3f;
    border-radius: 50%;
    animation: report-loading-spin 0.85s linear infinite;
}

.report-loading-title {
    margin: 0 0 0.3rem;
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0;
}

.report-loading-subtitle {
    margin: 0 0 0.45rem;
    color: #425568;
    font-size: 0.94rem;
    font-weight: 700;
}

.report-loading-caption {
    margin: 0 0 0.9rem;
    color: #6b7c8d;
    font-size: 0.84rem;
    font-weight: 500;
}

.report-loading-message {
    margin: 0;
    color: #0f172a;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.5;
}

body.loading-active {
    overflow: hidden;
    cursor: progress;
}

@media (max-width: 576px) {
    .report-loading-dialog {
        width: min(100%, 25rem);
        padding: 1.55rem 1.1rem 1.35rem;
        border-radius: 12px;
    }

    .report-loading-brand {
        gap: 0.8rem;
        padding: 0.1rem 0;
    }

    .report-loading-logo-bsu,
    .report-loading-logo-system {
        width: 3.85rem;
        height: 3.85rem;
    }

    .report-loading-logo-bsu {
        width: 4.15rem;
        height: 4.15rem;
    }

    .report-loading-divider {
        height: 2.9rem;
    }

    .report-loading-eyebrow {
        font-size: 0.68rem;
        letter-spacing: 0.1em;
    }

    .report-loading-title {
        font-size: 1.28rem;
    }

    .report-loading-message {
        font-size: 0.92rem;
    }
}

@keyframes report-loading-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
