/* ================================================================
   TUKIDS — Formulario de donaciones (sin inicio de sesión)
   Usado por donaciones.html (#donForm) y js/donacion-form.js.
   Todo va bajo el prefijo .dfx para no chocar con otros estilos.
   ================================================================ */

.dfx-section {
  background: linear-gradient(180deg, var(--fog) 0%, var(--bone) 100%);
  /* deja espacio para la barra inferior del celular */
  padding-bottom: 72px;
}

.dfx-head { margin-bottom: 28px; }
.dfx-lead {
  max-width: 520px; margin: 12px auto 0;
  font-size: 1rem; color: var(--dfx-muted, var(--carbon-soft));
}
.dfx-perks {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 16px; padding: 0; list-style: none;
}
.dfx-perks li {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 1px solid var(--dfx-line, #E6E6EA);
  border-radius: 9999px; padding: 6px 14px;
  font-size: .82rem; font-weight: 600; color: var(--carbon);
  font-family: var(--font-title);
}

/* ── Tokens propios (claro / oscuro) ── */
.dfx, .dfx-head, .dfx-modal {
  --dfx-surface: var(--white);
  --dfx-line: #E3E3E8;
  --dfx-input-bg: #FFFFFF;
  --dfx-soft: #FAFAFB;
  --dfx-muted: #636369;
  --dfx-tint: var(--coral-bg);
  --dfx-mint-tint: var(--mint-bg);
  --dfx-yellow-tint: var(--yellow-bg);
  --dfx-err: #D23C3C;
  --dfx-err-tint: #FFF1F1;
  --dfx-accent-text: #D4503A;
  --dfx-cta: #E8604C;
  --dfx-cta-hover: #D9503C;
  --dfx-ring: rgba(255, 140, 122, .28);
}
[data-theme="dark"] .dfx,
[data-theme="dark"] .dfx-head,
[data-theme="dark"] .dfx-modal {
  --dfx-line: #3A3E44;
  --dfx-input-bg: #1C1F22;
  --dfx-soft: #2B2F33;
  --dfx-muted: #A9A9B0;
  --dfx-tint: rgba(255, 140, 122, .14);
  --dfx-mint-tint: rgba(125, 216, 199, .13);
  --dfx-yellow-tint: rgba(255, 217, 125, .12);
  --dfx-err: #FF9A9A;
  --dfx-err-tint: rgba(255, 107, 107, .14);
  --dfx-accent-text: #FFA595;
  --dfx-ring: rgba(255, 140, 122, .35);
}

/* ── Contenedor ── */
.dfx-wrap { max-width: 720px; margin: 0 auto; }
.dfx {
  background: var(--dfx-surface);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(18px, 5vw, 40px);
  color: var(--carbon);
  scroll-margin-top: 88px;
  position: relative;
}
.dfx *, .dfx *::before, .dfx *::after { box-sizing: border-box; }
.dfx [hidden] { display: none !important; }

.dfx-sr {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Progreso ── */
.dfx-progress { margin-bottom: 28px; }
.dfx-progress-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  margin-bottom: 14px; flex-wrap: wrap;
}
.dfx-progress-count {
  font-family: var(--font-title); font-weight: 700; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--dfx-accent-text);
}
.dfx-progress-name { font-family: var(--font-title); font-weight: 700; font-size: .95rem; color: var(--carbon); }

.dfx-dots-wrap { position: relative; }
.dfx-dots {
  position: relative; z-index: 1; display: flex; justify-content: space-between;
  list-style: none; margin: 0; padding: 0;
}
.dfx-track, .dfx-track-fill {
  position: absolute; top: 20px; height: 4px; border-radius: 9999px;
  left: calc(100% / 12); right: calc(100% / 12);
}
.dfx-track { background: var(--dfx-line); }
.dfx-track-fill {
  right: auto; width: 0;
  background: linear-gradient(90deg, var(--mint), var(--coral));
  transition: width .35s ease;
}
.dfx-dots li { flex: 1 1 0; min-width: 0; display: flex; justify-content: center; }
.dfx-dot {
  min-width: 44px; min-height: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: 0; padding: 0; cursor: pointer;
  border-radius: 12px; color: var(--dfx-muted);
}
.dfx-dot[aria-disabled="true"] { cursor: default; }
.dfx-dot-n {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title); font-weight: 800; font-size: .9rem;
  background: var(--dfx-surface); border: 2.5px solid var(--dfx-line);
  color: var(--dfx-muted);
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.dfx-dot-l {
  display: none; font-size: .72rem; font-weight: 700; font-family: var(--font-title);
  white-space: nowrap;
}
.dfx-dot.is-done .dfx-dot-n { background: var(--mint); border-color: var(--mint); color: #fff; }
.dfx-dot.is-done .dfx-dot-l { color: var(--mint-dark); }
.dfx-dot.is-current .dfx-dot-n {
  background: var(--dfx-cta); border-color: var(--dfx-cta); color: #fff;
  box-shadow: 0 0 0 5px var(--dfx-ring);
}
.dfx-dot.is-current .dfx-dot-l { color: var(--dfx-accent-text); }
.dfx-dot:focus-visible { outline: none; }
.dfx-dot:focus-visible .dfx-dot-n { outline: 3px solid var(--carbon); outline-offset: 3px; }
@media (min-width: 720px) {
  .dfx-dot-l { display: block; }
}
@media (max-width: 360px) {
  .dfx-dot { min-width: 38px; min-height: 38px; }
  .dfx-dot-n { width: 38px; height: 38px; font-size: .82rem; }
  .dfx-track, .dfx-track-fill { top: 17px; }
}

/* ── Pasos ── */
.dfx-step { animation: dfxIn .35s ease both; }
@keyframes dfxIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.dfx-step-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.dfx-step-ico {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  background: var(--dfx-tint);
}
.dfx-step-ico.mint   { background: var(--dfx-mint-tint); }
.dfx-step-ico.yellow { background: var(--dfx-yellow-tint); }
.dfx-step-ico.lilac  { background: rgba(184, 164, 227, .2); }
.dfx-step-ico.sky    { background: rgba(168, 216, 234, .25); }
.dfx-step-kicker {
  margin: 0 0 2px; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--dfx-muted); font-family: var(--font-title);
}
.dfx-step-title {
  margin: 0; font-family: var(--font-title); font-weight: 800;
  font-size: clamp(1.2rem, 4.5vw, 1.45rem); line-height: 1.25; color: var(--carbon);
}
/* El título recibe el foco al cambiar de paso (para lectores de pantalla); no es un control */
.dfx-step-title:focus, .dfx-step-title:focus-visible { outline: none; }
.dfx-step-desc { margin: 6px 0 0; font-size: .92rem; color: var(--dfx-muted); line-height: 1.55; }

.dfx-required-note { font-size: .82rem; color: var(--dfx-muted); margin: -8px 0 18px; }

/* ── Campos ── */
.dfx-field { margin: 0 0 18px; min-width: 0; border: 0; padding: 0; }
.dfx-grid2 { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 600px) { .dfx-grid2 { grid-template-columns: 1fr 1fr; } }

.dfx-label {
  display: block; margin: 0 0 7px; padding: 0;
  font-size: .95rem; font-weight: 700; color: var(--carbon);
  font-family: var(--font-title); line-height: 1.35;
}
.dfx-opt { font-weight: 500; color: var(--dfx-muted); font-size: .85rem; font-family: var(--font-body); }
.dfx-hint { margin: -2px 0 8px; font-size: .84rem; color: var(--dfx-muted); line-height: 1.45; }

.dfx-input {
  display: block; width: 100%; min-height: 52px;
  padding: 12px 16px;
  font-size: 16px; /* evita el zoom automático del iPhone */
  font-family: var(--font-body); line-height: 1.4;
  color: var(--carbon); background: var(--dfx-input-bg);
  border: 2px solid var(--dfx-line); border-radius: var(--r-md);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.dfx-input::placeholder { color: var(--dfx-muted); opacity: .8; }
.dfx-input:hover { border-color: var(--coral-light); }
.dfx-input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px var(--dfx-ring); }
.dfx-input[aria-invalid="true"] { border-color: var(--dfx-err); }
.dfx-input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px var(--dfx-err-tint); }
.dfx-input:disabled { opacity: .6; cursor: not-allowed; }
select.dfx-input {
  padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select.dfx-input option { color: #2D3436; background: #fff; }
textarea.dfx-input { min-height: 120px; resize: vertical; }
input[type="date"].dfx-input { min-width: 0; }
input[type="date"].dfx-input::-webkit-date-and-time-value { text-align: left; }
input[type="date"].dfx-input::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .7; }
[data-theme="dark"] input[type="date"].dfx-input { color-scheme: dark; }
input[type="number"].dfx-input { -moz-appearance: textfield; }
input[type="number"].dfx-input::-webkit-outer-spin-button,
input[type="number"].dfx-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.dfx-error {
  display: flex; gap: 6px; align-items: flex-start;
  margin: 7px 0 0; font-size: .86rem; font-weight: 600; color: var(--dfx-err); line-height: 1.4;
}
.dfx-error::before { content: '⚠'; flex-shrink: 0; }
.dfx-error:empty { display: none; }

.dfx-count { text-align: right; font-size: .78rem; color: var(--dfx-muted); margin-top: 5px; }

/* Celular con prefijo */
.dfx-phone { display: flex; align-items: stretch; }
.dfx-phone-pre {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  padding: 0 12px; min-height: 52px;
  background: var(--dfx-soft); border: 2px solid var(--dfx-line); border-right: 0;
  border-radius: var(--r-md) 0 0 var(--r-md);
  font-weight: 700; font-size: .95rem; color: var(--carbon); font-family: var(--font-title);
}
.dfx-phone .dfx-input { border-radius: 0 var(--r-md) var(--r-md) 0; min-width: 0; letter-spacing: .02em; }

/* ── Tarjetas repetibles (artículos y fechas) ── */
.dfx-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.dfx-item {
  border: 2px solid var(--dfx-line); border-radius: var(--r-lg);
  background: var(--dfx-soft); padding: 16px 16px 0;
  animation: dfxIn .3s ease both;
}
@media (min-width: 600px) { .dfx-item { padding: 20px 20px 2px; } }
.dfx-item-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px;
}
.dfx-item-title {
  margin: 0; display: flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-weight: 800; font-size: 1rem; color: var(--carbon);
}
.dfx-item-badge {
  width: 30px; height: 30px; border-radius: 10px; display: inline-flex;
  align-items: center; justify-content: center; font-size: .95rem;
  background: var(--dfx-tint);
}
.dfx-remove {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px; margin-right: -8px;
  border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  color: var(--dfx-err); font-weight: 700; font-size: .88rem; font-family: var(--font-title);
}
.dfx-remove:hover { background: var(--dfx-err-tint); }
.dfx-remove:focus-visible { outline: 3px solid var(--dfx-err); outline-offset: 1px; }

/* Cantidad con botones − / + */
.dfx-qty { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 8px; }
.dfx-qty .dfx-input { text-align: center; font-weight: 700; font-family: var(--font-title); }
.dfx-qty-btn {
  min-height: 52px; border-radius: var(--r-md);
  border: 2px solid var(--dfx-line); background: var(--dfx-input-bg);
  font-size: 1.4rem; font-weight: 700; line-height: 1; color: var(--carbon); cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dfx-qty-btn:hover { border-color: var(--coral); background: var(--dfx-tint); }
.dfx-qty-btn:focus-visible { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px var(--dfx-ring); }

/* Botón "+ Agregar" */
.dfx-add {
  width: 100%; min-height: 54px; margin: 0 0 22px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: 2px dashed var(--coral-light); border-radius: var(--r-lg);
  background: transparent; cursor: pointer;
  color: var(--dfx-accent-text); font-family: var(--font-title); font-weight: 700; font-size: 1rem;
  transition: background .2s, border-color .2s;
}
.dfx-add:hover { background: var(--dfx-tint); border-color: var(--coral); }
.dfx-add:focus-visible { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px var(--dfx-ring); }
.dfx-add:disabled { opacity: .5; cursor: not-allowed; }
.dfx-add-plus {
  width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--dfx-cta); color: #fff; font-size: 1.1rem; line-height: 1;
}

/* Opciones Sí / No */
.dfx-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.dfx-choice { position: relative; display: block; cursor: pointer; }
.dfx-choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.dfx-choice span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 10px 14px; text-align: center;
  border: 2px solid var(--dfx-line); border-radius: var(--r-lg); background: var(--dfx-input-bg);
  font-family: var(--font-title); font-weight: 700; font-size: 1rem; color: var(--carbon);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.dfx-choice:hover span { border-color: var(--mint); }
.dfx-choice input:checked + span { border-color: var(--mint-dark); background: var(--dfx-mint-tint); }
.dfx-choice input:checked + span::before { content: '✓'; font-weight: 900; color: var(--mint-dark); }
.dfx-choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(125, 216, 199, .45); }
.dfx-choice input[aria-invalid="true"] + span { border-color: var(--dfx-err); }

/* Interruptor "misma dirección" */
.dfx-switch {
  display: flex; align-items: center; gap: 14px; cursor: pointer;
  padding: 14px 16px; margin-bottom: 14px; min-height: 64px;
  background: var(--dfx-mint-tint); border: 2px solid transparent; border-radius: var(--r-lg);
  position: relative;
}
.dfx-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dfx-switch-track {
  flex-shrink: 0; position: relative; width: 52px; height: 30px; border-radius: 9999px;
  background: var(--dfx-line); transition: background .2s;
}
.dfx-switch-knob {
  position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); transition: transform .2s;
}
.dfx-switch input:checked + .dfx-switch-track { background: var(--mint-dark); }
.dfx-switch input:checked + .dfx-switch-track .dfx-switch-knob { transform: translateX(22px); }
.dfx-switch input:focus-visible + .dfx-switch-track { box-shadow: 0 0 0 4px rgba(125, 216, 199, .5); }
.dfx-switch-text { font-weight: 700; font-size: .95rem; line-height: 1.4; color: var(--carbon); font-family: var(--font-title); }

.dfx-addr-card {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px; margin: 0 0 18px;
  border: 2px dashed var(--dfx-line); border-radius: var(--r-lg);
  font-size: .92rem; color: var(--carbon); line-height: 1.5; word-break: break-word;
}
.dfx-addr-card strong { display: block; font-family: var(--font-title); font-size: .8rem; color: var(--dfx-muted); text-transform: uppercase; letter-spacing: .05em; }

/* Notas */
.dfx-note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: var(--r-lg);
  background: var(--dfx-mint-tint); border: 1.5px solid var(--mint);
  font-size: .9rem; line-height: 1.5; color: var(--carbon);
}
.dfx-note-ico { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.dfx-note.test { background: var(--dfx-yellow-tint); border-color: var(--yellow-dark); margin-bottom: 16px; }

/* ── Resumen ── */
.dfx-sum { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.dfx-sum-block {
  border: 2px solid var(--dfx-line); border-radius: var(--r-lg); padding: 14px 16px 6px;
  background: var(--dfx-soft);
}
.dfx-sum-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.dfx-sum-title { margin: 0; font-family: var(--font-title); font-weight: 800; font-size: .98rem; color: var(--carbon); }
.dfx-edit {
  min-height: 44px; padding: 0 12px; margin-right: -8px; border: 0; border-radius: 12px;
  background: transparent; cursor: pointer;
  color: var(--dfx-accent-text); font-family: var(--font-title); font-weight: 700; font-size: .88rem;
}
.dfx-edit:hover { background: var(--dfx-tint); }
.dfx-edit:focus-visible { outline: 3px solid var(--dfx-ring); }
.dfx-sum dl { margin: 0; }
.dfx-sum-row {
  display: grid; grid-template-columns: 1fr; gap: 2px;
  padding: 9px 0; border-top: 1px solid var(--dfx-line);
}
.dfx-sum-row:first-child { border-top: 0; }
@media (min-width: 600px) { .dfx-sum-row { grid-template-columns: 180px 1fr; gap: 12px; } }
.dfx-sum-row dt { font-size: .82rem; color: var(--dfx-muted); font-weight: 600; }
.dfx-sum-row dd { margin: 0; font-size: .95rem; color: var(--carbon); font-weight: 600; word-break: break-word; white-space: pre-line; }
.dfx-sum-list { margin: 0; padding-left: 20px; }
.dfx-sum-list li { margin: 2px 0; }

/* Autorización de datos */
.dfx-consent {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 14px 16px; border-radius: var(--r-lg); border: 2px solid var(--dfx-line);
  background: var(--dfx-input-bg); margin-bottom: 6px;
}
.dfx-consent input {
  flex-shrink: 0; width: 24px; height: 24px; margin: 1px 0 0;
  accent-color: var(--dfx-cta); cursor: pointer;
}
.dfx-consent-text { font-size: .95rem; line-height: 1.5; color: var(--carbon); font-weight: 600; }
.dfx-consent-text small { display: block; font-weight: 500; color: var(--dfx-muted); font-size: .8rem; margin-top: 3px; }
.dfx-consent.is-invalid { border-color: var(--dfx-err); }

/* Campo trampa anti-spam: fuera de la vista de las personas */
.dfx-hp {
  position: absolute !important; left: -10000px !important; top: auto !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}

/* Alerta de envío */
.dfx-alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; margin: 16px 0 0; border-radius: var(--r-lg);
  background: var(--dfx-err-tint); border: 1.5px solid var(--dfx-err);
  color: var(--carbon); font-size: .93rem; line-height: 1.5;
}
.dfx-alert strong { display: block; font-family: var(--font-title); color: var(--dfx-err); }

/* ── Navegación ── */
.dfx-nav {
  display: flex; gap: 12px; align-items: center; margin-top: 26px;
  padding-top: 20px; border-top: 1px solid var(--dfx-line);
}
.dfx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 24px; border-radius: var(--r-lg); border: 0; cursor: pointer;
  font-family: var(--font-title); font-weight: 800; font-size: 1.05rem; line-height: 1.2;
  transition: background .2s, transform .2s, box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.dfx-btn:focus-visible { outline: 3px solid var(--carbon); outline-offset: 3px; }
.dfx-btn-primary {
  flex: 1; background: var(--dfx-cta); color: #fff;
  box-shadow: 0 8px 22px rgba(232, 96, 76, .32);
}
.dfx-btn-primary:hover { background: var(--dfx-cta-hover); transform: translateY(-2px); }
.dfx-btn-primary:active { transform: scale(.98); }
.dfx-btn-primary:disabled, .dfx-btn-primary[aria-busy="true"] { opacity: .75; cursor: progress; transform: none; }
.dfx-btn-back {
  background: var(--dfx-soft); color: var(--carbon); border: 2px solid var(--dfx-line);
  padding: 0 18px; font-weight: 700;
}
.dfx-btn-back:hover { border-color: var(--carbon-soft); }
@media (min-width: 600px) {
  .dfx-btn-primary { flex: 0 1 auto; margin-left: auto; min-width: 220px; }
  .dfx-btn-back { padding: 0 24px; }
}
.dfx-spin {
  width: 20px; height: 20px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .45); border-top-color: #fff;
  animation: dfxSpin .8s linear infinite;
}
@keyframes dfxSpin { to { transform: rotate(360deg); } }

/* ── Modal de éxito ── */
.dfx-modal {
  border: 0; padding: 0; margin: auto;
  width: calc(100% - 32px); max-width: 460px; max-height: calc(100% - 32px);
  border-radius: 28px; background: var(--white); color: var(--carbon);
  box-shadow: var(--shadow-xl); overflow: auto;
}
.dfx-modal[open] { animation: dfxPop .4s cubic-bezier(.34, 1.56, .64, 1) both; }
.dfx-modal::backdrop { background: rgba(30, 35, 37, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
/* Navegadores sin <dialog>.showModal(): se muestra fijo y centrado */
.dfx-modal.dfx-modal--fallback[open] {
  position: fixed; inset: 0; z-index: 1000; display: block;
  box-shadow: 0 0 0 100vmax rgba(30, 35, 37, .62);
}
@keyframes dfxPop { from { transform: scale(.88); opacity: 0; } to { transform: none; opacity: 1; } }
.dfx-modal-body { padding: 36px 24px 26px; text-align: center; }
@media (min-width: 480px) { .dfx-modal-body { padding: 44px 36px 32px; } }
.dfx-check {
  width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--mint), var(--mint-dark));
  box-shadow: 0 14px 36px rgba(125, 216, 199, .45);
}
.dfx-check svg { width: 46px; height: 46px; }
.dfx-check-path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: dfxDraw .5s ease .25s forwards; }
@keyframes dfxDraw { to { stroke-dashoffset: 0; } }
.dfx-modal-title {
  margin: 0 0 10px; font-family: var(--font-title); font-weight: 800;
  font-size: clamp(1.25rem, 5vw, 1.5rem); line-height: 1.25; color: var(--carbon);
}
.dfx-modal-text { margin: 0 auto 20px; max-width: 360px; font-size: .98rem; line-height: 1.65; color: var(--carbon-soft); }
.dfx-ticket {
  margin: 0 auto 22px; padding: 14px 16px; max-width: 300px;
  border: 2px dashed var(--coral); border-radius: var(--r-lg); background: var(--dfx-tint);
}
.dfx-ticket-label {
  display: block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--dfx-muted); font-family: var(--font-title);
}
.dfx-ticket-num {
  display: block; margin-top: 4px; font-family: var(--font-title); font-weight: 900;
  font-size: 1.5rem; letter-spacing: .04em; color: var(--dfx-accent-text); word-break: break-all;
}
.dfx-modal .dfx-btn-primary { width: 100%; margin: 0; }

/* ── Movimiento reducido ── */
@media (prefers-reduced-motion: reduce) {
  .dfx-step, .dfx-item, .dfx-modal[open] { animation: none !important; }
  .dfx-track-fill, .dfx-dot-n, .dfx-btn, .dfx-switch-knob, .dfx-switch-track { transition: none !important; }
  .dfx-check-path { animation: none; stroke-dashoffset: 0; }
  .dfx-spin { animation-duration: 2.4s; }
  .dfx-btn-primary:hover { transform: none; }
}
