/**
 * ppaplus — styles non couverts par Tailwind :
 * animations des overlays/modals, slider du simulateur de palier.
 * Tout le reste (layout, couleurs, typo) est en classes tw- dans les .tpl.
 */

/* ── Overlays / modals ─────────────────────────────── */

.ppaplus-overlay {
  animation: ppaplusFade 0.22s ease;
}

.ppaplus-modal {
  animation: ppaplusPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ppaplusFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes ppaplusPop {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

body.ppaplus-modal-open {
  overflow: hidden;
}

/* ── Simulateur de palier (page abonnement pro) ────── */

input[type="range"].ppaplus-range {
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  outline: none;
}

input[type="range"].ppaplus-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #059669;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

input[type="range"].ppaplus-range::-moz-range-thumb {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #059669;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}
