/* ============================================================================
   TransitHub Backoffice MVC — site styles
   Sections: 1. Design tokens  2. Fonts  3. Base  4. App shell  5. Components
   ========================================================================== */

/* 1. DESIGN TOKENS ----------------------------------------------------------
   Palette values come from the LeptonX Lite theme the Blazor app uses
   (--lpx-* variables in the theme NuGet package). Re-theming the app = editing this block. */
:root {
  /* Brand palette (LeptonX Lite) */
  --th-brand: #f72585;
  --th-accent: var(--th-brand);
  --th-primary: #355dff;
  --th-primary-hover: #2f53e6;
  --th-primary-active: #294acc;
  --th-secondary: #6c5dd3;
  --th-secondary-hover: #6154be;
  --th-secondary-active: #564aa9;
  /* Bootstrap's tint/shade of --th-primary, as list-group-item-primary renders
     in the Blazor app (tint 80% for bg, shade 40% for text) */
  --th-primary-soft-bg: #d7dfff;
  --th-primary-soft-fg: #203899;
  --th-success: #4fbf67;
  --th-warning: #ff9f38;
  --th-danger: #c00d49;
  --th-info: #438aa7;

  /* App shell */
  --th-sidebar-width: 280px;
  --th-sidebar-bg: #1d1c25;
  --th-sidebar-active-bg: #131219;
  --th-sidebar-fg: rgba(255, 255, 255, 0.55);
  --th-sidebar-icon-fg: rgba(255, 255, 255, 0.4);
  --th-surface: #f5f5f9;
  --th-topbar-bg: var(--th-surface);
  --th-heading-fg: #686b6e;
  --th-input-bg: #f5f5f7;
  --th-card-radius: 0.5rem;
  --th-card-shadow: 0 3px 13px rgba(27, 27, 27, 0.06);

  /* Data grid */
  --th-grid-head-fg: #8592a3;
  --th-selection-bg: rgba(105, 108, 255, 0.14);

  /* Rebook wizard (dark travel-planner panel, from the Blazor trip-search card) */
  --th-brand-dark: #00204c;
  --th-brand-dark-accent: #0046a5;

  /* Typography */
  --th-font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* 2. FONTS ------------------------------------------------------------------
   Inter (the LeptonX font), self-hosted like all other frontend assets. */
@font-face {
  font-family: "Inter";
  src: url("../lib/inter/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* 3. BASE -------------------------------------------------------------------*/
html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  font-family: var(--th-font-sans);
}

/* Alpine: hide elements until Alpine has initialized them */
[x-cloak] {
  display: none !important;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* 4. APP SHELL --------------------------------------------------------------
   Dark left sidebar + topbar and content column sharing the surface color
   (LeptonX layout).
   The !importants counter Bootstrap's responsive offcanvas: above the lg
   breakpoint .offcanvas-lg forces background-color: transparent, width: auto
   and flex-grow: 1, all !important, so the sidebar pins its look with equal
   force. */
.app-sidebar {
  width: var(--th-sidebar-width) !important;
  min-width: var(--th-sidebar-width);
  max-width: var(--th-sidebar-width);
  flex-grow: 0 !important;
  flex-shrink: 0;
  --bs-offcanvas-width: var(--th-sidebar-width);
  --bs-offcanvas-bg: var(--th-sidebar-bg);
  background-color: var(--th-sidebar-bg) !important;
}

@media (min-width: 992px) {
  .app-sidebar {
    min-height: 100vh;
  }
}

/* Nothing may ever bleed out of the sidebar into the content area */
.app-sidebar {
  overflow-x: hidden;
}

/* Nested flex: without min-width 0 on every level, a long child label's intrinsic
   width propagates up and inflates the whole menu group past the sidebar width */
.app-nav,
.app-nav .nav {
  width: 100%;
}

.app-nav .nav-item {
  min-width: 0;
  max-width: 100%;
}

.app-brand {
  display: block;
  padding: 1.5rem 1.5rem 1.25rem;
}

.app-brand img {
  height: 32px;
}

.app-nav .nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--th-sidebar-fg);
  margin: 0;
  border-radius: 0;
  padding: 0.6rem 1.25rem;
  background: transparent;
  border: 0;
  font-size: 0.95rem;
  min-width: 0;
  width: 100%;
  text-align: left;
}

.app-nav .nav-link i {
  color: var(--th-sidebar-icon-fg);
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

/* Labels truncate with an ellipsis instead of wrapping or overflowing */
.app-nav .app-nav-text {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-nav .nav-link:hover {
  color: #fff;
}

.app-nav .nav-link:hover i {
  color: rgba(255, 255, 255, 0.75);
}

/* Selected item: dark block with brand-pink icon, like LeptonX */
.app-nav .nav-link.active {
  color: #fff;
  background-color: var(--th-sidebar-active-bg);
}

.app-nav .nav-link.active i {
  color: var(--th-accent);
}

/* Expandable menu groups */
.app-nav .app-nav-group:not(.collapsed) {
  color: #fff;
}

.app-nav .app-nav-group:not(.collapsed) i {
  color: var(--th-accent);
}

.app-nav .app-nav-caret {
  font-size: 0.65em;
  color: var(--th-sidebar-icon-fg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.app-nav .nav-link:not(.collapsed) .app-nav-caret {
  transform: rotate(180deg);
  color: var(--th-accent);
}

.app-nav .app-nav-child {
  padding-left: 2.9rem;
  font-size: 0.9rem;
}

/* Third nav level (group > group > leaf), e.g. Administration > Identity management > Roles */
.app-nav .app-nav-grandchild {
  padding-left: 4.2rem;
  font-size: 0.85rem;
}

.app-topbar {
  background-color: var(--th-topbar-bg);
  font-size: 0.875rem;
}

.app-topbar .btn {
  font-size: 0.875rem;
}

.app-topbar-link {
  color: var(--th-primary);
}

.app-content {
  background-color: var(--th-surface);
}

.app-content h1 {
  color: var(--th-heading-fg);
  font-weight: 500;
}

/* 5. COMPONENTS -------------------------------------------------------------*/

/* 5.0 Cards & buttons — LeptonX look: borderless rounded cards with a soft
   shadow; primary buttons in the LeptonX primary color */
.card {
  border: 0;
  border-radius: var(--th-card-radius);
  box-shadow: var(--th-card-shadow);
}

/* Inputs: light gray fill like LeptonX */
.form-control,
.form-select {
  background-color: var(--th-input-bg);
}

/* Field labels and form section headings share the heading gray */
.form-label,
.app-content h5 {
  color: var(--th-heading-fg);
}

/* Light buttons (disabled Publish/Unpublish state) share the heading gray */
.btn-light {
  --bs-btn-color: var(--th-heading-fg);
  --bs-btn-disabled-color: var(--th-heading-fg);
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  --bs-btn-bg: var(--th-primary);
  --bs-btn-border-color: var(--th-primary);
  --bs-btn-hover-bg: var(--th-primary-hover);
  --bs-btn-hover-border-color: var(--th-primary-hover);
  --bs-btn-active-bg: var(--th-primary-active);
  --bs-btn-active-border-color: var(--th-primary-active);
  --bs-btn-disabled-bg: var(--th-primary);
  --bs-btn-disabled-border-color: var(--th-primary);
}

/* Secondary buttons: LeptonX secondary purple, like Blazor's Color="Secondary"
   (Event Log detail filter buttons, Traffic Information row actions) */
.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  --bs-btn-disabled-color: #fff;
  --bs-btn-bg: var(--th-secondary);
  --bs-btn-border-color: var(--th-secondary);
  --bs-btn-hover-bg: var(--th-secondary-hover);
  --bs-btn-hover-border-color: var(--th-secondary-hover);
  --bs-btn-active-bg: var(--th-secondary-active);
  --bs-btn-active-border-color: var(--th-secondary-active);
  --bs-btn-disabled-bg: var(--th-secondary);
  --bs-btn-disabled-border-color: var(--th-secondary);
}

/* 5.1 Data grid (th-grid) — reusable pattern for admin list screens:
   muted uppercase headers, hover-revealed action overlay, expandable
   detail rows. Used by Traffic Information; future verticals reuse as-is. */
.th-grid thead th {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--th-grid-head-fg);
}

/* Data rows: extra vertical padding over Bootstrap's 0.5rem default
   (~+10px row height). Detail-row cells keep their own compact padding. */
.th-grid tbody td:not(.th-detail) {
  padding-top: 0.8125rem;
  padding-bottom: 0.8125rem;
}

/* Action buttons overlay the row (like the Blazorise RowOverlay): they live in
   a zero-width cell and float over the data columns, shown on hover/focus/expand */
.th-grid .th-grid-actions-cell {
  position: relative;
  width: 0;
  padding: 0;
}

.th-grid .th-grid-actions {
  visibility: hidden;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  z-index: 5;
}

.th-grid tr:hover .th-grid-actions,
.th-grid tr:focus-within .th-grid-actions,
.th-grid tr.th-row-open .th-grid-actions {
  visibility: visible;
}

/* Always-visible per-row Actions dropdown column (identity grids). The dropdown
   button must carry data-bs-popper-config='{"strategy":"fixed"}': the grid lives in
   a .table-responsive (overflow auto), which would clip an absolutely-positioned
   menu on the last rows — fixed positioning escapes the scroll container. */
.th-grid .th-row-actions {
  width: 1%;
  white-space: nowrap;
}

/* Expanded (selected) row highlight */
.th-grid tbody tr.th-row-open > * {
  box-shadow: inset 0 0 0 9999px var(--th-selection-bg) !important;
}

/* Detail row: always surface-gray (no hover accent), inner tables transparent */
.th-grid tbody tr.th-detail-row > td {
  background-color: var(--th-surface) !important;
  box-shadow: none !important;
}

/* Inset variant (Traffic Information): white gutter between the row and a
   rounded surface-gray panel, and below it — like the UAT Blazor app */
.th-grid tbody tr.th-detail-row > td.th-detail-inset {
  background-color: #fff !important;
  padding: 1rem 0.5rem;
}

.th-detail-panel {
  background-color: var(--th-surface);
  border-radius: var(--th-card-radius);
  padding: 1rem;
}

.th-detail-row .table {
  --bs-table-bg: transparent;
}

/* Detail panel headings: keep the h3 semantics the Blazor app also uses, but
   size them for the compact expandable-row context */
.th-detail h3 {
  font-size: 1.25rem;
  color: var(--th-heading-fg);
}

/* Detail panel card headers (Message/Event/Who/Did/What): primary-tinted like
   the Blazor detail's ListGroupItem Color="Primary" */
.th-detail-header {
  background-color: var(--th-primary-soft-bg);
  color: var(--th-primary-soft-fg);
}


/* Ticket detail rows (Customers ticket tabs; the future Bookings vertical reuses
   these grids): the surface-gray detail cell frames a white rounded panel holding
   the sub-table, matching the Blazor transaction grids — the inverse of CTI's
   th-detail-inset (white gutter around a gray panel). */
.th-grid tbody tr.th-detail-row > td.th-ticket-detail {
  padding: 0.75rem;
}

.th-ticket-panel {
  background-color: #fff;
  border-radius: var(--th-card-radius);
  padding: 0.25rem 1rem;
}

.th-ticket-panel .table th,
.th-ticket-panel .table td {
  padding: 0.75rem 0.5rem;
}

/* Underline tabs (LeptonX look): brand-colored active underline instead of
   Bootstrap's boxed tabs. The strip is its own white element on the gray page —
   the content card below sits flush under it (Blazor .tab-style/.tab-content:
   zeroed touching radii). Born on the Customers profile; Bookings reuses. */
.th-tabs {
  border-bottom: 0;
  /* Strip hugs its tabs; each tab keeps a roomy minimum but grows with its label
     instead of wrapping (the fixed 40rem/4 columns broke "Single tickets (new)"). */
  width: fit-content;
  max-width: 100%;
  background-color: #fff;
  border-top-left-radius: var(--th-card-radius);
  border-top-right-radius: var(--th-card-radius);
}

.th-tabs-content {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.th-tabs .nav-item {
  flex: 0 1 auto;
  text-align: center;
}

.th-tabs .nav-link {
  width: 100%;
  min-width: 10rem;
  white-space: nowrap;
  padding: 1rem;
  color: var(--bs-body-color);
  border: 0;
  border-bottom: 3px solid rgba(104, 107, 110, 0.08);
  border-radius: 0;
}

.th-tabs .nav-link:hover,
.th-tabs .nav-link:focus-visible {
  color: var(--th-accent);
  border-bottom-color: var(--th-accent);
}

.th-tabs .nav-link.active {
  color: var(--th-accent);
  background-color: transparent;
  border-bottom-color: var(--th-accent);
}

/* Outlined info glyph (material info_outline look): thin ring with a small "i",
   inheriting the muted text color — FontAwesome free only ships the solid disc. */
.th-note-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  font-size: 0.6rem;
  vertical-align: text-bottom;
}

/* Train-info note badge: filled square with the class number, the FontAwesome-less
   equivalent of material's looks_two (Blazor icons.css .info-icons.AA). */
.th-note-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 0.25rem;
  background-color: #495057;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: text-bottom;
}

/* Pager: plain gray items, current page as a brand-colored circle (LeptonX look) */
.th-pager .btn-link {
  color: var(--th-heading-fg);
  text-decoration: none;
}

.th-pager .th-page-current {
  background-color: var(--th-accent);
  border-color: var(--th-accent);
  color: #fff;
}

/* 5.2 Alerts / notifications */
.alert-fixed {
  position: fixed;
  top: 70px;
  right: 20px;
  z-index: 1050;
  min-width: 300px;
  max-width: 500px;
}

/* 5.3 htmx loading indicator */
.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator {
  display: inline-block;
}

.htmx-request.htmx-indicator {
  display: inline-block;
}

/* 5.4 Form validation */
.field-validation-error {
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
}

.input-validation-error {
  border-color: #dc3545;
}

.validation-summary-errors {
  color: #dc3545;
}

.validation-summary-errors ul {
  list-style: none;
  padding-left: 0;
}

/* 5.5 Badges (th-badge) — reusable colored pills: grid value/status badges and
   removable filter chips (Event Log). Variants map to the semantic tokens. */
.th-badge {
  display: inline-block;
  padding: 0.3em 0.65em;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  border-radius: 2rem;
  color: #fff;
  white-space: nowrap;
}

.th-badge-primary   { background-color: var(--th-primary); }
.th-badge-secondary { background-color: var(--th-secondary); }
.th-badge-success   { background-color: var(--th-success); }
.th-badge-danger    { background-color: var(--th-danger); }
.th-badge-info      { background-color: var(--th-info); }
/* Neutral chip (Blazor's .list-badge): non-status values like station names */
.th-badge-muted     { background-color: #eeeeee; color: #686b6e; }

.th-badge .th-badge-close {
  color: inherit;
  opacity: 0.75;
  margin-left: 0.35rem;
  text-decoration: none;
}

.th-badge .th-badge-close:hover {
  opacity: 1;
}

/* 5.6 Permissions dialog (permissionTree) — selected group in the soft primary tint */
.th-perm-groups .list-group-item.active {
  background-color: var(--th-primary-soft-bg);
  color: var(--th-primary-soft-fg);
  border-color: var(--th-primary-soft-bg);
}

/* 5.7 Rebook wizard (Bookings) — dark search panel, trip cards, selection pane */
.th-rebook-search {
  background: var(--th-brand-dark);
  color: #fff;
  border-radius: var(--th-card-radius);
  padding: 1rem 1.25rem;
}

.th-rebook-search .form-control {
  background: #fff;
}

.th-rebook-search .form-control:disabled {
  opacity: 0.5;
}

.th-rebook-station-label {
  min-width: 3rem;
}

/* The two locked station rows; the swap FAB is centered on their right edge,
   straddling the seam between the rows (Blazor planner look). */
.th-rebook-stations {
  position: relative;
}

.th-rebook-swap {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 50%;
  background: var(--th-brand-dark-accent);
  color: #fff;
}

.th-rebook-swap:hover {
  filter: brightness(1.2);
}

.th-rebook-swap-spacer {
  width: 2.25rem;
  flex: 0 0 auto;
}

.th-rebook-mode-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--bs-body-color);
  border-radius: 0.375rem;
  padding: 0.4rem 0.75rem;
  margin-bottom: 0;
  cursor: pointer;
  flex: 1 1 0;
  white-space: nowrap;
}

.th-rebook-mode-pill:has(input:checked) {
  outline: 2px solid var(--th-brand-dark-accent);
}

/* Scrolls like Blazor's list (max-height 60vh) */
.th-trip-list {
  max-height: 60vh;
  overflow-y: auto;
  padding: 0.25rem;
}

.th-trip-day {
  text-align: center;
  color: var(--th-grid-head-fg);
  padding: 0.25rem 0;
}

.th-trip-card {
  display: block;
  background: #fff;
  border: 1px solid transparent;
  border-radius: var(--th-card-radius);
  box-shadow: var(--th-card-shadow);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  color: inherit;
  text-decoration: none;
}

.th-trip-card:hover {
  border-color: var(--th-primary);
  color: inherit;
}

.th-trip-card.selected {
  border-color: var(--th-brand-dark-accent);
  background: var(--th-selection-bg);
}

.th-rebook-fetch-more {
  background: var(--th-brand-dark);
  color: #fff;
  max-width: 14rem;
}

.th-rebook-fetch-more:hover {
  background: var(--th-brand-dark-accent);
  color: #fff;
}

.th-rebook-pane {
  background: var(--th-surface);
  border-radius: var(--th-card-radius);
  overflow: hidden;
}

.th-rebook-pane-bar {
  display: flex;
  justify-content: space-between;
  background: var(--th-brand-dark);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1rem;
}

/* Stop timeline. Like Blazor's LegInformation, the connector is drawn PER LEG,
   from the leg's origin pin down to its destination pin — it never runs past the
   final arrival. The segment is anchored top/bottom, so it stretches with the leg
   block (e.g. when the transport notes expand). */
.th-leg-timeline {
  padding-left: 1.5rem;
}

.th-leg {
  position: relative;
}

.th-leg::before {
  content: "";
  position: absolute;
  left: -1.1rem;
  top: 0.65rem;
  bottom: 2.1rem;
  width: 2px;
  background: var(--th-grid-head-fg);
}

.th-leg-stop {
  position: relative;
}

.th-leg-stop .fa-location-dot,
.th-leg-stop .th-place-outline {
  position: absolute;
  left: -1.5rem;
  top: 0.25rem;
  width: 0.9rem;
  text-align: center;
  padding: 0.15rem 0;
  background: var(--th-surface);
  color: var(--th-heading-fg);
}

.th-leg-stop .th-place-outline {
  top: 0.3rem;
  height: 1.05rem;
  padding: 0;
}

/* One enclosed white box per transport row: the toggle is its header and the
   expanded notes stay inside the same box (Blazor's expanded MDT panel look). */
.th-rebook-leg-transport {
  background: #fff;
  border: 1px solid var(--th-primary-soft-bg);
  border-radius: 0.375rem;
}

.th-rebook-leg-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.4rem 0.75rem;
}

.th-rebook-leg-toggle .fa-chevron-down {
  transition: transform 0.15s ease;
}

.th-rebook-leg-toggle:not(.collapsed) .fa-chevron-down {
  transform: rotate(180deg);
}

.th-rebook-leg-notes {
  padding: 0 0.75rem 0.5rem;
}

/* The copied Blazor connection/layover SVG. The cropped viewBox is ~2:1, so the
   height matches the FontAwesome glyphs while keeping the wide Blazor look. */
.th-connection-icon {
  width: 1.55em;
  height: 0.8em;
  flex: 0 0 auto;
}

/* Blazor renders the trip meta icons near-black so they stand out against the
   muted text — match that in the cards and the selection pane. */
.th-trip-card .fa-clock,
.th-trip-card .th-connection-icon,
.th-rebook-pane .fa-clock,
.th-rebook-pane .th-connection-icon {
  color: var(--bs-body-color);
}

.th-rebook-counter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
}

.th-rebook-count {
  min-width: 2.5rem;
  text-align: center;
  background: var(--th-input-bg);
  border-radius: 0.375rem;
  padding: 0.25rem 0.5rem;
}

/* Old flow: bordered total row under the counters */
.th-rebook-total {
  display: flex;
  justify-content: space-between;
  border: 1px solid var(--th-grid-head-fg);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
}

/* 5.8 Product Matrix — vertical-title info card (Blazor InfoCard look), scrollable
   station-chip list and the sticky search-result summary. */
.th-vcard {
  display: flex;
  flex-direction: row;
}

.th-vcard-title {
  flex: 0 0 auto;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-align: center;
  font-weight: 600;
  font-size: 1.25rem;
  padding: 1rem 0.5rem;
  color: var(--th-heading-fg);
}

.th-vcard-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* Station chips: capped height with scroll (Blazor .scrollable-container) */
.th-chip-scroll {
  max-height: 10em;
  overflow-y: auto;
}

.th-chip-scroll .th-badge,
.th-chip-list .th-badge {
  margin: 0 0.5rem 0.35rem 0;
}

.th-sticky-summary {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--th-surface);
}

/* Station combobox (stationCombobox Alpine component) — replaces the native
   <datalist> popup, which the browser positions/sizes arbitrarily and CSS cannot
   style. Always directly below the input, at least input-wide, capped with scroll. */
.th-combobox {
  position: relative;
}

.th-combobox-list {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1050;
  min-width: 100%;
  width: max-content;
  max-width: min(24rem, 90vw);
  max-height: 16rem;
  overflow-y: auto;
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  list-style: none;
  background: #fff;
  border-radius: var(--th-card-radius);
  box-shadow: var(--th-card-shadow);
}

.th-combobox-option {
  padding: 0.4rem 1rem;
  cursor: pointer;
  white-space: nowrap;
}

.th-combobox-option:hover,
.th-combobox-option.active {
  background: var(--th-selection-bg);
}
