* {
    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;
}

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

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

button {
    padding: 10px;
    margin-left: 10px;
    background-color: #333; 
    color: white;
    border: none;
    border-radius: 15px;
    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;
}


.popup-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.popup-footer span {
    font-size: 12px;
    color: #333;
}

.report-toggle {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: #ddd;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 4px;
    cursor: pointer;
    padding: 0;
}

.report-toggle:hover {
    background-color: #bbb;
}

.report-form {
    margin-top: 10px;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.hidden {
    display: none;
}

.submit-report {
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
    text-align: center;
}
.report-form textarea {
    width: 100%;
    max-width: 250px;
    padding: 1px;
    border-radius: 5px; 
    border: 1px solid #ccc; /* Light border */
    resize: vertical;   /* Allow resizing vertically */
}
