/*-----------------PAGE RESERVAS------------------------------ */
.reserva-hero {
  text-align: center;
  background-color:  #f5a3c3b0;
  padding: 2rem 0;
   font-family: "Dancing Script", cursive;
   font-size: 1.6rem;
   text-shadow: 0em .1em .1em rgb(0 0 0 / 65%);
}
.reserva-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem auto;
}

.reserva-left, .reserva-right {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.reserva-select, .reserva-input {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d8a9b4;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.horas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hora-btn {
  flex: 1 0 30%;
  background: #fbdde1;
  border: none;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.hora-btn.active {
  background: #d77e9d;
  color: white;
}

.btn-reservar {
  background: linear-gradient(to right, #f78da7, #f5a6c7);
  border: none;
  color: white;
  padding: 1rem 2rem;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  display: block;
  margin-top: 1.5rem;
  width: 100%;
}

@media (max-width: 768px) {
  .reserva-container {
    grid-template-columns: 1fr;
  }
}

/* === ESTILOS VISUALES PARA SECCIÓN DE TERAPEUTAS === */
.terapeutas-lista {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.terapeuta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  background: white;
}

.terapeuta-card:hover {
  border-color: #da76a8;
  background-color: #faf7ff;
}

.terapeuta-card.activo {
  border-color: #da76a8;
  background: #f8f5ff;
  box-shadow: 0 0 0 2px #fcdce2 inset;
}

.terapeuta-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.terapeuta-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #eee;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c94e8c;
  font-size: 1.5rem;
}

.ver-perfil {
  font-size: 0.9rem;
  color: #8a6cf7;
  text-decoration: none;
}

.ver-perfil:hover {
  text-decoration: underline;
}

.terapeuta-select-btn {
  background: #f3f1ff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #000;
  transition: all 0.2s ease;
}

.terapeuta-card.activo .terapeuta-select-btn {
  background: #f78fb3;
  color: white;
}

.terapeuta-check {
  color: #8a6cf7;
  font-size: 1.5rem;
  display: none;
}

.terapeuta-card.activo .terapeuta-check {
  display: block;
}

.label-terapeuta {
  display: block;
  font-weight: 600;
  font-size: 1.3rem;
  color: #000; /* tu color lila principal */
  margin-bottom: 0.5rem;
  position: relative;
}

.label-terapeuta::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
}


/* =========================================================
   OPCIONES DE SERVICIO (VARIACIONES) - ESTILO UNIFICADO
========================================================= */

#servicio-opciones {
  margin-top: 20px;
  background-color: #fff6f8;
  border: 1px solid #f5b8c4;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(245, 184, 196, 0.15);
}

#servicio-opciones h4 {
  color: #c45b77;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

/* Contenedor de las opciones */
.opciones-lista {
  display: flex;
  flex-direction: column; /* ✅ fuerza a que se apilen verticalmente */
  gap: 15px;
}

/* Cada tarjeta individual */
.opcion-card {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1px solid #f3c2cc;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
}

.opcion-card:hover {
  border-color: #e77a95;
  background-color: #fff2f5;
  box-shadow: 0 3px 8px rgba(231, 122, 149, 0.2);
}

.opcion-card input[type="radio"] {
  margin-top: 5px;
  accent-color: #e77a95; /* color rosa del radio button */
}

/* Contenido interno (texto y precio) */
.opcion-contenido {
  flex: 1;
}

.opcion-contenido h5 {
  margin: 0;
  color: #b13f63;
  font-weight: 600;
  font-size: 1rem;
}

.opcion-contenido p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #5e5e5e;
  line-height: 1.4;
}

.opcion-contenido .precio {
  display: inline-block;
  margin-top: 5px;
  color: #000;
  font-weight: bold;
  font-size: 0.95rem;
}

/* Estado seleccionado */
.opcion-card input[type="radio"]:checked + .opcion-contenido,
.opcion-card:has(input[type="radio"]:checked) {
  background-color: #ffe9ee;
  border-color: #e77a95;
  box-shadow: 0 2px 8px rgba(231, 122, 149, 0.25);
}




/* ------------DETALLE DE SERVICIO-----------*/
.servicio-detalle {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff5f8;
  border: 1px solid #f4b6c2;
  border-radius: 15px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.servicio-detalle-img img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid #f8c9d4;
}

.servicio-detalle-info h3 {
  font-family: "Lato";
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #a64d79;
}

.servicio-detalle-info p {
  font-family: "Lato";
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  margin-bottom: 8px;
}

.servicio-precio {
  font-weight: bold;
  color: #e25a8a;
}

@media (max-width: 768px) {
  .servicio-detalle {
    flex-direction: column;
    text-align: center;
  }
  .servicio-detalle-img img {
    width: 100%;
    height: 200px;
  }
}

/*---------- Calendario---------*/
.ui-datepicker {
  background: #fffafc;
  border: 1px solid #f5b5c0;
  border-radius: 10px;
  padding: 10px;
  font-family: "Lato";
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ui-datepicker-calendar td a {
  background: #fff;
  border-radius: 6px;
  color: #555;
}

.ui-datepicker-calendar td a:hover {
  background: #f9c3d1;
  color: #fff;
}

.reserva-personal {
  margin-top: 1.5rem;
}

.reserva-personal select {
  width: 100%;
  border: 1px solid #f5b5c0;
  border-radius: 8px;
  padding: 0.6rem;
  background-color: #fffafc;
}

/* ===== Ajustes visuales del selector de hora (Flatpickr) ===== */
.flatpickr-input {
  width: 100%;
  border: 1px solid #d8a9b4;
  border-radius: 10px;
  padding: 0.7rem;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
}

.flatpickr-input:focus {
  outline: none;
  border-color: #f78da7;
  box-shadow: 0 0 5px rgba(247, 141, 167, 0.3);
}

/* Estilo del popup de flatpickr */
.flatpickr-calendar {
  background: #fffafc;
  border: 1px solid #f5b5c0;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  font-family: "Lato", sans-serif;
}

.flatpickr-time {
  border-top: 1px solid #f5b5c0;
}

/* ===== Versión móvil ===== */
@media (max-width: 768px) {
  .flatpickr-input {
    font-size: 1.2rem;
    padding: 0.9rem;
    width: 98%;
  }

  .flatpickr-calendar {
    font-size: 1rem;
    width: 100% !important;
  }

  .flatpickr-time input {
    font-size: 1rem;
  }

  .flatpickr-hour,
  .flatpickr-minute {
    font-weight: bold;
    color: #000;
  }
}


