body.has-loading-overlay {
    overflow: hidden;
}

#global-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1090;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#global-loading-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: #1f2937;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.loading-spinner__circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 4px solid rgba(37, 99, 235, 0.2);
    border-top-color: #2563eb;
    animation: global-loading-spin 0.9s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .loading-spinner__circle {
        animation-duration: 1.8s;
    }
}
