/* Scoped to server-side grids opted into the shared loading component. */
.tz-dt-loading-enabled .dataTables_processing,
.tz-dt-loading-enabled .dt-processing {
    display: none !important;
}
.tz-dt-loading-host {
    position: relative;
    min-height: 120px;
}
.tz-dt-loading-host > .tz-dt-loading {
    position: absolute;
    inset: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(248, 250, 252, .72);
    cursor: progress;
}
.tz-dt-loading-host > .tz-dt-loading[hidden] {
    display: none;
}
.tz-dt-loading-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    padding: 16px 22px;
    border: 1px solid #dce5ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(30, 55, 80, .08);
    color: #35546d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.8;
    text-align: center;
    direction: rtl;
}
.tz-dt-loading-spinner {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border: 3px solid #e3edf5;
    border-top-color: #3984b9;
    border-radius: 50%;
    animation: tz-dt-loading-spin .8s linear infinite;
}
.tz-dt-loading-active tbody {
    opacity: .42;
    pointer-events: none;
}
@keyframes tz-dt-loading-spin {
    to { transform: rotate(360deg); }
}
@media (max-width: 480px) {
    .tz-dt-loading-card { padding: 12px 16px; gap: 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .tz-dt-loading-spinner { animation: none; }
}
