#updateButton {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}
#updatePButton {
    position: absolute;
    top: 20px;
    right: 140px;
    z-index: 1000;
}
.plane-icon {
    /* Enable smooth rotation transitions */
    transition: transform 0.3s ease-in-out;
}
#updateButton:hover {
    background-color: #f0f0f0;
}
body, html {
    margin: 0;
    overflow:hidden;
}
#map {
    height: calc(100dvh - 56px);
    position:absolute;
    width: 100%;

}
#windy {
    width: 100%;
    height: 45dvh;
    border: 2px solid #2d3748;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Style the zoom controls */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}
.leaflet-control-zoom a {
    background-color: #4a5568 !important;
    color: white !important;
    border: none !important;
}
.leaflet-control-zoom a:hover {
    background-color: #2d3748 !important;
}
/* Style the attribution */
.leaflet-control-attribution {
    background-color: rgba(45, 55, 72, 0.8) !important;
    color: white !important;
    padding: 4px 8px !important;
}
/* Style popups */
.info-box {
    padding: 12px 16px;
    background: #2d3748;
    color: white;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.info-box p {
    line-height: 3px;
}
.info-box h4 {
    margin: 0 0 8px 0;
    color: #90cdf4;
}
.leaflet-popup-content-wrapper {
    border-radius: 6px;
    padding: 0;
}
.leaflet-popup-content {
    margin: 0;
}
.leaflet-popup-tip {
    background: #2d3748;
}

.mapboxgl-popup-content p{
    margin-bottom: 0;
        line-height: 15px;
}
.mapboxgl-popup-content h4{
    margin: 0 0 8px 0;
    color: #90cdf4;
}
.mapboxgl-popup-content {
    padding: 12px 16px!important;
    background: #2d3748!important;
    color: white;
    border-radius: 6px!important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2)!important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

}

.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {
    border-top-color: #2d3748!important;
}

.map-button {
    position: absolute;
    top: 80px;
    right: 20px;
}

.sat {
    right: 70px;
}

.timer {
    right: 125px;
}

.map-button:hover {
    background: #f0f0f0;
}

.map-button, #updateButton, #updatePButton {
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    cursor: pointer;
    z-index: 1000;
    border-radius: 4px;
    padding: 10px;
}

.plane-marker {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.altitude-line {
    width: 1px;
    background: rgba(255, 255, 255, 0.5);
    position: absolute;
    bottom: 12px; /* Half of marker height */
    z-index: -1;
}

.marker img {
    transition: transform 0.3s ease;
}

.locationbuttons {
    justify-content: center;
}

.locationbuttons button {
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    cursor: pointer;
    z-index: 1000;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 5px;
}

.locationbuttons {
    position: absolute;
    bottom: 40px;
    width: 120px;
    height: 200px;
    display: flex;
    left: 0;
    padding: 7px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    background: #fff;
    flex-direction: column;
    
}
