/* Main map styles */
#map {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* MapTiler Streets v2 Schriftoptimierungen */
.leaflet-popup-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.leaflet-popup-content-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.leaflet-control-layers {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.leaflet-control-layers label {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
    font-size: 13px;
}

/* Privacy overlay styles */
.privacy-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

/* Privacy notice modal */
.map-privacy-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: #333;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    max-width: 500px;
    text-align: center;
    z-index: 9999;
    display: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.map-privacy-notice h3 {
    margin: 0 0 16px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
}

.map-privacy-notice p {
    margin: 0 0 20px 0;
    line-height: 1.5;
    color: #666;
}

.privacy-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.map-privacy-notice button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    min-width: 100px;
}

.privacy-allow {
    background: #007bff;
    color: white;
}

.privacy-allow:hover {
    background: #0056b3;
}

.privacy-deny {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.privacy-deny:hover {
    background: #e9ecef;
    color: #495057;
}

/* No basemap notice */
.no-basemap-notice {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    padding: 10px;
    border-radius: 4px;
    font-size: 12px;
    max-width: 250px;
}

/* Loading notice */
#loading-notice {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.95);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: none;
    z-index: 9997;
    min-width: 250px;
    text-align: center;
}

#loading-notice .loading-content {
    text-align: center;
}

#loading-notice .loading-subtitle {
    margin-top: 10px;
    font-size: 12px;
    color: #666;
}

/* (Kein eigener Footer – Datenschutzlink steht in der Leaflet-Attribution) */
