/* ============================================================
   FrugalNova - urgency.css
   Slot indicators \00B7  Live-dot \00B7  Form meter
   ============================================================ */

/* ======================================================
   1. HERO URGENCY ROW
   ====================================================== */


/* Pulsing live dot */
.urgency-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f59e0b;
  flex-shrink: 0;
  position: relative;
}

.urgency-live-dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(245, 158, 11, .35);
  animation: urgencyPulse 1.8s ease-out infinite;
}

@keyframes urgencyPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}

.urgency-text {
  font-weight: 400;
  color: #92400e;
  font-size: .78rem;
  white-space: nowrap;
}

.urgency-text strong {
  font-weight: 700;
  color: #b45309;
}

/* Slot pips in hero */
.urgency-slots {
  display: inline-flex;
  gap: .28rem;
  align-items: center;
}

.uslot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-border);
  border: 1.5px solid rgba(26, 46, 68, .08);
  transition: background .3s;
}

.uslot[data-filled="true"] {
  background: #f59e0b;
  border-color: #d97706;
}


/* ======================================================
   2. OFFER BANNER URGENCY INLINE
   ====================================================== */
.offer-urgency-inline {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: rgba(245, 158, 11, .15);
  border: 1px solid rgba(245, 158, 11, .35);
  border-radius: 100px;
  padding: .2rem .8rem;
  font-size: .95rem;
  font-weight: 700;
  color: #92400e;
  letter-spacing: .03em;
  margin-left: .35rem;
  vertical-align: middle;
}


/* ======================================================
   3. CONTACT FORM SLOT METER
   ====================================================== */
.form-slot-meter {
  background: rgba(245, 158, 11, .05);
  border: 1px solid rgba(245, 158, 11, .2);
  border-radius: var(--radius-md);
  padding: .65rem .85rem;
  margin-bottom: 0.8rem;
}

.fsm-top {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .6rem;
  flex-wrap: wrap;
}

.fsm-icon {
  font-size: .9rem;
  flex-shrink: 0;
}

.fsm-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  flex: 1;
}

.fsm-count {
  font-size: .78rem;
  font-weight: 700;
  color: #b45309;
  white-space: nowrap;
}

.fsm-count strong {
  font-size: 1rem;
  color: #92400e;
}

/* Dot bar */
.fsm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.fsm-bar-dots {
  display: flex;
  gap: .4rem;
}

.fsm-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(26, 46, 68, .08);
  border: 1.5px solid rgba(26, 46, 68, .1);
  transition: background .4s, border-color .4s;
}

.fsm-dot--taken {
  background: #f59e0b;
  border-color: #d97706;
  box-shadow: 0 0 6px rgba(245, 158, 11, .4);
}

.fsm-reset-label {
  font-size: .85rem;
  font-weight: 500;
  color: var(--clr-text-light);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Urgency escalation: when only 1-2 slots left, shift to red */
.form-slot-meter.is-critical {
  background: rgba(239, 68, 68, .05);
  border-color: rgba(239, 68, 68, .25);
}

.form-slot-meter.is-critical .fsm-dot--taken {
  background: #ef4444;
  border-color: #dc2626;
  box-shadow: 0 0 6px rgba(239, 68, 68, .35);
}

.form-slot-meter.is-critical .fsm-count { color: #dc2626; }
.form-slot-meter.is-critical .fsm-count strong { color: #b91c1c; }


/* -- Responsive -- */
@media (max-width: 600px) {

  .urgency-slots { display: none; }
  .form-slot-meter { padding: .7rem .9rem; }
}
