.select-box {
    position: relative;
}

.select-box input {
    width: 100%;
    padding: 1rem .6rem;
    font-size: 13px;
    border: .1rem solid transparent;
    outline: none;
}

.select-box input[type="tel"] {
    border-radius: 0 .5rem .5rem 0;
}

.select-box .selected-option {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    border: 1px solid var(--wp--preset--color--secondary-200);
    background-color: var(--wp--preset--color--secondary-100);
    margin-bottom: 0;
    width: 100%;
    position: relative;
    color: var(--wp--preset--color--secondary-600);
    text-align: right;
    font-size: 13px;
    font-weight: 400;
    line-height: 23.4px;
}

.select-box .selected-option > div {
    position: relative;
    width: 8rem;
    padding: 0 1.8rem 0 .5rem;
    cursor: pointer;
    direction: ltr;
}

.select-box .selected-option > div svg {
    width: 16px;
    height: 16px;
}

.select-box .selected-option > div::after {
    position: absolute;
    content: "";
    right: 0.8rem;
    top: 35%;
    transform: translateY(0%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid var(--wp--preset--color--secondary-600);
    margin: 0;
    transition: .2s;
}

.select-box .selected-option > div.active-phone::after {
    transform: translateY(0%) rotate(180deg);
}

.select-box .selected-option > div strong {
    margin-left: 5px;
}

.select-box .selected-option input {
    border-left: 1px solid var(--wp--preset--color--secondary-200);
}

.select-box .options {
    position: absolute;
    top: 2.8rem;
    width: 100%;
    background-color: var(--wp--preset--color--base);
    border-radius: .5rem;
    display: none;
    z-index: 99;
    border: 1px solid var(--wp--preset--color--secondary-200);
}

.select-box .options.active-phone {
    display: block;
}

.select-box .options::before {
    position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;
    width: 0;
    height: 0;
    border: .6rem solid transparent;
}

.select-box input.search-box {
    color: var(--wp--preset--color--secondary-600);
    border-bottom: 1px solid var(--wp--preset--color--secondary-100);
    border-radius: 0;
    padding-left: 40px;
    direction: ltr;
    background: url('../../images/search-number.png') no-repeat;
    background-position-y: 14px;
    background-position-x: 14px;
    margin-left: 15px;
    margin-right: 15px;
    width: 95%;
}

.select-box ol {
    list-style: none;
    max-height: 23rem;
    overflow: overlay;
}

.select-box ol::-webkit-scrollbar {
    width: 0.3rem;
}

.select-box ol::-webkit-scrollbar-thumb {
    width: 0.4rem;
    height: 3rem;
    background-color: #ccc;
    border-radius: .4rem;
}

.select-box ol li {
    padding: 9px 12px;
    background-color: var(--wp--preset--color--base);
    font-size: 13px;
    display: flex;
    cursor: pointer;
    direction: ltr;
    transition: all .3s;
    margin-bottom: 10px !important;
}

.select-box ol li.hide {
    display: none;
}

.select-box ol li:hover {
    font-weight: 700;
    padding-left: 36px !important;
}

.select-box ol li .country-name {
    margin-left: 2px;
}

.select-box ol li div svg {
    margin-right: 15px;
    width: 20px;
    height: 20px;
}

@media only screen and (min-width: 992px) {
    .select-box .selected-option > div {
        width: 7rem !important;
    }
}
