/* ───────── CONTENEDOR DEL LISTADO ───────── */

.dp-form-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin: 0 auto 80px;
  max-width: 1200px;
  padding: 0 32px;
}

/* ───────── TARJETA INDIVIDUAL ───────── */

.dp-form-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid #fdf4ee;
  /* Borde sutil por defecto */
  border-radius: 12px;
  /* Bordes más suaves */
  padding: 1.5rem;
  text-decoration: none !important;
  color: #333 !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
  cursor: pointer;
  height: 100%;
}

/* Borde naranja al seleccionar o pasar el ratón */
.dp-form-card:hover {
  /* border-color: #f5a623; */
  transform: translateY(-2px);
}

.dp-form-card.dp-selected {
  border-color: #f5a623;
  /* transform: translateY(-2px); */
}

.dp-form-card.dp-selected {
  /* Mantenemos el fondo blanco para un look más limpio */
  background: #fff;
}

/* Tipografía dentro de la tarjeta */
.dp-form-title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #222;
}

.dp-form-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  line-height: 24px;
}

.dp-custom-title {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 24px;
}

.dp-description {
  margin: 0;
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  line-height: 24px;
}

.dp-form-description {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* ───────── INSIGNIAS (BADGES) ───────── */

.dp-badges {
  margin-top: 16px;
  /* Empuja las insignias a la parte inferior de la tarjeta */
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Estilo unificado para todas las insignias */
.dp-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 50px;
  /* Forma de píldora */
  background: transparent;
  border: 1px solid #EADED5;
  color: #747577;
}

/* Ya no se necesitan los estilos específicos .dp-badge-city, etc. */


/* ───────── BARRA FIJA DE SELECCIÓN ───────── */

#dp-selected-box {
  position: fixed;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  background: #fff;
  /* border-radius: 12px; */
  /* box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1); */
  border-top: 1px solid #e0e0e0;
  z-index: 99999999;
  padding: 1rem 1.5rem;
  display: none;
  /* Se muestra con JS */
}

/* Contenedor interior para alinear texto y botón */
.dp-selected-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Texto del contador (ej: "3 actividades seleccionadas") */
#dp-selected-box h3 {
  margin: 0;
  color: #333;
  white-space: nowrap;
}

#dp-selected-box h3 .dp-selected-count-number {
  font-size: 1.25rem;
  font-weight: 600;
}

#dp-selected-box h3 .dp-selected-count-text {
  font-size: 1.1rem;
  font-weight: 400;
}

/* Botón "Apuntarme" */
#dp-apply {
  padding: 0.7rem 1.8rem !important;
  background: #f5a623 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background-color 0.15s !important;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

#dp-apply:hover:enabled {
  background: #e09418 !important;
}

#dp-apply:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* Ajustes para móvil */
@media(max-width: 767.98px) {
  .dp-selected-inner {
    flex-direction: column;
    align-items: center;
    /* Centra el contenido en móvil */
    gap: 1rem;
    text-align: center;
  }
}