.select-control { position: relative; margin: 8px 0; }
.select-trigger {
  display: grid; gap: 4px; width: 100%; text-align: left;
  padding: 8px 34px 8px 12px; border: 2px solid transparent;
  border-radius: 8px; background: #e9eef7; color: #14233f;
  font-size: 16px; font-weight: 400; position: relative;
}
.select-caption { font-size: 12px; color: #4d5b70; }
.select-trigger[aria-expanded="true"], .select-trigger:focus-visible {
  border-color: #3875ff; background: #eaf1ff; outline: none;
}
.select-trigger::after {
  content: ""; position: absolute; right: 18px; top: 50%;
  width: 7px; height: 7px; border: solid #8b96a8;
  border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg);
  transition: transform 200ms ease-in-out;
}
.select-trigger[aria-expanded="true"]::after { transform: translateY(-20%) rotate(225deg); }
.select-options {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 10;
  margin: 0; padding: 6px; max-height: 400px; overflow-y: auto;
  background: #fff; border: 1px solid #bec8d8; border-radius: 8px;
  box-shadow: 0 6px 12px #14233f1a; scrollbar-width: thin;
  scrollbar-color: #d6d8dd transparent;
}
.select-option {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 44px; margin: 4px 0; padding: 12px 10px; border-radius: 8px;
  font-size: 14px; cursor: pointer; outline: none;
}
.select-option[aria-selected="true"], .select-option:hover, .select-option:focus { background: #f5f6f8; }
.select-option[aria-selected="true"]::after {
  content: "";
  box-sizing: border-box;
  flex: 0 0 7px;
  width: 7px;
  height: 12px;
  margin: 0 4px 4px 16px;
  border: solid #3275ff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .select-trigger::after { transition: none; }
}
