@import url("imports.css");
html, body {
    font-family: Inter, sans-serif;
}

.clickable {
    cursor: pointer;
}

.nxl-navigation .navbar-content {
    height: 100vh;
}

@media (max-width:1025px) {
    .nxl-container {
        margin-left: 0 !important;
        left: 0 !important;
    }
}

@media (min-width:1026px) and (max-width:1199.98px) {
    .nxl-container {
        margin-left: 280px !important;
        left: 0 !important;
    }
    html.minimenu .nxl-container {
        margin-left: 100px !important;
        left: 0 !important;
    }
}

html.minimenu .nxl-header {
    left: 100px;
}

body {
    background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('images/backround-white.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

html.minimenu .nxl-container {
    margin-left: 0;
    left: 100px;
}

.nxl-container {
    position: fixed !important;
    top: 40px !important;
    left: 0px;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    padding-top: 0;
    padding-bottom: 20px;
}

.nxl-header {
    min-height: 40px;
}

.side-stick {
    background-color: #17c666;
}
.dual-range{
    --track-h: 6px;
    --thumb: 34px;
}
.dual-range {
    --track-h: 6px;
    --thumb: 34px;
}

/* ─ Instant tooltip (no delay) ─ */
[data-title] {
    position: relative;
}

[data-title]:hover::after {
    content: attr(data-title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    background: #111;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 1000;
    pointer-events: none;
}

[data-title]:hover::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 2px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #111 transparent;
    z-index: 1000;
    pointer-events: none;
}

[data-title]:active::after,
[data-title]:active::before {
    display: none;
}

.nxl-container .nxl-content .main-content {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

.card {
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(4px);
}

.table {
    --bs-table-bg: transparent;
}

.page-header {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(4px);
}

.table {
    --bs-table-bg: transparent;
}

/* Skeleton loading placeholders */
.skeleton {
    background: linear-gradient(90deg, #e9ecef 25%, #f3f4f6 50%, #e9ecef 75%);
    background-size: 200% 100%;
    animation: skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 6px;
}

.skeleton-text {
    height: 14px;
    width: 60%;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 22px;
    width: 40%;
    margin-bottom: 12px;
}

.skeleton-badge {
    height: 28px;
    width: 100px;
    display: inline-block;
}

.skeleton-row {
    height: 52px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-avatar {
    height: 48px;
    width: 48px;
    border-radius: 50%;
}

.skeleton-card {
    height: 120px;
    width: 100%;
    margin-bottom: 16px;
}

@keyframes skeleton-pulse {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== Force all table backgrounds transparent (override theme.min.css dark mode) ===== */
html.app-skin-dark .table > :not(caption) > * > *,
html.app-skin-dark .table > tbody > tr > *,
html.app-skin-dark .table > tbody > tr:nth-of-type(odd) > *,
html.app-skin-dark .table > tbody > tr:nth-of-type(even) > *,
html.app-skin-dark .table > tbody > tr:hover > *,
html.app-skin-dark .table.table-hover > tbody > tr:hover > *,
html.app-skin-dark .table.table-striped > tbody > tr:nth-of-type(odd) > *,
.table > :not(caption) > * > * {
    --bs-table-accent-bg: transparent !important;
    --bs-table-bg: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

html.app-skin-dark .table,
html.app-skin-dark .table > :not(caption) > *,
.table,
.table > :not(caption) > * {
    --bs-table-bg: transparent !important;
    --bs-table-accent-bg: transparent !important;
    --bs-table-striped-bg: transparent !important;
    --bs-table-hover-bg: transparent !important;
    --bs-table-active-bg: transparent !important;
    background-color: transparent !important;
}

