/* Bloque general */
.elegir-local {
  text-align: center;
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.pasos-reserva.text-yellow {
  font-size: 1.5rem;
  color: #ffc300;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Grid principal */
.locales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Tarjeta base */
.opcion-local {
  /* background: linear-gradient(145deg, #1a1a1a, #2c2c2c); */
  background: transparent;
  border: 1.5px solid #c0c0c0;
  
  color: #fff;
  border-radius: 14px;
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.opcion-local:hover {
  transform: translateY(-5px);
  background: linear-gradient(145deg, rgba(215, 38, 61, 0.18), rgba(215, 38, 61, 0.06));
}

/* Texto */
.local-text h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #ffc300;
}

.local-text p {
  margin: 8px 0 16px;
  font-size: 0.9rem;
  color: #fdfcfc;
}

/* Botón */
.btn-elegir {
  background: #de2345;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.btn-elegir:hover {
  background: #b61f33;
  transform: scale(1.05);
}

/* Seleccionado */
.local-seleccionado {
  outline: 3px solid #de2345;
  transform: scale(1.02);
  background: linear-gradient(145deg, rgba(215, 38, 61, 0.3), rgba(215, 38, 61, 0.12));
}

.local-seleccionado .btn-elegir {
  background: #ffc300;
  color: #000;
}

/* Responsividad */
@media (max-width: 1024px) {
  .locales-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .locales-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .opcion-local {
    text-align: left;
    padding: 14px 16px;
  }

  .local-text h3 {
    font-size: 1rem;
  }

  .local-text p {
    font-size: 0.85rem;
    margin: 4px 0 0;
  }

  .btn-elegir {
    display: none;
    /* Compacto, toda la tarjeta es clicable */
  }

  .opcion-local:hover {
    transform: scale(1.01);
  }

  .pasos-reserva.text-yellow {
    font-size: 1.3rem;
    margin-bottom: 16px;
  }
}

.elegir-local a.opcion-local {
  text-decoration: none;
  color: inherit;
  display: block; /* asegura que ocupe toda la tarjeta */
}

.elegir-local a.opcion-local:hover,
.elegir-local a.opcion-local:focus {
  text-decoration: none;
  color: inherit;
}










/* seleccionar juego */
.opcion-juego {
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  margin: 20px auto;
  position: relative;
  height: 260px;
}

/* seleccionar fecha */
/* tabla general */
.datepicker table tr th,
.datepicker table tr td {
  border-radius: 4px;
}

.datepicker table tr th:hover,
.datepicker table tr th.focused,
.datepicker table .day:hover,
.datepicker table .day.focused {
  background: rgba(255, 0, 0, 0.4);
  cursor: pointer;
}

.datepicker table .day.active {
  background: #ffa500;
  cursor: pointer;
}

.datepicker table .dow:hover,
.datepicker table .dow.focused {
  background: none !important;
  cursor: default !important;
}

/* botones siguiente, atras */
.elegir-fecha .datepicker .next,
.elegir-fecha .datepicker .prev {
  background-repeat: no-repeat;
  background-size: 40px;
  cursor: pointer;
}

.elegir-fecha .datepicker .next {
  background-image: url("../recursos/png/reservar/boton_calendario_der.png");
  background-position: 20px center;
  border-radius: 0 100% 100% 0;
}

.elegir-fecha .datepicker .prev {
  background-image: url("../recursos/png/reservar/boton_calendario_izq.png");
  background-position: 20px center;
  border-radius: 100% 0 0 100%;
}

/* fechas deshabilitadas*/
.datepicker table tr td.disabled,
.datepicker table tr td.disabled:hover {
  background: none !important;
  color: #3e3e3e;
  cursor: default !important;
}

/* seleccion de meses, años*/
.datepicker table tr td span {
  width: 23%;
  line-height: 54px;
  float: left;
  margin: 1%;
  cursor: pointer;
  border-radius: 4px;
}

.datepicker table tr td span:hover,
.datepicker table tr td span.focused {
  background: rgba(255, 0, 0, 0.4);
  cursor: pointer;
}

/* meses, años deshabilitados */
.datepicker table tr td span.disabled,
.datepicker table tr td span.disabled:hover {
  background: none;
  color: #3e3e3e;
  cursor: default;
}

/* seleccionar horario */
.elegir-horario {
  border: 1px solid #fdfcfc;
  padding-right: 10px;
  padding-left: 10px;
}

.elegir-horario h2,
.elegir-horario h3 {
  font-size: 24px;
}

.elegir-horario .title {
  color: #f20147;
}

.elegir-horario table {
  margin: auto;
  margin-top: -20px;
}

.elegir-horario tr td {
  border: 1px solid #fdfcfc;
  width: 140px;
  padding: 10px 5px;
  position: relative;
  font-size: 1.35em;
}

.elegir-horario tr:first-child td {
  border-top: none;
}

.elegir-horario tr:last-child td {
  border-bottom: none;
}

.elegir-horario tr td:nth-child(2n + 0) {
  border-right: none;
}

.elegir-horario tr td:nth-child(2n + 1) {
  border-left: none;
}

.elegir-horario tr td img {
  max-width: 76.5%;
  position: absolute;
  top: 14%;
  left: 10%;
  transform: rotate(-12deg);
  -webkit-transform: rotate(-12deg);
  -moz-transform: rotate(-12deg);
  -ms-transform: rotate(-12deg);
  -o-transform: rotate(-12deg);
}

.elegir-horario .btns {
  display: block;
  width: 100%;
  color: #fff;
  font-size: 0.8em;
  font-family: bold;
  text-decoration: none;
}

.elegir-horario .btn-reserva-used {
  color: rgba(0, 0, 0, 0);
}

.elegir-horario .btn-reserva {
  transition: color 0.5s;
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  -ms-transition: color 0.5s;
  -o-transition: color 0.5s;
}

.elegir-horario .btn-reserva:hover {
  color: #ffa500;
  cursor: pointer;
}

/* formulario de reserva */
#form-reserva h1 {
  font-size: 2em;
  margin: 0;
}

#form-reserva p {
  font-size: 0.8em;
  max-width: 335px;
  text-align: justify;
  margin: auto;
}

.form-reserva .block {
  /* display: inline-block;
  margin: 0px 20px; */
  vertical-align: top;
  text-align: left;
}

.form-reserva .info-block {
  margin-top: 12px;
}

.form-reserva .block h2 {
  padding: 15px 20px;
  border: 2px solid #000;
}

.form-reserva .block p {
  margin: 0px;
  font-weight: 600;
}

.form-reserva .block label {
  display: block;
  width: auto;
  font-size: 0.8em;
  margin: 0 0 6px 0;
}

.form-reserva .block input[type="text"],
.form-reserva .block input[type="email"],
.form-reserva .block input[type="submit"],
.form-reserva .block select,
.form-reserva .block textarea {
  display: block;
  appearance: none;
  -webkit-appearance: none;
  border: none;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
  margin: 0 0 14px 0;
  padding: 8px 10px;
  width: 260px;
  background-color: #fdfcfc;
  border-radius: 10px;
  font-size: 0.8em;
  font-family: inherit;
}

.form-reserva .block select {
  color: #858585;
}

.form-reserva .block select:valid {
  color: #000;
  /* color cuando ya eligió una opción */
}

.form-reserva .block .submit-btn {
  background-color: #ffc300 !important;
  transition: background 0.5s;
  cursor: pointer;
  -webkit-transition: background 0.5s;
  -moz-transition: background 0.5s;
  -o-transition: background 0.5s;
  -ms-transition: background 0.5s;
}

.form-reserva .block .submit-btn:hover {
  background-color: #de2345 !important;
  -webkit-transform: scale(0.9, 0.9);
  /* Safari and Chrome */
  -moz-transform: scale(0.9, 0.9);
  /* Firefox */
  -ms-transform: scale(0.9, 0.9);
  /* Microsoft Edge */
  -o-transform: scale(0.9, 0.9);
  /* Opera */
  transform: scale(0.9, 0.9);
  /* Standard syntax */
}

@media screen and (max-width: 768px) {
  .form-reserva {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .form-reserva .block label {
    display: block;
    width: 100%;
    margin: 0 0 6px 0;
  }

  .form-reserva .block input[type="text"],
  .form-reserva .block input[type="email"],
  .form-reserva .block input[type="submit"],
  .form-reserva .block select,
  .form-reserva .block textarea {
    width: 100%;
  }

  .info-block p {
    display: inline-block;
  }

  th {
    padding: 12px 5px;
  }
}

/* table Calendario */
table {
  margin: auto;
  text-align: center;
}

th {
  padding: 12px 16px;
}

@media screen and (max-width: 768px) {
  th {
    padding: 12px 5px;
  }
}

/* (Eliminado) estilos del antiguo popout de TyC */

.field-error {
  color: #f44336;
  font-size: 12px;
  margin-top: 4px;
}

.toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  padding: 12px 24px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

/* Etiquetas de aceptación (checkbox) */
.form-reserva .block .check-label {
  gap: 6px;
}

/* Link de Términos y condiciones */
.tyc-link {
  margin: 12px;
}

.tyc-link a {
  color: #ffc300;
  text-decoration: underline;
  font-weight: 600;
  font-size: 12px;
}

.tyc-link a:hover {
  color: #ffda52;
  text-decoration-thickness: 2px;
}
