/* Agenda banner — fixed floating bar below the nav in event rooms.
   Shows the currently active agenda item during a live event. */
.agenda-banner {
  align-items: center;
  background-color: var(--color-text);
  border-radius: 99rem;
  color: var(--color-text-reversed);
  display: flex;
  font-size: 0.85rem;
  gap: 0.6em;
  inset-block-start: calc(var(--navbar-height) + var(--block-space-half));
  inset-inline: 0;
  justify-content: center;
  margin-inline: auto;
  max-inline-size: fit-content;
  padding: 0.4em 1.2em;
  pointer-events: auto;
  position: fixed;
  z-index: 3;

  /* Respect sidebar width on desktop */
  .sidebar & {
    @media (min-width: 100ch) {
      inset-inline-end: var(--sidebar-width);
    }
  }
}

/* Pulsing green dot — indicates live/active */
.agenda-banner__dot {
  animation: agenda-pulse 2s ease-in-out infinite;
  aspect-ratio: 1;
  background-color: var(--color-positive);
  block-size: 0.6em;
  border-radius: 50%;
  flex-shrink: 0;
  inline-size: 0.6em;
}

.agenda-banner__desc {
  opacity: 0.7;
}

@keyframes agenda-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
