/* components.css intentionally empty for now (styles live in base.css) */


/* Desktop: move the climb detail sheet (with elevation profile) to a left-side panel */
@media (min-width: 900px){
  #sheetWrap{
    position: fixed;
    left: 16px;
    top: 72px;            /* sits below topbar */
    bottom: 16px;
    width: min(520px, calc(100vw - 32px));
    display: block;
    z-index: 800;
    pointer-events: none; /* enabled when open via JS */
  }
  #sheet{
    height: 100%;
    max-height: none;
    border-radius: 18px;
    transform: translateX(calc(-100% - 16px));
    transition: transform 180ms ease, opacity 180ms ease;
    opacity: 0;
    overflow: auto;
  }
  #sheet.open{
    transform: translateX(0);
    opacity: 1;
  }
}

/* Drawer chips (radius presets) */
.chip{
  appearance:none;
  border: 1px solid rgba(11,15,20,0.14);
  background: rgba(255,255,255,0.65);
  color: rgba(11,15,20,0.82);
  padding: 7px 10px;
  border-radius: 999px;
  font: 600 12px/1 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  letter-spacing: 0.02em;
  cursor: pointer;
}
.chip:hover{ background: rgba(255,255,255,0.78); }
.chip.active{
  border-color: rgba(232,0,111,0.45);
  background: rgba(232,0,111,0.12);
  color: rgba(11,15,20,0.9);
}

/* Hide filters from burger menu (moved to bottom control bar) */
#drawer .drawer-section:has(#minGrade),
#drawer .drawer-section:has(#radiusKm),
#drawer .drawer-section:has(#pickCenterBtn),
#drawer .drawer-section:has(#loadRadiusBtn),
#drawer .drawer-section:has(#clearRadiusBtn){
  display:none;
}
