/* Map Category Chips - Google Maps Style */
.map-category-chips-container {
    position: absolute;
    top: 20px;
    left: 20%;
    z-index: 10600;
    max-width: 90%;
    pointer-events: none;
    display: block !important;
    visibility: visible !important;
}

.map-category-chips-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    pointer-events: auto;
    padding: 4px 8px;
    background: transparent;
    border-radius: 24px;
    box-shadow: none;
    backdrop-filter: blur(10px);
    max-width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.map-category-chips-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.map-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #5f6368;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    user-select: none;
    flex-shrink: 0;
}

.map-category-chip:hover {
    background: #f1f3f4;
    border-color: #dadce0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.map-category-chip.active {
    background: #1a73e8;
    color: #ffffff;
    border-color: #1a73e8;
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.3);
}

.map-category-chip.active:hover {
    background: #1557b0;
    border-color: #1557b0;
}

.map-category-chip i {
    font-size: 16px;
}

.map-category-chip .category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 4px;
}

.map-category-chip.active .category-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Dark mode support */
.dark .map-category-chips-wrapper {
    background: transparent;
}

.dark .map-category-chip {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.dark .map-category-chip:hover {
    background: #334155;
    border-color: #475569;
}

.dark .map-category-chip.active {
    background: #3b82f6;
    color: #ffffff;
    border-color: #3b82f6;
}

.dark .map-category-chip.active:hover {
    background: #2563eb;
    border-color: #2563eb;
}

/* Mobile responsiveness - hide chips on mobile */
@media (max-width: 768px) {
    .map-category-chips-container {
        display: none !important;
    }
}

/* Scrollbar indicators disabled for transparent background */
.map-category-chips-wrapper::before,
.map-category-chips-wrapper::after {
    display: none;
}
