.global-loading {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 160ms ease, visibility 160ms ease;
}

.global-loading.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.is-global-loading {
    overflow: hidden;
}

.global-loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    color: #404040;
    font-family: "Inter", "Segoe UI", sans-serif;
}

.global-loading-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid #dedede;
    border-right-color: #252525;
    border-bottom-color: #252525;
    border-radius: 50%;
    animation: global-loading-spin 760ms linear infinite;
}

.global-loading-label {
    font-size: 16px;
    font-weight: 400;
}

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

@media (prefers-reduced-motion: reduce) {
    .global-loading {
        transition: none;
    }

    .global-loading-spinner {
        animation-duration: 1.5s;
    }
}
