.pal-phone {
    width: 100%;
}

.pal-phone__row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
    overflow: visible;
}

.pal-phone__row[dir="ltr"] {
    direction: ltr;
}

.pal-phone__code {
    flex: 0 0 auto;
    width: 92px;
    max-width: 92px;
    min-height: 44px;
    position: relative;
    overflow: visible;
}

.pal-phone__code-btn {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: ltr;
    text-align: left;
    cursor: pointer;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.pal-phone__code-btn::after {
    content: "▾";
    margin-left: auto;
    opacity: 0.7;
    font-size: 0.75rem;
    line-height: 1;
}

.pal-phone__flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    flex: 0 0 auto;
}

.pal-phone__code-text {
    white-space: nowrap;
}

.pal-phone__menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 2000;
    width: 100%;
    min-width: 100%;
    margin-top: 0.25rem;
}

.pal-phone__menu:not(.show) {
    display: none !important;
}

.pal-phone__menu.show {
    display: block !important;
}

.pal-phone__option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pal-phone__local {
    flex: 1 1 auto;
    min-height: 44px;
    direction: ltr;
    text-align: left;
}

.pal-phone__row .form-control,
.pal-phone__row .form-select,
.pal-phone__row select,
.pal-phone__row button,
.pal-phone__row input {
    min-height: 44px;
}

@media (max-width: 575.98px) {
    .pal-phone__code {
        width: 86px;
        max-width: 86px;
    }
}
