/* ============================================================
   ZOMburgers Wait Widget
   Palette: gold #E8B358 | accent gold #C9A050 | black #000
   ============================================================ */

.ww {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-left: 4px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  max-width: 48rem;
  margin: 0 auto;
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.4s ease, background 0.4s ease;
}

/* ---- dot ---- */
.ww-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
}

/* ---- text block ---- */
.ww-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.ww-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1;
}

.ww-label {
  font-family: 'Bebas Neue', 'Righteous', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1.1;
}

/* ---- minutes badge ---- */
.ww-minutes {
  flex-shrink: 0;
  font-family: 'Bebas Neue', 'Righteous', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: #E8B358;
  white-space: nowrap;
}

/* ============================================================
   Status states
   ============================================================ */

/* low → green */
.ww--low {
  border-color: #4ade80;
  color: #4ade80;
}

/* moderate → gold (brand) */
.ww--moderate {
  border-color: #E8B358;
  color: #E8B358;
}

/* busy → red */
.ww--busy {
  border-color: #f87171;
  color: #f87171;
}

/* crazy → animated red pulse */
.ww--crazy {
  border-color: #ef4444;
  color: #ef4444;
  animation: ww-crazy-border 1.2s ease-in-out infinite alternate;
}

.ww--crazy .ww-dot {
  animation: ww-dot-pulse 0.8s ease-in-out infinite alternate;
}

/* unknown → subtle gray, no minutes shown */
.ww--unknown {
  border-color: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.02);
}

.ww--unknown .ww-label {
  color: rgba(255, 255, 255, 0.35);
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.ww--unknown .ww-eyebrow {
  display: none;
}

/* ============================================================
   Keyframes
   ============================================================ */

@keyframes ww-crazy-border {
  from { border-color: #ef4444; background: rgba(239, 68, 68, 0.06); }
  to   { border-color: #fca5a5; background: rgba(239, 68, 68, 0.12); }
}

@keyframes ww-dot-pulse {
  from { transform: scale(1);   opacity: 1; }
  to   { transform: scale(1.5); opacity: 0.6; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (min-width: 640px) {
  .ww {
    padding: 16px 24px;
    gap: 18px;
  }

  .ww-label {
    font-size: 1.5rem;
  }

  .ww-minutes {
    font-size: 1.875rem;
  }
}
