/**
 * Liste modules (Options Avancées + action principale) — compactage mobile uniquement (< md).
 * Rangée titre : classe `.list-toolbar-mobile-layout`.
 */
@media (max-width: 767.98px) {
  .list-toolbar-mobile-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    align-items: center;
    grid-column-gap: 0.5rem;
    column-gap: 0.5rem;
    grid-row-gap: 0.25rem;
    row-gap: 0.25rem;
  }

  /*
   * Titre + sous-titre : « display: contents » uniquement si pas d’autres blocs dans le même wrapper.
   * Sinon (ex. pointage avec badge date sous le titre) empiler en colonne pour éviter chevauchements.
   */
  .list-toolbar-mobile-layout > div:first-child:has(> h1):not(:has(> div)),
  .list-toolbar-mobile-layout > div:first-child:has(> h2):not(:has(> div)) {
    display: contents;
  }

  .list-toolbar-mobile-layout > div:first-child:has(> h1):has(> div),
  .list-toolbar-mobile-layout > div:first-child:has(> h2):has(> div) {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    min-width: 0;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  /* Titre / sous-titre quand le wrapper n’est pas « display: contents » (icône date, etc.) */
  .list-toolbar-mobile-layout > div:first-child:has(> div) h1.text-3xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
    margin: 0 !important;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
  }

  .list-toolbar-mobile-layout > div:first-child:has(> div) h2.text-2xl {
    font-size: 1.125rem !important;
    line-height: 1.5rem !important;
    margin: 0 !important;
  }

  .list-toolbar-mobile-layout > div:first-child:has(> div) > p {
    grid-column: unset;
    grid-row: unset;
    margin-top: 0 !important;
  }

  .list-toolbar-mobile-layout > div:first-child:has(> div) h1 .refresh-button {
    margin-left: 0 !important;
  }

  .list-toolbar-mobile-layout > h1,
  .list-toolbar-mobile-layout > h2 {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    align-self: center;
    margin: 0 !important;
  }

  .list-toolbar-mobile-layout > h1 svg,
  .list-toolbar-mobile-layout > h2 svg {
    width: 1.35rem !important;
    height: 1.35rem !important;
    flex-shrink: 0 !important;
  }

  /* Bloc titre avec icône gradient (Finance, etc.) */
  .list-toolbar-mobile-layout > h1 > div.rounded-xl.p-3 {
    padding: 0.45rem !important;
    border-radius: 0.65rem !important;
  }

  .list-toolbar-mobile-layout > h1 > div.rounded-xl.p-3 svg {
    width: 1.35rem !important;
    height: 1.35rem !important;
  }

  .list-toolbar-mobile-layout > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0.125rem !important;
  }

  .list-toolbar-mobile-layout > div:last-child:not(:only-child) {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    gap: 0.375rem !important;
  }

  .list-toolbar-mobile-layout > div:last-child:not(:only-child) button {
    padding: 0.35rem 0.45rem !important;
    border-radius: 0.625rem !important;
    gap: 0.25rem !important;
    min-height: 0 !important;
    min-height: initial !important;
  }

  .list-toolbar-mobile-layout > div:last-child:not(:only-child) button svg {
    width: 1.05rem !important;
    height: 1.05rem !important;
    flex-shrink: 0 !important;
  }

  /* Texte des boutons (Options / Création) masqué : icônes + chevrons seuls */
  .list-toolbar-mobile-layout > div:last-child:not(:only-child) button span {
    display: none !important;
  }

  .list-toolbar-mobile-layout > h1.text-3xl {
    font-size: 1.25rem !important;
    line-height: 1.75rem !important;
  }

  .list-toolbar-mobile-layout > h2.text-2xl {
    font-size: 1.125rem !important;
    line-height: 1.5rem !important;
  }
}

/* Hide scrollbar for horizontal navigation */
.scrollbar-hide {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera*/
}


/* Theme Toggle Switch Styles */

.theme-toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
  margin: 0 10px;
}

.theme-toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.theme-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: 0.4s;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.theme-toggle-switch input:checked + .theme-toggle-slider {
  background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.theme-toggle-switch input:checked + .theme-toggle-slider:before {
  transform: translateX(30px);
}

/* Icons inside the slider */
.theme-toggle-slider .toggle-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.theme-toggle-slider .sun-icon {
  right: 6px;
  opacity: 0;
}

.theme-toggle-slider .moon-icon {
  left: 6px;
  opacity: 1;
}

.theme-toggle-switch input:checked + .theme-toggle-slider .sun-icon {
  opacity: 1;
}

.theme-toggle-switch input:checked + .theme-toggle-slider .moon-icon {
  opacity: 0;
}

/* Theme toggle button wrapper */
.theme-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.theme-toggle-wrapper:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.theme-toggle-wrapper.light-mode {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1f2937;
}

.theme-toggle-wrapper.light-mode:hover {
  background: rgba(0, 0, 0, 0.1);
}

.theme-toggle-label {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  -webkit-user-select: none;
          user-select: none;
}

/* Header compact version */
.theme-toggle-switch[style*="width: 45px"] {
  width: 45px !important;
  height: 24px !important;
  margin: 0;
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider:before {
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
}

.theme-toggle-switch[style*="width: 45px"] input:checked + .theme-toggle-slider:before {
  transform: translateX(21px);
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .toggle-icon {
  font-size: 10px;
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .sun-icon {
  right: 4px;
}

.theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .moon-icon {
  left: 4px;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
  .theme-toggle-wrapper {
    padding: 6px 12px;
    gap: 8px;
  }
  
  .theme-toggle-switch {
    width: 50px;
    height: 26px;
  }
  
  .theme-toggle-slider:before {
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
  }
  
  .theme-toggle-switch input:checked + .theme-toggle-slider:before {
    transform: translateX(24px);
  }
  
  .theme-toggle-slider .toggle-icon {
    font-size: 12px;
  }
  
  /* Smaller header version on mobile */
  .theme-toggle-switch[style*="width: 45px"] {
    width: 40px !important;
    height: 20px !important;
  }

  .theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider:before {
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
  }

  .theme-toggle-switch[style*="width: 45px"] input:checked + .theme-toggle-slider:before {
    transform: translateX(20px);
  }

  .theme-toggle-switch[style*="width: 45px"] .theme-toggle-slider .toggle-icon {
    font-size: 8px;
  }
}


/* =====================================================
   SITERP CUSTOM COMPONENTS STYLING
   GPS-Style DatePicker & Select Components
   ===================================================== */

/* -------------------------------------------------
   1. REACT-DATEPICKER WRAPPER
   ------------------------------------------------- */
.react-datepicker-wrapper {
  width: 100% !important;
}

.react-datepicker__input-container {
  width: 100% !important;
}

/* -------------------------------------------------
   2. DATEPICKER POPPER - Z-INDEX AND POSITIONING
   ------------------------------------------------- */
/* Calendar is rendered in portal at #root level, above all stacking contexts */
.react-datepicker-popper,
.date-picker-popper {
  z-index: 999999 !important;
}

/* Ensure the popper container doesn't interfere */
.react-datepicker-popper[data-placement] {
  z-index: 999999 !important;
}

/* -------------------------------------------------
   3. CALENDAR CONTAINER - STYLING ONLY
   ------------------------------------------------- */
.gps-calendar {
  background: linear-gradient(to bottom right, rgb(51, 65, 85), rgb(29, 71, 196), rgb(51, 65, 85)) !important;
  border: 1px solid rgba(96, 165, 250, 0.6) !important;
  border-radius: 1rem !important;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2) !important;
  font-family: inherit !important;
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  /* NO z-index or position here - Let Popper.js handle positioning */
}

/* With month/year selects: keep calendar wide enough so header + grid don't overlap */
.gps-calendar.gps-calendar--dropdowns {
  min-width: 19rem !important;
}

.gps-calendar.gps-calendar--dropdowns,
.gps-calendar.gps-calendar--dropdowns .react-datepicker__month-container {
  overflow: visible !important;
}

/* -------------------------------------------------
   4. CALENDAR HEADER
   ------------------------------------------------- */
.gps-calendar .react-datepicker__month-container {
  background: transparent !important;
}

.gps-calendar .react-datepicker__header {
  background: transparent !important;
  border-bottom: 1px solid rgba(96, 165, 250, 0.3) !important;
  border-radius: 1rem 1rem 0 0 !important;
  padding: 0 !important;
}

/* Hide default prev/next only when using legacy custom header (no month/year dropdowns) */
.gps-calendar:not(.gps-calendar--dropdowns) .react-datepicker__navigation {
  display: none !important;
}

/* With dropdowns: show navigation arrows (positioned by react-datepicker) */
.gps-calendar--dropdowns .react-datepicker__navigation {
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Hide duplicate month title when dropdowns show month+year selects */
.gps-calendar .react-datepicker__current-month {
  display: none !important;
}

/* Month / year row in header (scroll + select modes) */
.gps-calendar .react-datepicker__header__dropdown {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  padding: 0.5rem 0.75rem 0.75rem !important;
  background: transparent !important;
}

/* Keep month + year on one row */
.gps-calendar--dropdowns .react-datepicker__header__dropdown {
  flex-wrap: nowrap !important;
}

.gps-calendar .react-datepicker__month-dropdown-container,
.gps-calendar .react-datepicker__year-dropdown-container {
  margin: 0 0.25rem !important;
  position: relative !important;
}

/* Scroll mode: center dropdowns below their trigger buttons */
.gps-calendar .react-datepicker__month-dropdown-container--scroll,
.gps-calendar .react-datepicker__year-dropdown-container--scroll {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}

/* Select mode (if ever used): keep proper sizing */
.gps-calendar .react-datepicker__month-dropdown-container--select,
.gps-calendar .react-datepicker__year-dropdown-container--select {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
}

/* ---------- Native <select> (dropdownMode=select) — glass, no near-black / slate fills ---------- */
.gps-calendar .react-datepicker__month-select,
.gps-calendar .react-datepicker__year-select,
.gps-calendar .react-datepicker__month-year-select {
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.98) !important;
  border: 1px solid rgba(96, 165, 250, 0.5) !important;
  border-radius: 0.5rem !important;
  padding: 0.4rem 0.85rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  min-width: 8.75rem !important;
  width: auto !important;
  max-width: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

.gps-calendar .react-datepicker__month-select:focus,
.gps-calendar .react-datepicker__year-select:focus,
.gps-calendar .react-datepicker__month-year-select:focus {
  outline: none !important;
  border-color: rgba(96, 165, 250, 0.85) !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35) !important;
}

/* Option list: avoid solid black/dark blocks (browser-dependent; light scheme helps OS popup) */
.gps-calendar .react-datepicker__month-select option,
.gps-calendar .react-datepicker__year-select option,
.gps-calendar .react-datepicker__month-year-select option {
  background-color: rgb(51, 65, 85) !important;
  color: rgba(255, 255, 255, 0.98) !important;
}

/* ---------- Scroll-mode lists (dropdownMode=scroll) — full glass control, no OS black sheet ---------- */
.gps-calendar .react-datepicker__year-read-view,
.gps-calendar .react-datepicker__month-read-view,
.gps-calendar .react-datepicker__month-year-read-view {
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(96, 165, 250, 0.45) !important;
  border-radius: 0.5rem !important;
  padding: 0.35rem 1.75rem 0.35rem 0.65rem !important;
  color: rgba(255, 255, 255, 0.98) !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

.gps-calendar .react-datepicker__year-read-view:hover,
.gps-calendar .react-datepicker__month-read-view:hover,
.gps-calendar .react-datepicker__month-year-read-view:hover {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: rgba(96, 165, 250, 0.65) !important;
}

.gps-calendar .react-datepicker__year-dropdown,
.gps-calendar .react-datepicker__month-dropdown,
.gps-calendar .react-datepicker__month-year-dropdown {
  background: linear-gradient(
    145deg,
    rgba(51, 65, 85, 0.92) 0%,
    rgba(30, 58, 138, 0.88) 50%,
    rgba(51, 65, 85, 0.92) 100%
  ) !important;
  background-color: rgba(51, 65, 85, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(96, 165, 250, 0.55) !important;
  border-radius: 0.65rem !important;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.12) !important;
  color: rgba(255, 255, 255, 0.95) !important;
  /* Override library's 50% width that causes narrow strips */
  width: auto !important;
  min-width: 9rem !important;
  max-width: 12rem !important;
  left: auto !important;
  right: auto !important;
}

.gps-calendar .react-datepicker__year-dropdown--scrollable,
.gps-calendar .react-datepicker__month-dropdown--scrollable,
.gps-calendar .react-datepicker__month-year-dropdown--scrollable {
  height: 12rem !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: rgba(147, 197, 253, 0.45) rgba(255, 255, 255, 0.06) !important;
}

.gps-calendar .react-datepicker__year-dropdown--scrollable::-webkit-scrollbar,
.gps-calendar .react-datepicker__month-dropdown--scrollable::-webkit-scrollbar {
  width: 8px !important;
}

.gps-calendar .react-datepicker__year-dropdown--scrollable::-webkit-scrollbar-thumb,
.gps-calendar .react-datepicker__month-dropdown--scrollable::-webkit-scrollbar-thumb {
  background: rgba(147, 197, 253, 0.4) !important;
  border-radius: 4px !important;
}

.gps-calendar .react-datepicker__year-option,
.gps-calendar .react-datepicker__month-option,
.gps-calendar .react-datepicker__month-year-option {
  color: rgba(255, 255, 255, 0.95) !important;
  background: transparent !important;
  line-height: 1.75rem !important;
  padding: 0.25rem 0.5rem !important;
}

.gps-calendar .react-datepicker__year-option:hover,
.gps-calendar .react-datepicker__month-option:hover,
.gps-calendar .react-datepicker__month-year-option:hover {
  background: rgba(59, 130, 246, 0.38) !important;
  color: #fff !important;
}

/* -------------------------------------------------
   5. DAY NAMES (Lu, Ma, Me...)
   ------------------------------------------------- */
.gps-calendar .react-datepicker__day-names {
  display: flex !important;
  justify-content: space-around !important;
  margin-top: 0.5rem !important;
  padding: 0 0.5rem !important;
}

.gps-calendar .react-datepicker__day-name {
  color: rgba(255, 255, 255, 0.6) !important;
  font-weight: 500 !important;
  font-size: 0.75rem !important;
  width: 2rem !important;
  line-height: 2rem !important;
  margin: 0.2rem !important;
}

/* -------------------------------------------------
   6. CALENDAR DAYS
   ------------------------------------------------- */
.gps-calendar .react-datepicker__month {
  margin: 0.5rem !important;
  padding: 0.5rem !important;
}

.gps-calendar .react-datepicker__week {
  display: flex !important;
  justify-content: space-around !important;
}

.gps-calendar .react-datepicker__day {
  color: rgba(255, 255, 255, 0.9) !important;
  width: 2rem !important;
  height: 2rem !important;
  line-height: 2rem !important;
  margin: 0.2rem !important;
  border-radius: 0.5rem !important;
  transition: all 0.2s ease !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

.gps-calendar .react-datepicker__day:hover {
  background: rgba(59, 130, 246, 0.3) !important;
  color: white !important;
}

/* Selected Day */
.gps-calendar .react-datepicker__day--selected,
.gps-calendar .react-datepicker__day--keyboard-selected {
  background: linear-gradient(to right, #3b82f6, #2563eb) !important;
  color: white !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4) !important;
}

/* Today */
.gps-calendar .react-datepicker__day--today {
  background: rgba(59, 130, 246, 0.2) !important;
  color: white !important;
  font-weight: 600 !important;
  border: 1px solid rgba(59, 130, 246, 0.5) !important;
}

/* Outside Month Days */
.gps-calendar .react-datepicker__day--outside-month {
  color: rgba(255, 255, 255, 0.3) !important;
}

/* Disabled Days */
.gps-calendar .react-datepicker__day--disabled {
  color: rgba(255, 255, 255, 0.2) !important;
  cursor: not-allowed !important;
}

.gps-calendar .react-datepicker__day--disabled:hover {
  background: transparent !important;
}

/* -------------------------------------------------
   7. TIME PICKER (if showTimeSelect)
   ------------------------------------------------- */
.gps-calendar .react-datepicker__time-container {
  background: transparent !important;
  border-left: 1px solid rgba(96, 165, 250, 0.3) !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__header--time {
  background: transparent !important;
  border-bottom: 1px solid rgba(96, 165, 250, 0.3) !important;
  padding: 0.75rem 1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__header--time .react-datepicker-time__header {
  color: white !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__time {
  background: transparent !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {
  background: transparent !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all 0.2s ease !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {
  background: rgba(59, 130, 246, 0.3) !important;
  color: white !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {
  background: linear-gradient(to right, #3b82f6, #2563eb) !important;
  color: white !important;
  font-weight: 600 !important;
}

/* Replace "Time" with "Heure" */
.gps-calendar .react-datepicker__time-container .react-datepicker__header--time .react-datepicker-time__header::before {
  content: "Heure" !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__header--time .react-datepicker-time__header {
  font-size: 0 !important;
}

.gps-calendar .react-datepicker__time-container .react-datepicker__header--time .react-datepicker-time__header::before {
  font-size: 0.875rem !important;
}

/* -------------------------------------------------
   8. DATE RANGE STYLING
   ------------------------------------------------- */
.gps-calendar .react-datepicker__day--in-range {
  background: rgba(59, 130, 246, 0.2) !important;
  color: white !important;
}

.gps-calendar .react-datepicker__day--in-selecting-range {
  background: rgba(59, 130, 246, 0.15) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

.gps-calendar .react-datepicker__day--range-start,
.gps-calendar .react-datepicker__day--range-end {
  background: linear-gradient(to right, #3b82f6, #2563eb) !important;
  color: white !important;
  font-weight: 700 !important;
}

/* -------------------------------------------------
   9. HIDE TRIANGLE
   ------------------------------------------------- */
.gps-calendar .react-datepicker__triangle {
  display: none !important;
}

/* -------------------------------------------------
   10. INPUT FIELD PLACEHOLDER
   ------------------------------------------------- */
.gps-datepicker::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* -------------------------------------------------
   11. CUSTOM SCROLLBAR
   ------------------------------------------------- */
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) rgba(0, 0, 0, 0.1);
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* -------------------------------------------------
   12. GPS-STYLE SELECT DROPDOWN
   ------------------------------------------------- */
/* Note: CustomSelect now uses inline styles and Tailwind classes.
   No additional CSS needed here. */

/* -------------------------------------------------
   13. CUSTOM NUMBER INPUT - HIDE NATIVE SPINNERS
   ------------------------------------------------- */
/* Hide native number input spinners (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  display: none;
}

/* Hide native number input spinners (Firefox) */
input[type="number"] {
  -webkit-appearance: textfield;
          appearance: textfield;
}


