 /* Fondo general */
.horarios-page {
  background: url('img/bk.jpg') center center / cover no-repeat; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  color: #fff;
}
.titulohorarios{
    background: transparent;
    display: flex;
    justify-content: center;
    padding: 26px;
}

/* Contenedor negro con sombra */
.tabla-horarios {
  background-color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  padding: 70px 30px;
  width: 90%;
  max-width: 1000px;
}

.tabla-horarios h1 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #fff;
  letter-spacing: 1px;
}

/* Estructura del horario */
.horario-container {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 15px;
}

.horas {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #ccc;
}

.horario-grid {
  display: flex;
  flex-direction: column;
}

.dias {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.dias span {
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* Cuerpo de clases */
.clases {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(4, 80px);
  gap: 6px;
  position: relative;
}

/* Cada bloque de clase */
.clase {
  background: #222;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.clase small {
  color: #bbb;
  font-size: 0.8rem;
  margin-top: 4px;
}

/* Hover */
.clase:hover {
  background: #333;
  transform: translateY(-2px);
  transition: 0.2s;
}

 
