.bentral-book-form.pill .input[readonly] {
    background-color: #fff;
}

.bentral-book-form.pill .label {
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    padding: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.bentral-book-form.pill .main {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: visible;
    background: #fff;
    padding: 8px 10px 8px 20px;
    padding-right: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.bentral-book-form.pill .date-range{
    border: 0;
}

/* Match input-tags: no clipping; location column stacks above date/guests */
.bentral-book-form.pill .pill-body,
.bentral-book-form.pill .main {
    overflow: visible;
}

.bentral-book-form.pill .bentral-pill-section-location {
    position: relative;
    z-index: 5;
}

.bentral-book-form.pill .section-date,
.bentral-book-form.pill .section-guests {
    position: relative;
    z-index: 2;
}

.bentral-book-form.pill .section-location,
.bentral-book-form.pill .section-date,
.bentral-book-form.pill .section-guests,
.bentral-book-form.pill .section-search {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px;
    border-color: #d1d5db;
}

.bentral-book-form.pill .section-location {
    padding-left: 12px;
}

.bentral-book-form.pill .input-icon {
    color: #374151;
    margin-right: 16px;
}

.bentral-book-form.pill .text-gray-900 {
    color: #111827;
}

.bentral-book-form.pill .font-bold {
    font-weight: 700;
}

.bentral-book-form.pill .w-full {
    width: 100%;
}

.bentral-book-form.pill .block {
    display: block;
}

.bentral-book-form.pill .relative {
    position: relative;
}

.bentral-book-form.pill .absolute {
    position: absolute;
}

.bentral-book-form.pill .hidden,
.location-dropdown.bentral-pill-location--floated.hidden {
    display: none !important;
}

.bentral-book-form.pill .justify-between {
    justify-content: space-between;
}

.bentral-book-form.pill .items-center {
    align-items: center;
}

.bentral-book-form.pill .space-x-2 > * + * {
    margin-left: 8px;
}

/* Scroll happens on ul lists inside panels, not on the whole floating shell */
.location-dropdown.bentral-pill-location--floated {
    max-height: none;
    overflow: visible;
}

/* Location value row: plain text like date (guests use input-tags .dd-button). */
.bentral-book-form.pill .location-button {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    box-shadow: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    text-align: left;
    width: 100%;
}

.bentral-book-form.pill .location-button:focus {
    outline: none;
}

.bentral-book-form.pill .location-button .value:hover {
    background: transparent;
}

.bentral-book-form.pill .location-button .value.is-placeholder {
    color: #6b7280;
}

.bentral-book-form.pill .bentral-pill-section-location.danger .location-button .value {
    color: #dc2626;
}

.bentral-book-form.pill .bentral-pill-location-hint {
    display: none;
    position: absolute;
    left: 56px;
    top: calc(100% + 10px);
    z-index: 20;
    width: max-content;
    max-width: min(260px, 80vw);
    padding: 8px 12px;
    border-radius: 6px;
    background: #111827;
    color: #fff;
    font-size: 13px;
    line-height: 18px;
    font-weight: 500;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
    white-space: normal;
}

.bentral-book-form.pill .bentral-pill-location-hint::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 18px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #111827;
}

.bentral-book-form.pill .bentral-pill-section-location.danger .bentral-pill-location-hint {
    display: block;
}

.bentral-book-form.pill .bentral-search-form .dropdown {
    width: 100%;
}

/* Same stacking idea as input-tags when guest dd-menu is open */
.bentral-book-form.pill:has(.dropdown.open) {
    position: relative;
    z-index: 100300;
}

.bentral-book-form.pill .w-full.label-input {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
}

.bentral-book-form.pill .section-date input {
    background: #fff !important;
    cursor: pointer;
}

/*
 * Guests keep input-tags dropdown behaviour but the *trigger* should look like the date row:
 * label + plain value text (outer kikol icon only; no grey bar, inner guests svg, or caret).
 */
.bentral-book-form.pill .section-guests .dd-button.type-guests {
    position: relative;
    background: transparent !important;
    border: none !important;
    box-shadow: none;
    border-radius: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

.bentral-book-form.pill .section-guests .dd-button.type-guests:hover {
    background: transparent !important;
}

.bentral-book-form.pill .section-guests .dd-button.type-guests::after {
    display: none;
}

.bentral-book-form.pill .section-guests .dd-button.type-guests .dd-icon {
    display: none;
}

.bentral-book-form.pill .section-guests .dd-button.type-guests .dd-text {
    float: none;
    width: 100%;
    display: block;
    overflow: visible;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #5e6d77;
    padding: 0 13px;
}

.bentral-book-form.pill .section-guests .dd-button.type-guests:hover .dd-text {
    background: rgba(0, 0, 0, 0.05);
}

.bentral-book-form.pill .select-country,
.bentral-book-form.pill .back-button {
    font-size: 16px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.bentral-book-form.pill .w-full.label-input .group .value {
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #5E6D77;
    white-space: nowrap;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.bentral-book-form.pill .section-date .group .value:hover {
    background: rgba(0, 0, 0, 0.05);
}

.bentral-book-form.pill .w-full.label-input .group .form-control {
    height: auto;
    padding: 0;
    margin: 0;
}

.bentral-book-form.pill .location-dropdown {
    left: 0;
    top: 100%;
    min-width: 300px;
    width: 100%;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.bentral-book-form.pill .country-panel,
.bentral-book-form.pill .region-panel,
.bentral-book-form.pill .location-panel,
.location-dropdown.bentral-pill-location--floated .country-panel,
.location-dropdown.bentral-pill-location--floated .region-panel,
.location-dropdown.bentral-pill-location--floated .location-panel {
    background: #fff;
    border: 1px solid #ddd;
    border-top: 0 !important;
    padding: 16px;
}

.bentral-book-form.pill .country-list,
.bentral-book-form.pill .region-list,
.bentral-book-form.pill .location-list,
.location-dropdown.bentral-pill-location--floated .country-list,
.location-dropdown.bentral-pill-location--floated .region-list,
.location-dropdown.bentral-pill-location--floated .location-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bentral-book-form.pill .select-country,
.bentral-book-form.pill .select-region,
.bentral-book-form.pill .select-city,
.bentral-book-form.pill .back-button,
.location-dropdown.bentral-pill-location--floated .select-country,
.location-dropdown.bentral-pill-location--floated .select-region,
.location-dropdown.bentral-pill-location--floated .select-city,
.location-dropdown.bentral-pill-location--floated .back-button {
    margin-bottom: 8px;
}

.bentral-book-form.pill .bentral-search {
    width: 100%;
    padding: 8px 24px;
    border: 0;
    border-radius: 999px;
    background: #3b82f6;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    text-decoration: none solid rgb(255, 255, 255);
    text-align: none solid rgb(255, 255, 255);
    text-indent: 0px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

.bentral-book-form.pill .bentral-search:hover {
    background: #1d4ed8;
}

.bentral-book-form.pill .bentral-search.is-searching,
.bentral-book-form.pill .bentral-search:disabled {
    opacity: 0.55;
    cursor: wait;
    pointer-events: none;
}

/* Scrollable list areas (same idea as guest dd-menu max-height) */
.bentral-book-form.pill .location-dropdown ul.country-list,
.bentral-book-form.pill .location-dropdown ul.region-list,
.bentral-book-form.pill .location-dropdown ul.location-list {
    min-height: 0;
    max-height: min(48vh, 320px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    list-style: none;
}

.location-dropdown.bentral-pill-location--floated ul.country-list,
.location-dropdown.bentral-pill-location--floated ul.region-list,
.location-dropdown.bentral-pill-location--floated ul.location-list {
    min-height: 0;
    max-height: min(48vh, 320px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    list-style: none;
}

.bentral-book-form.pill .location-dropdown li {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    background: rgb(242, 242, 242);
    color: rgb(54, 81, 109);
    font-weight: 500;
    font-size: 15px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    text-transform: uppercase;
}

.location-dropdown.bentral-pill-location--floated li {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    background: rgb(242, 242, 242);
    color: rgb(54, 81, 109);
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    text-transform: uppercase;
    list-style: none;
}

.bentral-book-form.pill .location-dropdown li:hover,
.location-dropdown.bentral-pill-location--floated li:hover {
    background: rgb(230, 230, 230);
}

.bentral-book-form.pill .section-guests ul.dd-menu li,
ul.dd-menu.bentral-pill-guest-dd li {
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .bentral-book-form.pill .main {
        flex-direction: row;
        border-radius: 999px;
    }

    .bentral-book-form.pill .section-location,
    .bentral-book-form.pill .section-date,
    .bentral-book-form.pill .section-guests {
        width: auto;
        flex: 1 1 0;
        padding: 0;
    }

    .bentral-book-form.pill .section-search {
        width: auto;
        padding: 0;
    }
}
