/* ==========================================================================
   SmartAGM v2 — Meeting status
   .status-dot--open | --closing | --soon | --tba   (hero calendar list, meeting cards)
   .status-pill--open | --closing | --soon         (label + dot on meeting cards)
   .status-pill--closed                            (label only, completed meetings)
   Status keys come from meeting_status() in home/views.py.
   ========================================================================== */

.status-dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-dot--open {
  background: var(--color-status-open-dot);
}

.status-dot--closing {
  background: var(--color-status-closing-dot);
}

.status-dot--soon {
  background: var(--color-status-soon-dot);
}

.status-dot--tba {
  background: var(--color-status-tba-dot);
}

/* ---- Pill: tinted label holding a .status-dot --------------------------- */

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px var(--space-3);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill .status-dot {
  width: 7px;
  height: 7px;
}

/* Arabic: letter-spacing breaks the joined letters. */
.status-pill:lang(ar) {
  letter-spacing: 0;
}

.status-pill--open {
  background: var(--color-status-open-bg);
  color: var(--color-status-open-text);
}

.status-pill--closing {
  background: var(--color-status-closing-bg);
  color: var(--color-status-closing-text);
}

.status-pill--soon {
  background: var(--color-status-soon-bg);
  color: var(--color-status-soon-text);
}

.status-pill--closed {
  background: var(--color-bg);
  color: var(--color-text-subtle);
}
