body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}
h1 {
  text-align: center;
  color: #ffffff;
  margin-top: 40px;
}
main {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}
.dashboard {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-areas:
    "controls map"
    "controls routes";
  gap: 20px;
}
#controls {
  grid-area: controls;
}
#mapSection {
  grid-area: map;
}
#routes {
  grid-area: routes;
}
header {
  background-color: #2a9d8f;
  color: #ffffff;
  padding: 20px;
}
section {
  background: #ffffff;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#mapContainer {
  height: 400px;
  background-color: #dddddd;
  width: 100%;
  border-radius: 6px;
}
#controls form {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}
#controls input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
#controls button {
  padding: 10px 16px;
  border: none;
  background-color: #2a9d8f;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}
#controls button:hover {
  background-color: #1f6f66;
}
@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem;
    margin-top: 10px;
  }
  .dashboard {
    grid-template-columns: 1fr;
    grid-template-areas:
      "controls"
      "map"
      "routes";
  }
  #controls form {
    flex-direction: column;
  }

  #controls button {
    width: 100%;
  }
  #mapContainer {
    height: 300px;
  }
  main {
    padding: 15px;
  }
  #locationsList li {
    padding: 6px 0;
  }
}
