.custom-select{position:relative;display:block;width:100%;min-width:0;color:#24364d;font:inherit}
.custom-select__native{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;opacity:0!important;pointer-events:none!important}
.custom-select__trigger{position:relative;display:flex;width:100%;min-height:42px;align-items:center;justify-content:space-between;gap:28px;padding:9px 40px 9px 13px;border:1px solid #d5deeb;border-radius:8px;background:#fff;color:inherit;font:inherit;line-height:1.4;text-align:left;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.custom-select__trigger::after{position:absolute;right:15px;top:50%;width:9px;height:9px;border-right:1.8px solid currentColor;border-bottom:1.8px solid currentColor;content:"";transform:translateY(-70%) rotate(45deg);color:#65758b}
.custom-select__trigger:hover{border-color:#9cb8df}
.custom-select__trigger:focus-visible,.custom-select.is-open .custom-select__trigger{border-color:#4d83db;outline:3px solid #dce9ff;outline-offset:1px}
.custom-select__trigger.is-placeholder{color:#73839a}
.custom-select__trigger:disabled{background:#f1f4f8;color:#8995a7;cursor:not-allowed;opacity:.8}
.custom-select__list{position:absolute;z-index:1200;top:calc(100% + 5px);right:0;left:0;max-height:min(280px,45vh);overflow:auto;padding:5px;border:1px solid #d5deeb;border-radius:9px;background:#fff;box-shadow:0 10px 28px #1b34501f}
.custom-select.opens-up .custom-select__list{top:auto;bottom:calc(100% + 5px)}
.custom-select__list[hidden]{display:none}
.custom-select__option{display:flex;width:100%;min-height:38px;align-items:center;gap:9px;padding:8px 10px;border:0;border-radius:6px;background:transparent;color:#31445e;font:inherit;line-height:1.35;text-align:left;cursor:pointer}
.custom-select__option::before{width:15px;flex:none;color:#2868b9;content:"✓";font-weight:700;opacity:0}
.custom-select__option[aria-selected=true]::before{opacity:1}
.custom-select__option:hover,.custom-select__option.is-active{background:#eef4fd;color:#205aa9}
.custom-select__option:disabled{color:#9aa5b5;cursor:not-allowed}
.custom-select__trigger.is-invalid{border-color:#bd3045;box-shadow:0 0 0 3px #fbe5e9}
@media(max-width:767px){.custom-select__trigger{min-height:44px}.custom-select__list{max-height:42vh}}
