/* Branded select. The closed look is shared by enhanced selects (the button) and by native ones on touch-only devices. */
/* The chevron is a same-origin file: the page policy has no img-src, so an inline image URL here would be blocked. */
/* Relative url so it resolves to /app/select-chevron.svg on every page that loads /app/select-enhance.css. */

select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;padding-right:42px;background-image:url(select-chevron.svg);background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;cursor:pointer}

/* The real select stays in layout for focus and validation. Hidden by clipping only: a select taken out of rendering cannot be focused, so a required one would block submit silently. */
.umt-select select{position:absolute;width:1px;height:1px;min-height:0;min-width:0;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap;opacity:0;pointer-events:none}

.umt-select .umt-select-button{display:block;width:100%;min-width:0;min-height:42px;margin:0;box-sizing:border-box;text-align:left;font:inherit;font-weight:400;line-height:normal;color:#25251f;background-color:#fff;background-image:url(select-chevron.svg);background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;border:1px solid #dedbd3;border-radius:5px;padding:11px 42px 11px 12px;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.umt-select .umt-select-button:hover{background-image:url(select-chevron.svg);background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;background-color:#fff;border-color:#c9c5ba}
.umt-select .umt-select-button:focus-visible{background-image:url(select-chevron.svg);background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;outline:3px solid #db4a23;outline-offset:3px}
.umt-select .umt-select-button:disabled{background-image:url(select-chevron.svg);background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;opacity:.55;cursor:not-allowed;color:#66635c}
.umt-select .umt-select-button[aria-invalid=true]{background-image:url(select-chevron.svg);background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px;border-color:#a43122}

/* min-height keeps an empty button (nothing selected) as tall as the native select it replaces: 14px text + 11px padding twice + borders. */

/* Open list. The script sets position, z-index, top, left, width and max-height inline. */
.umt-select-list{box-sizing:border-box;margin:0;padding:4px;list-style:none;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #dedbd3;border-radius:8px;box-shadow:0 8px 24px #25251f1f;font-size:13px;line-height:1.4;color:#25251f;animation:umt-select-open 120ms ease-out}
.umt-select-list ul{margin:0;padding:0;list-style:none}
.umt-select-option{position:relative;box-sizing:border-box;min-height:36px;display:flex;align-items:center;padding:8px 32px 8px 10px;border-radius:5px;cursor:pointer;overflow-wrap:anywhere}
.umt-select-option.is-active{background:#f3efe6}
.umt-select-option[aria-selected=true]{font-weight:600}
.umt-select-option[aria-selected=true]::after{content:"";position:absolute;right:13px;top:50%;width:5px;height:9px;margin-top:-6px;border:solid #db4a23;border-width:0 2px 2px 0;transform:rotate(45deg)}
.umt-select-option[aria-disabled=true]{color:#a9a69d;cursor:not-allowed}
.umt-select-group-label{padding:10px 10px 4px;font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#66635c}

@keyframes umt-select-open{from{opacity:0;translate:0 -4px}to{opacity:1;translate:0 0}}
@media (prefers-reduced-motion:reduce){.umt-select-list{animation:none}.umt-select .umt-select-button{transition:none}}
@media (max-width:600px){.umt-select .umt-select-button{font-size:16px}}
