:root {
  --fondo: #fff6ea;
  --superficie: #ffffff;
  --acento: #e4572e;
  --verde: #1f5c3f;
  --texto: #2a1f18;
  --texto-2: #8a7a6d;
  --borde: #efe2d2;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--fondo);
  color: var(--texto);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
main { width: 100%; max-width: 420px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.logo { width: 72px; height: 72px; }
h1 { font-size: 24px; margin: 0; line-height: 1.25; }
p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--texto); }
.secundario { color: var(--texto-2); font-size: 14px; }
footer { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--texto-2); margin-top: 8px; }
footer a { color: var(--texto-2); }
.estado { width: 100%; border-radius: 14px; padding: 14px 16px; font-weight: 600; background: var(--superficie); border: 1px solid var(--borde); }
.estado[data-tipo="cargando"] { background: #f4f4f4; border-color: #dddddd; color: #555555; }
.estado[data-tipo="cargando"]::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #888888;
  animation: pulso 1s infinite;
}
.estado[data-tipo="aprobado"] { background: #e6f2ea; border-color: #cfe6d7; color: var(--verde); }
.estado[data-tipo="pendiente"] { background: #e8f0fb; border-color: #c9dbf5; color: #1f4e8c; }
.estado[data-tipo="rechazado"] { background: #fde8e6; border-color: #f5c2bc; color: #8a2a1f; }
.estado[data-tipo="anulado"] { background: #f0eef0; border-color: #d8d2d8; color: #5a4a5a; }
.estado[data-tipo="error"],
.estado[data-tipo="desconocido"] { background: #fff3cd; border: 2px solid #d39e00; color: #5c3f00; }
.accion { font-size: 15px; }
.no-pagar { font-weight: 800; color: #8a2a1f; font-size: 17px; line-height: 1.4; }
.salida { font-size: 13px; color: var(--texto-2); line-height: 1.5; }
.soporte-wa { color: #1f7a3f; font-weight: 800; }
.datos {
  width: 100%;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}
.dato { font-size: 15px; }
#ayuda a { color: var(--acento); font-weight: 600; }
@keyframes pulso { 50% { opacity: 0.2; } }
.boton {
  display: block;
  width: 100%;
  background: var(--acento);
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  padding: 16px;
  border-radius: 18px;
}
.boton:active { opacity: 0.85; }
[hidden] { display: none !important; }
