* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: white;
}

header {
    position: absolute;
    top: 25px;
    left: 30px;
    z-index: 500;
    background: transparent;
}

h1 {
    font-family: Arial, sans-serif;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: -1.5px;
    color: white;
    margin: 0;
}

#map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
}

/* Dark map */
.leaflet-tile-pane {
    filter: invert(100%) hue-rotate(180deg)
            brightness(95%) contrast(90%);
}


/* Markers */

.custom-marker {
    background: transparent;
    border: none;
    color: white;
    font-size: 35px;
    line-height: 10px;
    text-align: center;
}

/* Registration popup */

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 1000;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: white;
    color: #222;
    padding: 30px;
    width: 320px;
    border-radius: 8px;
}

.popup-content h2 {
    font-size: 20px;
    font-weight: normal;
    margin-bottom: 25px;
}

.popup-content label {
    display: block;
    margin-bottom: 6px;
    margin-top: 15px;
    font-size: 14px;
}

.popup-content input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.popup-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#cancel-button {
    background: #eee;
}

.popup-buttons button[type="submit"] {
    background: #222;
    color: white;
}
