.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 8, 10, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.loading-overlay[hidden] {
    display: none;
}

.loading-box {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-elevated);
    padding: 32px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.loading-spinner {
    width: 36px;
    height: 36px;
    border: 4px solid var(--color-border-light);
    border-top-color: var(--color-red-500);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.loading-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-ink);
}

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