/*!
 * Software y sitio web: Alberto D. (renfe.elchesemueve.com)
 * Todos los derechos reservados · https://renfe.elchesemueve.com/signature.txt
 */
.c1-badge.av-badge {
  background: #0284c7;
}
.sticky-link-c1 {
  text-decoration: none;
}
.av-controls {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.step-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.av-station-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 680px) {
  .av-station-grid {
    grid-template-columns: 1fr;
  }
}
.av-st-btn {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.av-st-btn:hover {
  border-color: #94a3b8;
}
.av-st-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
}
.av-st-btn strong {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.av-st-count {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(100, 116, 139, 0.16);
  color: var(--text);
  white-space: nowrap;
}
.av-st-btn small {
  font-size: 0.78rem;
  color: var(--muted);
}
.av-st-btn.active {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.1);
  box-shadow: 0 0 0 1px rgba(2, 132, 199, 0.25);
}
.av-st-btn.active .av-st-count {
  background: #0284c7;
  color: #fff;
}
.flow-date-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 12px;
  align-items: end;
}
@media (max-width: 780px) {
  .flow-date-row {
    grid-template-columns: 1fr;
  }
}
.flow-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.flow-btn {
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 9px 8px;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.flow-btn.active {
  background: #0f172a;
  color: #fff;
}
[data-theme="dark"] .flow-btn.active {
  background: #0284c7;
  color: #fff;
}
.date-inline {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.date-inline .date-input {
  flex: 1;
  min-width: 138px;
}
.corridor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.corridor-chips .chip-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #fff;
}
.prod-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.prod-ave { background: #be123c; color: #fff; }
.prod-avlo { background: #6d28d9; color: #fff; }
.prod-avant { background: #0369a1; color: #fff; }
.prod-intercity { background: #b45309; color: #fff; }
.prod-regional { background: #047857; color: #fff; }
.t-dest-name {
  font-size: 0.92rem;
  font-weight: 700;
}
.stop-item.is-elche-stop {
  font-weight: 700;
  color: #0284c7;
}
.smart-switch-box {
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed #0284c7;
  background: rgba(2, 132, 199, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.smart-switch-sub {
  margin-top: 4px;
}
.smart-switch-btn {
  border: 0;
  border-radius: 9px;
  padding: 9px 14px;
  background: #0284c7;
  color: #fff;
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
}
.access-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 760px) {
  .access-grid {
    grid-template-columns: 1fr;
  }
}
.access-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.access-card h3 {
  margin: 0 0 5px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 7px;
}
.access-card p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--muted);
}
.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.access-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  background: #0284c7;
  color: #fff;
}
.access-btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.st-services-sub {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 3px 0 6px;
}
