.vg-register-country-field {
    overflow: visible;
    background: #f2f3f5;
    z-index: 25;
}
.vg-register-country-field.is-open {
    background: #fff;
    border-color: #6da82c;
    box-shadow: 0 0 0 1px rgba(109,168,44,.12);
}
.vg-register-native-country[hidden] { display: none !important; }
.vg-register-country-picker {
    position: absolute;
    inset: 0;
}
.vg-register-country-button {
    width: 100%;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 22px 34px 5px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #222;
    cursor: pointer;
    text-align: left;
    font: inherit;
}
.vg-register-country-button:focus { outline: 0; }
.vg-register-country-flag {
    width: 29px;
    min-width: 29px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
.vg-register-country-flag img {
    display: block;
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 1px;
    box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.vg-register-country-dial {
    font-size: 16px;
    line-height: 20px;
    color: #222;
}
.vg-register-country-chevron {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    transform: translateY(-50%);
    color: #747d84;
    display: grid;
    place-items: center;
    font-size: 17px;
    transition: transform .12s ease;
}
.vg-register-country-field.is-open .vg-register-country-chevron {
    transform: translateY(-50%) rotate(180deg);
}
.vg-register-country-list[hidden] { display: none !important; }
.vg-register-country-list {
    position: absolute;
    left: -1px;
    right: -1px;
    top: calc(100% + 8px);
    max-height: 198px;
    overflow-y: auto;
    z-index: 120;
    border: 1px solid #cfd4d8;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(0,0,0,.18);
    padding: 0;
}
.vg-register-country-option {
    width: 100%;
    min-height: 44px;
    border: 0;
    background: #fff;
    padding: 5px 17px;
    display: grid;
    grid-template-columns: 36px 1fr;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: #151515;
}
.vg-register-country-option:hover,
.vg-register-country-option:focus-visible {
    background: #eef8dc;
    outline: 0;
}
.vg-register-country-option.is-selected {
    background: #f1f2f3;
}
.vg-register-country-option.is-selected:hover,
.vg-register-country-option.is-selected:focus-visible {
    background: #eaf6d5;
}
.vg-register-country-option .vg-register-country-flag {
    justify-content: flex-start;
}
.vg-register-country-option .vg-register-country-dial {
    font-size: 16px;
}

@media (max-width: 760px) {
    .vg-register-country-button { padding-left: 16px; }
    .vg-register-country-list { max-height: 190px; }
}
