/* confirmacion-webpay.css */

.mp-confirm-wrap { padding: 0 10px; }

.mp-confirm-card{
  border: 0;
  border-radius: 6px;
  overflow: hidden;
}

.mp-confirm-alert{
  border-radius: 0;
  margin-bottom: 0;
  padding: 18px 18px;
}

/* Variantes */
.mp-alert-success { border-left: 6px solid #ffffff; background-color: #89b8a7; }
.mp-alert-warn    { border-left: 6px solid #ffffff; background-color: #89b8a7; }
.mp-alert-danger  { border-left: 6px solid #ffffff; background-color: #89b8a7; }

.mp-status{
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.mp-status-icon{
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #ffffff;
  color: #89b8a7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: 0 0 auto;
}

.mp-status-text{ text-align: center; max-width: 920px; }

.mp-status-title{
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 6px;
  color: #ffffff;
}

.mp-status-sub{
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.35;
}

/* KV */
.mp-kv{
  display: flex;
  justify-content: center;
  gap: 14px;
  width: 100%;
  margin: 18px auto 0;
}

.mp-kv-item{
  width: 170px;
  text-align: center;
  border: 1px solid #d7e3df;
  border-radius: 6px;
  padding: 14px 10px;
  background: #fff;
}

.mp-kv-label{
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(17, 17, 17, 0.65);
}

.mp-kv-value{
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin-top: 3px;
}

/* títulos */
.mp-block-title{
  font-size: 16px;
  font-weight: 700;
  color: rgba(17, 17, 17, 0.82);
  margin: 8px 0 10px;
}

/* caja */
.mp-box{
  background: #f8f9fa;
  border-radius: 8px;
  padding: 14px 14px;
  border: 1px solid rgba(137, 184, 167, 0.25);
}

.mp-box-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 10px 18px;
}

.mp-row{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(137, 184, 167, 0.30);
}

.mp-row:last-child{ border-bottom: none; }
.mp-row-full{ grid-column: 1 / -1; }

.mp-label{
  font-weight: 600;
  color: rgba(17, 17, 17, 0.70);
  font-size: 14px;
  white-space: nowrap;
}

.mp-value{
  font-weight: 700;
  color: #111111;
  font-size: 14px;
  text-align: right;
  word-break: break-word;
}

.mp-hint{
  color: rgba(17,17,17,.7);
  font-size: 13px;
}

/* =========================
   Progreso minimalista
========================= */
.mp-progress{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 16px 0 6px;
}

.mp-dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(17,17,17,.18);
  transition: background .15s ease, transform .15s ease;
}

.mp-dot.is-done,
.mp-dot.is-active{
  background: rgba(137,184,167,.95);
}

.mp-dot.is-active{
  transform: scale(1.12);
}

/* =========================
   Card único encuesta
========================= */
.mp-survey-wrap{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 15px;
  margin-top: 10px;
}

.mp-survey-card{
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid rgba(17,17,17,.10);
  background: rgba(255,255,255,.96);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.mp-survey-stage{
  position: relative;
  min-height: 240px;
}

/* Steps */
.mp-step{
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}

.mp-step.is-active{
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.mp-step.is-leaving{
  opacity: 0;
  transform: translateY(-6px);
}

/* Loader overlay */
.mp-step-loader{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.85);
  border-radius: 14px;
  z-index: 5;
}

.mp-loader-card{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
}

.mp-spinner{
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(17,17,17,.20);
  border-top-color: rgba(137,184,167,.95);
  animation: mpSpin .7s linear infinite;
}
@keyframes mpSpin{ to { transform: rotate(360deg); } }

.mp-loader-title{
  font-size: 13px;
  font-weight: 800;
  color: rgba(17,17,17,.86);
  line-height: 1.1;
}
.mp-loader-sub{
  font-size: 12px;
  color: rgba(17,17,17,.55);
  margin-top: 1px;
}

/* =========================
   Q1 Caritas
========================= */
.mp-satisfaction{
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 6px 0 0;
}

.mp-satisfaction-box{
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mp-satisfaction-title{
  font-size: 18px;
  font-weight: 800;
  color: #111;
  margin-bottom: 2px;
}

.mp-satisfaction-sub{
  font-size: 13px;
  color: rgba(17,17,17,.60);
  margin-bottom: 14px;
}

.mp-rating{
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.mp-rate{
  position: relative;
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  width: 86px;
  outline: none;
}

.mp-ico{
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform .12s ease, box-shadow .12s ease;
}

.mp-rate-label{
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  color: rgba(17,17,17,.75);
  margin-top: 8px;
}

.mp-selected-check{
  position: absolute;
  top: -6px;
  right: 10px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(17,17,17,.18);
  opacity: 0;
  transform: scale(.92);
  transition: opacity .12s ease, transform .12s ease;
}

.mp-rate:hover .mp-ico{
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.14);
}

.mp-rate.is-selected .mp-ico{
  box-shadow: 0 10px 20px rgba(0,0,0,.16);
  transform: scale(1.02);
}

.mp-rate.is-selected .mp-selected-check{
  opacity: 1;
  transform: scale(1);
}

.mp-rate:focus-visible .mp-ico{
  box-shadow: 0 0 0 3px rgba(137,184,167,.35), 0 8px 18px rgba(0,0,0,.10);
}

/* colores correctos */
.mp-c1{ background:#E41E2B; }
.mp-c2{ background:#F59B2A; }
.mp-c3{ background:#FFD22E; }
.mp-c4{ background:#A9D34A; }
.mp-c5{ background:#3CB54A; }

.mp-q1-microcopy{
  min-height: 20px;
  margin-top: 10px;
  font-size: 13px;
  color: rgba(17,17,17,.70);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .18s ease, transform .18s ease;
}
.mp-q1-microcopy.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.mp-survey-skip{
  border: 0;
  background: none;
  margin-top: 10px;
  padding: 6px 6px;
  font-size: 12px;
  color: rgba(17,17,17,.55);
  text-decoration: underline;
  cursor: pointer;
}
.mp-survey-skip:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(137,184,167,.30);
  border-radius: 8px;
}

/* =========================
   Q2
========================= */
.mp-q2{
  width: 100%;
  max-width: 820px;
  margin: 6px auto 0;
  padding: 0 12px;
  text-align: center;
}

.mp-q2-title{
  font-size: 18px;
  font-weight: 800;
  color: rgba(17,17,17,.88);
  margin-bottom: 14px;
}

.mp-q2-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mp-q2-opt{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  padding: 12px 44px 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.mp-q2-opt:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.mp-q2-ico{
  font-size: 22px;
  line-height: 1;
  width: 26px;
  display: inline-flex;
  justify-content: center;
}

.mp-q2-text{
  font-size: 15px;
  font-weight: 700;
  color: rgba(17,17,17,.82);
}

.mp-q2-check{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 900;
  color: #2f3a35;
  opacity: 0;
}

.mp-q2-opt.is-selected{
  border-color: rgba(137,184,167,.65);
  background: rgba(137,184,167,.12);
  box-shadow: 0 10px 18px rgba(137,184,167,.18);
  transform: scale(1.02);
}
.mp-q2-opt.is-selected .mp-q2-check{ opacity: 1; }

.mp-q2-opt:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(137,184,167,.35);
}

/* =========================
   Q3
========================= */
.mp-q3{
  width: 100%;
  max-width: 820px;
  margin: 6px auto 0;
  padding: 0 12px;
  text-align: center;
}

.mp-q3-title{
  font-size: 18px;
  font-weight: 800;
  color: rgba(17,17,17,.88);
  margin-bottom: 14px;
}

.mp-q3-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mp-q3-opt{
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 58px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.9);
  padding: 12px 44px 12px 16px;
  cursor: pointer;
  text-align: left;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background .12s ease;
}

.mp-q3-opt:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.mp-q3-ico{
  font-size: 24px;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mp-q3-ico-plus{
  font-size: 24px;
  font-weight: 900;
  color: rgba(17,17,17,.55);
}

.mp-q3-text{
  font-size: 15px;
  font-weight: 700;
  color: rgba(17,17,17,.82);
}

.mp-q3-check{
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 900;
  color: #2f3a35;
  opacity: 0;
}

.mp-q3-opt.is-selected{
  border-color: rgba(137,184,167,.65);
  background: rgba(137,184,167,.12);
  box-shadow: 0 10px 18px rgba(137,184,167,.18);
  transform: scale(1.02);
}
.mp-q3-opt.is-selected .mp-q3-check{ opacity: 1; }

.mp-q3-opt:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(137,184,167,.35);
}

/* =========================
   Q4 + estado final
========================= */
.mp-q4{
  width: 100%;
  max-width: 820px;
  margin: 6px auto 0;
  padding: 0 12px;
}

.mp-q4-title{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  font-size: 18px;
  font-weight: 900;
  color: rgba(17,17,17,.88);
  margin-bottom: 12px;
}

.mp-q4-title-ico{
  font-size: 18px;
  line-height: 1;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mp-q4-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.mp-q4-textarea{
  width: 100%;
  resize: vertical;
  min-height: 92px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 10px;
  padding: 12px 12px;
  font-size: 14px;
  color: rgba(17,17,17,.88);
  background: #fff;
  outline: none;
}

.mp-q4-textarea::placeholder{ color: rgba(17,17,17,.45); }

.mp-q4-textarea:focus{
  border-color: rgba(137,184,167,.75);
  box-shadow: 0 0 0 3px rgba(137,184,167,.25);
}

.mp-q4-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.mp-q4-btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0,0,0,.10);
}

.mp-q4-btn[disabled]{
  opacity: .6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.mp-q4-btn-primary,
.mp-q4-btn-secondary{
  background: #2f5f56;
  color: #fff;
}

.mp-q4-help{
  margin-top: 10px;
  font-size: 12px;
  color: rgba(17,17,17,.55);
  text-align: left;
}

/* Estado final */
.mp-submit-state{
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(137,184,167,.35);
  background: rgba(137,184,167,.10);
}

.mp-submit-check{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(17,17,17,.12);
  font-weight: 900;
  margin-bottom: 6px;
}

.mp-submit-title{
  font-size: 14px;
  font-weight: 900;
  color: rgba(17,17,17,.86);
}

.mp-submit-sub{
  font-size: 12px;
  color: rgba(17,17,17,.62);
  margin-top: 2px;
}

/* Responsive */
@media (max-width: 991px){
  .mp-kv{ flex-wrap: wrap; }
  .mp-kv-item{ width: 46%; min-width: 150px; }
  .mp-box-grid{ grid-template-columns: 1fr; }
  .mp-value{ text-align: left; }
  .mp-q2-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px){
  .mp-q2-grid{ grid-template-columns: 1fr; }
  .mp-q3-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 480px){
  .mp-rating{ gap: 14px; }
  .mp-rate{ width: 74px; }
  .mp-ico{ width: 66px; height: 66px; }
  .mp-status-title{ font-size: 22px; }
}
