/* Evaluación diagnóstica · Corporación Universitaria Americana.
   Diseño limpio e institucional (azul EVA + dorado). Animaciones sutiles; se apagan con prefers-reduced-motion. */
.dx, .dx-velo { --dx-azul: #1300FD; --dx-azul2: #0A0A8F; --dx-cielo: #0071FF; --dx-oro: #FFBB2C; --dx-ink: #0E1A47; --dx-sub: #55607F; --dx-fondo: #F4F6FB; --dx-linea: #DDE2EE; --dx-ok: #12915C; --dx-mal: #C62840;
      color: var(--dx-ink); font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif; line-height: 1.55; }
.dx *, .dx *::before, .dx *::after { box-sizing: border-box; }
.dx h1, .dx h2, .dx h3 { color: var(--dx-ink); line-height: 1.2; margin: 0; font-weight: 800; letter-spacing: -.01em; }
.dx p { margin: 0 0 .7rem; }
.dx a { color: var(--dx-azul); }
.dx-publica { min-height: 100vh; background: radial-gradient(1200px 500px at 85% -10%, rgba(0, 113, 255, .10), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(255, 187, 44, .12), transparent 55%), var(--dx-fondo); padding: 0 1rem 2rem; }
.dx-contenedor { max-width: 1040px; margin: 0 auto; }
.dx-cab { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0 .6rem; }
.dx-logo { height: 46px; width: auto; display: block; }
.dx-pie { margin-top: 2rem; text-align: center; font-size: .82rem; color: var(--dx-sub); }
.dx-pie-mini { margin-top: 1.4rem; text-align: center; font-size: .85rem; color: var(--dx-sub); }

/* ---------- tarjeta principal ---------- */
.dx-hero { position: relative; background: #fff; border: 1px solid var(--dx-linea); border-radius: 24px; padding: 2.2rem clamp(1.2rem, 4vw, 3rem); box-shadow: 0 18px 44px rgba(14, 26, 71, .08); overflow: hidden; }
.dx-hero::before { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(19, 0, 253, .10), transparent 70%); pointer-events: none; }
.dx-hero > * { position: relative; }
.dx-hero-sm { padding: 1.6rem clamp(1.2rem, 4vw, 2.6rem); margin-bottom: 1.2rem; }
.dx-hero h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: .8rem 0 .6rem; }
.dx-lead { font-size: 1.08rem; color: var(--dx-sub); max-width: 62ch; }
.dx-etq { display: inline-block; padding: .28rem .8rem; border-radius: 999px; background: rgba(19, 0, 253, .08); color: var(--dx-azul); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dx-chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1rem 0 1.4rem; }
.dx-chips li { padding: .3rem .85rem; border-radius: 999px; background: var(--dx-fondo); border: 1px solid var(--dx-linea); font-size: .84rem; font-weight: 600; color: var(--dx-ink); }

/* ---------- formulario del código ---------- */
.dx-form-codigo { max-width: 460px; margin-top: .6rem; }
.dx-label { display: block; font-weight: 700; margin-bottom: .4rem; }
.dx-codigo { width: 100%; padding: .95rem 1rem; font: 800 1.5rem/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; text-align: center; text-transform: uppercase; color: var(--dx-ink); background: #fff; border: 2px solid var(--dx-linea); border-radius: 14px; outline: none; transition: border-color .2s, box-shadow .2s; }
.dx-codigo:focus { border-color: var(--dx-azul); box-shadow: 0 0 0 4px rgba(19, 0, 253, .12); }
.dx-ayuda { color: var(--dx-sub); font-size: .86rem; }
.dx-alerta { margin: 1rem 0; padding: .8rem 1rem; border-radius: 12px; background: #FDECEF; border: 1px solid #F3B5C0; color: #7A1426; font-weight: 600; }
.dx-exito { margin: 1rem 0; padding: .8rem 1rem; border-radius: 12px; background: #E8F7F0; border: 1px solid #A8DEC6; color: #0B5C3B; font-weight: 600; }

/* ---------- botones ---------- */
.dx-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.6rem; border: 0; border-radius: 999px; background: linear-gradient(110deg, var(--dx-azul), var(--dx-cielo)); color: #fff !important; font: 700 1rem/1.1 inherit; text-decoration: none !important; cursor: pointer; box-shadow: 0 10px 22px rgba(19, 0, 253, .25); transition: transform .2s, box-shadow .2s, filter .2s; }
.dx-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(19, 0, 253, .32); filter: brightness(1.04); }
.dx-btn:focus-visible, .dx-punto:focus-visible, .dx-op:focus-within, .dx-codigo:focus-visible { outline: 3px solid var(--dx-oro); outline-offset: 2px; }
.dx-btn-sec { background: #fff; color: var(--dx-ink) !important; border: 2px solid var(--dx-linea); box-shadow: none; }
.dx-btn-sec:hover { box-shadow: 0 8px 16px rgba(14, 26, 71, .12); border-color: var(--dx-azul); }
.dx-btn-off { opacity: .45; cursor: not-allowed; box-shadow: none; pointer-events: none; }
.dx-acciones { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

/* ---------- autorización de datos ---------- */
.dx-politica { max-height: 320px; overflow: auto; margin: 1rem 0; padding: 1rem 1.2rem; background: var(--dx-fondo); border: 1px solid var(--dx-linea); border-radius: 14px; font-size: .92rem; }
.dx-politica-libre { max-height: none; }
.dx-politica h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.dx-check { display: flex; align-items: flex-start; gap: .7rem; padding: .8rem 1rem; border-radius: 12px; background: #FFF8E6; border: 1px solid #F3DFA8; cursor: pointer; font-weight: 600; }
.dx-check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--dx-azul); flex: none; }

/* ---------- inicio con las tres pruebas ---------- */
.dx-avance { height: 10px; border-radius: 10px; background: var(--dx-linea); overflow: hidden; max-width: 420px; margin: 1rem 0 .4rem; }
.dx-avance span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--dx-oro), #FF9B2C); transition: width .8s cubic-bezier(.2, .8, .2, 1); }
.dx-hub { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; }
.dx-pc { display: flex; flex-direction: column; gap: .4rem; padding: 1.5rem 1.4rem; background: #fff; border: 1px solid var(--dx-linea); border-radius: 20px; box-shadow: 0 10px 26px rgba(14, 26, 71, .06); transition: transform .25s, box-shadow .25s, border-color .25s; animation: dx-sube .6s ease both; }
.dx-pc:nth-child(2) { animation-delay: .08s; } .dx-pc:nth-child(3) { animation-delay: .16s; }
.dx-pc:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(14, 26, 71, .12); border-color: rgba(19, 0, 253, .35); }
.dx-ico { width: 46px; height: 46px; padding: 10px; border-radius: 14px; background: rgba(19, 0, 253, .08); color: var(--dx-azul); }
.dx-pc h2 { font-size: 1.25rem; margin-top: .4rem; }
.dx-pc p { color: var(--dx-sub); font-size: .92rem; flex: 1; }
.dx-pc small { color: var(--dx-sub); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.dx-pc .dx-btn { margin-top: .6rem; align-self: flex-start; }
.dx-pc-finalizada { border-color: #A8DEC6; background: linear-gradient(180deg, #fff, #F3FBF7); }
.dx-pc-finalizada .dx-ico { background: rgba(18, 145, 92, .12); color: var(--dx-ok); }
.dx-hecha { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; padding: .5rem 1rem; border-radius: 999px; background: #E8F7F0; color: #0B5C3B; font-weight: 800; align-self: flex-start; }
.dx-hecha svg { width: 18px; height: 18px; }

/* ---------- pantalla de una prueba ---------- */
.dx-prueba { padding: 0 1rem 2rem; background: var(--dx-fondo); min-height: 100vh; }
.dx-app { max-width: 1180px; margin: 0 auto; }
.dx-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding: 1rem 0 .7rem; }
.dx-top-tit { display: flex; flex-direction: column; gap: .3rem; align-items: flex-start; } .dx-top-tit strong { font-size: 1.25rem; }
.dx-estado { font-size: .84rem; font-weight: 700; color: var(--dx-sub); padding: .3rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--dx-linea); transition: color .2s, background .2s; }
.dx-estado.dx-ok { color: #0B5C3B; background: #E8F7F0; border-color: #A8DEC6; } .dx-estado.dx-mal { color: #7A1426; background: #FDECEF; border-color: #F3B5C0; } .dx-estado.dx-guardando { color: var(--dx-azul); }
.dx-barra { height: 8px; border-radius: 8px; background: var(--dx-linea); overflow: hidden; margin-bottom: 1rem; }
.dx-barra span { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, var(--dx-azul), var(--dx-cielo)); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.dx-cuerpo { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1.1rem; align-items: start; }
.dx-solo { grid-template-columns: minmax(0, 760px); justify-content: center; }
.dx-ctx, .dx-preg { background: #fff; border: 1px solid var(--dx-linea); border-radius: 20px; box-shadow: 0 10px 26px rgba(14, 26, 71, .06); }
.dx-ctx { position: sticky; top: .8rem; max-height: calc(100vh - 1.6rem); overflow: auto; }
.dx-ctx-in { padding: 1.4rem 1.5rem; font-size: 1.02rem; line-height: 1.7; }
.dx-ctx-in::before { content: "Lee el texto"; display: block; margin-bottom: .6rem; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dx-azul); }
.dx-tabla { overflow-x: auto; margin: .8rem 0; border: 1px solid var(--dx-linea); border-radius: 12px; }
.dx-tabla table { width: 100%; border-collapse: collapse; font-size: .95rem; } .dx-tabla th { background: var(--dx-fondo); text-align: left; } .dx-tabla th, .dx-tabla td { padding: .5rem .8rem; border-bottom: 1px solid var(--dx-linea); } .dx-tabla tr:last-child td { border-bottom: 0; }
.dx-preg-in { padding: 1.4rem 1.5rem; }
.dx-num { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--dx-azul); margin-bottom: .4rem !important; }
.dx-enun { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.1rem; outline: none; }
.dx-ops { display: grid; gap: .65rem; }
.dx-op { display: flex; align-items: flex-start; gap: .8rem; padding: .85rem 1rem; border: 2px solid var(--dx-linea); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.dx-op:hover { border-color: rgba(19, 0, 253, .45); transform: translateX(3px); }
.dx-op input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.dx-letra { flex: none; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 10px; background: var(--dx-fondo); font-weight: 800; color: var(--dx-azul); transition: background .15s, color .15s; }
.dx-op-txt { padding-top: .2rem; }
.dx-sel { border-color: var(--dx-azul); background: rgba(19, 0, 253, .04); box-shadow: 0 6px 16px rgba(19, 0, 253, .10); } .dx-sel .dx-letra { background: var(--dx-azul); color: #fff; }
.dx-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1rem; margin-top: 1.1rem; padding: .8rem 1rem; background: #fff; border: 1px solid var(--dx-linea); border-radius: 18px; }
.dx-puntos { display: flex; flex-wrap: wrap; gap: .35rem; }
.dx-punto { width: 2rem; height: 2rem; border-radius: 9px; border: 2px solid var(--dx-linea); background: #fff; color: var(--dx-sub); font: 700 .8rem/1 inherit; cursor: pointer; transition: transform .15s, background .15s; }
.dx-punto:hover { transform: translateY(-2px); }
.dx-resp { background: rgba(19, 0, 253, .10); border-color: rgba(19, 0, 253, .35); color: var(--dx-azul); }
.dx-actual { background: var(--dx-azul); border-color: var(--dx-azul); color: #fff; }
.dx-nav-btn { display: flex; gap: .6rem; } .dx-nav-btn .dx-btn { padding: .7rem 1.3rem; }
.dx-velo { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(14, 26, 71, .55); }
.dx-dialogo { width: min(520px, 100%); padding: 1.6rem; background: #fff; border-radius: 20px; box-shadow: 0 30px 60px rgba(0, 0, 0, .3); }
.dx-dialogo h2 { margin-bottom: .6rem; font-size: 1.3rem; }
.dx-faltan { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.dx-fin { max-width: 640px; margin: 2rem auto; padding: 2.2rem 1.6rem; text-align: center; background: #fff; border: 1px solid var(--dx-linea); border-radius: 24px; box-shadow: 0 18px 44px rgba(14, 26, 71, .08); }
.dx-fin h1 { font-size: 1.7rem; margin: .8rem 0; outline: none; } .dx-fin .dx-btn { margin: .5rem .3rem 0; }
.dx-gracias { text-align: center; } .dx-gracias .dx-lead { margin: .6rem auto 1rem; }

/* ---------- animación del visto ---------- */
.dx-check-anim { width: 78px; height: 78px; margin: 0 auto; }
.dx-check-anim svg { width: 100%; height: 100%; } .dx-check-anim circle { fill: #E8F7F0; stroke: var(--dx-ok); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; animation: dx-trazo .7s ease forwards; }
.dx-check-anim path { fill: none; stroke: var(--dx-ok); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 50; stroke-dashoffset: 50; animation: dx-trazo .5s .5s ease forwards; }
.dx-in { animation: dx-sube .6s ease both; } .dx-aparece { animation: dx-sube .35s ease both; }
@keyframes dx-sube { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes dx-trazo { to { stroke-dashoffset: 0; } }

/* ---------- administración ---------- */
.dx-adm { max-width: 1180px; margin: 0 auto; padding-bottom: 2rem; }
.dx-adm h2 { font-size: 1.3rem; margin: 1.4rem 0 .7rem; } .dx-adm h3 { font-size: 1.05rem; margin: 1rem 0 .5rem; }
.dx-paneles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin: 1rem 0; }
.dx-panel { display: block; padding: 1.2rem 1.3rem; background: #fff; border: 1px solid var(--dx-linea); border-radius: 16px; box-shadow: 0 8px 20px rgba(14, 26, 71, .06); text-decoration: none !important; color: var(--dx-ink) !important; transition: transform .2s, box-shadow .2s, border-color .2s; }
.dx-panel:hover { transform: translateY(-3px); box-shadow: 0 14px 26px rgba(14, 26, 71, .12); border-color: var(--dx-azul); }
.dx-panel b { display: block; font-size: 1.1rem; margin-bottom: .2rem; } .dx-panel span { color: var(--dx-sub); font-size: .9rem; }
.dx-stats { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1rem 0; }
.dx-stat { flex: 1 1 140px; padding: .9rem 1rem; background: #fff; border: 1px solid var(--dx-linea); border-radius: 14px; } .dx-stat b { display: block; font-size: 1.7rem; color: var(--dx-azul); line-height: 1.1; } .dx-stat span { font-size: .78rem; color: var(--dx-sub); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dx-tarjeta { background: #fff; border: 1px solid var(--dx-linea); border-radius: 16px; padding: 1.2rem 1.4rem; margin: 1rem 0; box-shadow: 0 8px 20px rgba(14, 26, 71, .05); }
.dx-grid-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .9rem 1.2rem; }
.dx-campo label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .25rem; }
.dx-campo input, .dx-campo select { width: 100%; padding: .6rem .75rem; border: 1.5px solid var(--dx-linea); border-radius: 10px; font: inherit; background: #fff; }
.dx-campo input:focus, .dx-campo select:focus { border-color: var(--dx-azul); outline: 2px solid rgba(19, 0, 253, .15); }
.dx-campo .dx-error { color: var(--dx-mal); font-size: .82rem; font-weight: 600; margin-top: .2rem; }
.dx-edad { display: inline-block; margin-top: .3rem; padding: .15rem .7rem; border-radius: 999px; background: #E8F0FF; color: var(--dx-azul2); font-weight: 800; font-size: .85rem; } .dx-edad.dx-menor { background: #FFF1D6; color: #8A5A00; }
.dx-bloque-menor { grid-column: 1 / -1; padding: 1rem 1.2rem; border-radius: 14px; background: #FFF8E6; border: 1px solid #F3DFA8; }
.dx-codigo-grande { margin: 1rem 0; padding: 1.2rem; text-align: center; border: 2px dashed var(--dx-azul); border-radius: 16px; background: #F5F6FF; } .dx-codigo-grande b { display: block; font: 800 2.2rem/1.2 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .16em; color: var(--dx-azul2); }
.dx-tabla-adm { width: 100%; border-collapse: collapse; font-size: .9rem; background: #fff; } .dx-tabla-adm th { background: var(--dx-ink); color: #fff; text-align: left; padding: .6rem .7rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; } .dx-tabla-adm td { padding: .55rem .7rem; border-bottom: 1px solid var(--dx-linea); vertical-align: top; } .dx-tabla-adm tr:hover td { background: #F7F9FF; }
.dx-envoltura { overflow-x: auto; border: 1px solid var(--dx-linea); border-radius: 14px; }
.dx-chip { display: inline-block; padding: .15rem .65rem; border-radius: 999px; font-size: .8rem; white-space: nowrap; } .dx-chip b { margin-right: .2rem; }
.dx-chip-bajo { background: #FDECEF; color: #8A1B2E; } .dx-chip-medio { background: #FFF3D6; color: #805400; } .dx-chip-alto { background: #E3F5EC; color: #0B5C3B; } .dx-chip-nd { background: #EEF0F6; color: #6B7391; }
.dx-escala { margin: 1rem 0; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--dx-linea); border-left: 6px solid var(--dx-oro); border-radius: 14px; } .dx-escala summary { cursor: pointer; font-weight: 800; }
.dx-niveles { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; margin-top: .8rem; }
.dx-nivel { padding: .8rem 1rem; border-radius: 12px; } .dx-nivel b { font-size: 1.05rem; margin-right: .5rem; } .dx-nivel span { font-weight: 800; } .dx-nivel small { display: block; margin-top: .25rem; }
.dx-nivel-bajo { background: #FDECEF; color: #8A1B2E; } .dx-nivel-medio { background: #FFF3D6; color: #805400; } .dx-nivel-alto { background: #E3F5EC; color: #0B5C3B; }
.dx-filtros { display: flex; flex-wrap: wrap; gap: .7rem; align-items: end; margin: 1rem 0; } .dx-filtros .dx-campo { min-width: 160px; }
.dx-barra-nota { height: 10px; border-radius: 10px; background: var(--dx-linea); overflow: hidden; min-width: 120px; } .dx-barra-nota span { display: block; height: 100%; background: linear-gradient(90deg, var(--dx-azul), var(--dx-cielo)); }
.dx-ok { color: var(--dx-ok); font-weight: 800; } .dx-no { color: var(--dx-mal); font-weight: 800; }
.dx-lista-err { margin: .5rem 0 0; padding-left: 1.2rem; color: #7A1426; } .dx-lista-av { margin: .5rem 0 0; padding-left: 1.2rem; color: #805400; }

@media (max-width: 860px) { .dx-cuerpo { grid-template-columns: 1fr; } .dx-ctx { position: static; max-height: 320px; } }
@media print { .dx-nav, .dx-top, .no-imprimir { display: none !important; } .dx-codigo-grande { border-color: #000; } }
@media (prefers-reduced-motion: reduce) { .dx *, .dx *::before, .dx *::after { animation: none !important; transition: none !important; } .dx-check-anim circle, .dx-check-anim path { stroke-dashoffset: 0; } }

.dx-menu { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.2rem; padding: .5rem; background: #fff; border: 1px solid var(--dx-linea); border-radius: 14px; }
.dx-menu a { padding: .5rem 1rem; border-radius: 10px; font-weight: 700; font-size: .92rem; text-decoration: none !important; color: var(--dx-ink) !important; transition: background .15s; }
.dx-menu a:hover { background: var(--dx-fondo); } .dx-menu a[aria-current="page"] { background: var(--dx-azul); color: #fff !important; }
.dx-menu .dx-menu-aparte { margin-left: auto; color: var(--dx-sub) !important; font-weight: 600; }

.dx-quien { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; justify-content: flex-end; }
.dx-quien .dx-rol { padding: .25rem .8rem; border-radius: 999px; background: var(--dx-ink); color: #fff; font-weight: 800; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.dx-quien small { color: var(--dx-sub); max-width: 260px; } .dx-quien a { font-weight: 700; font-size: .88rem; }
.dx-menu .dx-menu-sim { margin-left: auto; background: linear-gradient(110deg, var(--dx-oro), #FF9B2C); color: #3A2600 !important; }
.dx-menu .dx-menu-sim:hover { filter: brightness(1.05); background: linear-gradient(110deg, var(--dx-oro), #FF9B2C); }
.dx-aviso-sim { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; justify-content: center; padding: .55rem 1rem; background: linear-gradient(110deg, var(--dx-oro), #FF9B2C); color: #3A2600; font-weight: 700; font-size: .9rem; }
.dx-aviso-sim a { color: #3A2600 !important; text-decoration: underline; }
.dx-nueva-clave { margin: 1rem 0; padding: 1.1rem; border: 2px dashed var(--dx-oro); border-radius: 14px; background: #FFF8E6; } .dx-nueva-clave b { display: block; font: 800 1.6rem/1.3 ui-monospace, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--dx-azul2); }
.dx-insignia { display: inline-block; padding: .1rem .6rem; border-radius: 999px; font-size: .76rem; font-weight: 800; } .dx-insignia-on { background: #E3F5EC; color: #0B5C3B; } .dx-insignia-off { background: #EEF0F6; color: #6B7391; }

.dx-tipos { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .4rem; padding: .3rem; background: #EEF1FA; border-radius: 999px; width: fit-content; max-width: 100%; }
.dx-tipos a { padding: .55rem 1.1rem; border-radius: 999px; color: var(--dx-azul2); font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.dx-tipos a:hover { background: #fff; }
.dx-tipos a[aria-current="page"] { background: var(--dx-azul); color: #fff; box-shadow: 0 6px 14px rgba(19, 0, 253, .25); }
.dx-tipos a:focus-visible { outline: 3px solid var(--dx-oro); outline-offset: 2px; }
.dx-select { width: 100%; margin-bottom: 1rem; padding: .85rem 1rem; font: 600 1.05rem/1.2 inherit; color: var(--dx-ink); background: #fff; border: 2px solid var(--dx-linea); border-radius: 14px; }
.dx-select:focus-visible { outline: 3px solid var(--dx-oro); outline-offset: 2px; border-color: var(--dx-azul); }
.dx-form-codigo .dx-btn { margin-top: 1.6rem; }

/* ---------- pantalla de código en dos columnas ---------- */
.dx-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2rem; padding: 0 !important; }
.dx-split::before { display: none; }
.dx-principal { padding: 2.2rem 0 2.2rem clamp(1.2rem, 4vw, 3rem); }
.dx-lado { position: relative; margin: 1rem; padding: 2rem 1.8rem; border-radius: 20px; color: #fff; overflow: hidden; background: linear-gradient(155deg, #0A0A8F 0%, #1300FD 55%, #0071FF 100%); box-shadow: 0 18px 40px rgba(19, 0, 253, .28); display: flex; flex-direction: column; justify-content: center; }
.dx .dx-lado h2 { color: #fff; font-size: 1.35rem; margin-bottom: 1.1rem; position: relative; }
.dx-lado-lista { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; position: relative; }
.dx-lado-lista li { display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .13); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(3px); animation: dx-sube .6s ease-out both; }
.dx-lado-lista li:nth-child(2) { animation-delay: .1s; } .dx-lado-lista li:nth-child(3) { animation-delay: .2s; } .dx-lado-lista li:nth-child(4) { animation-delay: .3s; }
.dx-lado-lista .dx-ico { flex: none; background: rgba(255, 255, 255, .95); color: var(--dx-azul); }
.dx-lado-lista b { display: block; font-size: 1rem; }
.dx-lado-lista span { display: block; font-size: .86rem; opacity: .9; }
.dx-lado-lista li:not(:has(.dx-ico)) { flex-direction: column; align-items: flex-start; gap: .1rem; border-left: 5px solid var(--dx-oro); }
.dx-lado-nota { position: relative; margin: 1.2rem 0 0; font-size: .9rem; opacity: .92; }
.dx-orbe { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); pointer-events: none; animation: dx-flota 9s ease-in-out infinite; }
.dx-orbe1 { width: 220px; height: 220px; right: -70px; top: -70px; }
.dx-orbe2 { width: 150px; height: 150px; left: -50px; bottom: -50px; background: rgba(255, 187, 44, .18); animation-delay: -4s; }
@keyframes dx-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(12px); } }
@keyframes dx-sube { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 820px) { .dx-split { grid-template-columns: 1fr; gap: 0; } .dx-principal { padding: 1.6rem 1.2rem .6rem; } .dx-lado { margin: .4rem 1rem 1rem; } }
@media (prefers-reduced-motion: reduce) { .dx-orbe, .dx-lado-lista li { animation: none; } }
.dx-split .dx-principal h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dx-lado { padding-bottom: 2.4rem; }

/* ---------- confirmación de inicio y navegación libre en simulacro ---------- */
.dx-dialogo { width: min(500px, calc(100% - 2rem)); padding: 1.8rem 1.9rem; border: 0; border-top: 8px solid var(--dx-oro, #FFBB2C); border-radius: 22px; color: #0E1A47; box-shadow: 0 30px 70px rgba(10, 30, 70, .35); font-family: inherit; }
.dx-dialogo[open] { animation: dx-sube .3s ease-out; }
.dx-dialogo::backdrop { background: rgba(14, 33, 70, .55); backdrop-filter: blur(2px); }
.dx-dialogo h2 { margin: .7rem 0 .6rem; font-size: 1.35rem; line-height: 1.25; color: #0E1A47; }
.dx-dialogo p { color: #55607F; }
.dx-rep { margin-top: .5rem; }
.dx-rep .dx-btn { width: 100%; font-size: .9rem; padding: .6rem 1rem; }
.dx-acc-sim form { margin: 0; }
.dx-sal-sim { padding: .5rem 1rem; font-size: .88rem; }
.dx-top { flex-wrap: wrap; gap: .6rem; }

/* ---------- interfaz del personal: diseño más llamativo (2026-10-28) ---------- */
.dx-cab { background: #fff; border: 1px solid var(--dx-linea); border-radius: 18px; padding: .7rem 1.2rem; margin-top: 1rem; box-shadow: 0 8px 22px rgba(14, 26, 71, .06); }
.dx-quien { gap: .8rem; }
.dx-quien-t { display: flex; flex-direction: column; align-items: flex-end; gap: .15rem; }
.dx-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--dx-azul), var(--dx-cielo)); color: #fff; font-weight: 800; box-shadow: 0 6px 14px rgba(19, 0, 253, .28); }
.dx-quien .dx-rol { background: linear-gradient(110deg, var(--dx-azul2), var(--dx-azul)); }
.dx-quien > a { padding: .45rem 1rem; border: 1.5px solid var(--dx-linea); border-radius: 999px; text-decoration: none !important; color: var(--dx-ink) !important; transition: border-color .2s, background .2s; }
.dx-quien > a:hover { border-color: var(--dx-mal); background: #FDECEF; color: var(--dx-mal) !important; }

.dx-menu { gap: .35rem; margin: 1rem 0 1.4rem; padding: .45rem; border: 0; border-radius: 18px; background: linear-gradient(110deg, #0A0A8F 0%, #1300FD 60%, #0071FF 100%); box-shadow: 0 14px 30px rgba(19, 0, 253, .26); }
.dx-menu a { display: inline-flex; align-items: center; gap: .5rem; padding: .62rem 1.05rem; border-radius: 13px; color: rgba(255, 255, 255, .92) !important; transition: background .2s, transform .2s; }
.dx-menu a:hover { background: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.dx-menu a[aria-current="page"] { background: #fff; color: var(--dx-azul) !important; box-shadow: 0 6px 14px rgba(10, 10, 80, .25); }
.dx-menu .dx-mi { width: 18px; height: 18px; flex: none; }
.dx-menu .dx-menu-sim, .dx-menu .dx-menu-sim:hover { background: linear-gradient(110deg, var(--dx-oro), #FF9B2C); color: #3A2600 !important; box-shadow: 0 6px 14px rgba(255, 155, 44, .4); }

.dx-banner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin: 0 0 1.2rem; padding: 1.8rem 2rem; border-radius: 22px; color: #fff; overflow: hidden; background: radial-gradient(500px 220px at 95% 0%, rgba(255, 187, 44, .35), transparent 70%), linear-gradient(120deg, #0A0A8F, #1300FD 65%, #0071FF); box-shadow: 0 18px 40px rgba(19, 0, 253, .25); }
.dx-banner::after { content: ""; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .08); animation: dx-flota 9s ease-in-out infinite; }
.dx .dx-banner h1 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: .5rem 0 .3rem; }
.dx-banner p { margin: 0; opacity: .92; max-width: 54ch; }
.dx-banner-etq { display: inline-block; padding: .25rem .8rem; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dx-banner-fecha { position: relative; z-index: 1; text-align: center; padding: .8rem 1.5rem; border-radius: 18px; background: rgba(255, 255, 255, .15); border: 1px solid rgba(255, 255, 255, .3); }
.dx-banner-fecha b { display: block; font-size: 1.8rem; line-height: 1.1; } .dx-banner-fecha span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; opacity: .9; }

.dx-stat { position: relative; padding: 1.1rem 1.2rem 1rem; border: 0; border-radius: 18px; box-shadow: 0 10px 24px rgba(14, 26, 71, .08); overflow: hidden; transition: transform .2s; }
.dx-stat:hover { transform: translateY(-3px); }
.dx-stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--dx-azul); }
.dx-stat b { font-size: 2.1rem; }
.dx-st2::before { background: var(--dx-oro); } .dx-st2 b { color: #B77800; }
.dx-st3::before { background: var(--dx-cielo); } .dx-st3 b { color: var(--dx-cielo); }
.dx-st4::before { background: var(--dx-ok); } .dx-st4 b { color: var(--dx-ok); }

.dx-paneles { gap: 1.1rem; }
.dx-panel { position: relative; padding: 1.4rem 1.4rem 1.2rem; border-radius: 20px; box-shadow: 0 10px 26px rgba(14, 26, 71, .07); }
.dx-panel:hover { transform: translateY(-5px); box-shadow: 0 20px 36px rgba(19, 0, 253, .16); }
.dx-panel-ico { display: grid !important; place-items: center; width: 48px; height: 48px; margin-bottom: .8rem; border-radius: 15px; background: linear-gradient(135deg, rgba(19, 0, 253, .12), rgba(0, 113, 255, .14)); color: var(--dx-azul) !important; }
.dx-panel-ico .dx-mi { width: 24px; height: 24px; }
.dx-panel-flecha { position: absolute; right: 1.2rem; top: 1.3rem; font-style: normal; font-weight: 800; color: var(--dx-azul); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s; }
.dx-panel:hover .dx-panel-flecha { opacity: 1; transform: none; }
.dx-panel:last-child:nth-child(odd) { }
.dx-tarjeta { border-radius: 20px; box-shadow: 0 10px 26px rgba(14, 26, 71, .07); }
.dx-adm h2 { color: var(--dx-azul2); }
.dx-adm th { background: #EEF1FF; color: var(--dx-azul2); }
@media (max-width: 700px) { .dx-quien-t { align-items: flex-start; } .dx-menu a { flex: 1 1 auto; justify-content: center; } .dx-banner { padding: 1.3rem 1.2rem; } }
@media (prefers-reduced-motion: reduce) { .dx-banner::after { animation: none; } }
.dx-bloqueada { display: inline-flex; align-items: center; gap: .5rem; margin-top: .3rem; padding: .6rem 1rem; border-radius: 999px; background: var(--dx-fondo); border: 1px dashed var(--dx-linea); color: var(--dx-sub); font-weight: 700; font-size: .88rem; }
.dx-bloqueada svg { width: 18px; height: 18px; flex: none; }
.dx-pc:has(.dx-bloqueada) { opacity: .75; }
.dx-punto:disabled { cursor: default; }

/* ---------- Resultados, Registro y Códigos de acceso: mismo diseño del panel ---------- */
.dx-banner-sm { padding: 1.4rem 1.8rem; }
.dx .dx-banner-sm h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dx-banner code { padding: .1rem .45rem; border-radius: 6px; background: rgba(255, 255, 255, .2); color: #fff; font-weight: 700; }
.dx-banner strong { color: #FFE29A; }
.dx-filtros { padding: 1.1rem 1.3rem; background: #fff; border: 1px solid var(--dx-linea); border-radius: 20px; box-shadow: 0 10px 26px rgba(14, 26, 71, .07); }
.dx-filtros .dx-campo select, .dx-filtros .dx-campo input { background: var(--dx-fondo); }
.dx-envoltura { border: 0; border-radius: 20px; box-shadow: 0 12px 30px rgba(14, 26, 71, .09); background: #fff; }
.dx-tabla-adm thead { background: linear-gradient(110deg, #0A0A8F, #1300FD 70%, #0071FF); } .dx-tabla-adm th { background: transparent; }
.dx-tabla-adm th:first-child { border-top-left-radius: 20px; } .dx-tabla-adm th:last-child { border-top-right-radius: 20px; }
.dx-tabla-adm tbody tr { transition: background .15s; }
.dx-tabla-adm tbody tr:nth-child(even) { background: #F7F8FF; }
.dx-tabla-adm tbody tr:hover { background: #EAEEFF; }
.dx-tabla-adm code { padding: .15rem .5rem; border-radius: 8px; background: #EEF1FF; color: var(--dx-azul2); font-weight: 700; }
.dx-tarjeta > h2:first-child, .dx-tarjeta > h3:first-child, .dx-tarjeta h3 { color: var(--dx-azul2); }
.dx-tarjeta h3 { display: flex; align-items: center; gap: .6rem; }
.dx-tarjeta h3::before { content: ""; width: 6px; height: 1.2em; border-radius: 4px; background: linear-gradient(var(--dx-azul), var(--dx-cielo)); }
.dx-grid-form { gap: 1rem 1.4rem; }
.dx-campo label { color: var(--dx-azul2); }
.dx-campo input, .dx-campo select { background: var(--dx-fondo); border-color: var(--dx-linea); transition: border-color .2s, box-shadow .2s, background .2s; }
.dx-campo input:focus, .dx-campo select:focus { background: #fff; box-shadow: 0 0 0 4px rgba(19, 0, 253, .12); outline: none; }
.dx-bloque-menor { border-left: 6px solid var(--dx-oro); }
.dx-codigo-grande { border-radius: 20px; background: linear-gradient(135deg, #F1F3FF, #FFF8E6); box-shadow: 0 10px 24px rgba(19, 0, 253, .10); }
.dx-nueva-clave { border-radius: 20px; background: linear-gradient(135deg, #FFF8E6, #FFFFFF); box-shadow: 0 10px 24px rgba(255, 155, 44, .18); }
.dx-insignia { padding: .2rem .75rem; }
.dx-adm h2 { display: flex; align-items: center; gap: .6rem; }
.dx-adm .dx-tabla-adm th { background: transparent; color: #fff; }
.dx-tabla-adm code { white-space: nowrap; }
