.select-box {
    position: relative;
    width: 26rem;
    margin: 7rem auto;
}

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

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

.select-box input:focus {
    border: .1rem solid #000;
}

.selected-option {
    background-color: #eee;
    border-radius: .5rem;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-option div {
    position: relative;
    width: 8rem;
    padding: 0 1rem 0 .1rem;
    text-align: center;
    cursor: pointer;
}

.selected-option div::after {
    position: absolute;
    content: "";
    right: .8rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: .5rem;
    height: .5rem;
    border-right: .12rem solid #000;
    border-bottom: .12rem solid #000;
    transition: .2s;
}

.selected-option div.active::after {
    transform: translateY(-50%) rotate(225deg);
}

.select-box .options {
    position: absolute !important;
    top: 5rem;
    width: 100%;
    background-color: #fff;
    border-radius: .5rem;
    display: none;
}

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

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

input.search-box {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: .5rem .5rem 0 0 !;
    padding: 1.4rem 1rem !important;
}

.select-box ol {
    list-style: none !important;
    max-height: 23rem !important;
    overflow: overlay !important;
    z-index: 9999 !important;
    position: relative !important;
    background: #fff !important;
    box-shadow: 0px 0px 8px 2px #eee;
    border-radius: 0 0 10px 10px;
    border: 1px solid #eee;
}

.select-box ol::-webkit-scrollbar {
    width: 0.6rem !important;
}

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

.select-box ol li {
    padding: 1rem !important;
    display: flex !important;
    justify-content: space-between !important;
    cursor: pointer !important;
}

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

.select-box ol li:not(:last-child) {
    border-bottom: .1rem solid #eee !important;
}

.select-box ol li:hover {
    background-color: lightcyan;
}

.select-box ol li .country-name {
    margin-left: .4rem;
}

.selected-option {
    background-color: #fff !important;
    border-radius: .5rem !important;
    overflow: hidden !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: 1px solid #eee !important;

}
.selected-option input {
  text-align: left;
  padding-left: 5px;
}
.iranbaw {
    display: none;
}
.gfield--input-type-country_code {
  position: relative !important;
}
.select-box ol li strong {
  direction: ltr;
}