/* Export progress overlay — loaded globally for all DataTable toolbars */
.nestiko-export-busy {
    position: fixed;
    inset: 0;
    z-index: var(--nk-z-overlay-backdrop, 10120);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(2px);
    pointer-events: auto;
}

.nestiko-export-busy[hidden] {
    display: none !important;
}

.nestiko-export-busy__panel {
    min-width: 280px;
    max-width: 420px;
    padding: 1.75rem 2rem;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    text-align: center;
}

.nestiko-export-busy__spinner {
    width: 42px;
    height: 42px;
    margin: 0 auto 1rem;
    border: 3px solid #e2e8f0;
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: nestiko-export-spin 0.85s linear infinite;
}

.nestiko-export-busy__title {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
}

.nestiko-export-busy__message {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: #64748b;
}

@keyframes nestiko-export-spin {
    to {
        transform: rotate(360deg);
    }
}

:root[data-theme='dark'] .nestiko-export-busy__panel {
    background: #1e293b;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

:root[data-theme='dark'] .nestiko-export-busy__title {
    color: #f1f5f9;
}

:root[data-theme='dark'] .nestiko-export-busy__message {
    color: #94a3b8;
}
