.jb-suite-search-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jb-suite-search-location-icon {
    color: #1d4ed8;
    font-size: 12px;
    line-height: 1;
}

.jb-suite-search-location-icon svg,
.jb-suite-category-chevron svg {
    width: 12px;
    height: 12px;
}

.jb-suite-search-location-input-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
}

.jb-suite-search-location .jb-suite-search-location-input-wrap input.jb-suite-search-location-input {
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #111827;
    width: 140px;
    background: transparent;
    box-shadow: none;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.jb-suite-search-location .jb-suite-search-location-input-wrap input.jb-suite-search-location-input:focus {
    outline: none;
}

.jb-suite-location-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: none;
    color: #0056d2;
    font-size: 13px;
    line-height: 1.2;
    text-decoration: none;
    font-family: inherit;
    font-weight: 500;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.jb-suite-location-chip:hover,
.jb-suite-location-chip:focus {
    text-decoration: none;
}

.jb-suite-location-chip-caret::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: 2px;
    margin-bottom: 3px;
}

.jb-suite-location-chip-text {
    white-space: nowrap;
}

.jb-suite-category-chevron {
    margin-top: 5px;
}

.jb-suite-location-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
}

.jb-suite-location-panel-search {
    position: relative;
    margin-bottom: 8px;
    width: 100%;
}

.jb-suite-location-panel-search input.jb-suite-location-filter {
    width: 100%;
    padding: 6px 36px 6px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    box-sizing: border-box;
    background: #fff;
    color: #111827;
    max-width: 100%;
    min-width: 0;
}

.jb-suite-location-panel-search input.jb-suite-location-filter:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
}

.jb-suite-location-geolocate {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    padding: 0;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

.jb-suite-location-geolocate:hover,
.jb-suite-location-geolocate:focus {
    color: #1d4ed8;
    outline: none;
}

.jb-suite-location-close {
    border: 0;
    background: transparent;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

.jb-suite-location-panel {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid #e5e1d9;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    width: 280px;
    padding: 16px;
    z-index: 200;
    max-height: 360px;
    overflow: auto;
}

.jb-suite-location-dropdown.is-open .jb-suite-location-panel {
    display: block;
}

@media (max-width: 991px) {
    .jb-suite-location-panel {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        max-height: none;
        overflow: auto;
        z-index: 1001;
        border-radius: 0;
    }

    .jb-suite-location-panel-search input.jb-suite-location-filter {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
}

.jb-suite-location-list {
    display: grid;
    gap: 6px;
}

.jb-suite-location-option {
    border: none;
    background: transparent;
    padding: 6px 0;
    text-align: left;
    font-size: 13px;
    color: #111827;
    cursor: pointer;
    align-items: flex-start;
    justify-content: flex-start;
}

.jb-suite-location-option:hover {
    color: #1d4ed8;
}

.jb-suite-location-option-geolocate {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1d4ed8;
    font-weight: 500;
    padding: 8px 0 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e5e7eb;
}

.jb-suite-location-option-geolocate .jb-suite-location-option-geolocate-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
