/* General styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fdfdfd;
  color: #333;
}
header {
  background: #4CAF50;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header h1 {
  margin: 0;
  font-size: 1.5em;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav li {
  margin-left: 15px;
}
nav a {
  color: #fff;
  text-decoration: none;
}
nav a:hover {
  text-decoration: underline;
}
nav a.active {
  text-decoration: underline;
  font-weight: bold;
}
main {
  padding: 15px;
}
h2 {
  color: #4CAF50;
  margin-top: 0;
}
/* Location & filter controls */
.location-filter {
  margin: 10px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.location-filter span {
  margin: 5px;
  font-weight: bold;
}
.location-filter input {
  padding: 5px;
  margin-left: 5px;
}
.location-filter button {
  padding: 5px 10px;
  margin-left: 5px;
}
/* Multi‑select dropdown styling */
.location-filter select[multiple] {
  padding: 5px;
  margin-left: 5px;
  min-width: 180px;
  min-height: 2.2em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}
.filters {
  margin: 10px 0;
}
.filters label {
  margin-right: 15px;
}
.filters select {
  margin-right: 10px;
}
/* Layout for list and map sections */
.content {
  display: flex;
  flex-wrap: wrap;
}
.list-section {
  flex: 1 1 400px;
  padding-right: 10px;
}
.map-section {
  flex: 1 1 400px;
  height: 400px;
}
#map {
  width: 100%;
  height: 100%;
  background: #eee;
}
/* Resource cards */
#resource-list {
  
}
.card {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card img.logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  float: right;
  margin-left: 10px;
}
.card h3 {
  margin: 0 0 5px;
}
.card p {
  margin: 0;
}
.card .distance {
  font-style: italic;
  color: #555;
}
/* Home page option cards */
.options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.option-card {
  flex: 1 1 250px;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 15px;
  margin: 10px 0;
}
.option-card h3 {
  margin-top: 0;
}
.option-card .button {
  display: inline-block;
  margin-top: 10px;
}
/* Button style for links styled as buttons */
.button {
  background: #4CAF50;
  color: #fff;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 4px;
}
.button:hover {
  background: #45a047;
}
/* Footer style */
footer {
  background: #f0f0f0;
  text-align: center;
  padding: 10px;
  font-size: 0.9em;
  color: #555;
  margin-top: 20px;
}