body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden; /* Verhindert das Scrollen der Seite */
}

#map {
    width: 100%;
    height: 92vh;
}

#form {
    padding: 20px;
}


.popup {
    font-family: Arial, sans-serif;
    padding: 10px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.popup h3 {
    margin: 0;
    text-align: center;
}

.status-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 10px auto;
}

.type-icon {
    text-align: center;
    font-size: 16px;
}



        #login, #app {
            width: 100%;
            height: 100vh;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

.menu {
    display: flex;
    justify-content: space-between; /* Platziert die Überschrift, Buttons und das Logo */
    align-items: center; /* Zentriert die Elemente vertikal */
    padding: 10px 20px; /* Fügt etwas Abstand hinzu */
    background-color: #f8f8f8; /* Hintergrundfarbe für das Menü */
    height: 7%; /* Setzt die Höhe des Menüs auf 5% der Bildschirmhöhe */
    box-sizing: border-box; /* Stellt sicher, dass Padding und Border in der Höhe enthalten sind */
}

.menu h1 {
    margin: 0; /* Entfernt den Standardabstand um die Überschrift */
    font-size: 1em; /* Passt die Schriftgröße an */
}

.buttons {
    display: flex;
    justify-content: center;
    flex: 3; /* Nimmt mehr Platz ein als die Überschrift und das Logo */
    gap: 10px; /* Abstand zwischen den Buttons */
}

.menu .logo {
    height: 100%; /* Setzt die Höhe des Logos auf die volle Höhe des Menüs */
    width: auto; /* Behält das Seitenverhältnis des Logos bei */
}

        #form-view {
            width: 100%;
            padding: 20px;
            box-sizing: border-box;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .form-group select, .form-group input {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

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

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 400px;
    text-align: center;
}

.modal-content button {
    margin: 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

        .indicator-group {
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
}

.indicator-group-header {
    background-color: #f2f2f2;
    padding: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.indicator-group-content {
    display: none;
    padding: 10px;
}

.custom-marker {
    position: relative;
    width: 40px;
    height: 50px;
    background-image: url('https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/images/marker-icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

.custom-marker-text {
    position: absolute;
    top: 5px;
    left: 3px;
    width: 20px;
    height: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    border: 2px solid white;
}

.custom-marker::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(0, 0, 0, 0.7);
}

        .legend-color {
            width: 85px;
            height: 25px;
            border-radius: 0%;
            margin-right: 10px;
            border: 1px solid #ccc;
        }