/**
 * pricing-slider.css — WP plugin pricing slider
 * Exact copy of the settings.css pc-* and pricing-card component styles,
 * so the homepage slider looks identical to the Node.js settings billing tab.
 */

/* ── Pricing card wrapper ────────────────────────────────────────────────── */
.pricing-card {
  background: #fff;
  border: 1px solid #e2e5ed;
  border-radius: 16px;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}

/* price-card--slider: override the homepage.css price-card with the
   premium pricing-card look when it contains the slider */
.price-card.price-card--slider {
  border-radius: 16px;
  padding: 22px;
}

/* ── Card header ─────────────────────────────────────────────────────────── */
.pricing-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pricing-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.pricing-tag--pop {
  background: #2563eb;
  color: #fff;
}

.pricing-tag--one {
  background: #eef0f4;
  color: #5b6478;
}

/* ── Plan name / sub / price ─────────────────────────────────────────────── */
.pricing-plan-name {
  font-size: 21px;
  font-weight: 700;
  margin: 16px 0 2px;
  letter-spacing: -.01em;
  color: #111827;
}

.pricing-plan-sub {
  font-size: 13px;
  color: #8a93a6;
  margin: 0 0 14px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.pricing-price-amt {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1;
  color: #111827;
  transition: color .15s;
}

.pricing-price-per {
  font-size: 13px;
  color: #8a93a6;
  font-weight: 500;
}

.pricing-price-note {
  font-size: 12.5px;
  color: #5b6478;
  margin: 8px 0 0;
  min-height: 18px;
}

/* ── Flex spacer ─────────────────────────────────────────────────────────── */
.pricing-grow {
  flex: 1 1 auto;
}

/* ── Slider block (pc-sliderbox) ─────────────────────────────────────────── */
.pc-sliderbox {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed #e2e5ed;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pc-qtyrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.pc-qtylabel {
  font-size: 12.5px;
  color: #5b6478;
  font-weight: 600;
}

.pc-qtyval {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
}

/* ── Range input ─────────────────────────────────────────────────────────── */
.pc-range-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, #2563eb 0%, #2563eb var(--fill, 2%), #e9ecf3 var(--fill, 2%), #e9ecf3 100%);
  outline: none;
  margin: 8px 0 6px;
  cursor: pointer;
}

.pc-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
  box-shadow: 0 1px 4px rgba(13, 21, 48, .18);
  cursor: pointer;
}

.pc-range-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
  box-shadow: 0 1px 4px rgba(13, 21, 48, .18);
  cursor: pointer;
}

.pc-range-input:focus-visible {
  box-shadow: 0 0 0 3px #bcd0ff;
}

/* ── Scale + presets ─────────────────────────────────────────────────────── */
.pc-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #8a93a6;
  margin-top: 2px;
}

.pc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pc-preset {
  border: 1px solid #e2e5ed;
  background: #fff;
  color: #5b6478;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .12s, color .12s, background .12s;
}

.pc-preset:hover {
  border-color: #bcd0ff;
  color: #2563eb;
}

.pc-preset.active {
  background: #eef3ff;
  border-color: #2563eb;
  color: #2563eb;
}

/* ── Totals box ──────────────────────────────────────────────────────────── */
.pc-totalbox {
  margin-top: 16px;
  background: #fafbfc;
  border: 1px solid #e2e5ed;
  border-radius: 12px;
  padding: 14px 16px;
}

.pc-totalrow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.pc-totalrow+.pc-totalrow {
  margin-top: 8px;
}

.pc-k {
  font-size: 13px;
  color: #5b6478;
}

.pc-v {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.pc-save {
  color: #16a34a;
  font-weight: 700;
}

.pc-totalrow--big .pc-k {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.pc-totalrow--big .pc-v {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.pc-expiry {
  font-size: 12px;
  color: #8a93a6;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Subscriber toggle ───────────────────────────────────────────────────── */
.bes-sub-toggle {
  display: flex;
  align-items: center;
  background: #f3f4f6;
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}

.bes-sub-toggle-btn {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #6b7280;
  background: transparent;
  border: none;
  border-radius: 99px;
  cursor: pointer;
  transition: all .18s;
  font-family: inherit;
  text-align: center;
  white-space: nowrap;
  letter-spacing: .02em;
}

.bes-sub-toggle-btn.active {
  background: #fff;
  color: #111827;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .10);
}