body {
    font-family: 'Inter', sans-serif;
    background-color: #f0f4f8; /* Light blue-gray background */
    color: #334155; /* Darker text */
}
.container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 0.75rem; /* Rounded corners */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}
.event-card {
    border: 1px solid #e2e8f0; /* Light border */
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease-in-out;
}
.event-card:hover {
    transform: translateY(-5px); /* Lift on hover */
}
.event-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b; /* Darker title */
    margin-bottom: 0.5rem;
}
.event-description {
    font-size: 0.95rem;
    color: #475569; /* Medium text */
    margin-bottom: 0.75rem;
    line-height: 1.5;
}
.event-link a {
    color: #3b82f6; /* Blue link */
    text-decoration: none;
    font-weight: 500;
}
.event-link a:hover {
    text-decoration: underline;
}
.event-date {
    font-size: 0.85rem;
    color: #64748b; /* Lighter date text */
    text-align: right;
}
.header {
    text-align: center;
    margin-bottom: 2rem;
    color: #1e293b;
}
.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Vertically align items */
    justify-content: center; /* Center horizontally */
    gap: 1rem; /* Space between logo and text */
}
.header h1 img {
    max-height: 60px; /* Adjust logo size */
    width: auto;
    border-radius: 0.5rem; /* Rounded corners for logo */
}
.error-message {
    background-color: #fee2e2; /* Light red */
    color: #ef4444; /* Red text */
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
}
.filter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    background-color: #f8fafc;
}
.filter-form label {
    font-weight: 600;
    color: #1e293b;
}
.filter-form input[type="text"] {
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box; /* Include padding in width */
}
.filter-form .button-group {
    display: flex;
    gap: 0.5rem; /* Space between buttons */
    justify-content: space-between; /* Distribute buttons */
    margin-top: 0.5rem; /* Space above buttons */
}
.filter-form button {
    background-color: #3b82f6; /* Blue button */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    text-transform: uppercase; /* Ensure button text is uppercase */
    flex-grow: 1; /* Allow buttons to grow and fill space */
}
.filter-form button:hover {
    background-color: #2563eb; /* Darker blue on hover */
}
/* Loading animation styles */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    flex-direction: column;
    gap: 1rem;
}
.spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #3b82f6;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-text {
    font-size: 1.2rem;
    color: #334155;
}
#map {
    height: 800px; /* Doubled the height for the map container */
    width: 100%;
    border-radius: 0.5rem;
    margin-top: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
