/* ═══════════════════════════════════════════════════════════
   SIMULADOR CÉDULA ELECTORAL – Diseño estilo Andina
   Versión 3.0
═══════════════════════════════════════════════════════════ */

/* ── Colores de filas ─────────────────────────────────── */
.fila-gris     { background: #b7b8b9; }
.fila-celeste  { background: #cfeafb; }
.fila-rosada   { background: #ffcee1; }
.fila-bage     { background: #dec2b4; }
.fila-verde    { background: #bce1d0; }
.fila-amarillo { background: #f6f3cc; }
.fila-vacia    { opacity: .6; }
tr.fila-seleccionada td { outline: 3px solid #0046b4; outline-offset: -2px; }

/* ── Wrapper de cédula ────────────────────────────────── */
.cedula-seccion { display: none; background: transparent; padding-bottom: 0; min-height: 0; }
.cedula-seccion.visible { display: block; }

.cedula-wrap {
  max-width: 680px;
  margin: 0 auto 32px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 6px 32px rgba(0,0,0,.18);
  border: 2px solid #444;
}

/* ── Cabecera de cédula ───────────────────────────────── */
.cedula-tipo-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #b91c1c;
  color: #fff;
  padding: 10px 16px;
  font-family: sans-serif;
}
.cedula-tipo-hdr .num-badge {
  background: #fff;
  color: #b91c1c;
  font-weight: 900;
  font-size: 16px;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cedula-tipo-hdr h2 {
  font-size: 15px; font-weight: 700; margin: 0;
  text-transform: uppercase;
}
.cedula-tipo-hdr small {
  font-size: 11px; opacity: .85;
}
.cedula-tipo-hdr .cedula-counter {
  margin-left: auto; font-size: 12px; opacity: .8;
}

/* ── Aviso simulación ─────────────────────────────────── */
.cedula-aviso-sim {
  background: #fef9c3; color: #854d0e;
  text-align: center; padding: 5px 8px;
  font-size: 11px; font-weight: 700;
  border-bottom: 1px solid #fde047;
  font-family: sans-serif;
}

/* ── Tabla de cédula (estilo boleta oficial) ─────────── */
.sim-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Times New Roman', serif;
  table-layout: fixed;
  border: 1.5px solid #555;
}
.sim-table td, .sim-table th {
  padding: 0;
  vertical-align: middle;
  border: 1px solid rgba(0,0,0,.15);
}

/* Cabecera instrucción */
.sim-table .tr-instruccion th {
  background: #7f7f7f;
  color: #fff;
  font-size: 10.5px;
  text-align: center;
  padding: 6px 10px;
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.4;
  border-color: #555;
}
.sim-table .tr-instruccion th em { font-style: normal; font-weight: 700; }

/* Columna número */
.td-num {
  width: 26px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #111;
  padding: 3px 2px;
  border-right: 1.5px solid rgba(0,0,0,.18);
}

/* Columna nombre partido */
.td-nombre {
  padding: 5px 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: #000;
  text-transform: uppercase;
  line-height: 1.3;
}
.td-nombre .cand-nombre-p {
  font-size: 9.5px;
  color: #333;
  text-transform: none;
  font-weight: 400;
  font-style: italic;
  margin-top: 1px;
}

/* Columna logo / foto / casilleros pref */
.td-logo, .td-foto, .td-numpref {
  width: 56px;
  height: 56px;
  text-align: center;
  vertical-align: middle;
  position: relative;
  overflow: hidden;
}
.td-numpref {
  width: 48px;
  height: 56px;
}

.td-logo img, .td-foto img {
  display: block;
  width: 50px; height: 50px;
  object-fit: contain;
  margin: 3px auto;
  pointer-events: none;
}

/* Canvas overlay para marcar */
canvas.co, canvas.nc, canvas.ct {
  position: absolute;
  top: 3px; left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  border: 1.5px solid rgba(0,0,0,.25);
  background: rgba(255,255,255,.08);
  border-radius: 1px;
}
canvas.co:hover { border-color: #0046b4; background: rgba(0,70,180,.06); }
canvas.nc:hover { border-color: #0046b4; background: rgba(0,70,180,.06); }
canvas.co.co-done { border-color: #0046b4; }
canvas.co.co-locked { opacity: .3; cursor: default; pointer-events: none; }
canvas.nc.nc-done { border-color: #0046b4; }
canvas.nc.nc-locked { opacity: .3; cursor: default; pointer-events: none; }
canvas.ct { cursor: default; border-color: rgba(0,0,0,.12); background: transparent; }

/* Header columna logo/foto */
.th-logo, .th-foto, .th-numpref {
  width: 56px;
  background: #555;
  color: #fff;
  font-size: 8.5px;
  text-align: center;
  padding: 4px 2px;
  font-family: sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.th-numpref { width: 48px; }

/* ── Acciones de cédula ───────────────────────────────── */
.cedula-acciones-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  flex-wrap: wrap;
  font-family: sans-serif;
}
.cedula-hint {
  flex: 1; min-width: 160px;
  font-size: 12px; color: #6b7280;
  font-style: italic;
}
.cedula-hint.hint-ok { color: #166534; font-style: normal; font-weight: 600; }

.btn-cedula {
  padding: 7px 14px;
  border: none; border-radius: 5px;
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: opacity .15s;
  white-space: nowrap;
}
.btn-cedula:hover { opacity: .85; }
.btn-omitir   { background: #e5e7eb; color: #374151; }
.btn-blanco   { background: #f3f4f6; color: #374151; border: 1px solid #d1d5db; }
.btn-viciado  { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.btn-confirmar {
  background: #0046b4; color: #fff;
  font-size: 13px; padding: 8px 20px;
}
.btn-confirmar:disabled {
  background: #93c5fd; cursor: not-allowed; opacity: 1;
}

/* ── Navegación Prev / Next móvil ────────────────────── */
.nav-row-cedula {
  display: none;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  gap: 8px;
  font-family: sans-serif;
}
@media (max-width: 767px) {
  .nav-row-cedula { display: flex; }
}
.btn-nav-prev, .btn-nav-next {
  padding: 8px 18px; border: none; border-radius: 5px;
  font-size: 13px; font-weight: 600; cursor: pointer;
}
.btn-nav-prev { background: #e5e7eb; color: #374151; }
.btn-nav-next { background: #b91c1c; color: #fff; }
.btn-nav-next:disabled { background: #93c5fd; cursor: not-allowed; }

/* ── Progreso de cédulas ──────────────────────────────── */
.cedulas-progreso {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0;
  overflow-x: auto;
  font-family: sans-serif;
}
.progreso-pasos {
  display: flex;
  min-width: max-content;
  padding: 0 16px;
}
.paso-item {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px;
  font-size: 12px; font-weight: 600;
  color: #9ca3af;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  user-select: none;
}
.paso-item .paso-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #e5e7eb; color: #6b7280;
  font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .15s, color .15s;
}
.paso-item.activo { color: #b91c1c; border-bottom-color: #b91c1c; }
.paso-item.activo .paso-num { background: #b91c1c; color: #fff; }
.paso-item.completado { color: #166534; }
.paso-item.completado .paso-num { background: #166534; color: #fff; }
.paso-item:hover:not(.activo) { color: #374151; }

/* ── MODALES ──────────────────────────────────────────── */
.sim-mo {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
  background: rgba(0,0,0,.6);
  padding: 16px;
}
.sim-mo.open { display: flex; }
.sim-mb {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.28);
  width: 100%; max-width: 440px;
  max-height: 95vh;
  overflow-y: auto;
}
.sim-mb.wide { max-width: 700px; }
.sim-mh {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: #0046b4; color: #fff;
  font-size: 16px; font-weight: 700;
  font-family: sans-serif;
}
.sim-mh.red { background: #b91c1c; }
.sim-mbd { padding: 16px 18px; font-family: sans-serif; font-size: 14px; }
.sim-mac {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 12px 18px 16px;
  border-top: 1px solid #e5e7eb;
  font-family: sans-serif;
}
.bm {
  padding: 8px 18px; border: none; border-radius: 5px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: opacity .15s;
}
.bm:hover { opacity: .85; }
.bm.cancel   { background: #e5e7eb; color: #374151; }
.bm.c-red    { background: #dc2626; color: #fff; }
.bm.c-blue   { background: #0046b4; color: #fff; }
.bm.c-green  { background: #166534; color: #fff; }

/* Modal de dibujo */
.qpick-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.qpick-lbl { font-size: 12px; color: #6b7280; flex: 1; }
.qpick-btn {
  width: 44px; height: 44px; border: 2px solid #0046b4;
  border-radius: 6px; background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  padding: 6px;
}
.qpick-btn:hover { background: #eff6ff; }
.qpick-btn svg { width: 28px; height: 28px; }

#dcw {
  display: flex; justify-content: center; margin: 0 auto 10px;
}
.dcw-inner {
  position: relative;
  width: 220px; height: 220px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  cursor: crosshair;
}
.dcw-inner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: .25;
  pointer-events: none;
}
#dC {
  position: absolute; inset: 0;
  width: 220px; height: 220px;
  touch-action: none;
}
#draw-hint {
  font-size: 11px; color: #6b7280; text-align: center;
  margin-bottom: 6px;
}
#draw-warn {
  font-size: 12px; color: #dc2626; text-align: center;
  min-height: 18px;
}

/* Modal numpad */
.np-label { font-size: 13px; color: #374151; margin-bottom: 8px; text-align: center; }
.np-disp {
  font-size: 36px; font-weight: 700; text-align: center;
  color: #0046b4; letter-spacing: 6px;
  border: 2px solid #d1d5db; border-radius: 6px;
  padding: 8px; margin-bottom: 12px;
  min-height: 58px; display: flex; align-items: center; justify-content: center;
  font-family: monospace;
}
.np-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 10px;
}
.npb {
  padding: 12px; border: 1px solid #d1d5db; border-radius: 6px;
  font-size: 18px; font-weight: 700; background: #f9fafb;
  cursor: pointer; transition: background .1s;
  font-family: monospace;
}
.npb:hover { background: #eff6ff; border-color: #0046b4; }
.npb.del { background: #fef2f2; color: #dc2626; }
.npb.ok-btn { background: #0046b4; color: #fff; border-color: #0046b4; }
.npb.ok-btn:hover { background: #003d9e; }
.np-hint { font-size: 11px; color: #6b7280; text-align: center; }

/* Modal confirmación */
.modal-candidato-nombre {
  font-size: 16px; font-weight: 700; color: #dc2626;
  text-align: center; padding: 8px; border: 1px dashed #fca5a5;
  border-radius: 6px; background: #fef2f2; margin: 8px 0;
}
.modal-disclaimer { font-size: 11px; color: #9ca3af; text-align: center; margin-top: 6px; }

/* Modal resultados */
.res-grid {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 14px 18px;
  justify-content: center;
}
.res-col {
  background: #f8fafc; border: 1px solid #e5e7eb;
  border-radius: 8px; padding: 12px;
  width: 140px; text-align: center;
  font-family: sans-serif;
}
.res-col.vacio { opacity: .5; }
.res-col-label {
  display: inline-block; background: #b91c1c; color: #fff;
  font-size: 10px; font-weight: 700; padding: 2px 8px;
  border-radius: 100px; margin-bottom: 8px;
  text-transform: uppercase;
}
.res-col img { width: 50px; height: 50px; object-fit: contain; margin: 4px auto; display: block; }
.res-col-partido { font-size: 10px; font-weight: 700; color: #111; text-transform: uppercase; margin: 4px 0 2px; line-height: 1.2; }
.res-col-voto { font-size: 11px; color: #6b7280; }
.res-col canvas { display: block; margin: 4px auto; border: 1px solid #d1d5db; }

.res-aviso-incompleto {
  display: flex; align-items: center; gap: 6px;
  background: #fef9c3; color: #854d0e;
  padding: 8px 16px; font-size: 13px;
  font-family: sans-serif; border-bottom: 1px solid #fde047;
}

/* Modal compartir */
.compartir-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 14px;
}
.compartir-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px; border-radius: 8px;
  font-size: 14px; font-weight: 600; text-decoration: none;
  transition: opacity .15s;
}
.compartir-btn:hover { opacity: .85; }
.compartir-wa { background: #25d366; color: #fff; }
.compartir-fb { background: #1877f2; color: #fff; }
.compartir-tw { background: #000; color: #fff; }
.compartir-tg { background: #0088cc; color: #fff; }

/* ── Strip de candidatos ──────────────────────────────── */
.conoce-strip {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px; background: #fff;
  border-bottom: 1px solid #e5e7eb; overflow: hidden;
  font-family: sans-serif;
}
.conoce-strip-label { font-size: 12px; color: #6b7280; white-space: nowrap; }
.conoce-strip-scroll {
  display: flex; gap: 8px; overflow-x: auto;
  flex: 1; scrollbar-width: none; padding: 2px 0;
}
.conoce-strip-scroll::-webkit-scrollbar { display: none; }
.conoce-candidato-chip {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: #374151; white-space: nowrap;
  text-decoration: none; padding: 3px 8px;
  border-radius: 100px; background: #f3f4f6;
  transition: background .1s;
}
.conoce-candidato-chip:hover { background: #e0e7ff; }
.conoce-chip-foto { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.conoce-strip-vermas { font-size: 12px; color: #0046b4; white-space: nowrap; text-decoration: none; }

/* ── Pantalla final resumen ───────────────────────────── */
.resumen-pantalla {
  max-width: 680px; margin: 32px auto;
  background: #fff; border-radius: 12px;
  padding: 32px; text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
  font-family: sans-serif;
}
.resumen-icon { font-size: 48px; margin-bottom: 12px; }
.resumen-titulo { font-size: 24px; font-weight: 700; color: #b91c1c; margin-bottom: 8px; }
.resumen-tabla-wrap { overflow-x: auto; margin-top: 20px; }
.resumen-tabla { width: 100%; border-collapse: collapse; font-size: 13px; }
.resumen-tabla th { background: #1e3a8a; color: #fff; padding: 8px 12px; text-align: left; }
.resumen-tabla td { padding: 8px 12px; border-bottom: 1px solid #e5e7eb; }
.resumen-tabla tr:last-child td { border-bottom: none; }
.voto-badge { display: inline-block; padding: 2px 10px; border-radius: 100px; font-size: 11px; font-weight: 700; }
.voto-badge-normal  { background: #dcfce7; color: #166534; }
.voto-badge-blanco  { background: #f3f4f6; color: #374151; }
.voto-badge-viciado { background: #fef2f2; color: #dc2626; }

/* ── Estado voto ──────────────────────────────────────── */
.estado-voto { padding: 12px 20px; border-radius: 8px; font-size: 14px; font-family: sans-serif; }
.estado-ya-voto { background: #fef9c3; color: #854d0e; border: 1px solid #fde047; }
.link-verificar { color: #0046b4; font-weight: 600; margin-left: 6px; }

.mensaje-voto { padding: 12px 20px; border-radius: 8px; font-size: 14px; font-family: sans-serif; }
.msg-error   { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.msg-ok      { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

/* ── Layout outer ─────────────────────────────────────── */
.cedula-layout-outer {
  display: flex; gap: 20px;
  padding: 20px 16px;
  max-width: 980px; margin: 0 auto;
  align-items: flex-start;
}
.cedula-col-main { flex: 1; min-width: 0; }
.cedula-col-lateral {
  width: 300px; flex-shrink: 0;
  align-self: flex-start;
}
.cedula-col-lateral .lateral-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
@media (max-width: 767px) {
  .cedula-layout-outer {
    flex-direction: column;
    padding: 12px 8px;
    gap: 0;
  }
  .cedula-col-lateral {
    width: 100%;
    position: static;
    padding: 0 0 20px;
  }
  /* En móvil el lateral va debajo de la cédula, centrado y más pequeño */
  .cedula-col-lateral .lateral-rotativo,
  .cedula-col-lateral .lateral-anuncia-placeholder {
    max-width: 320px;
    margin: 0 auto;
  }
  .cedula-col-lateral .lateral-anuncia-placeholder {
    min-height: 160px;
    justify-content: center;
  }
  .cedula-col-lateral .lateral-slide img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #f3f4f6;
  }
}

/* ── Barra flotante de acciones (siempre visible en cédulas) */
.float-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: #fff;
  border-top: 3px solid #0046b4;
  padding: 8px 16px 12px;
  box-shadow: 0 -4px 24px rgba(0,0,0,.18);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: sans-serif;
  flex-wrap: wrap;
}
/* Botones secundarios: Blanco / Viciado / Omitir */
.float-bar-acciones {
  display: flex;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}
.float-acc-btn {
  flex: 1;
  min-width: 72px;
  padding: 9px 10px;
  font-size: 13px; font-weight: 600;
  border-radius: 8px; border: 2px solid;
  cursor: pointer; white-space: nowrap;
  transition: opacity .15s, transform .1s;
  background: #fff;
}
.float-acc-btn:active { transform: scale(.96); }
.float-acc-blanco  { color: #374151; border-color: #9ca3af; }
.float-acc-viciado { color: #b91c1c; border-color: #fca5a5; }
.float-acc-omitir  { color: #6b7280; border-color: #d1d5db; }
.float-acc-blanco:hover  { background: #f3f4f6; }
.float-acc-viciado:hover { background: #fef2f2; }
.float-acc-omitir:hover  { background: #f9fafb; }

/* Botón CONFIRMAR: aparece al marcar candidato */
.float-bar-btn {
  background: #16a34a; color: #fff;
  border: none; border-radius: 8px;
  padding: 12px 22px;
  font-size: 15px; font-weight: 800;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 2px 14px rgba(22,163,74,.45);
  transition: background .15s, transform .1s;
  letter-spacing: .3px;
  animation: confirmarPulse 1.6s ease-in-out infinite;
  display: flex; align-items: center; gap: 6px;
}
.float-bar-btn:hover  { background: #15803d; }
.float-bar-btn:active { transform: scale(.97); animation: none; }
@keyframes confirmarPulse {
  0%,100% { box-shadow: 0 2px 14px rgba(22,163,74,.45); }
  50%      { box-shadow: 0 4px 22px rgba(22,163,74,.75); }
}
/* Sin CONFIRMAR: solo los 3 botones secundarios */
.float-bar:not(.float-bar-confirmable) .float-bar-acciones { flex: 1; }

body.float-active { padding-bottom: 72px; }

@media (max-width: 480px) {
  .float-acc-btn { font-size: 12px; padding: 8px 6px; }
  .float-bar-btn { font-size: 14px; padding: 11px 16px; }
}

/* Lateral rotativo */
.lateral-rotativo { position: relative; }
.lateral-slide { display: none; }
.lateral-slide.lateral-slide-active { display: block; }
.lateral-slide img { width: 100%; border-radius: 6px; }
.lateral-slide-titulo { font-size: 11px; color: #6b7280; text-align: center; margin-top: 4px; font-family: sans-serif; }
.lateral-dots {
  display: flex; justify-content: center; gap: 5px; margin-top: 6px;
}
.lateral-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d1d5db; cursor: pointer; transition: background .15s;
}
.lateral-dot.lateral-dot-active { background: #b91c1c; }

/* Móvil: imagen ocupa todo, título oculto, dots encima */
@media (max-width: 767px) {
  .lateral-rotativo { border-radius: 8px; overflow: hidden; }
  .lateral-slide { position: relative; display: none; }
  .lateral-slide.lateral-slide-active { display: block; }
  .lateral-slide img {
    border-radius: 0;
    display: block;
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
  }
  .lateral-slide-titulo { display: none; }
  .lateral-dots {
    position: absolute;
    bottom: 10px; left: 0; right: 0;
    margin: 0;
    z-index: 2;
    background: transparent;
  }
  .lateral-dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,.45);
    border: none;
    box-shadow: 0 0 3px rgba(0,0,0,.4);
  }
  .lateral-dot.lateral-dot-active {
    background: #fff;
    box-shadow: 0 0 4px rgba(0,0,0,.5);
  }
}
.lateral-anuncia-placeholder {
  display: flex; flex-direction: column; align-items: center;
  background: #f3f4f6; border: 2px dashed #d1d5db; border-radius: 8px;
  padding: 20px 10px; text-decoration: none; color: #6b7280;
  text-align: center; gap: 4px;
}
.lateral-anuncia-icon { font-size: 24px; }
.lateral-anuncia-text { font-size: 13px; font-weight: 700; line-height: 1.2; font-family: sans-serif; }
.lateral-anuncia-sub { font-size: 10px; font-family: sans-serif; }

/* ── Sección educativa ────────────────────────────────── */
.seccion-educativa { padding: 40px 16px; background: #f8fafc; font-family: sans-serif; }
.edu-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; margin-top: 20px;
}
.edu-card {
  background: #fff; border-radius: 10px; padding: 20px;
  border: 1px solid #e5e7eb; text-align: center;
}
.edu-icon { font-size: 28px; margin-bottom: 8px; }
.edu-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.edu-card p  { font-size: 12px; color: #6b7280; margin: 0; }
.section-title { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 4px; }
.disclaimer-page { font-size: 12px; color: #9ca3af; margin-bottom: 16px; }

/* ── Responsive tabla ─────────────────────────────────── */
@media (max-width: 480px) {
  .td-nombre { font-size: 9px; padding: 3px 5px; }
  .td-logo, .td-foto { width: 46px; height: 46px; }
  .td-numpref { width: 40px; height: 46px; }
  .td-logo img, .td-foto img { width: 42px; height: 42px; }
  canvas.co { width: 42px !important; height: 42px !important; }
  canvas.nc { width: 38px !important; height: 38px !important; }
  .cedula-acciones-bar { flex-direction: column; align-items: stretch; }
  .btn-cedula { text-align: center; }
  .cedula-wrap { margin: 0 0 24px; }
}

/* ── Pie de página – 2 bloques de anuncio ─────────────── */
.cedula-pie-banners {
  display: flex;
  gap: 12px;
  margin: 24px auto 32px;
  max-width: 700px;
  padding: 0 8px;
}
.cedula-pie-bloque {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
}
.cedula-pie-bloque a { display: block; }
.cedula-pie-bloque img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
@media (max-width: 480px) {
  .cedula-pie-banners { flex-direction: column; }
  .cedula-pie-bloque img { aspect-ratio: 16/9; }
}
