/* General Body and HTML styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    overflow: hidden; /* Prevent scrollbars */
}

/* General Body Styles */
body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: #4a69bd;
    color: #ffffff;
    padding: 1rem 2rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h1 {
    margin: 0;
    font-size: 1.8rem;
}

/* Main Content Container */
.container {
    padding: 1rem 2rem;
}

/* Map container style */
#map {
    width: 100%;
    height: 100vh;
}

/* Filter container styles */
#filters {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000; /* Ensure filters are on top of the map */
    background: rgba(255, 255, 255, 0.8); /* Semi-transparent background */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    backdrop-filter: blur(5px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 250px;
}

/* Style for labels inside filters */
#filters label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: -5px; /* Reduce space between label and select */
}

/* Style for select dropdowns and buttons */
#filters select,
#filters button {
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    -webkit-appearance: none; /* Removes default OS styling */
    -moz-appearance: none;
    appearance: none;
}

#filters select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007AFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.4-5.4-13z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 12px top 50%;
    background-size: .65em auto;
    padding-right: 30px; /* Make space for the arrow */
}

#filters button {
    background-color: #007AFF; /* A modern blue */
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

#filters button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.leaflet-popup-content b {
    color: #4a69bd;
}

.leaflet-popup-content hr {
    margin: 8px 0;
    border-color: #eee;
}

.leaflet-popup-content i {
    color: #555;
    font-size: 0.9em;
} 