/**
 * Dropdown LIST colours only — C360 teal (not Phoenix primary blue #3874ff).
 * Choices.js open lists + native <select> option highlight (accent-color).
 * Does not change fonts, padding, or .choices__inner chrome.
 */

/* ── Native <select> open-list highlight (Tasks filters, etc.) ── */
body.broker-c360-ui select,
body.broker-c360-ui select.form-select,
body.broker-c360-ui .c360-tasks-inline-select,
body.broker-c360-ui .policy-information-policy-select {
  accent-color: var(--t, #5cbdb4);
}

/* ── Choices.js: default row (white) — beat theme secondary-bg on rows ── */
body.broker-c360-ui .choices .choices__list--dropdown .choices__item--selectable,
body.broker-c360-ui .choices .choices__list[aria-expanded] .choices__item--selectable {
  background-color: #fff !important;
  color: var(--phoenix-body-color, #212529) !important;
}

/* ── Choices.js: hover + keyboard highlight — beat theme .choices … is-highlighted ── */
body.broker-c360-ui .choices .choices__list--dropdown .choices__item--selectable.is-highlighted,
body.broker-c360-ui .choices .choices__list[aria-expanded] .choices__item--selectable.is-highlighted,
body.broker-c360-ui .choices .choices__list--dropdown .choices__item--selectable:hover,
body.broker-c360-ui .choices .choices__list[aria-expanded] .choices__item--selectable:hover {
  background-color: #5cbdb4 !important;
  background-color: var(--t, #5cbdb4) !important;
  color: #fff !important;
}

/* Selected in list when not keyboard-highlighted */
body.broker-c360-ui .choices .choices__list--dropdown .choices__item--selectable.is-selected:not(.is-highlighted),
body.broker-c360-ui .choices .choices__list[aria-expanded] .choices__item--selectable.is-selected:not(.is-highlighted) {
  background-color: rgba(92, 189, 180, 0.12) !important;
  color: #1a252e !important;
}

body.broker-c360-ui .choices .choices__list--dropdown .choices__item--disabled,
body.broker-c360-ui .choices .choices__list[aria-expanded] .choices__item--disabled {
  background-color: #f8f9fa !important;
  color: #6e7891 !important;
}
