/* Stations page — full split layout */
.stations-layout {
  display: grid;
  grid-template-columns: 460px 1fr;
  height: calc(100vh - var(--header-h));
  min-height: 720px;
  overflow: hidden;
}
@media (max-width: 980px) {
  .stations-layout { grid-template-columns: 1fr; height: auto; }
}

.stations-sidebar {
  border-right: 1px solid var(--border);
  overflow-y: auto;
  background: white;
}

.filter-block {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.filter-block:last-of-type { border-bottom: 0; }
.filter-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--neutral-500);
  margin-bottom: 12px;
}
.search-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  background: var(--neutral-50);
  transition: all 0.15s;
}
.search-input:focus {
  outline: none;
  background: white;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px var(--primary-100);
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.fc {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  background: white;
  color: var(--neutral-600);
  border: 1px solid var(--border);
  transition: all 0.15s;
  cursor: pointer;
  font-family: inherit;
}
.fc:hover { border-color: var(--neutral-400); }
.fc.on {
  background: var(--primary-900);
  color: white;
  border-color: var(--primary-900);
}
.fc-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neutral-400);
}
.fc-brand-po.on { background: #B45309; border-color: #B45309; }
.fc-brand-po .fc-dot { background: #F59E0B; }
.fc-brand-alpet .fc-dot { background: #1E5A9E; }
.fc-brand-aytemiz .fc-dot { background: #10B981; }
.fc-count {
  font-size: 11px;
  background: rgba(255,255,255,0.2);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.fc:not(.on) .fc-count { background: var(--neutral-100); color: var(--neutral-500); }

.station-list {
  display: flex;
  flex-direction: column;
}

.station-card {
  display: flex;
  gap: 14px;
  padding: 18px 24px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: white;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  position: relative;
  transition: background 0.15s;
  width: 100%;
}
.station-card:hover { background: var(--primary-50); }
.station-card.active { background: var(--primary-50); }
.station-card.active::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent-500);
}

.station-thumb {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
}
.station-thumb.brand-po { background: linear-gradient(135deg, #F59E0B, #B45309); }
.station-thumb.brand-alpet { background: linear-gradient(135deg, #1E5A9E, #0A2540); }
.station-thumb.brand-aytemiz { background: linear-gradient(135deg, #10B981, #047857); }

.station-info { flex: 1; min-width: 0; }
.station-meta { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }
.station-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.station-addr {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.4;
  margin-bottom: 8px;
}
.station-services { display: flex; gap: 4px; flex-wrap: wrap; }
.ss {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--neutral-100);
  color: var(--neutral-600);
}
.ss-more { background: var(--primary-100); color: var(--primary-700); }

.station-cta {
  align-self: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--neutral-700);
  flex-shrink: 0;
  transition: all 0.15s;
  text-decoration: none;
}
.station-card:hover .station-cta {
  background: var(--accent-500);
  color: var(--primary-900);
  border-color: var(--accent-500);
}

.stations-map-wrap {
  position: relative;
  height: 100%;
}
@media (max-width: 980px) { .stations-map-wrap { height: 480px; } }
.stations-map { height: 100%; width: 100%; }

.map-overlay-legend {
  position: absolute;
  top: 16px; left: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  font-size: 13px;
  font-weight: 500;
  z-index: 1;
}
.map-overlay-legend .md {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
}
.md.po { background: #F59E0B; }
.md.alpet { background: #1E5A9E; }
.md.aytemiz { background: #10B981; }
