.musanafest-reservas {
  font-family: "Montserrat", sans-serif;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  color: #333;
}

.reservas-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.seccion {
  width: 100%;
}

.titulo-seccion {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

/* Estilos para la sección de fechas */
.fecha-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.fecha-grupo {
  flex: 1;
  min-width: 300px;
}

.fecha-label {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  font-weight: 500;
}

.fecha-selector {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
}

.selector-dia,
.selector-mes {
  padding: 10px;
  border: none;
  background: white;
  font-size: 16px;
}

.selector-dia {
  width: 80px;
  border-right: 1px solid #ddd;
}

.selector-mes {
  flex: 1;
}

.fecha-info {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

/* Estilos para el recuadro de días en el festival */
.dias-festival-container {
  max-width: 300px;
  margin: 20px auto;
}

.dias-festival-label {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  font-weight: 500;
  text-align: center;
}

.dias-festival-valor-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  border: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
  background-color: white;
}

.dias-festival-valor {
  font-size: 20px;
  font-weight: 700;
  color: #f06292;
}

/* Estilos para la sección de asistentes */
.asistentes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.asistente-grupo {
  flex: 1;
  min-width: 200px;
}

.asistente-label {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  font-weight: 500;
}

.selector-asistentes {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
}

/* Estilos para la sección de alojamiento */
.alojamiento-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.alojamiento-opcion {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 20px;
  position: relative;
}

.alojamiento-opcion label {
  display: flex;
  align-items: center;
  gap: 5px;
}

.info-icon {
  cursor: help;
  color: #666;
  margin-left: 5px;
}

.info-tooltip {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 250px;
  background-color: #333;
  color: white;
  padding: 10px;
  border-radius: 5px;
  font-size: 12px;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.glamping-info {
  font-size: 12px;
  color: #666;
  margin-left: 5px;
}

/* Estilos para la sección de contacto */
.contacto-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.contacto-grupo {
  flex: 1;
  min-width: 300px;
}

.contacto-label {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px 5px 0 0;
  font-weight: 500;
}

.contacto-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 0 0 5px 5px;
  font-size: 16px;
}

.campo-error {
  border-color: #e53935 !important;
  background-color: #ffebee !important;
}

/* Estilos para la sección de observaciones */
.observaciones-container {
  width: 100%;
}

.observaciones-label {
  margin-bottom: 10px;
  font-weight: 500;
}

.observaciones-textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  resize: vertical;
}

/* Estilos para la sección de términos */
.terminos-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
}

.terminos-container input {
  margin-top: 3px;
}

.terminos-link {
  color: #f06292;
  text-decoration: underline;
}

/* Estilos para la sección de precio */
.precio-seccion {
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow: hidden;
}

.precio-header {
  background-color: #f5f5f5;
  padding: 15px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.early-bird-container {
    display: none !important;
  padding: 15px;
  border-bottom: 1px solid #ddd;
  background-color: #fff9c4;
  position: relative;
  text-align: center;
}

.early-bird-tag {
  display: inline-block;
  background-color: #f06292;
  color: white;
  padding: 5px 15px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.early-bird-info {
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

.pago-info {
  padding: 15px;
  border-bottom: 1px solid #ddd;
  font-size: 16px;
  line-height: 1.5;
  background-color: #f5f5f5;
  font-weight: 500;
  text-align: center;
}

.precio-container {
  display: flex;
  flex-wrap: wrap;
}

.precio-total,
.precio-reserva {
  flex: 1;
  min-width: 300px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.precio-total {
  background-color: #f5f5f5;
}

.precio-reserva {
  background-color: #e8f5e9;
}

.precio-label {
  margin-bottom: 10px;
  font-weight: 500;
}

.precio-valor {
  font-size: 24px;
  font-weight: 600;
}

.botones-pago {
  padding: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.boton-pago {
  position: relative;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  min-width: 200px;
  overflow: hidden;
}

.boton-pago:active {
  transform: scale(0.98);
}

.boton-bizum {
  background-color: #f06292;
  color: white;
  box-shadow: 0 4px 6px rgba(240, 98, 146, 0.2);
}

.boton-bizum:hover {
  background-color: #e91e63;
  box-shadow: 0 6px 8px rgba(240, 98, 146, 0.3);
}

.boton-tarjeta {
  background-color: #4caf50;
  color: white;
  box-shadow: 0 4px 6px rgba(76, 175, 80, 0.2);
}

.boton-tarjeta:hover {
  background-color: #388e3c;
  box-shadow: 0 6px 8px rgba(76, 175, 80, 0.3);
}

.boton-pago:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

/* Estilos para el modal de confirmación */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 5px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

/* Añadir estilos para mensajes de éxito y error */
.musanafest-mensaje-exito {
  background-color: #d4edda;
  color: #155724;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  font-weight: 500;
}

.musanafest-mensaje-error {
  background-color: #f8d7da;
  color: #721c24;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  font-weight: 500;
}

/* Estilos para la simulación de pago */
.musanafest-simulacion-pago {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}

.musanafest-simulacion-pago h2 {
  color: #333;
  margin-bottom: 15px;
}

.detalles-pago {
  background-color: white;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 15px;
  margin: 20px 0;
  text-align: left;
}

.botones-simulacion {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .fecha-container,
  .asistentes-container,
  .contacto-container {
    flex-direction: column;
  }

  .fecha-grupo,
  .asistente-grupo,
  .contacto-grupo {
    width: 100%;
  }

  .precio-total,
  .precio-reserva {
    width: 100%;
  }

  .botones-pago {
    flex-direction: column;
    align-items: center;
  }

  .boton-pago {
    width: 100%;
  }

  .modal-content {
    width: 95%;
    margin: 30% auto;
  }

  .botones-simulacion {
    flex-direction: column;
  }
}

/* Añadir estilos para el indicador de carga */
.cargando-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.cargando-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #f06292;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}