/*
 * slider-pills.css — Team Portal lib primitive styles.
 *
 * Block 2010 task radar-os--546. Consumer: Slider primitive type='pills'.
 * Also defines global .sl-field--hidden helper for Slider showIf mechanism.
 */

.sl-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.sl-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.sl-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.25);
}

.sl-pill--active {
  background: var(--accent, #4a9eff);
  border-color: var(--accent, #4a9eff);
  color: #fff;
}

.sl-pill--active:hover {
  background: var(--accent, #4a9eff);
}

.sl-pill .fmt-icon {
  width: 18px;
  height: 18px;
}

.sl-pill__label {
  white-space: nowrap;
}

/* Global helper for Slider showIf mechanism — hides field wrapper. */
.sl-field--hidden {
  display: none !important;
}
