/* The site's ".field__control" rule has higher specificity than
   the library's ".iti__search-input" and overrides its padding-left,
   covering the search icon. This selector wins that specificity fight
   without touching the library's minified file. */
.iti .iti__search-input {
    padding-left: calc(var(--iti-spacer-horizontal) + var(--iti-globe-icon-size) + var(--iti-spacer-horizontal));
}

/* The library-generated ".iti" wrapper is "display: inline-block" by
   default, so it doesn't take the ".field" width and the input
   ends up sized to its content instead of filling 100%. */
.field .iti {
    display: block;
    width: 100%;
}

/* Keep the scrolling list inside the selector's rounded frame. */
.iti__country-selector {
    overflow: hidden;
}

.iti__country-list {
    box-sizing: border-box;
    padding-bottom: 8px;
}

.iti__country-list .iti__country:last-child {
    margin-bottom: 8px;
}
