body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

#map-container {
    padding-top: 56px; /* Adjust for fixed navbar height */
    height: calc(100vh - 56px);
    width: 100%;
}

#map { 
    height: 100%; 
    width: 100%;
    z-index: 1;
}

.error-message {
    position: absolute;
    top: 60px; /* Onder de navbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000; /* Boven de kaart */
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    text-align: center;
    max-width: 80%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
    margin: 15px;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
}

.leaflet-popup-content h6 {
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.leaflet-popup-content p {
    margin: 5px 0;
}

.leaflet-popup-content img {
    margin-top: 10px;
    border-radius: 5px;
}

.leaflet-popup-content a {
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
}

/* Styling voor de permanente tooltip */
.permanent-tooltip {
    background: transparent;
    border: none;
    box-shadow: none;
    color: #000;
    font-weight: bold;
    font-size: 12px;
}

/* Styling voor de items in de popup */
.news-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.news-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.leaflet-popup-content h5 {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
} 