/* ExpatBG custom dropdowns: replaces the browser's grey option list */
.cs { position: relative; display: inline-flex; min-width: 0; }
.cs-native {
  position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important;
  padding: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important;
  box-shadow: none !important; overflow: hidden;
}
.cs-button {
  width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 0 14px 0 14px; font: inherit; font-family: Inter, 'Inter Fallback', system-ui, sans-serif; font-size: 15px; font-weight: 500;
  color: #15211C; text-align: left; background: #FFFFFF; border: 1px solid #D9D3C7; border-radius: 10px;
  box-shadow: 0 1px 2px rgba(14, 42, 33, .06); cursor: pointer; transition: border-color .15s, box-shadow .15s;
}
.cs-button:hover { border-color: #0F5A43; }
.cs-button:focus { outline: none; }
.cs-button:focus-visible, .cs.is-open .cs-button { border-color: #0F5A43; box-shadow: 0 0 0 3px rgba(15, 90, 67, .2); }
.cs-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-chevron { flex: 0 0 18px; width: 18px; height: 18px; color: #0F5A43; transition: transform .15s; }
.cs.is-open .cs-chevron { transform: rotate(180deg); }
.cs-list {
  position: absolute; z-index: 50; top: calc(100% + 6px); left: 0; min-width: 100%; max-height: 300px; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none; background: #FFFFFF; border: 1px solid #D9D3C7; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(14, 42, 33, .14), 0 2px 6px rgba(14, 42, 33, .06);
  font-family: Inter, 'Inter Fallback', system-ui, sans-serif; font-size: 15px; color: #15211C;
}
.cs-list[hidden] { display: none; }
.cs-list:focus { outline: none; }
.cs-option {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  white-space: nowrap; cursor: pointer; font-weight: 500;
}
.cs-option .cs-check { flex: 0 0 16px; width: 16px; height: 16px; color: #0F5A43; visibility: hidden; }
.cs-option.is-active { background: #F2EFE8; }
.cs-option[aria-selected="true"] { color: #0F5A43; font-weight: 600; background: #E7F0EA; }
.cs-option[aria-selected="true"] .cs-check { visibility: visible; }
.cs-option[aria-selected="true"].is-active { background: #DCEBE2; }
