/* Resized Column Styles */

:root {
    --resized-column-handle-color: var(--color-gray-300, #d1d5db);
    --resized-column-handle-active-color: var(--color-primary-500, #3b82f6);
    --resized-column-resize-gutter: 0.25rem;
}

.dark {
    --resized-column-handle-color: var(--color-gray-600, #4b5563);
    --resized-column-handle-active-color: var(--color-primary-400, #60a5fa);
}

/*
 * gray-300 vanishes on Primo / Filament light headers (#EAEEF2). Nudge
 * toward gray-400 for contrast, but keep the handle light and thin.
 */
.fi-ta-table>thead>tr>th.fi-ta-header-cell[data-column-name] {
    --resized-column-handle-color: color-mix(in oklab,
            var(--color-gray-300, #d1d5db) 72%,
            var(--color-gray-400, #9ca3af));
}

.dark .fi-ta-table>thead>tr>th.fi-ta-header-cell[data-column-name] {
    --resized-column-handle-color: color-mix(in oklab,
            var(--color-gray-600, #4b5563) 65%,
            var(--color-gray-500, #6b7280));
}

/* Reserve right-edge space for the resize bar on every resizable header. */
.group\/column-resize,
thead th.fi-ta-header-cell[data-column-name] {
    padding-inline-end: var(--resized-column-resize-gutter) !important;
    overflow: hidden;
}

/* Resize handle — short bar centered on the header edge (not full height). */
thead th.fi-ta-header-cell[data-column-name]::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    bottom: auto;
    width: 1px;
    height: 55%;
    min-height: 0.875rem;
    max-height: 1.5rem;
    transform: translateY(-50%);
    z-index: 2;
    cursor: col-resize;
    user-select: none;
    touch-action: none;
    pointer-events: auto;
    border-radius: 1px;
    background-color: var(--resized-column-handle-color);
    transition: background-color 150ms ease, height 150ms ease, width 150ms ease;
}

.group\/column-resize:hover::after,
thead th.fi-ta-header-cell[data-column-name].resized-column-is-resizing::after {
    height: 65%;
    max-height: 1.75rem;
    width: 2px;
    background-color: var(--resized-column-handle-active-color);
}

/* Legacy DOM handle (older cached assets). */
.column-resize-handle-bar {
    position: absolute;
    top: 50%;
    bottom: auto;
    right: 0;
    width: 0.625rem;
    height: 60%;
    min-height: 1rem;
    max-height: 1.75rem;
    transform: translateY(-50%);
    cursor: col-resize;
    user-select: none;
    touch-action: none;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    appearance: none;
    pointer-events: auto;
}

.column-resize-handle-line {
    display: block;
    width: 1px;
    height: 100%;
    flex-shrink: 0;
    border-radius: 1px;
    background-color: var(--resized-column-handle-color);
    opacity: 1;
    pointer-events: auto;
    transition: opacity 150ms ease, background-color 150ms ease, width 150ms ease;
}

.group\/column-resize:hover .column-resize-handle-line,
.column-resize-handle-bar:hover .column-resize-handle-line,
.column-resize-handle-bar.active .column-resize-handle-line {
    width: 2px;
    opacity: 0.85;
    background-color: var(--resized-column-handle-active-color);
}

/* Containing block for resize ::after / grips — scoped so we do not
   override Filament/Primo sticky positioning on plain header cells. */
thead th.fi-ta-header-cell[data-column-name] {
    position: relative;
}

.fi-ta-header-cell .fi-ta-header-cell-sort-btn,
.fi-ta-header-cell .fi-ta-header-cell-tooltip {
    position: relative;
    z-index: 1;
}

.fi-ta-header-cell .column-resize-handle-bar {
    z-index: 2;
}

/* Only elevate the column actively being resized. */
thead th.fi-ta-header-cell.resized-column-is-resizing {
    z-index: 100 !important;
}

/*
 * Sticky thead must sit above body cells (record-actions z-index 11, pinned
 * body cells z-index 10+) but below Filament chrome (topbar/sidebar z-30)
 * so user-menu and nav dropdowns stay on top.
 *
 * It must also stay *below* .fi-dropdown-panel (z-index 20), which is what the
 * toolbar's column manager and filter dropdowns render into. At an equal 20 the
 * thead won on DOM order and painted over those panels.
 */
.sticky-table .fi-ta-table>thead>tr,
.fi-ta-content-ctn .fi-ta-table>thead>tr {
    position: sticky;
    z-index: 19 !important;
}

/*
 * Lifting the toolbar as a whole is what actually keeps its dropdowns (column
 * manager, filters, this package's pin panel) above the sticky thead. Relying
 * on .fi-dropdown-panel's own z-index is not enough: it only wins when the
 * panel and the thead resolve in the same stacking context, which host themes
 * break as soon as they position or elevate anything in between.
 * 21 stays under Filament chrome (topbar/sidebar, z-index 30).
 */
.fi-ta-ctn .fi-ta-header-ctn {
    position: relative;
    z-index: 21;
}

/* Opaque header cells so scrolled rows cannot show through the thead.
   Prefer inherit so host themes (e.g. Primo #EAEEF2) keep their surface. */
.sticky-table .fi-ta-table>thead>tr>th.fi-ta-header-cell,
.fi-ta-content-ctn .fi-ta-table>thead>tr>th.fi-ta-header-cell {
    background-color: var(--resized-sticky-header-bg, inherit);
}

/*
 * Horizontal scroll: keep scrolling (non-pinned) titles under pinned headers.
 * Reorderable headers used to set overflow:visible for the grip, which let
 * labels paint over sticky columns while scrolling sideways.
 */
thead th.fi-ta-header-cell[data-column-name]:not([data-sticky-applied]) {
    z-index: 1;
    overflow: hidden;
}

thead th.fi-ta-header-cell[data-sticky-applied],
thead th.fi-ta-header-cell[data-sticky] {
    z-index: 18 !important;
    overflow: hidden;
}

/* Visibility while scrolled is toggled via JS on the header cell. */
.fi-ta-table.resized-column-is-scrolled th[data-column-name]:not(.resized-column-handle-visible):not(.resized-column-is-resizing)::after {
    visibility: hidden;
    pointer-events: none;
}

.fi-ta-table.resized-column-is-scrolled th[data-column-name].resized-column-handle-visible::after,
.fi-ta-table.resized-column-is-scrolled th[data-column-name].resized-column-is-resizing::after {
    visibility: visible;
    pointer-events: auto;
}

.fi-ta-table.resized-column-is-scrolled .column-resize-handle-bar:not(.active):not(.is-visible) {
    visibility: hidden;
    pointer-events: none;
}

.fi-ta-table.resized-column-is-scrolled .column-resize-handle-bar.is-visible,
.fi-ta-table.resized-column-is-scrolled .column-resize-handle-bar.active {
    visibility: visible;
    pointer-events: auto;
}

/* Keep sort label from overlapping the resize gutter. */
.group\/column-resize .fi-ta-header-cell-sort-btn,
thead th.fi-ta-header-cell[data-column-name] .fi-ta-header-cell-sort-btn {
    width: calc(100% - var(--resized-column-resize-gutter));
    max-width: calc(100% - var(--resized-column-resize-gutter));
}

body.resized-column-resizing {
    cursor: col-resize !important;
    user-select: none;
}

body.resized-column-resizing * {
    cursor: col-resize !important;
}

/* Reserve space on the left of a reorderable header so the grip sits in a
   gutter instead of overlapping the label. */
.resized-reorderable-col,
thead th.fi-ta-header-cell.resized-reorderable-col {
    padding-inline-start: 1.75rem !important;
}

/* Theme header cells use overflow-hidden; grip sits in the reserved
   padding gutter so we keep overflow:hidden (visible labels used to
   overlap pinned headers on horizontal scroll). */
.fi-main .fi-ta .fi-ta-header-cell.resized-reorderable-col {
    overflow: hidden;
}

/* Reorder grip — SVG ::before (same pattern as pin icon) paints with the HTML. */
thead th.fi-ta-header-cell.resized-reorderable-col:not([data-sticky])::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    display: block;
    width: 0.65rem;
    height: 0.85rem;
    pointer-events: none;
    z-index: 4;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.15s ease;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2394a3b8'%3E%3Ccircle cx='7' cy='5' r='1.5'/%3E%3Ccircle cx='13' cy='5' r='1.5'/%3E%3Ccircle cx='7' cy='10' r='1.5'/%3E%3Ccircle cx='13' cy='10' r='1.5'/%3E%3Ccircle cx='7' cy='15' r='1.5'/%3E%3Ccircle cx='13' cy='15' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dark thead th.fi-ta-header-cell.resized-reorderable-col:not([data-sticky])::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23cbd5e1'%3E%3Ccircle cx='7' cy='5' r='1.5'/%3E%3Ccircle cx='13' cy='5' r='1.5'/%3E%3Ccircle cx='7' cy='10' r='1.5'/%3E%3Ccircle cx='13' cy='10' r='1.5'/%3E%3Ccircle cx='7' cy='15' r='1.5'/%3E%3Ccircle cx='13' cy='15' r='1.5'/%3E%3C/svg%3E");
}

.group\/column-resize:hover.resized-reorderable-col::before,
.resized-reorderable-col:hover::before {
    opacity: 1;
}

/* Transparent hit target for Sortable; visual grip is the header ::before above. */
.resized-col-drag {
    position: absolute;
    top: 50%;
    left: 0.5rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: grab;
    opacity: 0;
    z-index: 5;
}

.resized-col-drag:active {
    cursor: grabbing;
}

.sortable-ghost {
    opacity: 0.4;
}

/* Pin icon on pinned column headers — CSS ::before paints with the HTML so
   icons do not wait for Alpine init + Livewire morph + scheduleStickyRefresh. */
thead th.fi-ta-header-cell[data-sticky]::before,
thead th.fi-ta-header-cell.resized-sticky::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    display: block;
    width: 0.85rem;
    height: 0.85rem;
    z-index: 2;
    flex-shrink: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath d='M9.828.722a.5.5 0 0 1 .707 0l3.943 3.944a.5.5 0 0 1-.219.828l-2.31.66-2.573 2.573 1.06 3.006a.5.5 0 0 1-.117.518l-.707.707a.5.5 0 0 1-.707 0L6.229 9.7l-3.238 3.238a.5.5 0 0 1-.707-.707L5.522 8.99 2.79 6.257a.5.5 0 0 1 0-.707l.707-.707a.5.5 0 0 1 .518-.117l3.006 1.06 2.573-2.573.66-2.31a.5.5 0 0 1 .174-.281z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dark thead th.fi-ta-header-cell[data-sticky]::before,
.dark thead th.fi-ta-header-cell.resized-sticky::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath d='M9.828.722a.5.5 0 0 1 .707 0l3.943 3.944a.5.5 0 0 1-.219.828l-2.31.66-2.573 2.573 1.06 3.006a.5.5 0 0 1-.117.518l-.707.707a.5.5 0 0 1-.707 0L6.229 9.7l-3.238 3.238a.5.5 0 0 1-.707-.707L5.522 8.99 2.79 6.257a.5.5 0 0 1 0-.707l.707-.707a.5.5 0 0 1 .518-.117l3.006 1.06 2.573-2.573.66-2.31a.5.5 0 0 1 .174-.281z'/%3E%3C/svg%3E");
}

/* A header carrying the clickable toggle drops the painted pin, or the two
   icons stack on top of each other. */
thead th.fi-ta-header-cell.resized-has-pin-toggle::before {
    content: none;
}

/* JS-injected pin. Clickable on user-pinned columns, where it unpins. */
.resized-sticky-pin {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    transform: translateY(-50%);
    display: block;
    width: 0.85rem;
    height: 0.85rem;
    z-index: 2;
    flex-shrink: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236b7280'%3E%3Cpath d='M9.828.722a.5.5 0 0 1 .707 0l3.943 3.944a.5.5 0 0 1-.219.828l-2.31.66-2.573 2.573 1.06 3.006a.5.5 0 0 1-.117.518l-.707.707a.5.5 0 0 1-.707 0L6.229 9.7l-3.238 3.238a.5.5 0 0 1-.707-.707L5.522 8.99 2.79 6.257a.5.5 0 0 1 0-.707l.707-.707a.5.5 0 0 1 .518-.117l3.006 1.06 2.573-2.573.66-2.31a.5.5 0 0 1 .174-.281z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.dark .resized-sticky-pin {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath d='M9.828.722a.5.5 0 0 1 .707 0l3.943 3.944a.5.5 0 0 1-.219.828l-2.31.66-2.573 2.573 1.06 3.006a.5.5 0 0 1-.117.518l-.707.707a.5.5 0 0 1-.707 0L6.229 9.7l-3.238 3.238a.5.5 0 0 1-.707-.707L5.522 8.99 2.79 6.257a.5.5 0 0 1 0-.707l.707-.707a.5.5 0 0 1 .518-.117l3.006 1.06 2.573-2.573.66-2.31a.5.5 0 0 1 .174-.281z'/%3E%3C/svg%3E");
}

thead th.fi-ta-header-cell[data-sticky="left"],
thead th.fi-ta-header-cell[data-sticky="right"],
thead th.fi-ta-header-cell.resized-sticky {
    padding-inline-start: 2rem !important;
}

/* Clickable toggle variant: a pinned column the user is allowed to unpin.
   Dimmed on hover so the click reads as "remove this pin". */
.resized-sticky-pin.is-toggle {
    padding: 0;
    margin: 0;
    border: 0;
    pointer-events: auto;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.resized-sticky-pin.is-toggle:hover,
.resized-sticky-pin.is-toggle:focus-visible {
    opacity: 0.5;
}

.resized-sticky-pin.is-toggle:focus-visible {
    outline: 2px solid var(--primary-500, currentColor);
    outline-offset: 2px;
    border-radius: 0.125rem;
}

/* Sticky columns need border-collapse: separate for reliable sticky positioning. */
.fi-ta-content-ctn .fi-ta-table {
    border-collapse: separate;
    border-spacing: 0;
}

/* Horizontal scroll wrappers (adapted from filament-sticky-columns). */
.fi-ta-table-wrapper,
.fi-ta-content-ctn.fi-fixed-positioning-context,
[data-sticky-wrapper] {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/*
 * Sticky surface tokens — opaque backgrounds so scrolled columns do not bleed through.
 * Defaults resolve to Filament's own table surface variables (light + dark).
 *
 * Override any of these anywhere (:root, .fi-ta-ctn, a single table) and it wins,
 * because the defaults live in the var() fallback chain, not in a competing declaration:
 *
 * --resized-sticky-header-bg        Pinned header cells
 * --resized-sticky-cell-bg          Pinned body cells (default row)
 * --resized-sticky-cell-bg-emphasis Pinned body cells (striped, hover, selected)
 */
:root {
    --resized-sticky-surface: var(--color-white, #fff);
    /* Filament tints the header row: .fi-ta-table > thead > tr { background: --gray-50 } */
    --resized-sticky-surface-header: var(--gray-50, #f9fafb);
    --resized-sticky-surface-emphasis: var(--gray-50, #f9fafb);
}

/* Filament toggles `.dark` on <html>, so scope the dark surfaces there — a table
   rendered outside .fi-ta-ctn (modal, widget, custom view) still resolves.
   Filament's dark tints are translucent (5% white over the surface); a pinned cell
   has to be opaque, so composite the same colour instead. */
.dark,
.dark .fi-ta-ctn,
.dark .fi-ta-content-ctn {
    --resized-sticky-surface: var(--gray-900, #111827);
    --resized-sticky-surface-header: color-mix(in oklab, var(--color-white, #fff) 5%, var(--gray-900, #111827));
    --resized-sticky-surface-emphasis: color-mix(in oklab, var(--color-white, #fff) 5%, var(--gray-900, #111827));
}

/* JS-applied sticky cells */
[data-sticky-applied] {
    transition: box-shadow 150ms ease;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    overflow: hidden !important;
    min-width: 0;
    isolation: isolate;
}

/* Every pinned cell is opaque — body, footer/summary, selection cell, whatever
   Filament renders. Keyed off the attribute alone so a cell without .fi-ta-cell
   never scrolls transparent. */
[data-sticky-applied] {
    background-color: var(--resized-sticky-cell-bg, var(--resized-sticky-surface)) !important;
}

thead [data-sticky-applied],
[data-sticky-applied].fi-ta-header-cell {
    background-color: var(--resized-sticky-header-bg, var(--resized-sticky-surface-header)) !important;
}

/* Match Primo sticky-table header surface when host does not override tokens. */
.sticky-table thead [data-sticky-applied],
.sticky-table [data-sticky-applied].fi-ta-header-cell {
    background-color: var(--resized-sticky-header-bg, #eaeef2) !important;
}

.dark .sticky-table thead [data-sticky-applied],
.dark .sticky-table [data-sticky-applied].fi-ta-header-cell {
    background-color: var(--resized-sticky-header-bg, var(--gray-900, #111827)) !important;
}

/* Striped/hover/selected rows: Filament tints the <tr>, so the pinned cell has to
   repaint that tint opaquely or the scrolled columns show through it. */
.fi-ta-row.fi-striped [data-sticky-applied],
.fi-ta-row.fi-clickable:hover [data-sticky-applied],
.fi-ta-row.fi-selected [data-sticky-applied] {
    background-color: var(--resized-sticky-cell-bg-emphasis, var(--resized-sticky-surface-emphasis)) !important;
}

[data-sticky-applied="left"],
[data-sticky-applied="right"] {
    box-shadow: none;
}

/* Inset edge on last pinned column when scrolled (header + body). */
[data-sticky-applied="left"].sticky-shadow-active {
    box-shadow: inset -6px 0 8px -6px var(--sticky-shadow-color, rgba(0, 0, 0, 0.18));
}

[data-sticky-applied="right"].sticky-shadow-active {
    box-shadow: inset 6px 0 8px -6px var(--sticky-shadow-color, rgba(0, 0, 0, 0.18));
}

.dark [data-sticky-applied="left"].sticky-shadow-active,
.dark [data-sticky-applied="right"].sticky-shadow-active {
    --sticky-shadow-color: rgba(0, 0, 0, 0.45);
}

thead [data-sticky-applied] {
    z-index: 18 !important;
}

/*
 * Filament sticky record-actions column (enableStickyTableActions) must stack
 * above reorder grips (z-index 4–5) and pinned headers (z-index 18) so icons
 * from scrolled columns do not paint over the actions header.
 * Body action cells stay at 11; sticky thead (z-index 19) keeps them below
 * the header while scrolling vertically.
 */
thead .fi-ta-actions-header-cell {
    z-index: 19 !important;
}

.fi-ta-cell:has(> .fi-ta-actions) {
    z-index: 11;
}

/* Clip overflowing cell text inside sticky cells. */
.fi-ta-cell.resized-sticky .fi-ta-col,
.fi-ta-cell.resized-sticky .fi-ta-text,
.fi-ta-header-cell.resized-sticky .fi-ta-header-cell-sort-btn,
[data-sticky-applied] .fi-ta-col,
[data-sticky-applied] .fi-ta-text,
[data-sticky-applied] .fi-ta-header-cell-sort-btn,
[data-sticky-applied] .fi-ta-header-cell-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    min-width: 0;
}

/* "Pin columns" toolbar dropdown panel */
.resized-sticky-panel {
    position: relative;
    display: inline-flex;
    align-items: center;
}

/* Container + trigger styled here (Filament's fi-dropdown-panel sets
   width:100vw and expects its floating-ui parent, so it can't be reused
   standalone). Only the checkbox reuses Filament's fi-checkbox-input. */
.resized-sticky-panel-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    color: rgb(113 113 122);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.resized-sticky-panel-trigger svg {
    width: 1.25rem;
    height: 1.25rem;
}

.resized-sticky-panel-trigger:hover {
    background-color: rgb(244 244 245);
    color: rgb(63 63 70);
}

.dark .resized-sticky-panel-trigger {
    color: rgb(161 161 170);
}

.dark .resized-sticky-panel-trigger:hover {
    background-color: rgb(39 39 42);
    color: rgb(228 228 231);
}

.resized-sticky-panel-menu {
    position: absolute;
    top: calc(100% + 0.25rem);
    inset-inline-end: 0;
    z-index: 40;
    min-width: 14rem;
    max-height: 20rem;
    overflow-y: auto;
    padding: 0.375rem;
    border-radius: 0.75rem;
    background-color: rgb(255 255 255);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border: 1px solid rgb(228 228 231);
}

.dark .resized-sticky-panel-menu {
    background-color: rgb(24 24 27);
    border-color: rgb(39 39 42);
}

.resized-sticky-panel-heading {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgb(113 113 122);
}

.dark .resized-sticky-panel-heading {
    color: rgb(161 161 170);
}

.resized-sticky-panel-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: rgb(39 39 42);
    cursor: pointer;
}

.resized-sticky-panel-item:hover {
    background-color: rgb(244 244 245);
}

.dark .resized-sticky-panel-item {
    color: rgb(228 228 231);
}

.dark .resized-sticky-panel-item:hover {
    background-color: rgb(39 39 42);
}

.resized-sticky-panel-item--locked {
    cursor: not-allowed;
    opacity: 0.85;
}

.resized-sticky-panel-item--locked:hover {
    background-color: transparent;
}

.dark .resized-sticky-panel-item--locked:hover {
    background-color: transparent;
}

.resized-sticky-panel-empty {
    padding: 0.5rem;
    font-size: 0.875rem;
    color: rgb(161 161 170);
}

.resized-sticky-panel-bulk {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.125rem 0.5rem 0.375rem;
}

.resized-sticky-panel-bulk-btn {
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
}

.resized-sticky-panel-bulk-btn--select {
    color: rgb(var(--primary-500, 234 179 8));
}

.resized-sticky-panel-bulk-btn--select:hover {
    color: rgb(var(--primary-600, 202 138 4));
}

.resized-sticky-panel-bulk-btn--deselect {
    color: rgb(220 38 38);
}

.resized-sticky-panel-bulk-btn--deselect:hover {
    color: rgb(185 28 28);
}

.dark .resized-sticky-panel-bulk-btn--deselect {
    color: rgb(248 113 113);
}

.dark .resized-sticky-panel-bulk-btn--deselect:hover {
    color: rgb(252 165 165);
}

.resized-sticky-panel-footer {
    display: flex;
    justify-content: flex-start;
    padding: 0.375rem 0.5rem 0.25rem;
    margin-top: 0.25rem;
    border-top: 1px solid rgb(228 228 231);
}

.dark .resized-sticky-panel-footer {
    border-top-color: rgb(39 39 42);
}

[x-cloak] {
    display: none !important;
}