.custom-select {
    position: relative;
}


.custom-select.disable-search .custom-search {
    display: none;
}

.custom-select-trigger {
    position: relative;
    cursor: pointer;
}

.custom-select-trigger input {
    cursor: pointer;
}

.select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-40%);
    pointer-events: none;
    transition: transform .25s ease;
}

.custom-select.open .select-arrow {
    transform: translateY(-60%) rotate(180deg);
}

.custom-options {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 18px #0030871A;
    display: none;
    z-index: 20;
    overflow: hidden;
}

.custom-select.open .custom-options {
    display: block;
}

.custom-search {
    width: calc(100% - 16px);
    margin: 8px;
    padding: 8px 16px;
    font-size: 14px;
    height: 30px;
    border: none;
    border-bottom: 1px solid #BECAE9;
}

.custom-search:focus {
    outline: none;
    border-bottom: 1px solid #353F91;
}

.clear-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.custom-option {
    padding: 16px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    gap: 8px;
}

.custom-option:hover {
    background: #BECAE9;
}

.custom-option:not(.selected)::before {
    content: " ";
    width: 16px;
    height: 16px;
    border: 2px solid #353F91;
    border-radius: 4px;
    display: inline-block;
    background: transparent;
}
.custom-option.selected::before {
    content: " ";
    width: 16px;
    height: 16px;
    border: 2px solid #353F91;
    border-radius: 4px;
    display: inline-block;
    background: #353F91;
}

.custom-select.has-value:not(.disable-clear) .clear-btn {
    display: block;
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    padding: 8px;
    color: #353F91;
    font-weight: 600;
}
