.global-ajax-spinner {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.global-ajax-spinner__panel {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.75rem 1rem;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1;
    color: #4b5563;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.475rem;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.dark .global-ajax-spinner__panel {
    color: #d1d5db;
    background: #1f2937;
    border-color: #374151;
}

.global-ajax-spinner__icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--tw-primary, #1b84ff);
    animation: global-ajax-spinner-spin 0.75s linear infinite;
}

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