.phone-country-selector {
    position: relative;
    width: 50px;
    justify-content: center;
    display: flex;
    align-items: center;
    border-right: 1px solid transparent;
    border-left: 1px solid transparent;
    padding: 10px;
    margin: 0 5px 0 0;
}

.phone-country-selector-button {
    display: flex;
    height: var(--phone-height, 36px);
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid var(--phone-country-selector-border-color, var(--phone-border-color, gainsboro));
    margin: 0;
    appearance: button;
    -webkit-appearance: button;
    background-color: var(--phone-country-selector-background-color, var(--phone-background-color, white));
    cursor: pointer;
    text-transform: none;
    user-select: none;
    height: 60px;
    
}

.phone-country-selector-button:hover {
    background-color: var(--phone-country-selector-background-color-hover, whitesmoke)
}

.phone-country-selector-button--hide-dropdown {
    cursor: auto
}

.phone-country-selector-button--hide-dropdown:hover {
    background-color: transparent
}

.phone-country-selector-button__button-content {
    display: flex;
    align-items: center;
    justify-content: center
}

.phone-country-selector-button__flag-emoji {
    margin: 0 4px
}

.phone-country-selector-button__flag-emoji--disabled {
    opacity: .75
}

.phone-country-selector-button__dropdown-arrow {
  
    margin-right: 4px;
    transition: all .1s ease-out
}

.phone-country-selector-button__dropdown-arrow--active {
    transform: rotateX(180deg)
}

.phone-country-selector-button__dropdown-arrow--disabled {
    border-top-color: var(--phone-disabled-country-selector-arrow-color, #999)
}

.phone-country-selector-button--disabled {
    background-color: var(--phone-disabled-country-selector-background-color, var(--phone-disabled-background-color, whitesmoke));
    cursor: auto
}

.phone-country-selector-button--disabled:hover {
    background-color: var(--phone-disabled-country-selector-background-color, var(--phone-disabled-background-color, whitesmoke))
}

.phone-flag-emoji {
    width: var(--phone-flag-width, 24px);
    height: var(--phone-flag-height, 24px);
    box-sizing: border-box
}

.phone-country-selector-dropdown {
    position: absolute;
    z-index: 1;
    top: var(--phone-dropdown-left, 44px);
    left: var(--phone-dropdown-left, 0);
    display: flex;
    width: 300px;
    max-height: 200px;
    flex-direction: column;
    padding: 4px 0;
    margin: 0;
    background-color: var(--phone-dropdown-item-background-color, var(--phone-background-color, white));
    box-shadow: var(--phone-dropdown-shadow, 2px 2px 16px rgba(0, 0, 0, .25));
    color: var(--phone-dropdown-item-text-color, var(--phone-text-color, #222));
    list-style: none;
    overflow-y: scroll
}

.phone-country-selector-dropdown__preferred-list-divider {
    height: 1px;
    border: none;
    margin: var(--phone-dropdown-preferred-list-divider-margin, 0);
    background: var(--phone-dropdown-preferred-list-divider-color, var(--phone-border-color, gainsboro))
}

.phone-country-selector-dropdown__list-item {
    display: flex;
    min-height: var(--phone-dropdown-item-height, 28px);
    box-sizing: border-box;
    align-items: center;
    padding: 2px 8px
}

.phone-country-selector-dropdown__list-item-flag-emoji {
    margin-right: 8px
}

.phone-country-selector-dropdown__list-item-country-name {
    overflow: hidden;
    margin-right: 8px;
    font-size: var(--phone-dropdown-item-font-size, 14px);
    text-overflow: ellipsis;
    white-space: nowrap
}

.phone-country-selector-dropdown__list-item-dial-code {
    color: var(--phone-dropdown-item-dial-code-color, gray);
    font-size: var(--phone-dropdown-item-font-size, 14px)
}

.phone-country-selector-dropdown__list-item:hover {
    background-color: var(--phone-selected-dropdown-item-background-color, var(--phone-selected-dropdown-item-background-color, whitesmoke));
    cursor: pointer
}

.phone-country-selector-dropdown__list-item--selected,
.phone-country-selector-dropdown__list-item--focused {
    background-color: var(--phone-selected-dropdown-item-background-color, whitesmoke);
    color: var(--phone-selected-dropdown-item-text-color, var(--phone-text-color, #222))
}

.phone-country-selector-dropdown__list-item--selected .phone-country-selector-dropdown__list-item-dial-code,
.phone-country-selector-dropdown__list-item--focused .phone-country-selector-dropdown__list-item-dial-code {
    color: var(--phone-selected-dropdown-item-dial-code-color, var(--phone-dropdown-item-dial-code-color, gray))
}

.phone-country-selector-dropdown__list-item--focused {
    background-color: var(--phone-selected-dropdown-item-background-color, var(--phone-selected-dropdown-item-background-color, whitesmoke))
}

.phone-dial-code-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    border: 1px solid var(--color-neutral-gray-light);
    margin-right: -1px;
    background-color: var(--color-base-white);
    color: #222;
    font-size: 13px
}

.phone-dial-code-preview--disabled {
}

.phone-input-container {
    display: flex;
    justify-content: center;
    align-items: center;
    display: flex;
}

.phone-country-selector-button {
    padding: 5px;
}

.phone-input-container .phone-country-selector-button {
    border-radius: var(--phone-border-radius, 4px);
    margin-right: -1px;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    padding: 10px;
    height: 60px;
    margin: 0 2px 0 0;
}

.phone-input-container .phone-input {
    overflow: visible;
    height: 60px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 8px;
    border: 1px solid var(--color-neutral-gray-silver);
    border-radius: 4px;
    margin: 0;
    background-color: var(--color-base-white);
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
    color: var(--color-neutral-black);
    font-family: PFont-Regular, sans-serif;
    font-size: var(--font-size-base);
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin: 10px 0;
    outline: 0;
    outline: 1px solid transparent;
    padding: 10px;
    width: 100%;
}

.phone-input-container .phone-input:focus {
    outline: none
}

.phone-input-container .phone-input--disabled {
    background-color: var(--phone-disabled-background-color, whitesmoke);
    color: var(--phone-disabled-text-color, #666)
}