/* ═══════════════════════════════════════════════════════════════
   DataTable Pro — Frontend CSS  v2.0
   Layout: Goodricke Analytics Dashboard
   Structure: Ticker → Header → Stats Grid → Controls → Table → Pagination
   Themes: dark · light · ocean · forest · fire · slate · rose · mono
═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600;700&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

/* ─────────────────────────────────────────────────────────────
   THEME TOKENS  (8 themes, same variable names)
───────────────────────────────────────────────────────────── */

/* Dark Terminal — default */
.dtp-theme-dark {
  --bg:        #080c10;
  --surface:   #0d1117;
  --surface2:  #111820;
  --border:    #1e2a38;
  --border2:   #28394d;
  --text:      #c9d4e0;
  --muted:     #5a6a7e;
  --header:    #e8f0f8;
  --accent:    #00e5a0;
  --accent2:   #ffb347;
  --hover:     rgba(0,229,160,0.03);
  --tkr-bg:    #000000;
  --row-split: rgba(30,42,56,0.5);
}

/* Light Clean */
.dtp-theme-light {
  --bg:        #f5f7fa;
  --surface:   #ffffff;
  --surface2:  #edf0f5;
  --border:    #e2e8f0;
  --border2:   #cbd5e1;
  --text:      #374151;
  --muted:     #9ca3af;
  --header:    #111827;
  --accent:    #059669;
  --accent2:   #d97706;
  --hover:     rgba(5,150,105,0.04);
  --tkr-bg:    #064e3b;
  --row-split: rgba(226,232,240,0.8);
}

/* Ocean Blue */
.dtp-theme-ocean {
  --bg:        #060f1e;
  --surface:   #0a1830;
  --surface2:  #0e2040;
  --border:    #112040;
  --border2:   #1a3260;
  --text:      #a8c8e8;
  --muted:     #3a5a80;
  --header:    #d0e8ff;
  --accent:    #38bdf8;
  --accent2:   #7dd3fc;
  --hover:     rgba(56,189,248,0.03);
  --tkr-bg:    #020810;
  --row-split: rgba(17,32,64,0.7);
}

/* Forest Green */
.dtp-theme-forest {
  --bg:        #0a0f08;
  --surface:   #0f1610;
  --surface2:  #141d14;
  --border:    #1a2e1c;
  --border2:   #254228;
  --text:      #b0d0b8;
  --muted:     #4a6a50;
  --header:    #d4f0d8;
  --accent:    #4ade80;
  --accent2:   #86efac;
  --hover:     rgba(74,222,128,0.03);
  --tkr-bg:    #020602;
  --row-split: rgba(26,46,28,0.6);
}

/* Fire Amber */
.dtp-theme-fire {
  --bg:        #100805;
  --surface:   #1a100a;
  --surface2:  #201510;
  --border:    #2e1a10;
  --border2:   #3d2418;
  --text:      #e8d0b0;
  --muted:     #7e5a3a;
  --header:    #ffe0b0;
  --accent:    #fb923c;
  --accent2:   #fbbf24;
  --hover:     rgba(251,146,60,0.03);
  --tkr-bg:    #060200;
  --row-split: rgba(46,26,16,0.6);
}

/* Midnight Violet */
.dtp-theme-slate {
  --bg:        #0d0b1a;
  --surface:   #12101e;
  --surface2:  #161228;
  --border:    #1e1b38;
  --border2:   #2a2258;
  --text:      #c4b8f0;
  --muted:     #5a4a8e;
  --header:    #e4e0ff;
  --accent:    #a78bfa;
  --accent2:   #c4b5fd;
  --hover:     rgba(167,139,250,0.03);
  --tkr-bg:    #05040e;
  --row-split: rgba(30,27,56,0.6);
}

/* Rose Red */
.dtp-theme-rose {
  --bg:        #100608;
  --surface:   #1a0810;
  --surface2:  #200c16;
  --border:    #2e0e14;
  --border2:   #3d1820;
  --text:      #f0c0cc;
  --muted:     #7e3a50;
  --header:    #ffe4e8;
  --accent:    #fb7185;
  --accent2:   #fda4af;
  --hover:     rgba(251,113,133,0.03);
  --tkr-bg:    #060206;
  --row-split: rgba(46,14,20,0.6);
}

/* Mono Noir */
.dtp-theme-mono {
  --bg:        #0a0a0a;
  --surface:   #111111;
  --surface2:  #181818;
  --border:    #242424;
  --border2:   #363636;
  --text:      #c0c0c0;
  --muted:     #525252;
  --header:    #ffffff;
  --accent:    #e2e8f0;
  --accent2:   #94a3b8;
  --hover:     rgba(255,255,255,0.02);
  --tkr-bg:    #000000;
  --row-split: rgba(36,36,36,0.8);
}

/* ─────────────────────────────────────────────────────────────
   BASE WRAPPER
───────────────────────────────────────────────────────────── */

.dtp-table-wrapper {
  font-family: 'JetBrains Mono', monospace;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin: 24px 0;
}

* { box-sizing: border-box; }

/* ─────────────────────────────────────────────────────────────
   1. TICKER BAR
   Pure black bg, accent-colored border-bottom, scrolling text
───────────────────────────────────────────────────────────── */

.dtp-ticker {
  background: var(--tkr-bg);
  border-bottom: 1px solid var(--accent);
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
}

.dtp-ticker-inner {
  display: inline-block;
  animation: dtp-ticker-scroll 36s linear infinite;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.05em;
  padding-left: 100%;
}

@keyframes dtp-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────────────────
   2. HEADER
   Playfair Display title, muted subtitle, live badge right
───────────────────────────────────────────────────────────── */

.dtp-thead {
  padding: 24px 32px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  background: var(--bg);
}

.dtp-table-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--header);
  letter-spacing: 0.02em;
  line-height: 1.15;
}

/* Italic accent word — wrap key word in <em> or use subtitle */
.dtp-table-title em {
  color: var(--accent);
  font-style: italic;
}

.dtp-table-subtitle {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 3px;
}

.dtp-live-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.dtp-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: dtp-dot-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dtp-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.65); }
}

/* ─────────────────────────────────────────────────────────────
   3. STATS ROW
   Full-width grid, 1px gap = border illusion, 3 value colors
───────────────────────────────────────────────────────────── */

.dtp-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px 32px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.dtp-stat {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 14px 18px;
  flex: 1 1 0;          /* grow equally to fill the row */
  min-width: 120px;     /* never collapse too small */
  max-width: none;      /* no cap — let flex distribute evenly */
  transition: border-color 0.18s, background 0.18s;
  cursor: default;
}

.dtp-stat:hover {
  background: var(--surface2);
  border-color: var(--border2);
}

.dtp-stat-label {
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dtp-stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--header);
  line-height: 1;
  margin-bottom: 6px;
}

/* Three color variants matching Goodricke */
.dtp-stat-value.green  { color: var(--accent); }
.dtp-stat-value.gold   { color: var(--accent2); }
.dtp-stat-value.plain  { color: var(--header); }

.dtp-stat-sub {
  font-size: 9px;
  color: var(--muted);
  margin-top: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}


/* ─────────────────────────────────────────────────────────────
   4. CONTROLS BAR
   Search · Filters · [Results count right-aligned]
───────────────────────────────────────────────────────────── */

.dtp-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  background: var(--bg);
}

/* Search input */
.dtp-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}

.dtp-search-wrap input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  caret-color: var(--accent);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  padding: 8px 12px 8px 32px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.dtp-search-wrap input:focus {
  border-color: var(--accent);
  -webkit-text-fill-color: var(--text);
}

.dtp-search-wrap input::placeholder {
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
  opacity: 1;
}

/* Per-theme explicit text colors for inputs (belt-and-braces for all browsers) */
.dtp-theme-dark   .dtp-search-wrap input,
.dtp-theme-dark   .dtp-col-filter { color: #c9d4e0; -webkit-text-fill-color: #c9d4e0; }
.dtp-theme-light  .dtp-search-wrap input,
.dtp-theme-light  .dtp-col-filter { color: #374151; -webkit-text-fill-color: #374151; }
.dtp-theme-ocean  .dtp-search-wrap input,
.dtp-theme-ocean  .dtp-col-filter { color: #a8c8e8; -webkit-text-fill-color: #a8c8e8; }
.dtp-theme-forest .dtp-search-wrap input,
.dtp-theme-forest .dtp-col-filter { color: #b0d0b8; -webkit-text-fill-color: #b0d0b8; }
.dtp-theme-fire   .dtp-search-wrap input,
.dtp-theme-fire   .dtp-col-filter { color: #e8d0b0; -webkit-text-fill-color: #e8d0b0; }
.dtp-theme-slate  .dtp-search-wrap input,
.dtp-theme-slate  .dtp-col-filter { color: #c4b8f0; -webkit-text-fill-color: #c4b8f0; }
.dtp-theme-rose   .dtp-search-wrap input,
.dtp-theme-rose   .dtp-col-filter { color: #f0c0cc; -webkit-text-fill-color: #f0c0cc; }
.dtp-theme-mono   .dtp-search-wrap input,
.dtp-theme-mono   .dtp-col-filter { color: #c0c0c0; -webkit-text-fill-color: #c0c0c0; }

.dtp-search-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
}

/* Filter label + select pairs */
.dtp-filter-group {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.dtp-col-filter {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  -webkit-text-fill-color: var(--text);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.dtp-col-filter:focus {
  border-color: var(--accent);
}

/* Right side: results count + export */
.dtp-controls-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dtp-results-count {
  font-size: 10px;
  color: var(--muted);
}

.dtp-results-count .dtp-hl {
  color: var(--accent);
}

.dtp-export-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
}

.dtp-export-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────
   5. TABLE
   Padded 0 32px, no top padding, full-width with margin-top:20px
───────────────────────────────────────────────────────────── */

.dtp-table-scroll {
  overflow-x: auto;
  padding: 0 32px 32px;
}

table.dtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

/* TH — uppercase, muted, sortable hover */
table.dtp-table thead th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
  transition: color 0.18s;
}

table.dtp-table thead th.dtp-sortable {
  cursor: pointer;
}

table.dtp-table thead th.dtp-sortable:hover,
table.dtp-table thead th.sort-asc,
table.dtp-table thead th.sort-desc {
  color: var(--accent);
}

.dtp-sort-icon {
  margin-left: 4px;
  opacity: 0.4;
  font-size: 9px;
  display: inline;
}

table.dtp-table thead th.sort-asc .dtp-sort-icon,
table.dtp-table thead th.sort-desc .dtp-sort-icon {
  opacity: 1;
  color: var(--accent);
}

/* Rows — subtle left-slide entrance, hover tint */
table.dtp-table tbody tr {
  border-bottom: 1px solid var(--row-split);
  transition: background 0.15s;
  animation: dtp-row-in 0.3s ease forwards;
  opacity: 0;
}

@keyframes dtp-row-in {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

table.dtp-table tbody tr:hover {
  background: var(--hover);
}

/* TD */
table.dtp-table tbody td {
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text);
  white-space: nowrap;
  vertical-align: middle;
}

/* First column: muted row number style */
table.dtp-table tbody td:first-child {
  color: var(--muted);
  font-size: 11px;
}

/* ─────────────────────────────────────────────────────────────
   CELL TYPES
───────────────────────────────────────────────────────────── */

/* text — bold name style */
.dtp-cell-name {
  font-weight: 600;
  color: var(--header);
  font-size: 13px;
  letter-spacing: 0.01em;
}

/* badge — accent pill (district-badge equivalent) */
.dtp-badge {
  display: inline-block;
  background: rgba(0,0,0,0);
  background-color: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
  color: var(--accent);
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 1px;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* tags — accent2 pills (type-badge equivalent) */
.dtp-tag {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent2) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent2) 25%, transparent);
  color: var(--accent2);
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 1px;
  margin: 1px 2px 1px 0;
  white-space: nowrap;
}

/* bar — area-bar style: value + gradient bar */
.dtp-bar-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dtp-bar-wrap > span {
  font-weight: 600;
  color: var(--text);
  min-width: 44px;
  text-align: right;
  display: inline-block;
}

.dtp-bar-bg {
  width: 80px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.dtp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* number — prod-val style */
.dtp-cell-number {
  color: var(--accent);
  font-weight: 600;
}

/* currency */
.dtp-cell-currency {
  color: var(--accent);
  font-weight: 600;
}

/* percent */
.dtp-cell-percent {
  color: var(--accent);
  font-weight: 600;
}

/* link */
.dtp-cell-link a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(0,229,160,0.4);
}
.dtp-cell-link a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  opacity: 0.85;
}

/* right-click link wrapping any cell type */
a.dtp-cell-href-link {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(var(--accent-rgb, 0,229,160), 0.4);
  display: inline-block;
  cursor: pointer;
}
a.dtp-cell-href-link:hover {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  opacity: 0.85;
}

/* image */
.dtp-cell-img {
  display: block;
}
.dtp-cell-img img {
  max-height: 36px;
  border-radius: 2px;
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   RESULTS INFO LINE
   Shown between controls and table (like Goodricke's .results-info)
───────────────────────────────────────────────────────────── */

.dtp-results-info {
  font-size: 10px;
  color: var(--muted);
  padding: 10px 32px 0;
}

.dtp-results-info .dtp-hl {
  color: var(--accent);
}

/* ─────────────────────────────────────────────────────────────
   NO RESULTS
───────────────────────────────────────────────────────────── */

.dtp-no-results {
  text-align: center;
  padding: 52px 24px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dtp-loading {
  text-align: center;
  padding: 40px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.1em;
}

/* ─────────────────────────────────────────────────────────────
   6. PAGINATION
───────────────────────────────────────────────────────────── */

.dtp-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  flex-wrap: wrap;
  gap: 10px;
}

.dtp-page-info {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.dtp-page-btns {
  display: flex;
  gap: 1px;
  flex-wrap: wrap;
}

.dtp-page-btn {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.05em;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 34px;
  text-align: center;
}

.dtp-page-btn:hover:not(:disabled) {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 600;
}

.dtp-page-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
  font-weight: 700;
}

.dtp-page-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────
   LIGHT THEME OVERRIDES
   (ticker needs its dark bg even in light mode)
───────────────────────────────────────────────────────────── */

.dtp-theme-light .dtp-ticker {
  background: var(--tkr-bg);
}

.dtp-theme-light table.dtp-table tbody td:first-child {
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────
   SCROLLBAR (dark themes)
───────────────────────────────────────────────────────────── */

.dtp-table-scroll::-webkit-scrollbar { height: 4px; }
.dtp-table-scroll::-webkit-scrollbar-track { background: var(--bg); }
.dtp-table-scroll::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
.dtp-table-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); }



/* ═══════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE  (≤ 640px)
   1. Stats cards  → horizontal snap-scroll carousel + dots
   2. Controls bar → search + filters on ONE row, full-width
   Desktop layout is 100% unchanged.
═══════════════════════════════════════════════════════════════ */

/* ── dtp-filters-row: always inline flex (desktop unchanged) ── */
/* The wrapper div around filter groups — sits inline with search */
.dtp-filters-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Constrain select width so it doesn't blow out the row */
.dtp-col-filter {
  width: auto !important;
  min-width: 80px;
  max-width: 150px;
}

/* ── Carousel wrapper: inert on desktop ── */
.dtp-stats-carousel {
  display: contents;
}

/* Dot strip: hidden on desktop */
.dtp-carousel-dots {
  display: none;
}

/* ── Mobile only ────────────────────────────────────────────── */
@media (max-width: 640px) {

  /* Header tighter */
  .dtp-thead {
    padding: 16px 20px 14px;
  }

  /* Stats carousel wrapper becomes a real block */
  .dtp-stats-carousel {
    display: block;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  /* Stats row becomes the scroll track */
  .dtp-stats-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 0;
    padding: 16px 20px 12px;
    border-bottom: none;
    background: transparent;
  }

  .dtp-stats-row::-webkit-scrollbar { display: none; }

  /* Each card snaps */
  .dtp-stat {
    flex: 0 0 75vw;
    max-width: 280px;
    min-width: 0;
    scroll-snap-align: center;
    margin-right: 12px;
  }
  .dtp-stat:last-child { margin-right: 0; }

  /* Dots */
  .dtp-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 4px 0 10px;
  }

  .dtp-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: var(--border2);
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
  }

  .dtp-carousel-dot.active {
    background: var(--accent);
    transform: scale(1.5);
  }

  /* Controls: search + filters on the SAME row */
  .dtp-controls {
    flex-wrap: nowrap;
    align-items: center;
    padding: 12px 20px;
    gap: 10px;
    overflow-x: auto;
  }

  /* Search: fixed width, does NOT grow */
  .dtp-search-wrap {
    flex: 0 0 160px;
    min-width: 0;
    max-width: 160px;
    width: 160px;
  }

  /* Filters row: scrolls horizontally if needed */
  .dtp-filters-row {
    flex-wrap: nowrap;
    flex-shrink: 0;
    overflow-x: visible;
    gap: 8px;
  }

  .dtp-filter-group { flex-shrink: 0; }

  .dtp-col-filter {
    max-width: 120px !important;
    min-width: 70px;
  }

  /* Results count right side */
  .dtp-controls-right {
    flex-shrink: 0;
    margin-left: auto;
  }

  /* Table: remove horizontal padding */
  .dtp-table-scroll { padding: 0 0 24px; }

  /* Pagination tighter */
  .dtp-pagination { padding: 12px 20px; }

}
