/* ------------------------------------------------------------------
   Decorations de credibilite (info / carte / confirmation)
   ------------------------------------------------------------------ */

/* --- Page ADRESSE --- */
.pn-info-card{
  display:flex;
  align-items:center;
  gap:12px;
  width:100%;
  background:linear-gradient(180deg,#f2f9ff 0%,#e9f3fb 100%);
  border:1px solid #cfe3f2;
  border-radius:14px;
  padding:12px 14px;
  margin:0 0 14px;
}
.pn-info-icon{
  flex:0 0 48px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.pn-info-icon img{width:48px;height:auto;display:block}
.pn-info-text{display:flex;flex-direction:column;line-height:1.25;min-width:0}
.pn-info-text strong{font-size:14px;color:#083a5a;font-weight:700}
.pn-info-text span{font-size:12px;color:#5b7285}

.pn-secure{
  display:flex;
  align-items:center;
  gap:7px;
  margin:0 0 16px;
  font-size:12px;
  color:#3f6b52;
}
.pn-secure img{width:15px;height:15px;display:block}

/* --- Page CARTE --- */
.pn-pay-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin:2px 0 16px;
  padding:9px 12px;
  background:#f7fafc;
  border:1px solid #e3eaf0;
  border-radius:12px;
}
.pn-pay-label{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:11.5px;
  font-weight:600;
  color:#3f6b52;
  white-space:nowrap;
}
.pn-pay-label img{width:15px;height:15px;display:block}
.pn-brands{display:flex;align-items:center;gap:6px}
.pn-brands img{height:19px;width:auto;display:block;filter:saturate(.95)}

/* --- Page CONFIRMATION --- */
.pn-ok-circle{
  border-color:#16a34a !important;
  background:#f0fdf4 !important;
  box-shadow:0 0 0 6px rgba(22,163,74,.08);
  animation:pn-pop .45s ease-out;
}
.pn-ok-icon{color:#16a34a !important}
.pn-confirm-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  align-self:flex-start;
  background:#e9f9ef;
  border:1px solid #b7e4c7;
  color:#166534;
  font-size:13px;
  font-weight:700;
  border-radius:999px;
  padding:7px 13px;
  margin:0 0 14px;
  animation:pn-pop .45s ease-out;
}
.pn-confirm-badge img{width:18px;height:18px;display:block}

@keyframes pn-pop{
  0%{transform:scale(.85);opacity:0}
  100%{transform:scale(1);opacity:1}
}

@media (max-width:420px){
  .pn-pay-row{justify-content:center}
  .pn-pay-label{width:100%;justify-content:center}
}

/* --- Confirmation : recapitulatif + frise --- */
.pn-recap{
  width:100%;
  background:#fff;
  border:1px solid #e3eaf0;
  border-radius:14px;
  padding:12px 14px;
  margin:0 0 14px;
  animation:pn-pop .35s ease-out;
}
.pn-recap-head{
  display:flex;justify-content:space-between;align-items:center;
  font-size:12px;font-weight:700;color:#083a5a;
  padding-bottom:9px;margin-bottom:6px;border-bottom:1px dashed #e3eaf0;
  letter-spacing:.01em;
}
.pn-recap-ok{
  background:#e9f9ef;border:1px solid #b7e4c7;color:#166534;
  font-size:10.5px;font-weight:700;border-radius:999px;padding:2px 8px;
}
.pn-recap-row{
  display:flex;justify-content:space-between;gap:10px;
  font-size:12.5px;padding:5px 0;color:#5b7285;
}
.pn-recap-row b{color:#1e1e1e;font-weight:600;text-align:right}
.pn-recap-row:last-child b{color:#166534}

.pn-steps{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:4px;width:100%;margin:0 0 18px;
}
.pn-step{display:flex;flex-direction:column;align-items:center;gap:5px;position:relative}
.pn-step i{
  width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-style:normal;font-size:11px;font-weight:700;
  background:#e9eef3;color:#98a6b3;border:1px solid #dbe3ea;z-index:1;
}
.pn-step span{font-size:10.5px;color:#98a6b3;text-align:center}
.pn-step:not(:last-child)::after{
  content:"";position:absolute;top:10px;left:calc(50% + 12px);right:calc(-50% + 12px);
  height:2px;background:#e3eaf0;
}
.pn-step.done i{background:#16a34a;border-color:#16a34a;color:#fff}
.pn-step.done span{color:#3f6b52}
.pn-step.done::after,.pn-step.active::after{background:#16a34a}
.pn-step.active i{
  background:#fff;border-color:#16a34a;border-width:2px;
  box-shadow:0 0 0 4px rgba(22,163,74,.12);
  animation:pn-pulse 1.6s ease-in-out infinite;
}
.pn-step.active span{color:#166534;font-weight:700}

@keyframes pn-pulse{
  0%,100%{box-shadow:0 0 0 3px rgba(22,163,74,.10)}
  50%{box-shadow:0 0 0 7px rgba(22,163,74,.02)}
}

/* CTA vert sur la confirmation */
html[data-page="confirm"] .pn-cta{
  background:#16a34a !important;
  border-color:#16a34a !important;
  color:#fff !important;
}
html[data-page="confirm"] .pn-cta:hover{background:#15803d !important}
html[data-page="confirm"] form p{color:#6b7280;font-size:12.5px;line-height:1.5}
