/* International Telephone Input CSS */
.iti {
    position: relative;
    display: inline-block;
}

.iti__flag-container {
    position: absolute;
    top: 0;
    bottom: 0;
    padding: 1px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
}

.iti__selected-flag {
    padding: 0 6px 0 8px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.iti__arrow {
    margin-left: 6px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid #555;
}

.iti__arrow--up {
    border-top: none;
    border-bottom: 4px solid #555;
}

.iti__country-list {
    position: absolute;
    z-index: 1000;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.iti__country-list--dropup {
    bottom: 100%;
    margin-bottom: -1px;
}

.iti__country-list.show {
    display: block;
}

.iti__country {
    padding: 5px 10px;
    outline: none;
    cursor: pointer;
}

.iti__country:hover {
    background-color: #f5f5f5;
}

.iti__country.iti__active {
    background-color: #e6f3ff;
}

.iti__flag {
    width: 20px;
    height: 15px;
    margin-right: 6px;
    display: inline-block;
    vertical-align: middle;
}

.iti__dial-code {
    color: #999;
}

/* Hide the original input and show the formatted one */
.iti input[type="tel"] {
    padding-left: 52px;
} 