/* =========================================================
   MAPA · FILTROS
   ========================================================= */

.mapa-filters-shell{
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: -52px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(90,255,170,.14);
  background:
    radial-gradient(circle at top right, rgba(48,163,116,.10), transparent 34%),
    linear-gradient(180deg, rgba(13,18,22,.96) 0%, rgba(9,13,16,.96) 100%);
  box-shadow:
    0 14px 36px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.mapa-filters-shell::before{
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(54,255,154,.80), rgba(54,255,154,.10));
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.mapa-filters-header{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mapa-filters-title{
  font-size: .98rem;
  font-weight: 800;
  letter-spacing: .015em;
  color: #f5fbf8;
  line-height: 1.08;
}

.mapa-filters-row{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.05);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

/* =========================================================
   DÍAS + HORAS
   ========================================================= */

.mapa-days-side{
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.mapa-hours-side{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
}

.mapa-days-wrap{
  display: flex;
  align-items: center;
  min-width: 0;
}

.mapa-days-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mapa-hours-slider-wrap{
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 2px 4px 2px;
}

.mapa-inline-separator{
  flex: 0 0 1px;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,.02),
    rgba(111,255,182,.18),
    rgba(255,255,255,.02)
  );
  opacity: .9;
}

.mapa-inline-separator-days{
  margin: 2px 2px;
}

/* =========================================================
   BOTONES DE DÍA
   ========================================================= */

.mapa-daychip{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 42px;
  height: 42px;
  padding: 0;
  flex: 0 0 auto;
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: rgba(236,245,240,.82);
  font-weight: 700;
  transition: all .16s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

.mapa-daychip:hover{
  transform: translateY(-1px);
  border-color: rgba(111,255,182,.24);
  background: rgba(111,255,182,.08);
  color: #f7fffb;
}

.mapa-daychip--active{
  border-color: rgba(83,255,173,.44);
  background: linear-gradient(180deg, rgba(83,255,173,.24), rgba(83,255,173,.14));
  color: #effff6;
  box-shadow:
    0 0 0 1px rgba(83,255,173,.10),
    0 8px 18px rgba(31,160,103,.16);
}

.mapa-daychip-dow{
  font-size: 11px;
  line-height: 11px;
  font-weight: 800;
}

.mapa-daychip-date{
  font-size: 9px;
  line-height: 9px;
  opacity: .92;
}

/* =========================================================
   RANGE SLIDER · MAPA
   ========================================================= */

#hour-range-slider-mapa{
  width: 100%;
  min-width: 0;
  padding: 4px 2px 24px 2px;
}

#hour-range-slider-mapa .rc-slider{
  position: relative;
  width: 100%;
  height: 16px;
  padding: 4px 0;
}

#hour-range-slider-mapa .rc-slider-rail{
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  box-shadow:
    inset 0 1px 1px rgba(0,0,0,.22),
    inset 0 -1px 0 rgba(255,255,255,.02);
}

#hour-range-slider-mapa .rc-slider-track{
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(66,235,154,.42), rgba(83,255,173,.58));
  box-shadow:
    0 0 8px rgba(83,255,173,.10),
    0 0 14px rgba(83,255,173,.05);
}

#hour-range-slider-mapa .rc-slider-dot{
  width: 8px;
  height: 8px;
  bottom: -1.5px;
  margin-left: -4px;
  border: none;
  border-radius: 999px;
  background: rgba(108,255,92,.95);
  box-shadow:
    0 0 0 1px rgba(108,255,92,.08),
    0 0 7px rgba(108,255,92,.20);
}

#hour-range-slider-mapa .rc-slider-dot.rc-slider-dot-active{
  background: rgba(108,255,92,.98);
  box-shadow:
    0 0 0 1px rgba(108,255,92,.14),
    0 0 9px rgba(108,255,92,.26);
}

#hour-range-slider-mapa .rc-slider-handle{
  width: 16px;
  height: 16px;
  margin-top: -5.5px;
  border: 2px solid rgba(83,255,173,.72);
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,.14), transparent 45%),
    linear-gradient(180deg, #10231b, #0d1a15);
  box-shadow:
    0 0 0 3px rgba(83,255,173,.08),
    0 0 10px rgba(83,255,173,.10),
    0 6px 14px rgba(0,0,0,.24);
  opacity: 1;
  transition:
    transform .14s ease,
    border-color .14s ease,
    box-shadow .14s ease;
}

#hour-range-slider-mapa .rc-slider-handle:hover{
  transform: scale(1.05);
  border-color: rgba(83,255,173,.88);
  box-shadow:
    0 0 0 4px rgba(83,255,173,.10),
    0 0 12px rgba(83,255,173,.14),
    0 6px 14px rgba(0,0,0,.24);
}

#hour-range-slider-mapa .rc-slider-handle:focus{
  border-color: rgba(83,255,173,.92);
  box-shadow:
    0 0 0 4px rgba(83,255,173,.12),
    0 0 14px rgba(83,255,173,.16),
    0 6px 14px rgba(0,0,0,.24);
}

#hour-range-slider-mapa .rc-slider-mark{
  top: 21px;
  left: 0;
  width: 100%;
}

#hour-range-slider-mapa .rc-slider-mark-text{
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(223,234,228,.74);
  transition: color .14s ease, opacity .14s ease;
  transform: translateX(-50%);
  white-space: nowrap;
  letter-spacing: .01em;
}

#hour-range-slider-mapa .rc-slider-mark-text:hover{
  color: rgba(235,247,241,.90);
}

#hour-range-slider-mapa .rc-slider-mark-text-active{
  color: rgba(235,255,244,.96);
  font-weight: 800;
}

#hour-range-slider-mapa .rc-slider-mark-text:first-child,
#hour-range-slider-mapa .rc-slider-mark-text:last-child{
  opacity: .94;
}

/* =========================================================
   MAPA CONTENT
   ========================================================= */

#mapa-container{
  margin-top: 8px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px){
  .mapa-filters-row{
    flex-direction: column;
    align-items: stretch;
  }

  .mapa-inline-separator-days{
    flex: 0 0 1px;
    width: 100%;
    min-height: 1px;
  }
}

@media (max-width: 768px){
  .mapa-filters-shell{
    margin-top: -38px;
    margin-bottom: 8px;
    padding: 12px;
    border-radius: 16px;
  }

  .mapa-daychip{
    width: 38px;
    height: 38px;
  }
}