.custom-select {
    position: relative;
    min-width: 0;
}
.select-source {
    display: none;
}
.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    text-align: left;
}
.select-trigger>span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.select-trigger svg {
    width: 16px;
    height: 16px;
}
.select-trigger:hover,
.select-trigger[aria-expanded="true"] {
    border-color: var(--brand);
}
.select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    min-width: 90px;
    background: white;
    border: 1px solid var(--line);
    box-shadow: 0 10px 25px #17263020;
    max-height: 260px;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 60;
    border-radius: var(--radius);
    padding-block: 5px;
}
.select-options button {
    width: 100%;
    display: block;
    min-height: 40px;
    text-align: left;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 1.5;
}
.select-options button:hover,
.select-options button[aria-selected="true"] {
    color: var(--brand);
    background: var(--brand-pale);
}
.select-options button:focus-visible {
    outline-offset: -3px;
}
