/* horarios.css (solo especializaciones para HorariosTerminal y Boletería) */

/* — Sección de título y botón de navegación — */
.title-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.title-section h1 {
  margin: 1rem 0;
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

/* — Controles de búsqueda (tanto Horarios como Boletería) — */
.controls {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.controls p {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
}
.search-bar {
  flex: 1;
  max-width: 400px;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  box-shadow: inset 0 4px 8px var(--shadow);
  transition: box-shadow 0.3s;
}
.search-bar:focus {
  outline: none;
  box-shadow: inset 0 4px 12px var(--shadow);
}

/* — Contenedor de tabla para ambas vistas — */

table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

th {
  background: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.highlight {
  background: #fff;
  color: var(--blue-dark);
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 6px;
  display: inline-block;
}

/* — Responsive específico — */
@media (max-width: 768px) {
  .title-section h1 {
    font-size: 1.6rem;
  }
  
  .search-bar {
    width: 100%;
    max-width: none;
  }

  /* ocultamos la etiqueta en móviles para ganar espacio */
  .controls p {
    display: none;
  }
}
