/**
 * POI Leaflet Map Styles
 *
 * @package Whatzup
 * @version 1.1.0
 */

/* Main container */
.poi-map-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

/* Sidebar filter */
#category-filter {
    min-width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    height: fit-content;
    background: #fff;
}

#category-filter h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

#category-filter label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.2s;
}

#category-filter label:hover {
    color: #0073aa;
}

#category-filter input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
}

/* Map container */
.poi-map-wrapper {
    flex: 1;
    position: relative;
}

#poi-map {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive design */
@media (max-width: 768px) {
    .poi-map-container {
        flex-direction: column;
    }

    #category-filter {
        min-width: 100%;
    }

    #poi-map {
        height: 400px;
    }
}

/* Leaflet popup custom styles (optional enhancement) */
.leaflet-popup-content {
    margin: 10px;
    line-height: 1.4;
}

.leaflet-popup-content h4 {
    margin-top: 0;
}

.leaflet-popup-content img {
    display: block;
    margin-bottom: 8px;
}
