/* ============================================================
   Theme 1 (default) — extra components
   The sAIve Earth contribution slider lives here on purpose:
   it is theme-1-only chrome. All colors reference the active
   theme's CSS variables, so if theme 2-20 overlays are loaded,
   the slider picks up their palette automatically.
   ============================================================ */

.pm-slider-row {
  padding: 0.35rem 0 0.15rem;
  margin-bottom: 0.25rem;
}

.pm-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  /* filled portion: purple -> blue gradient; unfilled: soft track */
  background: linear-gradient(
    to right,
    var(--primary) 0%,
    var(--secondary) var(--pm-fill, 0%),
    rgba(255, 255, 255, 0.12) var(--pm-fill, 0%),
    rgba(255, 255, 255, 0.12) 100%
  );
  box-shadow:
    inset 0 1px 3px rgba(0, 0, 0, 0.35),
    0 0 12px var(--primary-glow);
}

.pm-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-button, linear-gradient(135deg, var(--primary), var(--secondary)));
  border: 2px solid var(--bg-dark, #0a0a2e);
  box-shadow: 0 0 10px var(--primary-glow), 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: grab;
  transition: transform 0.15s ease;
}
.pm-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); }

.pm-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gradient-button, linear-gradient(135deg, var(--primary), var(--secondary)));
  border: 2px solid var(--bg-dark, #0a0a2e);
  box-shadow: 0 0 10px var(--primary-glow), 0 2px 6px rgba(0, 0, 0, 0.5);
  cursor: grab;
}

.pm-slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.pm-slider-hint {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin: 0.4rem 0 0;
  line-height: 1.4;
}

/* ===== 50/50 modal detail (hidden by default, revealed by the CTA) ===== */
.pm-detail { margin-top: 1.75rem; }
.pm-detail[hidden] { display: none; }
.pm-detail-hr {
  border: none;
  height: 1px;
  background: var(--gradient-divider, rgba(255, 255, 255, 0.15));
  margin: 0 0 1.5rem;
}
.pm-detail-sub { margin-bottom: 1.9rem; }
.pm-detail-sub:last-child { margin-bottom: 0; }
.pm-detail-sub .detail-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}
.pm-detail-sub h4 {
  font-size: 1.25rem;
  margin: 0 0 0.9rem;
  color: var(--text-primary);
}
.pm-detail-sub h5 {
  font-size: 1.02rem;
  margin: 1.2rem 0 0.5rem;
  color: var(--text-primary);
}
.pm-detail-sub h5:first-of-type { margin-top: 0; }
.pm-detail-sub p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 0.9rem;
}
.pm-detail-sub ul {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}
.pm-detail-sub ul li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
/* benefit grid inside the modal (narrower container) */
.pm-detail-sub .benefit-grid { gap: 1rem; }
.pm-detail-sub .benefit-col h5 { margin-top: 0; }
