.ui-select {
    position: relative;
}
.ui-select--sm .ui-select__main-label {
    height: 36px;
}

.ui-select__main-label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #fff;
    padding: 0 12px;
    height: 52px;
    outline: none;
    border: 1px solid #D5D5D6;
    border-radius: 4px;
    color: #2B2D33;
    font-family: "Roboto", sans-serif;
}

.cselect--show .ui-select__main-label {
    border-color: rgba(0, 0, 0, 0.5);
}

.ui-select__input {
    width: 100%;
    border: 0;
    padding: 0;
    font-size: 16px;
    line-height: 22px;
    background-color: transparent;
    outline: -webkit-focus-ring-color auto 0 !important;
}
.ui-select--sm .ui-select__input{
    font-size: 14px;
}
.ui-select__arrow {
    width: 14px;
    height: 8px;
    fill:#2B2D33;
    margin-left: auto;
}

.cselect--show .ui-select__arrow {
    transform: rotate(180deg);
}

.cselect--require .ui-select__input {
    background: url(../img/star-req.png) calc(100% - 12px) 50% no-repeat;
    background-size: 7px !important;
    padding-right: 12px;
}

.field-wrapper--error .ui-select__main-label {
    border-color: #EE505A;
    outline-color: #EE505A;
    outline-width: 2px;
}
.ui-select__value-text {
    position: absolute;
    font-size: 16px;
    top: 50%;
    left: 12px;
    right: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    transform: translateY(-50%);
    color: #9f9f9f;
    z-index: 0;
    white-space: nowrap;
}
.ui-select--sm .ui-select__value-text {
    font-size: 13px;
}

.cselect--selected:not(.cselect--show) .ui-select__value-text{
    color: #2B2D33;
}

.ui-select__btn-cancel {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.ui-select__btn-cancel-svg {
    flex: 0 0 14px;
    fill: #2B2D33;
    position: relative;
    width: 12px;
    height: 12px;
}

.ui-select__btn-close {
    margin-left: auto;
    color: rgb(172, 172, 172);
    cursor: pointer;
    font-size: 14px;
}

.ui-select__content-head {
    position: relative;
    display: flex;
    gap: 7px;
    align-items: center;
    font-size: 14px;
    color: #666;
    padding: 10px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    z-index: 9;
}

.ui-select__content {
    min-width: 100%;
    max-width: 680px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background-color: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.ui-select__content-body {
    padding: 15px 0;
    max-height: 368px;
    overflow-y: auto;
}

.ui-select__search-empty {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}


@media (min-width: 1200px) {
    .ui-select__btn-close,
    .ui-select__btn-cancel {
        opacity: 0.8;
        transition: opacity 0.3s ease-in-out;
    }
    .ui-select__btn-close:hover,
    .ui-select__btn-cancel:hover {
        opacity: 1;
    }
}