/* ═══════════════════════════════════════════════════════════
   Social Proof Badges — Task #1368549
   Adds: Most Popular, Trending (updated), Filing Fast, Today Views counter
   ═══════════════════════════════════════════════════════════ */

/* ── Most Popular badge — gold/emerald gradient outlined pill ── */
.sr2-mostpopular-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  /* Gold/emerald gradient border on white background */
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #f59e0b 0%, #00B37D 100%) border-box;
  border: 1.5px solid transparent;
  color: #b45309;
}

/* ── Trending badge update — 🔥 emoji + label ── */
.sr2-trending-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2em;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.18rem 0.55rem;
  border-radius: 100px;
  white-space: nowrap;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, #00B37D 0%, #059669 100%) border-box;
  border: 1.5px solid transparent;
  color: #00A070;
}

/* ── "X people checked this today" counter ── */
.sr2-today-views {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 500;
  color: #6B7280;
  line-height: 1.3;
  margin: 0.18rem 0.75rem 0.1rem;
  display: flex;
  align-items: center;
  gap: 0.3em;
}

.sr2-today-views::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9CA3AF;
  flex-shrink: 0;
}

/* ── "Filing fast" indicator — pulse dot + emerald text ── */
.sr2-filing-fast {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.28rem 0.75rem 0.1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  color: #00B37D;
}

.sr2-filing-fast-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00B37D;
  flex-shrink: 0;
  animation: sr2FilingFastPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(0, 179, 125, 0.4);
}

.sr2-filing-fast-text {
  line-height: 1;
}

@keyframes sr2FilingFastPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 179, 125, 0.5);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 0 5px rgba(0, 179, 125, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 179, 125, 0);
  }
}

/* ── Respect reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .sr2-filing-fast-dot {
    animation: none;
  }
}
