.stations-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 110px;
}

.stations-sidebar-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

.stations-sidebar-card h3 {
  font-size: 1.08rem;
  margin-bottom: 14px;
}

.stations-search-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stations-sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stations-sidebar-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 62px;
  padding: 10px 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid #dbe5f0;
  color: var(--text-soft);
  text-decoration: none;
  transition: all var(--transition);
}

.stations-sidebar-category:hover {
  transform: translateX(2px);
  border-color: #bfd6ff;
  background: #f8fbff;
}

.stations-sidebar-category.is-active {
  background: #eef5ff;
  border-color: #93c5fd;
}

.stations-sidebar-category-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.stations-sidebar-category-thumb {
  width: 64px;
  height: 38px;
  border-radius: 12px;
  background: transparent;
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  overflow: hidden;
  flex-shrink: 0;
  padding: 4px 6px;
  box-sizing: border-box;
}

.stations-sidebar-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  display: block;
}

.stations-sidebar-category-name {
  min-width: 0;
  color: #334155;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
}

.stations-sidebar-category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 700;
  flex-shrink: 0;
}

.stations-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stations-filter-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--panel-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition);
}

.stations-filter-tag:hover {
  background: var(--primary-soft);
  border-color: #bfd6ff;
  color: var(--primary);
}


.stations-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.stations-sidebar-card h3 {
  margin: 0;
  font-size: 1.08rem;
}

.stations-sidebar-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.stations-sidebar-more:hover {
  background: #dbeafe;
  border-color: #93c5fd;
  color: #1e40af;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.12);
}

.stations-sidebar-more span {
  font-size: 0.92rem;
  line-height: 1;
}
.stations-sidebar-category-name {
  min-width: 0;
  color: #334155;
  font-weight: 700;
  line-height: 1.35;
  word-break: break-word;
  transition: color var(--transition);
}

.stations-sidebar-category:hover .stations-sidebar-category-name {
  color: #0f172a;
}

.stations-filter-tag.is-active {
  background: #eef5ff;
  border-color: #93c5fd;
  color: #1d4ed8;
}



@media (max-width: 780px) {
  .stations-sidebar {
    position: static;
    top: auto;
  }
}