/* Confirm Modal Override */
.confirm-modal .modal-header {
    background: var(--bg-card);
}

.confirm-modal .modal-header h3 {
    display: flex;
    align-items: center;
}

/* Skeleton Loader */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position: 600px 0; }
}

.skeleton-line {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--border) 25%, var(--bg-color) 50%, var(--border) 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
}

.skeleton-row td {
    padding: 14px 16px;
}

/* Sortable Table Headers */
.sortable-th {
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.sortable-th:hover {
    background-color: var(--border);
    color: var(--primary);
}

.sortable-th .sort-icon {
    display: inline-block;
    margin-left: 6px;
    opacity: 0.4;
    font-size: 11px;
    vertical-align: middle;
    transition: opacity 0.15s ease;
}

.sortable-th.sort-asc .sort-icon,
.sortable-th.sort-desc .sort-icon {
    opacity: 1;
    color: var(--primary);
}

/* Refresh button disabled state */
#btn-refresh-data:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
.local-read-only-banner {
    display: none;
}

html.local-read-only .local-read-only-banner {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border: 1px solid #b8c8e8;
    border-radius: 6px;
    background: #edf4ff;
    color: #1e3a8a;
    box-shadow: 0 4px 12px rgb(23 32 51 / 12%);
    font-size: 11px;
    font-weight: 600;
}
