/* Fondo oscuro y centrado */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
  padding: 16px;
  overflow-y: auto;
}

/* Caja del modal */
.traveler-modal-box {
  background: white;
  max-width: 720px;
  width: 100%;
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-height: 90vh;
  overflow-y: auto;
}

/* Título de sección */
.section-title {
  font-weight: 600;
  font-size: 16px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 6px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
}

/* Grupo de control (adultos, niños, habitaciones) */
.guest-control-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

/* Etiqueta de control */
.guest-label {
  flex: 1 1 auto;
  font-weight: 500;
  color: #444;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 140px;
  font-size: 1.1rem;;
}

/* Input numérico */
.guest-input {
  width: 152px;
  height: 38px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-weight: 600;
  font-size: 16px;
}

/* Botones + y - */
.guest-btn {
  width: 38px;
  height: 38px;
  font-size: 18px;
  font-weight: bold;
  color: #3366cc;
  background: #f9f9f9;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.guest-btn:hover {
  background: #eaeaea;
  box-shadow: 0 0 2px rgba(0,0,0,0.2);
}

/* Texto auxiliar */
.sub-label {
  font-size: 12px;
  color: #777;
  font-weight: normal;
}

/* Selects de edades de niños */
#childrenAges {
  margin-top: 10px;
}

#childrenAges .col-auto {

  max-width: 30%;
  min-width: 80px;
  padding-right: 8px;
  padding-bottom: 8px;
}

#childrenAges select {
  width: 100%;
 font-weight: 600;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 12px;
  background: #fff;
  height: 55px;
}

/* Botones Aplicar / Cancelar */
.w-45 {
  width: 48%;
}

.d-flex.justify-content-between {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* MEDIA QUERIES: Ajustes en móviles */
@media (max-width: 576px) {
  .traveler-modal-box {
    max-width: 95%;
    padding: 20px 16px;
  }

  .guest-control-group {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .guest-label {
    min-width: 100%;
    margin-bottom: 6px;
  }

  .guest-input {
    width: 60%;
  }

  

  .w-45 {
    width: 100%;
  }

  .d-flex.justify-content-between {
    
    align-items: stretch;
  }

  .container-children{
    flex-direction: row !important;
  }
}

#traveler-summary {
  font-size: 1.25rem; /* o usa 1.5rem para aún mayor */
  color:#a1a0a0;
  font-family: 'Oswald', sans-serif;
}
