.map-container {
    width: 100vw;
    height: calc(100vh - var(--navbar-height)); /* Höhe der Karte anpassen */
    position: relative;
    overflow: visible; /* this is important */
}

.map {
    width: 100%;
    height: 100%; /* Karte nimmt die gesamte Höhe des Containers ein */
}

#tooltip {
    position: absolute;
    background-color: white;
    padding: 4px;
    border: 1px solid black;
    border-radius: 4px;
    display: none;
}

#trackerButtonsWrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 30;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

#trackerButtons {
    pointer-events: all;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px 12px 0 0;
    margin: 0 auto;
    padding: 10px 20px;
    max-width: 95%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.15);
}

.tracker-group {
    margin-bottom: 10px;
}

.tracker-group-toggle {
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 12px;
    font-size: 16px;
    text-align: left;
    width: 100%;
    background-color: #eee;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.tracker-group-toggle:hover {
    background-color: #ddd;
}

.tracker-group-content {
    display: none;
    margin-top: 8px;
    padding-left: 10px;
    flex-wrap: wrap;
    gap: 6px;
}

.tracker-group-content.show {
    display: flex;
}

.tracker-button {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #f9f9f9;
    cursor: pointer;
}

.blinking {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { background-color: red; }
    50% { background-color: yellow; }
}
#iconSizeControl {
    position: absolute;
    top: 5px;
    right: 40px;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ccc;
    height: min-content;
    width: min-content;
}

#iconSizeControl input {
    width: min-content;
    font-size: 12px;
    padding: 4px;
    border-radius: 4px;
    border: 1px solid #aaa;
}


@media (max-width: 600px) {
  #iconSizeControl {
    font-size: 14px;
    padding: 6px 10px;
    bottom: 12px;
    right: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* Softer shadow on small screens */
  }}
