html, body {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Arial, sans-serif;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.custom-marker {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 5px;
    width: 90px;
    font-family: Calibri, sans-serif;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 1.0);
    line-height: 0.9;
    transform: translate(35%, -45%);
}

.bui-marker {
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px;
    width: 90px;
    font-family: Calibri, sans-serif;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 1.0);
    line-height: 0.9;
}

.getij-marker .extra-info {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    width: 110px;
    font-family: Calibri, sans-serif;
    font-size: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 1.0);
    line-height: 1.2;
    border-radius: 5px;
}

.login-form {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.login-form input {
    display: block;
    width: 90%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 3px;
    border: 1px solid #ccc;
}

.login-form button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 3px;
    background: #007bff;
    color: white;
    font-size: 16px;
    cursor: pointer;
}

.login-form button:hover {
    background: #0056b3;
}

.message {
    margin-top: 10px;
    color: red;
    text-align: center;
}

.registerForm {
    display: none;
}

.blue-dot {
    background-color: blue;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}

.marker-label {
    font-size: 14px;
    background: white;
    padding: 2px;
    border-radius: 3px;
}

.circle-label {
    font-size: 14px;
    background: white;
    padding: 2px;
    border-radius: 3px;
}

.p2000 {
    opacity: 0.8;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

#popupContainer {
    position: absolute;
    top: 70px;
    left: 10px;
    width: 200px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    z-index: 1000;
}

#p2000PopupContainer {
    position: absolute;
    top: 70px;
    left: 10px;
    width: 200px;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    z-index: 1000;
}

.popup {
    background-color: white;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.custom-marker b {
    font-size: 12px;
}

.custom-marker small {
    font-size: 10px;
    color: #666;
}

.popupContent {
    display: none;
}

.leaflet-popup-content-wrapper:hover .popupContent {
    display: block;
}

.custom-marker.recent {
    background-color: rgba(255, 0, 0, 0.5); /* Gouden achtergrond voor de meest recente entry */
    color: #FFFFFF; /* Zwarte tekstkleur */
    font-weight: bold;
}

.popup.recent {
    background-color: rgba(255, 0, 0, 0.5); /* Gouden achtergrond voor de meest recente popup */
    color: #FFFFFF; /* Zwarte tekstkleur */
    font-weight: bold;
}
