.custom-select {
    position: relative;
    min-width: 100px;
}
.select-trigger {
    width: 100%;
    justify-content: space-between;
    text-align: left;
    font-weight: 400;
    color: var(--ink);
    background: var(--white);
    border-color: #cbdde7;
    padding: 12px 14px;
    min-width: 0;
}
.select-trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.select-options {
    position: absolute;
    z-index: 81;
    min-width: 100%;
    max-width: min(360px, 85vw);
    max-height: 280px;
    overflow: auto;
    left: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #b9d0dc;
    box-shadow: 0 12px 24px #17364626;
}
.select-options button {
    display: block;
    padding: 10px 14px;
    width: 100%;
    min-height: 42px;
    text-align: left;
    border: 0;
    color: #193441;
    background: transparent;
    cursor: pointer;
}
.select-options button:hover, .select-options button:focus, .select-options [aria-selected="true"] {
    background: #e3f1f8;
}
input[type="checkbox"] {
    appearance: none;
    display: inline-block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 0;
    border: 1px solid #92b5c9;
    border-radius: 3px;
    background: #fff;
    vertical-align: middle;
    cursor: pointer;
}
input[type="checkbox"]:checked {
    border-color: var(--brand);
    background-color: var(--brand);
    background-image: url("../../images/check.svg");
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
}
input[type="checkbox"]:indeterminate {
    border-color: var(--brand);
    background-color: var(--brand);
    background-image: linear-gradient(#fff, #fff);
    background-size: 10px 2px;
    background-repeat: no-repeat;
    background-position: center;
}
.spinner {
    display: inline-block;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #c9dce7;
    border-top-color: #1085bd;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
[aria-busy="true"] > [inert] {
    pointer-events: none;
    opacity: 0.5;
}
:focus-visible {
    outline: 3px solid #168ec3;
    outline-offset: 4px;
}
input:not([type="checkbox"]):not([type="radio"]):focus, textarea:focus {
    border-color: var(--brand);
    outline: none;
    box-shadow: none;
}
:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
