/* Custom dropdowns (see js/ct-select.js). Square corners to match the rest of the design. */
.jsel { position: relative; display: block; min-width: 0; }
.jsel-native { position: absolute !important; left: 0; bottom: 0; width: 100% !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; margin: 0 !important; border: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.jsel__btn { position: relative; display: flex; align-items: center; width: 100%; margin: 0; text-align: left; cursor: pointer; border-radius: 0 !important; box-shadow: none; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231A3352' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px; transition: border-color .15s, box-shadow .15s; }
.jsel__btn:hover:not(:disabled) { border-color: #254670 !important; }
.jsel__btn:focus-visible, .jsel.is-open .jsel__btn { outline: 0; border-color: #1A3352 !important; box-shadow: 0 0 0 3px rgba(37, 70, 112, .14); }
.jsel.is-open .jsel__btn { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 6.5l5-5 5 5' fill='none' stroke='%231A3352' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.jsel__btn.is-invalid { border-color: #b32d2e !important; }
.jsel__btn.is-placeholder .jsel__label { opacity: .6; }
.jsel__btn:disabled { cursor: not-allowed; opacity: .6; }
.jsel__label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jsel-panel { position: fixed; z-index: 100000; box-sizing: border-box; background: #fff; border: 1px solid #1A3352; box-shadow: 0 14px 34px rgba(15, 32, 53, .22); border-radius: 0 !important; color: #1a1a1a; line-height: 1.35; animation: jselIn .12s ease-out; }
.jsel-panel * { border-radius: 0 !important; box-sizing: border-box; }
@keyframes jselIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.jsel-panel.is-up { animation-name: jselInUp; } @keyframes jselInUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.jsel-panel__search { display: block; width: calc(100% - 16px) !important; margin: 8px !important; height: 34px !important; padding: 0 10px !important; border: 1px solid #c3c8d0 !important; background: #f7f8fa !important; font: inherit; font-size: .9em !important; color: inherit; outline: 0; box-shadow: none !important; }
.jsel-panel__search:focus { border-color: #1A3352 !important; background: #fff !important; }
.jsel-panel__list { list-style: none; margin: 0; padding: 4px 0; overflow-y: auto; overscroll-behavior: contain; }
.jsel-panel__list li { position: relative; padding: 9px 38px 9px 14px; cursor: pointer; margin: 0; font-weight: 400; }
.jsel-panel__list li.is-active { background: #EEF2F7; }
.jsel-panel__list li.is-sel { background: #F3F5F9; font-weight: 600; color: #1A3352; box-shadow: inset 3px 0 0 #C4A14A; }
.jsel-panel__list li.is-sel.is-active { background: #E6ECF4; }
.jsel-panel__list li.is-sel::after { content: ''; position: absolute; right: 14px; top: 50%; width: 6px; height: 11px; margin-top: -8px; border: solid #1A3352; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.jsel-panel__list li.is-off { opacity: .45; cursor: not-allowed; }
.jsel-panel__list li.is-empty { color: #6b6b6b; }
.jsel-panel__group { padding: 10px 14px 4px !important; font-size: .72em; font-weight: 700 !important; letter-spacing: .09em; text-transform: uppercase; color: #6b7685; cursor: default !important; }
.jsel-panel__none { padding: 12px 14px; color: #6b6b6b; cursor: default; }
.jsel-panel__list::-webkit-scrollbar { width: 8px; } .jsel-panel__list::-webkit-scrollbar-thumb { background: #c3c8d0; }
.jsel-panel[hidden], .jsel-panel li[hidden] { display: none !important; }
.jsel-panel__search[hidden] { display: none !important; }

/* Borderless look: soft filled field, no outline or ring, panel lifted by shadow only */
.jsel__btn { border: 0 !important; outline: 0 !important; box-shadow: none !important; background-color: #EEF2F7 !important; }
.jsel__btn:hover:not(:disabled) { background-color: #E6ECF4 !important; }
.jsel__btn:focus-visible, .jsel.is-open .jsel__btn { border: 0 !important; box-shadow: none !important; background-color: #E3EAF3 !important; }
.jsel__btn.is-invalid { background-color: #FBEAEA !important; }
.jsel-panel { border: 0 !important; box-shadow: 0 12px 32px rgba(15, 32, 53, .18), 0 2px 6px rgba(15, 32, 53, .08) !important; }
.jsel-panel__search { border: 0 !important; background: #EEF2F7 !important; }
.jsel-panel__search:focus { background: #E6ECF4 !important; }

/* Very subtle grey outline on all four sides, white field */
.jsel__btn { border: 1px solid #D5D9DF !important; background-color: #fff !important; }
.jsel__btn:hover:not(:disabled) { border-color: #B8BEC8 !important; background-color: #fff !important; }
.jsel__btn:focus-visible, .jsel.is-open .jsel__btn { border: 1px solid #9AA5B4 !important; background-color: #fff !important; box-shadow: none !important; }
.jsel__btn.is-invalid { border-color: #D98A8A !important; background-color: #fff !important; }
.jsel-panel { border: 1px solid #D5D9DF !important; box-shadow: 0 10px 28px rgba(15, 32, 53, .12) !important; }
.jsel-panel__search { border: 1px solid #E1E4E8 !important; background: #fff !important; } .jsel-panel__search:focus { border-color: #9AA5B4 !important; background: #fff !important; }
