/* ─── Autocomplete suggestion dropdown ───────────────────────────────────────
   Extends the base .search-suggestions styles in search-tabs.css with
   grouped headings (Parks / Places) and disambiguation UX. */

/* Group heading inside the dropdown */
.search-suggestions__group {
    padding: 0.375rem 1rem 0.125rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    user-select: none;
    cursor: default;
}

/* Source badge on each item */
.search-suggestions__badge {
    margin-left: auto;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.1rem 0.45rem;
    border-radius: 3px;
    flex-shrink: 0;
}

.search-suggestions__badge--park {
    background: rgba(0, 104, 74, 0.35);
    color: var(--color-accent-green, #00ed64);
}

.search-suggestions__badge--place {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

/* Make items flex so badge sits at the right */
.search-suggestions__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-suggestions__item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Divider between groups */
.search-suggestions__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.25rem 0;
}

/* Out-of-service-area message inside the dropdown */
.search-suggestions__oosa {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    font-style: italic;
}

/* Empty state */
.search-suggestions__empty {
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.875rem;
}
