/* section: pill container | purpose: relative anchor for menus */
.pillSelect{
  position: relative;
}

/* section: pill base | purpose: shared pill appearance */
.pill{
  height: var(--pillH);
  border-radius: var(--radiusPill);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 var(--pillPadX);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.10);
  flex: 0 0 auto;
}

/* section: pill variants | purpose: size and role modifiers */
.pill--search{
  min-width: 250px;
}

/* section: pill icon | purpose: leading icon styling */
.pill__icon{
  font-size: 14px;
  opacity: 0.7;
}

/* section: pill input | purpose: search + text entry */
.pill__input{
  border: 0;
  outline: none;
  background: transparent;
  font-family: 'Fixture', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  width: 100%;
  font-size: 16px;
}

/* section: pill clear | purpose: clear input action */
.pill__clear{
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  opacity: 0.55;
  padding: 0 4px;
}

/* section: pill label | purpose: filter title text */
.pill__label{
  font-family: 'Fixture', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  font-synthesis: none;
  font-stretch: normal;
  font-variation-settings: 'wdth' 100, 'wght' 500;
  font-size: var(--pillFont);
  font-weight: 600;
  line-height: 1;
  color: rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

/* section: pill caret | purpose: dropdown indicator */
.pill__caret{
  font-size: 10px;
  opacity: 0.55;
  margin-left: var(--evIconLeft);
}

/* section: pill indicator | purpose: selection status dot */
.pill__dot{
  width: var(--dotSize);
  height: var(--dotSize);
  border-radius: 999px;
  margin-left: 6px;
  background: transparent;
  box-shadow: none;
}

.filter-pill[data-has-selection="true"] .pill__dot{
  background: #D16C4E;
  box-shadow: 0 0 0 2px rgba(209, 108, 78, 0.45);
}

/* section: menu container | purpose: floating filter menu */
.menu{
  position: fixed;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  padding: 10px;
  min-width: 240px;
}

/* section: menu header | purpose: title + clear action */
.menu__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px 10px;
}

.menu__title{
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 12px;
  opacity: 0.7;
}

.menu__clear{
  border: 0;
  background: transparent;
  font-weight: 800;
  font-size: 12px;
  color: var(--green);
}

/* section: menu list | purpose: checkbox list layout */
.menu__list{
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px;
  max-height: 50vh;
  overflow: auto;
}

.menu__item{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.menu__item input{
  width: 16px;
  height: 16px;
}

/* section: menu empty | purpose: no-results state */
.menu__empty{
  padding: 10px;
  color: rgba(0, 0, 0, 0.5);
  font-size: 13px;
}
