.main-header {
  height: 150px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: #fff;
  border-top: 2px solid rgb(0, 73, 135);
  border-bottom: 4px solid rgb(0, 73, 135);
}

.header-layout {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

/* .nav-items {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-items a {
  text-decoration: none;
  color: rgb(0, 73, 135);
  font-weight: 600;
  padding: 0.5rem 1rem;
}

.nav-items a:hover,
.nav-items a:focus {
  background-color: rgb(0, 73, 135);
  color: #fff;
  border-radius: 4px;
} */

/* .route-color-swatch {
  min-width: 29px;
  height: 29px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: -0.5px;
  padding: 0 2px;
  flex-shrink: 0;
  font-weight: bold;
  color: white;
}

.route-color-swatch-large {
  min-width: 46px;
  height: 46px;
  border-radius: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: -1px;
  padding: 0 6px;
  flex-shrink: 0;
  font-weight: bold;
  color: white;
} */

/* Tom Select responsive width styles */
/* .ts-wrapper {
  max-width: 210px !important;
}

@media screen and (min-width: 330px) {
  .ts-wrapper {
    max-width: 250px !important;
  }
}

@media screen and (min-width: 480px) {
  .ts-wrapper {
    max-width: 325px !important;
  }
}

@media screen and (min-width: 640px) {
  .ts-wrapper {
    max-width: 500px !important;
  }
}

@media screen and (min-width: 960px) {
  .ts-wrapper {
    max-width: none;
  }
} */

/* Tom Select dropdown styling - ensure visibility and proper alignment */
.ts-dropdown {
  z-index: 9999 !important;
  position: absolute !important;
  box-sizing: border-box !important;
  margin-top: 2px !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1) !important;
  border: 1px solid #d1d5db !important;
  background-color: white !important;
}

.ts-dropdown.single {
  margin: 0 !important;
}

.ts-dropdown-content {
  max-height: 300px !important;
  overflow-y: auto !important;
}

/* Ensure the wrapper creates a proper stacking context */
.ts-wrapper {
  position: relative;
  z-index: 1;
}

/* When dropdown is open, raise z-index of wrapper */
.ts-wrapper.dropdown-active {
  z-index: 9998;
}

/* Improve option styling - 40px min-height for WCAG 2.5.5 target size */
.ts-dropdown .option {
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
  background-color: #e5e7eb;
}

/* Match dropdown width to control when appended to body */
.ts-dropdown[style*="position: absolute"] {
  min-width: 200px;
}

.ts-dropdown .option.selected {
  background-color: #dbeafe;
}

/* Tom Select dropdown toggle button */
.ts-control .ts-toggle-btn {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-left: 1px solid #d1d5db;
  cursor: pointer;
  color: #6b7280;
  transition: color 0.15s, background-color 0.15s;
}

.ts-control .ts-toggle-btn:hover {
  color: #111827;
  background-color: #f3f4f6;
}

.ts-control .ts-toggle-btn:focus-visible {
  outline: 2px solid #005daa;
  outline-offset: -2px;
  color: #111827;
}

.ts-wrapper.dropdown-active .ts-toggle-btn i {
  transform: rotate(180deg);
}

.ts-control .ts-toggle-btn i {
  transition: transform 0.2s;
}

/* Ensure ts-control has space for the toggle button */
.ts-wrapper.has-items .ts-control,
.ts-wrapper .ts-control {
  padding-right: 2.75rem !important;
}

/* .maplibregl-ctrl-top-left .maplibregl-ctrl {
  display: none;
} */