﻿*,*::before,*::after{box-sizing:border-box;}

/* â”€â”€ Container â”€â”€ */
/* No max-width or centering â€” behaves like a regular block inside Shiny layouts */
.gt-container{width:100%;position:relative;}
/* wrap=FALSE: no content box, but still needs position:relative for halo animation */
.gt-wrap-shell{width:100%;position:relative;}

/* â”€â”€ Top bar â”€â”€ */
.gt-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px;gap:12px;flex-wrap:wrap;}
.gt-navbar{display:flex;gap:12px;position:relative;z-index:6;align-items:center;}

/* â”€â”€ Tab links â”€â”€ */
.gt-tab-link{
  position:relative;padding:10px 18px;border-radius:12px;
  background:rgba(255,255,255,0.02);
  color:var(--gt-tab-text,#cfe6ff);
  cursor:pointer;font-weight:600;font-size:14px;
  transition:color 120ms ease,background 120ms ease;
  z-index:6;user-select:none;white-space:nowrap;
}
.gt-tab-link:hover{background:rgba(255,255,255,0.04);}
.gt-tab-link.active{color:var(--gt-tab-active-text,#ffffff);}
.gt-tab-link.gt-tab-hidden{display:none;}

/* â”€â”€ Glass halo â”€â”€ */
.gt-halo{
  position:absolute;pointer-events:none;border-radius:14px;
  background:var(--gt-halo-bg,rgba(255,255,255,0.07));
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid var(--gt-halo-border,rgba(255,255,255,0.14));
  box-shadow:var(--gt-halo-shadow,
    inset 0 1px 0 rgba(255,255,255,0.22),
    inset 0 -1px 0 rgba(255,255,255,0.06),
    0 6px 20px rgba(0,0,0,0.38),
    0 0 0 1px rgba(255,255,255,0.03));
  transform:translate(-50%,-50%);
  transition:
    left   130ms cubic-bezier(.15,.9,.2,1),
    top    130ms cubic-bezier(.15,.9,.2,1),
    width  130ms cubic-bezier(.15,.9,.2,1),
    height 130ms cubic-bezier(.15,.9,.2,1),
    border-radius 130ms cubic-bezier(.15,.9,.2,1),
    opacity 120ms ease;
  z-index:2;opacity:0.92;filter:none;
}
.gt-halo::before{
  content:'';position:absolute;inset:0;border-radius:inherit;
  background:linear-gradient(120deg,rgba(255,255,255,0.26) 0%,rgba(255,255,255,0.10) 28%,rgba(255,255,255,0.02) 50%,transparent 65%);
  opacity:0.65;pointer-events:none;
}

/* â”€â”€ Transfer halo â”€â”€ */
.gt-transfer{
  position:absolute;pointer-events:none;border-radius:999px;
  width:54px;height:18px;
  background:radial-gradient(closest-side,rgba(255,255,255,0.48),rgba(255,255,255,0.16) 55%,transparent 85%);
  box-shadow:0 0 20px rgba(255,255,255,0.18);
  filter:blur(2.5px);opacity:0;transform:translate(-50%,-50%);
  z-index:3;will-change:left,top,width,height,opacity,filter;
}

/* â”€â”€ Content area â”€â”€ */
.gt-tab-wrap{
  position:relative;overflow:hidden;border-radius:14px;padding:22px;
  background:var(--gt-content-bg,transparent);
  border:1px solid var(--gt-content-border,transparent);
  box-shadow:var(--gt-content-shadow,none);min-height:200px;z-index:5;
}
.gt-tab-pane{
  position:absolute;inset:0;padding:22px;opacity:0;
  transform:translateY(12px) scale(0.993);
  transition:opacity 240ms cubic-bezier(.2,.9,.25,1),transform 240ms cubic-bezier(.2,.9,.25,1);
  pointer-events:none;
}
.gt-tab-pane.active{opacity:1;transform:translateY(0) scale(1);position:relative;pointer-events:auto;}

/* â”€â”€ Card â”€â”€ */
.gt-card{
  border-radius:10px;padding:18px;
  color:var(--gt-card-text,#eaf6ff);
  background:var(--gt-card-bg,rgba(255,255,255,0.03));
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.025);
}
.gt-card h2,.gt-card h3{margin-top:0;color:var(--gt-tab-active-text,#d4eeff);}
.gt-card p{margin:0 0 12px;color:var(--gt-card-text,#a9c8e4);font-size:14px;line-height:1.65;}

/* â”€â”€ Tag pills â”€â”€ */
.gt-filter-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px;min-height:26px;}
.gt-filter-tag{
  display:inline-flex;align-items:center;gap:5px;padding:3px 10px;
  border-radius:999px;background:rgba(100,180,255,0.12);
  border:1px solid rgba(100,180,255,0.22);color:#8ecfff;font-size:12px;font-weight:600;
}
.gt-filter-tag .gt-remove-tag{cursor:pointer;color:#6ab5f5;font-size:13px;opacity:.7;transition:opacity 120ms;margin-left:1px;}
.gt-filter-tag .gt-remove-tag:hover{opacity:1;}
.gt-no-filters{color:rgba(180,210,240,0.28);font-size:13px;font-style:italic;}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MULTI-SELECT  â€” CSS-variable driven theming
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gt-ms-wrap,
.gt-gs-wrap{
  position:relative;
  z-index:100;
  max-width:100%;
}

.gt-ms-wrap.gt-layer-active,
.gt-gs-wrap.gt-layer-active{
  z-index:1000;
}

/* â”€â”€ Trigger button â”€â”€ */
.gt-ms-trigger{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:8px 14px;border-radius:12px;
  background:rgba(255,255,255,0.05);
  border:1px solid var(--ms-border);
  color:var(--ms-text);
  cursor:pointer;font-size:13px;font-weight:600;
  white-space:nowrap;user-select:none;min-width:160px;
  transition:background 140ms,border-color 140ms,box-shadow 140ms;
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
  max-width:100%;
}
.gt-ms-trigger:hover{
  background:rgba(255,255,255,0.08);
  border-color:var(--ms-accent);
  box-shadow:0 4px 14px rgba(0,0,0,0.2);
}
.gt-ms-trigger.open{
  background:rgba(255,255,255,0.08);
  border-color:var(--ms-accent);
  box-shadow:0 0 0 3px var(--ms-ac-18),0 4px 14px rgba(0,0,0,0.2);
}

/* Light theme trigger needs darker base */
.gt-ms-wrap.theme-light .gt-ms-trigger{
  background:rgba(0,0,0,0.04);
  box-shadow:0 1px 4px rgba(0,0,0,0.08);
}
.gt-ms-wrap.theme-light .gt-ms-trigger:hover{background:rgba(0,0,0,0.07);}

.gt-ms-badge{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:var(--ms-ac-28);
  color:var(--ms-accent);font-size:11px;font-weight:700;
}
.gt-ms-badge.hidden{display:none;}
.gt-ms-chevron{width:14px;height:14px;transition:transform 180ms cubic-bezier(.2,.9,.25,1);opacity:.6;flex-shrink:0;}
.gt-ms-trigger.open .gt-ms-chevron{transform:rotate(180deg);}

/* â”€â”€ Dropdown panel â”€â”€ */
.gt-ms-dropdown{
  position:fixed;min-width:232px;
  border-radius:14px;
  background:var(--ms-bg);
  border:1px solid var(--ms-border);
  box-shadow:0 22px 64px rgba(0,0,0,0.45),inset 0 1px 0 rgba(255,255,255,0.06);
  padding:8px;opacity:0;transform:translateY(-8px) scale(0.96);
  pointer-events:none;
  transition:opacity 180ms cubic-bezier(.2,.9,.25,1),transform 180ms cubic-bezier(.2,.9,.25,1);
  transform-origin:top right;
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  z-index:9001;
}
.gt-ms-wrap.theme-light .gt-ms-dropdown{
  box-shadow:0 12px 40px rgba(0,0,0,0.15),0 0 0 1px rgba(0,0,0,0.06);
}
.gt-ms-dropdown.open{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;}

/* â”€â”€ Search â”€â”€ */
.gt-ms-search{
  display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:8px;
  background:var(--ms-tx-06);
  border:1px solid var(--ms-border);margin-bottom:6px;
}
.gt-ms-search input{
  background:none;border:none;outline:none;
  color:var(--ms-text);font-size:12px;width:100%;font-family:inherit;
}
.gt-ms-search input::placeholder{
  color:var(--ms-tx-35);
}

/* â”€â”€ Style switcher â”€â”€ */
.gt-style-switcher{
  display:flex;gap:3px;padding:5px 6px;margin-bottom:6px;
  border-radius:10px;
  background:var(--ms-tx-04);
  border:1px solid var(--ms-border);
}
.gt-style-btn{
  flex:1;display:flex;align-items:center;justify-content:center;gap:5px;
  padding:5px 8px;border-radius:7px;cursor:pointer;user-select:none;
  color:var(--ms-tx-50);
  font-size:11px;font-weight:600;letter-spacing:.02em;
  transition:background 130ms,color 130ms;white-space:nowrap;
}
.gt-style-btn:hover{
  background:var(--ms-tx-08);
  color:var(--ms-tx-80);
}
.gt-style-btn.active{
  background:var(--ms-ac-18);
  color:var(--ms-accent);
  box-shadow:inset 0 1px 0 rgba(255,255,255,0.08);
}
.gt-sb-icon{width:13px;height:13px;flex-shrink:0;}

/* â”€â”€ Select all row â”€â”€ */
.gt-ms-all{
  display:flex;align-items:center;gap:9px;padding:7px 10px;border-radius:8px;
  cursor:pointer;user-select:none;
  color:var(--ms-ac-tx-75);
  font-size:12px;font-weight:600;letter-spacing:.03em;text-transform:uppercase;
  border-bottom:1px solid var(--ms-border);margin-bottom:4px;transition:background 120ms;
}
.gt-ms-all:hover{background:var(--ms-tx-05);}

/* â”€â”€ Option rows â”€â”€ */
.gt-ms-option{
  display:flex;align-items:center;gap:9px;padding:8px 10px;border-radius:8px;
  cursor:pointer;user-select:none;color:var(--ms-text);
  font-size:13px;font-weight:500;transition:background 120ms;
}
.gt-ms-option:hover{background:var(--ms-tx-06);}
.gt-ms-option.hidden{display:none;}

/* â”€â”€ Checkbox container (shared) â”€â”€ */
.gt-ms-check{
  flex-shrink:0;width:16px;height:16px;border-radius:5px;
  border:1.5px solid var(--ms-ac-40);
  background:var(--ms-tx-03);
  display:flex;align-items:center;justify-content:center;
  transition:background 150ms,border-color 150ms,box-shadow 150ms;
  position:relative;overflow:hidden;
}
.gt-ms-check svg{opacity:0;transform:scale(0.5);transition:opacity 120ms,transform 130ms cubic-bezier(.2,.9,.25,1);}
.gt-ms-option.checked .gt-ms-check svg,
.gt-ms-all.checked    .gt-ms-check svg{opacity:1;transform:scale(1);}

/* Style: checkbox */
.gt-ms-wrap.style-checkbox .gt-ms-option.checked .gt-ms-check,
.gt-ms-wrap.style-checkbox .gt-ms-all.checked    .gt-ms-check{
  background:var(--ms-ac-22);
  border-color:var(--ms-ac-75);
  box-shadow:0 0 0 3px var(--ms-ac-12);
}

/* Style: check-only */
.gt-ms-wrap.style-check-only .gt-ms-check{
  border-color:transparent!important;background:transparent!important;box-shadow:none!important;
}
.gt-ms-wrap.style-check-only .gt-ms-option.checked .gt-ms-check svg,
.gt-ms-wrap.style-check-only .gt-ms-all.checked    .gt-ms-check svg{opacity:1;transform:scale(1.15);}
.gt-ms-wrap.style-check-only .gt-ms-check::before{
  content:'';position:absolute;width:4px;height:4px;border-radius:50%;
  background:var(--ms-ac-22);transition:opacity 120ms;
}
.gt-ms-wrap.style-check-only .gt-ms-option.checked .gt-ms-check::before,
.gt-ms-wrap.style-check-only .gt-ms-all.checked    .gt-ms-check::before{opacity:0;}

/* Style: filled */
.gt-ms-wrap.style-filled .gt-ms-check{
  border-color:var(--ms-ac-28)!important;
}

.gt-ms-wrap.style-filled .gt-ms-option.checked .gt-ms-check{
  border-color:transparent!important;
  box-shadow:0 0 0 2px rgba(255,255,255,0.06)!important;
  background:hsl(var(--opt-hue,210),72%,52%)!important;
}

.gt-ms-wrap.style-filled .gt-ms-option.checked .gt-ms-check svg{
  opacity:0 !important;
  transform:scale(0.5) !important;
}

.gt-ms-wrap.style-filled .gt-ms-all.checked .gt-ms-check{
  background:var(--ms-ac-32)!important;
  border-color:var(--ms-ac-60)!important;
}

.gt-ms-wrap.style-filled .gt-ms-all.checked .gt-ms-check svg{
  opacity:0 !important;
  transform:scale(0.5) !important;
}

.gt-ms-wrap.style-filled .gt-ms-option.checked{
  background:hsla(var(--opt-hue,210),72%,52%,0.12);
}

/* Indeterminate dash */
.gt-ms-all.indeterminate .gt-ms-check{
  background:var(--ms-ac-16);
  border-color:var(--ms-ac-55);
}
.gt-ms-all.indeterminate .gt-ms-check::after{
  content:'';width:8px;height:2px;border-radius:2px;
  background:var(--ms-accent);
}

/* â”€â”€ Footer â”€â”€ */
.gt-ms-footer{
  margin-top:6px;padding:8px 10px 2px;
  border-top:1px solid var(--ms-border);
  display:flex;align-items:center;justify-content:space-between;
}
.gt-ms-count{font-size:11px;color:var(--ms-tx-45);}
.gt-ms-clear{
  font-size:12px;color:var(--ms-accent);cursor:pointer;font-weight:600;
  opacity:.7;transition:opacity 120ms;
}
.gt-ms-clear:hover{opacity:1;}

/* â”€â”€ Arrival pulse â”€â”€ */
.gt-arrival-pulse{animation:gtHaloPulse 320ms cubic-bezier(.2,.9,.25,1) forwards;}
@keyframes gtHaloPulse{
  0%  {transform:translate(-50%,-50%) scale(0.95);opacity:.82;}
  48% {transform:translate(-50%,-50%) scale(1.05);opacity:1;}
  100%{transform:translate(-50%,-50%) scale(1);   opacity:.92;}
}

@media(max-width:600px){
  .gt-navbar{gap:8px;}.gt-tab-link{padding:8px 12px;border-radius:10px;}
  .gt-topbar{flex-direction:column;align-items:flex-start;}
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SINGLE-SELECT â€” visually aligned with MULTI-SELECT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

.gt-gs-field,
.gt-ms-field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}

.gt-input-label{
  color:var(--ms-label, var(--ms-text, #cfe6ff));
  font-size:12px;
  font-weight:600;
  letter-spacing:.01em;
  margin:0;
}

.gt-gs-wrap{
  position:relative;
  z-index:100;
}


/* â”€â”€ Trigger button â”€â”€ */
.gt-gs-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:8px 14px;
  border-radius:12px;
  background:rgba(255,255,255,0.05);
  border:1px solid var(--ms-border);
  color:var(--ms-text);
  cursor:pointer;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
  user-select:none;
  min-width:160px;
  transition:background 140ms,border-color 140ms,box-shadow 140ms;
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  max-width:100%;
}

.gt-gs-trigger [id$="-label"],
.gt-ms-trigger [id$="-label"]{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}

.gt-gs-trigger:hover{
  background:rgba(255,255,255,0.08);
  border-color:var(--ms-accent);
  box-shadow:0 4px 14px rgba(0,0,0,0.2);
}

.gt-gs-trigger.open{
  background:rgba(255,255,255,0.08);
  border-color:var(--ms-accent);
  box-shadow:
    0 0 0 3px var(--ms-ac-18),
    0 4px 14px rgba(0,0,0,0.2);
}

.gt-gs-wrap.theme-light .gt-gs-trigger{
  background:rgba(0,0,0,0.04);
  box-shadow:0 1px 4px rgba(0,0,0,0.08);
}

.gt-gs-wrap.theme-light .gt-gs-trigger:hover{
  background:rgba(0,0,0,0.07);
}

.gt-gs-chevron{
  width:14px;
  height:14px;
  transition:transform 180ms cubic-bezier(.2,.9,.25,1);
  opacity:.6;
  flex-shrink:0;
}

.gt-gs-trigger.open .gt-gs-chevron{
  transform:rotate(180deg);
}

.gt-gs-clear{
  font-size:12px;
  color:var(--ms-accent);
  cursor:pointer;
  font-weight:600;
  opacity:.7;
  transition:opacity 120ms;
}

.gt-gs-clear:hover{
  opacity:1;
}

/* â”€â”€ Dropdown panel â”€â”€ */
.gt-gs-dropdown{
  position:fixed;
  min-width:232px;
  border-radius:14px;
  background:var(--ms-bg);
  border:1px solid var(--ms-border);
  box-shadow:
    0 22px 64px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.06);
  padding:8px;
  opacity:0;
  transform:translateY(-8px) scale(0.96);
  pointer-events:none;
  transition:
    opacity 180ms cubic-bezier(.2,.9,.25,1),
    transform 180ms cubic-bezier(.2,.9,.25,1);
  transform-origin:top right;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  z-index:9001;
}

.gt-gs-wrap.theme-light .gt-gs-dropdown{
  box-shadow:
    0 12px 40px rgba(0,0,0,0.15),
    0 0 0 1px rgba(0,0,0,0.06);
}

.gt-gs-dropdown.open{
  opacity:1;
  transform:translateY(0) scale(1);
  pointer-events:auto;
}

/* â”€â”€ Search â”€â”€ */
.gt-gs-search{
  display:flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  border-radius:8px;
  background:var(--ms-tx-06);
  border:1px solid var(--ms-border);
  margin-bottom:6px;
}

.gt-gs-search input{
  background:none;
  border:none;
  outline:none;
  color:var(--ms-text);
  font-size:12px;
  width:100%;
  font-family:inherit;
}

.gt-gs-search input::placeholder{
  color:var(--ms-tx-35);
}

/* â”€â”€ Option rows â”€â”€ */
.gt-gs-option{
  display:flex;
  align-items:center;
  gap:9px;
  padding:8px 10px;
  border-radius:8px;
  cursor:pointer;
  user-select:none;
  color:var(--ms-text);
  font-size:13px;
  font-weight:500;
  transition:background 120ms;
}

.gt-gs-option:hover{
  background:var(--ms-tx-06);
}

.gt-gs-option.hidden{
  display:none;
}

/* â”€â”€ Check container â”€â”€ */
.gt-gs-check{
  flex-shrink:0;
  width:16px;
  height:16px;
  border-radius:5px;
  border:1.5px solid var(--ms-ac-40);
  background:var(--ms-tx-03);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background 150ms,border-color 150ms,box-shadow 150ms;
  position:relative;
  overflow:hidden;
}

.gt-gs-check svg{
  opacity:0;
  transform:scale(0.5);
  transition:opacity 120ms,transform 130ms cubic-bezier(.2,.9,.25,1);
}

.gt-gs-option.selected .gt-gs-check{
  background:var(--ms-ac-22);
  border-color:var(--ms-ac-75);
  box-shadow:0 0 0 3px var(--ms-ac-12);
}

.gt-gs-option.selected .gt-gs-check svg{
  opacity:1;
  transform:scale(1);
}

.gt-gs-option.selected{
  background:var(--ms-tx-06);
}

/* Check only */
.gt-gs-wrap.style-check-only .gt-gs-check{
  border-color:transparent !important;
  background:transparent !important;
  box-shadow:none !important;
}

.gt-gs-wrap.style-check-only .gt-gs-option.selected .gt-gs-check svg{
  opacity:1;
  transform:scale(1.15);
}

/* filled only */
.gt-gs-wrap.style-filled .gt-gs-check{
  border-color:var(--ms-ac-28) !important;
}

.gt-gs-wrap.style-filled .gt-gs-option.selected .gt-gs-check{
  border-color:transparent !important;
  background:var(--ms-accent) !important;
  box-shadow:0 0 0 2px rgba(255,255,255,0.06) !important;
}

.gt-gs-wrap.style-filled .gt-gs-option.selected .gt-gs-check svg{
  opacity:0 !important;
  transform:scale(0.5) !important;
}

/* Optional subtle divider between search and options list */
.gt-gs-dropdown [id$="-options"]{
  display:flex;
  flex-direction:column;
  gap:1px;
}



/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCROLL CONTAINERS â€”
   Applied by JS during init via class injection
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gt-gs-options-scroll,
.gt-ms-options-scroll{
  max-height:260px;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  display:flex;
  flex-direction:column;
  gap:1px;
  /* Smooth momentum on iOS */
  -webkit-overflow-scrolling:touch;
}

/* Subtle scrollbar styling for dark theme */
.gt-gs-options-scroll::-webkit-scrollbar,
.gt-ms-options-scroll::-webkit-scrollbar{
  width:5px;
}
.gt-gs-options-scroll::-webkit-scrollbar-track,
.gt-ms-options-scroll::-webkit-scrollbar-track{
  background:transparent;
}
.gt-gs-options-scroll::-webkit-scrollbar-thumb,
.gt-ms-options-scroll::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,0.12);
  border-radius:3px;
}
.gt-gs-options-scroll::-webkit-scrollbar-thumb:hover,
.gt-ms-options-scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,0.22);
}

/* Light theme scrollbar */
.gt-gs-wrap.theme-light .gt-gs-options-scroll::-webkit-scrollbar-thumb,
.gt-ms-wrap.theme-light .gt-ms-options-scroll::-webkit-scrollbar-thumb{
  background:rgba(0,0,0,0.10);
}
.gt-gs-wrap.theme-light .gt-gs-options-scroll::-webkit-scrollbar-thumb:hover,
.gt-ms-wrap.theme-light .gt-ms-options-scroll::-webkit-scrollbar-thumb:hover{
  background:rgba(0,0,0,0.20);
}


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LOADING / DISABLED STATE â€”
   Apply .gt-loading to .gt-gs-wrap or .gt-ms-wrap
   during choice swaps or async updates
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.gt-gs-wrap.gt-loading,
.gt-ms-wrap.gt-loading{
  pointer-events:none;
}
.gt-gs-wrap.gt-loading .gt-gs-trigger,
.gt-ms-wrap.gt-loading .gt-ms-trigger{
  opacity:0.55;
}
.gt-gs-wrap.gt-loading .gt-gs-options-scroll,
.gt-ms-wrap.gt-loading .gt-ms-options-scroll{
  opacity:0.35;
  transition:opacity 150ms ease;
}

.gt-gs-wrap.gt-disabled,
.gt-ms-wrap.gt-disabled{
  pointer-events:none;
  opacity:0.45;
}
.gt-gs-wrap.gt-disabled .gt-gs-trigger,
.gt-ms-wrap.gt-disabled .gt-ms-trigger{
  cursor:not-allowed;
}

/* â”€â”€ Tab disabled state â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gt-tab-link.gt-tab-disabled{
  opacity:0.38;
  pointer-events:none;
  cursor:not-allowed;
}

/* â”€â”€ Tab icon â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gt-tab-icon{
  display:inline-flex;
  align-items:center;
  margin-right:0.35em;
  font-size:0.9em;
  opacity:0.85;
  vertical-align:middle;
}
.gt-tab-label{
  vertical-align:middle;
}

/* â”€â”€ Tab badge â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.gt-tab-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--gt-halo-border,rgba(126,195,247,0.55));
  color:#fff;
  border-radius:9999px;
  font-size:0.62em;
  font-weight:700;
  line-height:1;
  min-width:1.5em;
  height:1.5em;
  padding:0 0.4em;
  margin-left:0.38em;
  vertical-align:middle;
  letter-spacing:0.01em;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LIGHT MODE â€” tab widget overrides
   Activated by .theme-light class on the outer wrapper.
   Replaces every hardcoded rgba(255,255,255,...) value that
   reads as invisible on a white/light background.
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Tab link idle / hover backgrounds */
.theme-light .gt-tab-link{
  background:rgba(0,0,0,0.03);
  color:var(--gt-tab-text,#475569);
}
.theme-light .gt-tab-link:hover{
  background:rgba(37,99,235,0.06);
}
.theme-light .gt-tab-link.active{
  color:var(--gt-tab-active-text,#1e40af);
}

/* Halo shimmer â€” replace white gradient with blue-tinted glass */
.theme-light .gt-halo::before{
  background:linear-gradient(
    120deg,
    rgba(37,99,235,0.18) 0%,
    rgba(37,99,235,0.07) 30%,
    rgba(255,255,255,0.50) 55%,
    transparent 70%
  );
  opacity:0.85;
}

/* Transfer trace particle â€” replace white glow with blue */
.theme-light .gt-transfer{
  background:radial-gradient(
    closest-side,
    rgba(37,99,235,0.60),
    rgba(37,99,235,0.22) 55%,
    transparent 85%
  );
  box-shadow:0 0 18px rgba(37,99,235,0.28);
}

/* Content area â€” transparent by default in light mode so glasstabs
   acts as "just tabs" inside whatever container the user provides.
   Users who want a card feel can override via glass_tab_theme(). */
.theme-light .gt-tab-wrap{
  background:var(--gt-content-bg,transparent);
  border-color:var(--gt-content-border,transparent);
  box-shadow:none;
  min-height:0;
}

/* Card inner â€” also transparent; content flows on the page */
.theme-light .gt-card{
  background:var(--gt-card-bg,transparent);
  box-shadow:none;
  color:var(--gt-card-text,#1e293b);
}
.theme-light .gt-card h2,
.theme-light .gt-card h3{
  color:var(--gt-tab-active-text,#1d4ed8);
}
.theme-light .gt-card p{
  color:var(--gt-card-text,#374151);
}

/* Filter tag pills â€” replace the blue-on-dark pill style */
.theme-light .gt-filter-tag{
  background:rgba(37,99,235,0.08);
  border-color:rgba(37,99,235,0.25);
  color:#1d4ed8;
}
.theme-light .gt-filter-tag .gt-remove-tag{color:#2563eb;}
.theme-light .gt-no-filters{color:rgba(71,85,105,0.45);}

/* â”€â”€ Compact / dense mode â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
/* Applied when glassTabsUI(compact = TRUE) */
/* compact has no extra container margin to override â€” spacing handled below */
.gt-compact .gt-topbar{margin-bottom:6px;}
.gt-compact .gt-navbar{gap:4px;}
.gt-compact .gt-tab-link{padding:5px 10px;font-size:13px;border-radius:8px;}
.gt-compact .gt-tab-wrap{padding:12px;min-height:60px;}
.gt-compact .gt-tab-pane{padding:12px;}
.gt-compact .gt-card{padding:10px;}
.gt-compact .gt-halo{border-radius:10px;}

/* Dropdowns use position:fixed so they escape overflow:hidden parents
   (e.g. bs4Dash card bodies). z-index is set directly on the dropdown
   element in its base rule above. */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TELEPORTED DROPDOWN STYLES
   When a dropdown is moved to <body> via teleportOpen(), it loses its
   .gt-ms-wrap / .gt-gs-wrap ancestor. JS copies the style/theme classes
   directly onto the dropdown element so these rules apply instead.
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* Light theme box-shadow override for teleported dropdowns */
.gt-ms-dropdown.theme-light{box-shadow:0 12px 40px rgba(0,0,0,0.15),0 0 0 1px rgba(0,0,0,0.06);}
.gt-gs-dropdown.theme-light{box-shadow:0 12px 40px rgba(0,0,0,0.15),0 0 0 1px rgba(0,0,0,0.06);}

/* Multi-select: checkbox style */
.gt-ms-dropdown.style-checkbox .gt-ms-option.checked .gt-ms-check,
.gt-ms-dropdown.style-checkbox .gt-ms-all.checked    .gt-ms-check{
  background:var(--ms-ac-22);
  border-color:var(--ms-ac-75);
  box-shadow:0 0 0 3px var(--ms-ac-12);
}

/* Multi-select: check-only style */
.gt-ms-dropdown.style-check-only .gt-ms-check{
  border-color:transparent!important;background:transparent!important;box-shadow:none!important;
}
.gt-ms-dropdown.style-check-only .gt-ms-option.checked .gt-ms-check svg,
.gt-ms-dropdown.style-check-only .gt-ms-all.checked    .gt-ms-check svg{opacity:1;transform:scale(1.15);}
.gt-ms-dropdown.style-check-only .gt-ms-check::before{
  content:'';position:absolute;width:4px;height:4px;border-radius:50%;
  background:var(--ms-ac-22);transition:opacity 120ms;
}
.gt-ms-dropdown.style-check-only .gt-ms-option.checked .gt-ms-check::before,
.gt-ms-dropdown.style-check-only .gt-ms-all.checked    .gt-ms-check::before{opacity:0;}

/* Multi-select: filled style */
.gt-ms-dropdown.style-filled .gt-ms-check{
  border-color:var(--ms-ac-28)!important;
}
.gt-ms-dropdown.style-filled .gt-ms-option.checked .gt-ms-check{
  border-color:transparent!important;
  box-shadow:0 0 0 2px rgba(255,255,255,0.06)!important;
  background:hsl(var(--opt-hue,210),72%,52%)!important;
}
.gt-ms-dropdown.style-filled .gt-ms-option.checked .gt-ms-check svg{
  opacity:0!important;transform:scale(0.5)!important;
}
.gt-ms-dropdown.style-filled .gt-ms-all.checked .gt-ms-check{
  background:var(--ms-ac-32)!important;
  border-color:var(--ms-ac-60)!important;
}
.gt-ms-dropdown.style-filled .gt-ms-all.checked .gt-ms-check svg{
  opacity:0!important;transform:scale(0.5)!important;
}
.gt-ms-dropdown.style-filled .gt-ms-option.checked{
  background:hsla(var(--opt-hue,210),72%,52%,0.12);
}

/* Single-select: check-only style */
.gt-gs-dropdown.style-check-only .gt-gs-check{
  border-color:transparent!important;background:transparent!important;box-shadow:none!important;
}
.gt-gs-dropdown.style-check-only .gt-gs-option.selected .gt-gs-check svg{opacity:1;transform:scale(1.15);}

/* Single-select: filled style */
.gt-gs-dropdown.style-filled .gt-gs-check{
  border-color:var(--ms-ac-28)!important;
}
.gt-gs-dropdown.style-filled .gt-gs-option.selected .gt-gs-check{
  border-color:transparent!important;
  background:var(--ms-accent)!important;
  box-shadow:0 0 0 2px rgba(255,255,255,0.06)!important;
}
.gt-gs-dropdown.style-filled .gt-gs-option.selected .gt-gs-check svg{
  opacity:0!important;transform:scale(0.5)!important;
}

/* RTL layout support */
[dir="rtl"] .gt-topbar,
[dir="rtl"] .gt-navbar,
[dir="rtl"] .gt-gs-field,
[dir="rtl"] .gt-ms-field,
[dir="rtl"] .gt-gs-trigger,
[dir="rtl"] .gt-ms-trigger,
[dir="rtl"] .gt-gs-option,
[dir="rtl"] .gt-ms-option,
[dir="rtl"] .gt-ms-all,
[dir="rtl"] .gt-ms-footer,
[dir="rtl"] .gt-style-switcher{
  direction:rtl;
}

[dir="rtl"] .gt-tab-icon{
  margin-right:0;
  margin-left:0.35em;
}

[dir="rtl"] .gt-tab-badge{
  margin-left:0;
  margin-right:0.38em;
}

/* Windows High Contrast / forced colors */
@media (forced-colors: active){
  .gt-tab-link,
  .gt-gs-trigger,
  .gt-ms-trigger,
  .gt-gs-dropdown,
  .gt-ms-dropdown,
  .gt-gs-option,
  .gt-ms-option,
  .gt-ms-all,
  .gt-style-btn,
  .gt-filter-tag{
    background:Canvas;
    border-color:ButtonText;
    color:ButtonText;
    box-shadow:none;
    forced-color-adjust:auto;
  }

  .gt-tab-link.active,
  .gt-gs-option.selected,
  .gt-ms-option.checked,
  .gt-ms-all.checked,
  .gt-style-btn.active{
    background:Highlight;
    border-color:Highlight;
    color:HighlightText;
  }

  .gt-halo,
  .gt-transfer{
    display:none;
  }

  .gt-gs-check,
  .gt-ms-check{
    background:Canvas;
    border-color:ButtonText;
    color:ButtonText;
  }

  .gt-gs-trigger:focus,
  .gt-ms-trigger:focus,
  .gt-tab-link:focus{
    outline:2px solid Highlight;
    outline-offset:2px;
  }
}
