/* Shared dropdowns for public filters and enquiry forms. */
.jy-select-field { display: grid; gap: 8px; min-width: 0; }
.jy-select { position: relative; width: 100%; min-width: 0; text-align: left; }
.jy-select > select.jy-select-native { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; clip-path: inset(50%); pointer-events: none; }
.jy-select > .jy-select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 50px; margin: 0; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #163653; font: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; text-align: left; cursor: pointer; box-shadow: 0 1px 2px rgb(15 51 88 / 3%); transition: border-color .15s, box-shadow .15s; }
.jy-select > .jy-select-trigger:hover { border-color: #7795ae; }
.jy-select > .jy-select-trigger:focus-visible, .jy-select > .jy-select-trigger[aria-expanded="true"] { outline: none; border-color: #0078b9; box-shadow: 0 0 0 3px rgb(0 120 185 / 12%); }
.jy-select > .jy-select-trigger[aria-invalid="true"] { border-color: #b42318; }
.jy-select > .jy-select-trigger.is-placeholder[aria-required="true"] { color: #64748b; }
.jy-select > .jy-select-trigger:disabled { background: #f1f5f9; color: #64748b; cursor: not-allowed; }
.jy-select-value { min-width: 0; overflow-wrap: anywhere; }
.jy-select-chevron { flex: 0 0 8px; width: 8px; height: 8px; margin: -4px 3px 0 4px; border-right: 1.5px solid #57728a; border-bottom: 1.5px solid #57728a; transform: rotate(45deg); }
[aria-expanded="true"] > .jy-select-chevron { transform: rotate(225deg); margin-top: 4px; }
.jy-select-menu { box-sizing: border-box; position: fixed; inset: auto; z-index: 10000; margin: 0; padding: 6px; max-height: 320px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid #d5e1eb; border-radius: 10px; background: #fff; color: #163653; box-shadow: 0 12px 36px rgb(15 51 88 / 16%); font-family: 'Manrope', 'Inter', sans-serif; font-size: 15px; font-weight: 400; line-height: 1.5; text-align: left; scrollbar-width: thin; scrollbar-color: #b8c9d8 transparent; }
.jy-select-menu[hidden] { display: none !important; }
.jy-select-option { position: relative; min-height: 44px; display: flex; align-items: center; padding: 10px 36px 10px 12px; border-radius: 6px; overflow-wrap: anywhere; cursor: pointer; }
.jy-select-option:hover, .jy-select-option.is-active { background: #f0f6fb; }
.jy-select-option[aria-selected="true"] { color: #006da8; font-weight: 600; background: #eaf5fc; }
.jy-select-option[aria-selected="true"]::after { content: ''; position: absolute; right: 14px; width: 5px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.jy-select-option[aria-disabled="true"] { color: #687e91; cursor: default; }
.jy-select-option[hidden] { display: none; }
.jy-select-group { padding: 14px 12px 5px; color: #61758a; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.jy-select-error { margin: 7px 0 0; color: #b42318; font-size: 13px; line-height: 1.5; }
@media (max-width: 640px) { .jy-select > .jy-select-trigger { padding: 12px 14px; } .jy-select-menu { font-size: 16px; } .jy-select-option { min-height: 46px; } }
@media (prefers-reduced-motion: reduce) { .jy-select > .jy-select-trigger { transition: none; } }
/* Retire decorative overlays beside enhanced controls in older form markup. */
.jy-select + .pointer-events-none { display: none; }
