.phone-input {
    position: relative;
    display: block;
    width: 100%;
}

.phone-input > input.form-phone {
    padding: 14px 12px 0 58px;
}

.leasing-lead__field .phone-input > input.form-phone {
    padding: 0 12px 0 58px;
}

.phone-input .form-group__label, .form-group.has-phone-picker .form-group__label, .carrying-form .form-group.has-phone-picker .form-group__label, .carrying-form .form-group.has-phone-picker.used .form-group__label {
    top: 7px;
    left: 44px;
    padding: 0 13px;
    font-size: 11px;
    line-height: 13px;
    background: transparent;
}

.product-request-form .phone-input__toggle {
    border-radius: 5px 0 0 5px;
}

.form-group.has-phone-picker {
    position: relative;
    z-index: 5;
}

.phone-input__country {
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: 1px;
    z-index: 6;
    display: flex;
    align-items: stretch;
    width: 46px;
}

.phone-input__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 46px;
    padding: 0;
    border: 0;
    border-radius: 2px 0 0 2px;
    background: transparent;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.phone-input__toggle:hover {
    background: rgba(12, 15, 68, 0.04);
}

.phone-input__flag {
    display: block;
    flex: 0 0 auto;
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.phone-input__list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 220px;
    margin: 4px 0 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    color: #0C0F44;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.phone-input__list[hidden] {
    display: none;
}

.phone-input__option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    white-space: nowrap;
    cursor: pointer;
}

.phone-input__name {
    flex: 1 1 auto;
}

.phone-input__code {
    margin-left: auto;
    color: #687685;
    font-size: 12px;
}

.phone-input__option:hover, .phone-input__option:focus, .phone-input__option[aria-selected="true"] {
    background: #f3f3f9;
    outline: none;
}
