/**
 * KiwiBI Treffs Übersichtskarte Styles
 */

.kiwibi-treffs-overview-map-container {
    position: relative;
    width: 100%;
    margin: 2em 0;
}

.kiwibi-treffs-overview-map {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    background: #f0f0f0;
}

.kiwibi-treffs-overview-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5em 2em;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    display: none;
}

.kiwibi-treffs-overview-loading p {
    margin: 0;
    color: #555;
    font-size: 1em;
}

/* Leaflet Popup Styling */
.kiwibi-treff-popup .leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0;
}

.kiwibi-treff-popup .leaflet-popup-content {
    margin: 0;
    padding: 1em;
    min-width: 250px;
}

.kiwibi-treff-popup-content h3 {
    margin: 0 0 0.5em 0;
    color: #2c3e50;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.3;
}

.kiwibi-treff-popup-content p {
    margin: 0.5em 0;
    line-height: 1.5;
    color: #555;
}

.kiwibi-treff-popup-link {
    display: inline-block;
    padding: 0.5em 1em;
    background: #3498db;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    font-weight: 500;
    transition: background 0.3s ease, transform 0.2s ease;
}

.kiwibi-treff-popup-link:hover {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.kiwibi-treff-popup-link:active {
    transform: translateY(0);
}

/* Custom Pin Icon Styling */
.kiwibi-custom-pin {
    background: transparent !important;
    border: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .kiwibi-treffs-overview-map {
        border-radius: 4px;
    }
    
    .kiwibi-treff-popup .leaflet-popup-content {
        min-width: 200px;
        padding: 0.8em;
    }
    
    .kiwibi-treff-popup-content h3 {
        font-size: 1em;
    }
    
    .kiwibi-treff-popup-content p {
        font-size: 0.85em;
    }
}

