html, body {
  height: 100%;
  margin: 0;
  font-family: "Vazirmatn", "Segoe UI", Arial, sans-serif;
  background: #f9fafb;
}
#app {
  display: flex;
  flex-direction: row-reverse;
  height: 100%;
}
.sidebar {
  width: 360px;
  background: #fff;
  padding: 16px;
  overflow-y: auto;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.sidebar h2 {
  margin-top: 0;
  color: #1e88e5;
}
.search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.search input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}
.search button {
  padding: 10px 14px;
  background: #1e88e5;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
#stationsList {
  flex: 1;
}
.station-item {
  padding: 8px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
}
.station-item:hover {
  background: #f0f0f0;
}
.station-name {
  font-weight: bold;
}
.station-sub {
  font-size: 12px;
  color: #666;
}
#map {
  flex: 1;
}
@media (max-width: 900px) {
  #app {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: 300px;
  }
  #map {
    height: calc(100vh - 300px);
  }
}
