* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
        }
        #map {
            width: 100vw;
            height: 100vh;
        }
        
        /* Layer Toggle Controls */
        .layer-controls {
            position: absolute;
            top: 80px;
            right: 10px;
            background: white;
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            z-index: 1000;
            min-width: 200px;
        }
        
        .layer-controls h3 {
            margin: 0 0 12px 0;
            font-size: 14px;
            font-weight: 600;
            color: #333;
        }
        
        .toggle-label {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 10px;
            cursor: pointer;
            font-size: 13px;
            color: #555;
        }
        
        .toggle-label:last-child {
            margin-bottom: 0;
        }
        
        .toggle-label input[type="checkbox"] {
            cursor: pointer;
            width: 16px;
            height: 16px;
        }
        
        .layer-color {
            width: 20px;
            height: 20px;
            border-radius: 3px;
            border: 1px solid #ccc;
        }
        
        .mapboxgl-popup-content {
            padding: 0;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.2);
            width: 350px !important;
        }
        .mapboxgl-popup-close-button {
            width: 28px;
            height: 28px;
            font-size: 24px;
            padding: 0;
            color: white;
            background: rgba(0, 0, 0, 0.6) !important;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            right: 8px;
            top: 8px;
            z-index: 10;
        }
        .popup-header {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .image-container {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }
        .images-wrapper {
            display: flex;
            width: 200%;
            height: 100%;
            transition: transform 0.5s ease-in-out;
        }
        .image-set {
            width: 50%;
            height: 100%;
            display: flex;
            gap: 2px;
            flex-shrink: 0;
        }
        .popup-image {
            width: 50%;
            height: 100%;
            object-fit: cover;
        }
        .popup-image.full {
            width: 100%;
        }
        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 15;
            transition: background 0.3s;
        }
        .slider-arrow:hover {
            background: rgba(0, 0, 0, 0.8);
        }
        .slider-arrow.prev {
            left: 10px;
        }
        .slider-arrow.next {
            right: 10px;
        }
        .slider-dots {
            position: absolute;
            bottom: 10px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 8px;
            z-index: 15;
        }
        .slider-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s;
        }
        .slider-dot.active {
            background: white;
            width: 24px;
            border-radius: 4px;
        }
        .popup-body {
            padding: 20px;
        }
        .popup-title {
            font-size: 20px;
            font-weight: 700;
            color: #1a202c;
            margin-bottom: 10px;
        }
        .popup-address {
            font-size: 14px;
            color: #4a5568;
            margin-bottom: 12px;
            display: flex;
            align-items: center;
        }
        .popup-category {
            display: inline-block;
            padding: 4px 12px;
            background: #e6f4ff;
            color: #0066cc;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .popup-link {
            display: inline-block;
            padding: 8px 16px;
            background: #667eea;
            color: white;
            text-decoration: none;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 600;
            transition: background 0.3s;
        }
        .popup-link:hover {
            background: #5568d3;
        }
        .custom-marker {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            border: 3px solid white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3);
            cursor: pointer;
            transition: transform 0.2s;
        }
        .custom-marker:hover {
            transform: scale(1.1);
        }
        .legend {
            position: absolute;
            bottom: 30px;
            right: 10px;
            background: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.2);
            font-size: 13px;
            z-index: 1000;
        }
        .legend-title {
            font-weight: 700;
            margin-bottom: 10px;
            color: #1a202c;
        }
        .legend-item {
            display: flex;
            align-items: center;
            margin-bottom: 6px;
        }
        .legend-color {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            margin-right: 8px;
            border: 2px solid white;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        .info-banner {
            position: absolute;
            top: 10px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            z-index: 1000;
            font-weight: 600;
        }

        .leaflet-popup-close-button {
            position: absolute !important;
            top: 10px !important;
            right: 10px !important;
            width: 35px !important;
            height: 35px !important;
            background: rgba(0, 0, 0, 0.6) !important;
            color: white !important;
            border: none !important;
            border-radius: 50% !important;
            cursor: pointer !important;
            font-size: 24px !important;
            font-weight: normal !important;
            line-height: 35px !important;
            text-align: center !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            z-index: 20 !important;
            transition: background 0.3s !important;
            padding: 0 !important;
            text-decoration: none !important;
            box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
        }

        .leaflet-popup-close-button:hover {
            background: rgba(0, 0, 0, 0.8) !important;
        }

        .leaflet-popup-close-button span {
            margin: 0 !important;
            padding: 0 !important;
        }
        
        .leaflet-container a.leaflet-popup-close-button {
            position: absolute !important;
            top: 10px !important;
            right: 10px !important;
            width: 35px !important;
            height: 35px !important;
            background: rgba(0, 0, 0, 0.6) !important;
            color: white !important;
            border: none !important;
            border-radius: 50% !important;
            font-size: 24px !important;
            line-height: 35px !important;
            text-align: center !important;
            padding: 0 !important;
        }
        
        .leaflet-container a.leaflet-popup-close-button:hover {
            background: rgba(0, 0, 0, 0.8) !important;
            color: white !important;
        }