#gpsdm-map {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.06);
    z-index: 1;
    border: 1px solid #e2e8f0;
}

/* ── Markers ── */
.gpsdm-marker {
    transition: transform 0.15s ease;
}

.gpsdm-marker:hover {
    transform: scale(1.15);
    z-index: 9999 !important;
}

/* ── Popup ── */
.gpsdm-custom-popup .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.12),
        0 1px 3px rgba(0, 0, 0, 0.06);
    padding: 0;
    overflow: hidden;
}

.gpsdm-custom-popup .leaflet-popup-content {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.gpsdm-custom-popup .leaflet-popup-tip {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.gpsdm-popup {
    padding: 14px 16px 12px;
    color: #334155;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Header: naam + demo dot */
.gpsdm-popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f5c518;
}

.gpsdm-popup-name {
    font-weight: 700;
    font-size: 15px;
    color: #1e293b;
}

.gpsdm-demo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.gpsdm-demo-dot.gpsdm-demo-yes {
    background: #2d7a3a;
    box-shadow: 0 0 0 2px rgba(45, 122, 58, 0.2);
}

.gpsdm-popup-company {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
}

/* Demo status — subtiele tekstregel */
.gpsdm-popup-demo {
    font-size: 11px;
    font-weight: 500;
    margin-top: 6px;
    letter-spacing: 0.02em;
}

.gpsdm-demo-yes-text {
    color: #2d7a3a;
}

.gpsdm-demo-no-text {
    color: #94a3b8;
}

.gpsdm-popup-badges {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gpsdm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: #166534;
    line-height: 1.3;
}

.gpsdm-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
    flex-shrink: 0;
}

.gpsdm-popup-notes {
    margin-top: 10px;
    padding: 8px 10px;
    background: #f8fafc;
    border-left: 3px solid #f5c518;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
    border-radius: 0 4px 4px 0;
}

.gpsdm-popup-address {
    margin-top: 10px;
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
}

.gpsdm-popup-contact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e2e8f0;
    font-size: 13px;
    line-height: 1.8;
}

.gpsdm-popup-contact a {
    color: #2d7a3a;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.gpsdm-popup-contact a:hover {
    color: #1a5c25;
    text-decoration: underline;
}

/* ── Legenda ── */
.gpsdm-legend {
    background: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    color: #475569;
    line-height: 1;
}

.gpsdm-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gpsdm-legend-item + .gpsdm-legend-item {
    margin-top: 8px;
}

.gpsdm-legend-icon {
    flex-shrink: 0;
}

.gpsdm-legend-demo,
.gpsdm-legend-nodemo {
    width: 24px;
    height: 24px;
}
