﻿/* ========================================
   BUSINESS MAP VIEW STYLES (CLUSTERED)
   File: TownVue.Web/wwwroot/css/business-map-view.css
   ======================================== */

/* Map Container */
#businessMapContainer {
    display: none;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #dee2e6;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

#businessMap {
    width: 100%;
    height: 550px;
    min-height: 400px;
}

@media (max-width: 768px) {
    #businessMap {
        height: 400px;
        min-height: 300px;
    }
}

/* View Toggle */
.view-toggle .btn {
    transition: all 0.2s ease;
}

    .view-toggle .btn.active {
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Popup Styles */
.business-map-popup {
    padding: 4px 0;
    font-size: 0.85rem;
    line-height: 1.4;
}

    .business-map-popup .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }

.mapboxgl-popup-content {
    border-radius: 0.5rem !important;
    padding: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.mapboxgl-popup-close-button {
    font-size: 1.1rem;
    padding: 2px 6px;
    color: #6c757d;
}

    .mapboxgl-popup-close-button:hover {
        color: #212529;
        background: transparent;
    }
