

.select-box, .select-box2 {
    position: relative;
}

.select-box input, .select-box2 input {
    width: 100%;
    border: .1rem solid transparent;
    outline: none;
}

.form-style-6G .selected-option input[type="tel"] {
    border-radius: 0 .5rem .5rem 0 !important;
}

.select-box input:focus, .select-box2 input:focus {
    border: .1rem solid var(--primary);
}

.selected-option, .selected-option2 {
/*     background-color: #eee;
    border-radius: .5rem; */
    overflow: hidden;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-option div{
    position: relative;
    width: 6rem;
    padding: 0;
    text-align: center;
    cursor: pointer;
    border:1px solid #666;
    border-radius: .5rem 0 0 .5rem;
    padding: 3.5px;
}
.selected-option2 div{
    position: relative;
    padding: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border:1px solid #666;
    border-radius: .5rem;
    padding: 3.5px;
}

/* .selected-option div::after{
    position: absolute;
    content: "";
    right: .8rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);

    width: .8rem;
    height: .8rem;
    border-right: .12rem solid var(--primary);
    border-bottom: .12rem solid var(--primary);

    transition: .2s;
}

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

.select-box .options, .select-box2 .options2 {
    position: absolute;
    top: 4rem;

    width: 100%;
    background-color: #fff;
    border-radius: .5rem;

    display: none;
    z-index: 10;
}

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

.select-box .options::before, .select-box2 .options2::before {
    position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;

    width: 0;
    height: 0;
    border: .6rem solid transparent;
    border-bottom-color: var(--primary);
}

input.search-box, input.search-box2 {
    background-color: var(--primary);
    color: #fff;
    border-radius: .5rem .5rem 0 0;
    padding: 1.4rem 1rem;
}

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

.select-box ol::-webkit-scrollbar, .select-box2 ol::-webkit-scrollbar {
    width: 0.6rem;
}

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

.select-box ol#indic li, .select-box2 ol#pays li {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.select-box ol#indic li.hide, .select-box2 ol#pays li.hide {
    display: none;
}

.select-box ol#indic li:not(:last-child), .select-box2 ol#pays li:not(:last-child) {
    border-bottom: .1rem solid #eee;
}

.select-box ol#indic li:hover, .select-box2#pays ol#pays li:hover {
    background-color: lightcyan;
}

.select-box ol#indic li .country-name, .select-box2 ol#pays li .country-name  {
    margin-left: .4rem;
}