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

body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

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

#filter {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: #333; 
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    box-shadow: 0px -2px 4px rgba(0, 0, 0, 0.6); 
}

#current-time-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    bottom: 30px;
    gap: 15px; 
}

#current-day {
    font-size: 18px;
    font-weight: bold;
    margin: 0; 

}

#current-time {
    font-family: 'Verdana', sans-serif;
    font-size: 20px;
    color: #d3bfa0; 
}

#locateButton {
    padding: 10px;
    margin-left: 10px;
    background-color: #333; 
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#info-button {
    padding: 10px;
    margin-left: 10px;
    background-color: #333; 
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#locateButton:hover {
    background-color: #45a049; 
}
#info-button:hover {
    background-color: #45a049; 
}

.leaflet-popup-content p {
    margin: 2px 0;
    padding: 0; 
    line-height: 1.4; 
}

button {
    padding: 10px;
    margin-left: 10px;
    background-color: #333; 
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#info-popup {
    display: none;
    position: absolute;
    left: 50%; 
    transform: translateX(-50%); 
    background: white;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    color: #333;
    max-width: 250px;
    word-wrap: break-word;
    text-align: center;
    pointer-events: auto;
    bottom: 90px; 
    left: calc(50% + 135px); 
    white-space: nowrap;
}

#info-popup::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 10px;
    border-color: white transparent transparent transparent;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.legend-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    line-height: 1.4; 
    margin: 2px 0;
}

.legend-color {
    width: 20px;
    height: 4px;
    opacity: 0.7;
    border-radius: 1px;
    margin-right: 10px;
}
