/* A shared rounded dropdown surface. The custom popover avoids the square OS menu. */
.select-control { position: relative; display: block; width: 100%; min-width: 0; }
.select-control select[hidden] { display: none !important; }
.select-trigger {
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 18px;
  overflow: hidden;
  border: 0 !important;
  border-radius: 999px !important;
  outline: 0;
  color: #244763;
  background: #f1f7f2;
  box-shadow: none !important;
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.select-trigger:hover, .select-control.is-open .select-trigger { color: #176d32; background: #e7f4e7; }
.select-trigger:focus-visible { outline: 0; box-shadow: 0 0 0 4px rgba(56,178,74,.18) !important; }
.select-trigger-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-trigger-chevron { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; color: #258d3f; background: #fff; transition: transform .25s ease; }
.select-trigger-chevron svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.select-control.is-open .select-trigger-chevron { transform: rotate(180deg); }
.select-dropdown-menu {
  position: fixed;
  z-index: 1000;
  display: grid;
  gap: 4px;
  padding: 7px;
  overflow: auto;
  border: 0 !important;
  border-radius: 22px !important;
  outline: 0;
  background: #fff;
  box-shadow: 0 18px 48px rgba(16,46,76,.18), 0 3px 10px rgba(16,46,76,.08);
  overscroll-behavior: contain;
  animation: dropdown-arrive .18s cubic-bezier(.2,.8,.25,1) both;
}
.select-dropdown-menu[hidden] { display: none !important; }
.select-dropdown-option {
  display: flex;
  min-height: 42px;
  align-items: center;
  width: 100%;
  padding: 9px 13px;
  border: 0 !important;
  border-radius: 15px !important;
  outline: 0;
  color: #385a73;
  background: transparent;
  box-shadow: none !important;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  text-align: left;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}
.select-dropdown-option:hover, .select-dropdown-option:focus-visible { color: #176d32; background: #edf7ec; outline: 0; }
.select-dropdown-option[aria-selected="true"] { color: #176d32; background: #e7f4e7; font-weight: 800; }
.select-dropdown-option:disabled { cursor: not-allowed; opacity: .45; }
@keyframes dropdown-arrive { from { opacity: 0; transform: translateY(-5px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 620px) {
  .select-trigger { min-height: 46px; padding-inline: 15px; }
  .select-dropdown-option { min-height: 44px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .select-trigger, .select-trigger-chevron, .select-dropdown-option { transition: none; }
  .select-dropdown-menu { animation: none; }
}
