.xb-country-picker {
    position: relative;
    z-index: 5;
}

.xb-country-picker__control {
    position: relative;
}

.xb-country-picker__flag {
    position: absolute;
    top: 50%;
    inset-inline-start: 0.85rem;
    transform: translateY(-50%);
    font-size: 1.15rem;
    line-height: 1;
    pointer-events: none;
    z-index: 2;
}

.xb-country-picker__input {
    padding-inline-start: 2.6rem !important;
    padding-inline-end: 2.4rem !important;
}

.xb-country-picker--admin .xb-country-picker__input {
    min-height: calc(1.5em + 0.75rem + 2px);
}

.xb-country-picker__clear {
    position: absolute;
    top: 50%;
    inset-inline-end: 0.55rem;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #6b7c76;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.xb-country-picker__clear:hover {
    background: rgba(13, 59, 46, 0.08);
    color: #0d3b2e;
}

.xb-country-picker__menu {
    background: #fff;
    border: 1px solid #dde5e1;
    border-radius: 0.85rem;
    box-shadow: 0 16px 40px rgba(13, 59, 46, 0.16);
    max-height: 18rem;
    overflow: auto;
}

.xb-country-picker__list {
    list-style: none;
    margin: 0;
    padding: 0.35rem;
}

.xb-country-picker__option {
    width: 100%;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.65rem;
    text-align: start;
}

.xb-country-picker__option:hover,
.xb-country-picker__option:focus-visible {
    background: #eef7f2;
    outline: none;
}

.xb-country-picker__option-flag {
    font-size: 1.25rem;
    line-height: 1;
    flex-shrink: 0;
}

.xb-country-picker__option-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.xb-country-picker__option-body strong {
    font-size: 0.92rem;
    color: #1a2e28;
}

.xb-country-picker__option-body small {
    color: #6b7c76;
    font-size: 0.78rem;
}

.xb-country-picker__empty {
    padding: 0.85rem 1rem;
    color: #6b7c76;
    font-size: 0.88rem;
}

.xb-fields-grid,
.xb-field,
.xb-step-panel,
.admin-booking-card,
.admin-booking-card__body {
    overflow: visible;
}
