/* ── GO LIVE BUTTON — 3 states: idle / pending / live ── */
/* idle: green outline only — never filled just from a click */
#dash-go-live-btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 10px;
  background: none;
  border: 1.5px solid rgba(34, 197, 94, .4);
  color: rgba(34, 197, 94, .85);
  cursor: pointer;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: .06em;
  transition: all .2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative
}

#dash-go-live-btn::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .55);
  flex-shrink: 0;
  transition: all .2s
}

#dash-go-live-btn:not(.gl-pending):not(.gl-live):hover {
  background: rgba(34, 197, 94, .07);
  border-color: rgba(34, 197, 94, .65)
}

/* pending: amber warning — triggered by user click, NOT confirmed yet */
#dash-go-live-btn.gl-pending {
  border-color: rgba(245, 158, 11, .55);
  color: #92400e;
  background: rgba(245, 158, 11, .07)
}

#dash-go-live-btn.gl-pending::before {
  background: #f59e0b;
  animation: none
}

#dash-go-live-btn.gl-pending:hover {
  background: rgba(245, 158, 11, .13);
  border-color: rgba(245, 158, 11, .75)
}

/* live: solid green — ONLY set by dConfirmGoLive() when server confirms */
#dash-go-live-btn.gl-live {
  background: #22c55e;
  border-color: #22c55e;
  color: #fff
}

#dash-go-live-btn.gl-live::before {
  background: #fff;
  animation: goLivePulse .85s ease-in-out infinite alternate
}

@keyframes goLivePulse {
  from {
    opacity: .45;
    transform: scale(.8)
  }

  to {
    opacity: 1;
    transform: scale(1.2)
  }
}
