/* Anchored dropdown UI. The native select remains the form control; this surface replaces only its popup. */
.select-ui-wrap { position: relative; display: block; width: 100%; min-width: 0; box-sizing: border-box; }
.select-ui-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.select-ui-trigger {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 18px 10px 13px;
  border: 1px solid #dfe4eb;
  border-radius: 6px;
  background: #fff;
  color: #334257;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.select-ui-trigger:hover { border-color: #c4ccd7; }
.select-ui-trigger:focus,
.select-ui-trigger:focus-visible,
.select-ui-trigger[aria-expanded="true"] { border-color: #ff8000; outline: 0; box-shadow: 0 0 0 3px #ff80001a; }
.select-ui-trigger[aria-invalid="true"] { border: 2px solid #d94b43; background: #fff5f3; box-shadow: 0 0 0 3px #d94b4326; }
.select-ui-trigger:disabled { cursor: not-allowed; opacity: .58; }
.select-ui-label { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.select-ui-chevron { flex: 0 0 8px; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid #7b8799; border-bottom: 2px solid #7b8799; transform: rotate(45deg); transition: transform .16s ease, border-color .16s ease; }
.select-ui-trigger:focus .select-ui-chevron,
.select-ui-trigger:focus-visible .select-ui-chevron,
.select-ui-trigger[aria-expanded="true"] .select-ui-chevron { border-color: #e88622; }
.select-ui-trigger[aria-expanded="true"] .select-ui-chevron { margin-top: 4px; transform: rotate(225deg); }

.select-ui-popup {
  position: fixed;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-sizing: border-box;
  padding: 5px;
  border: 1px solid #e0e5ec;
  border-radius: 8px;
  background: #fff;
  color: #334257;
  box-shadow: 0 12px 34px #172b4930, 0 2px 8px #172b4914;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5ccd6 transparent;
}
.select-ui-popup[hidden] { display: none !important; }
.select-ui-option {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  min-height: 38px;
  padding: 8px 36px 8px 12px;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #334257;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
.select-ui-option:hover,
.select-ui-option:focus-visible { outline: 0; background: #fff7ef; color: #a85a08; }
.select-ui-option[aria-selected="true"] { background: #fff1e2; color: #a85a08; font-weight: 600; }
.select-ui-option[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 5px;
  height: 9px;
  border: solid #e88622;
  border-width: 0 2px 2px 0;
  transform: translateY(-62%) rotate(45deg);
}
.select-ui-option:disabled { color: #a5adba; cursor: not-allowed; }
.select-ui-option:disabled:hover { background: transparent; color: #a5adba; }
