:root {
    --arrow: white;
    --cl_country_phone_primary: white;
}	

.cl_country_phone_select-box * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #4d4d4d;
}

.cl_country_phone_select-box {
    position: relative;
	width: 100%;
}

.cl_country_phone_select-box input {
    width: 100%;
    padding: 1rem .6rem;
    font-size: 16px;
    border: .1rem solid transparent;
    outline: none;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}
.cl_country_phone_options.active input {
	border-top-left-radius: 14px !important;
}

.cl_country_phone_telinput {
    border-radius: 0 .5rem .5rem 0;
}
.cl_country_phone_selected-option {
	background-color: transparent;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    box-shadow: inset 0 0 0px 1px #5f6062;
}
.cl_country_phone_selected-option strong {
	color: white !important;
}

.cl_country_phone_selected-option div{
	position: relative;
	padding: 0;
	text-align: center;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	padding-left: 10px;
	padding-right: 38px;
}

.cl_country_phone_selected-option div::after{
	position: absolute;
	content: "";
	right: 15px;
	top: 50%;
	transform: translateY(calc(-50% - 2px)) rotate(45deg);
	width: 0.4rem;
	height: .4rem;
	border-right: .17rem solid var(--cl_country_phone_primary);
	border-bottom: .17rem solid var(--cl_country_phone_primary);
	transition: .2s;
}

.cl_country_phone_selected-option div.active::after{
    transform: translateY(calc(-50% - -2px)) rotate(225deg);
}

.cl_country_phone_select-box .cl_country_phone_options {
    position: absolute;
    top: auto;
    bottom: 60px;
    
    width: 100%;
	background-color: #f6f6f6;
	color: #494949;
	box-shadow: 0px 0px 15px 0px #0000000f, 0px 2px 30px 0px #00000038, inset 0px 0px 1px 0px #ffffff26;
    border-radius: 14px;

    display: none;
}

.cl_country_phone_select-box .cl_country_phone_options.active {
	display: block;
    top: auto;
    bottom: 60px;
}

.cl_country_phone_select-box .cl_country_phone_options::before {
    position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;

    width: 0;
    height: 0;
    border: .6rem solid transparent;
    border-bottom-color: var(--arrow);
}
.cl_country_phone_select-box .cl_country_phone_options::before {
    top: auto;
    bottom: -18px;
    border-bottom-color: transparent;
    border-top-color: var(--arrow);
}

.cl_country_phone_search-box {
    background-color: var(--cl_country_phone_primary);
    color: black !important;
    border-radius: 14px 14px 0 0 !important;
    padding: 1.4rem 1rem;
	height: 46px !important;
}

.cl_country_phone_select-box ol {
    list-style: none;
    max-height: 200px;
    overflow: overlay;
}

.cl_country_phone_select-box ol::-webkit-scrollbar {
    width: 0.6rem;
}

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

.cl_country_phone_search-box {
    box-shadow: none !important;
    background-color: #dce6f4 !important;
}

.cl_country_phone_search-box:focus {
	background-color: #c7d2e1 !important;
}


.cl_country_phone_select-box ol li {
	padding: 8px;
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	margin: 0 8px;
    color: #bcbcbc;
	border-radius: 8px;
}

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

.cl_country_phone_select-box ol li:first-child {
    margin-top: 8px;
}
.cl_country_phone_select-box ol li:last-child {
    margin-bottom: 8px;
}

.cl_country_phone_select-box ol li:hover {
    background-color: #e2e2e3;
}
.cl_country_phone_select-box ol li:hover .country-name {
    color: black !important;
}

.cl_country_phone_select-box ol li .country-name {
    margin-left: .4rem;
}
.cl_country_phone_flag_and_country {
    display: flex;
	gap: 5px;
	align-items: center;
}
.cl_country_phone_select-box {
    position: relative;
    width: 100%;
    z-index: 1000;
}

.cl_country_phone_select-box .cl_country_phone_options {
	z-index: 9999;
}

.cl_country_phone_country-name {
    font-size: 14px !important;
}

@media (max-width: 768px) {
    input::placeholder {
        font-size: 12px;
    }
}