/* =====================================================================
 * Página pública de verificación de certificados
 * ===================================================================== */
.login-alt { text-align: center; color: var(--ink-3); font-size: .88rem; margin-top: 1.25rem; }
.login-alt a { font-weight: 700; }

.verify-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.verify-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem clamp(1rem, 4vw, 2.5rem); background: #fff; border-bottom: 1px solid var(--line); }
.verify-top .logo { height: 40px; }
.verify-hero {
  background: radial-gradient(circle at 15% 20%, #0a85c7 0, var(--brand) 45%, #003a5c 100%); color: #fff; text-align: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1rem clamp(4rem, 8vw, 6rem); position: relative; overflow: hidden;
}
.verify-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .06); right: -140px; top: -160px; }
.verify-hero .tag { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; opacity: .8; }
.verify-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin: .6rem 0 .5rem; letter-spacing: -.02em; }
.verify-hero p { opacity: .85; margin: 0 auto 1.75rem; max-width: 32rem; line-height: 1.6; }
.verify-form { display: flex; gap: .6rem; max-width: 520px; margin: 0 auto; position: relative; z-index: 1; background: #fff; padding: .45rem; border-radius: 16px; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); }
.verify-form input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 1.05rem; padding: .6rem .9rem; letter-spacing: .06em; text-transform: uppercase; font-family: ui-monospace, Consolas, monospace; color: var(--ink); }
.verify-form input::placeholder { text-transform: none; letter-spacing: 0; font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--ink-3); }
.verify-result { width: 100%; max-width: 760px; margin: -3rem auto 2rem; padding: 0 1rem; position: relative; z-index: 2; flex: 1; }
.verify-result .loading.sm { background: #fff; border-radius: 22px; box-shadow: var(--shadow); }
.verify-result .alert { box-shadow: var(--shadow); }
.vcard { display: flex; gap: 1.5rem; background: #fff; border-radius: 24px; box-shadow: 0 20px 60px rgba(15, 23, 42, .12); padding: clamp(1.25rem, 4vw, 2.25rem); border-top: 6px solid var(--ok); }
.vcard.warn { border-top-color: var(--accent); }
.vcard.bad { border-top-color: var(--danger); }
.vseal { width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: #fff; background: var(--ok); box-shadow: 0 0 0 10px var(--ok-50); animation: pop .5s cubic-bezier(.2, .9, .3, 1.4); }
.vcard.warn .vseal { background: var(--accent); box-shadow: 0 0 0 10px var(--warn-50); }
.vcard.bad .vseal { background: var(--danger); box-shadow: 0 0 0 10px var(--danger-50); }
.vbody { flex: 1; min-width: 0; }
.vstatus { display: inline-block; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: #047857; background: var(--ok-50); padding: .3rem .7rem; border-radius: 999px; }
.vcard.warn .vstatus { color: #b45309; background: var(--warn-50); }
.vcard.bad .vstatus { color: var(--danger); background: var(--danger-50); }
.vlead { color: var(--ink-3); margin: 1rem 0 .1rem; font-size: .9rem; }
.vbody h2 { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -.01em; }
.vbody h3 { margin: .2rem 0 0; font-size: 1.15rem; color: var(--brand); line-height: 1.35; }
.vcard.bad h3 { color: var(--ink); margin-top: .75rem; }
.vmeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vmeta dt { font-size: .72rem; color: var(--ink-3); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.vmeta dd { margin: .2rem 0 0; font-weight: 700; word-break: break-all; }
.vactions { display: flex; gap: .6rem; flex-wrap: wrap; }
.verify-foot { text-align: center; color: var(--ink-3); font-size: .8rem; padding: 1.5rem 1rem 2rem; }

@media (max-width: 600px) {
  .vcard { flex-direction: column; align-items: center; text-align: center; }
  .vmeta { grid-template-columns: 1fr; text-align: left; }
  .vactions { justify-content: center; }
  .vactions .btn { width: 100%; justify-content: center; }
  .verify-form { flex-direction: column; }
  .verify-form .btn { justify-content: center; }
}

/* El logo es un JPG con fondo blanco: "multiply" hace que el blanco se funda con el fondo claro. */
img.logo { mix-blend-mode: multiply; }

/* Logos más grandes */
.topbar img.logo { height: 48px; }
.login-form img.logo { height: 76px; }
.verify-top .logo { height: 54px; }
@media (max-width: 520px) { .topbar img.logo { height: 38px; } .verify-top .logo { height: 44px; } }

/* Logo oficial ya recortado (logo-superatec.png): la altura es la del logo visible, sin trucos. */
.topbar img.logo { height: 50px; width: auto; max-width: none; flex: none; }
.topbar :has(> img.logo) { flex: none; }
.login-form img.logo { height: 64px; }
.verify-top .logo { height: 46px; }
body.cu-mode .topbar img.logo, .cu-brand img { height: 50px; width: auto; padding: 6px 10px; box-sizing: content-box; border-radius: 10px; clip-path: none; margin: 0; }
@media (max-width: 520px) {
  .topbar img.logo { height: 40px; }
  body.cu-mode .topbar img.logo, .cu-brand img { height: 36px; padding: 5px 8px; }
  .verify-top .logo { height: 38px; }
}

/* =====================================================================
 * Verificación con el estilo de la portada nueva (UI/UX Pro Max, 2026-10)
 * ===================================================================== */
.verify-top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--card) 90%, transparent); backdrop-filter: blur(12px); padding: .7rem clamp(1rem, 4vw, 2.5rem); }
.verify-top .cu-top-actions { display: flex; align-items: center; gap: 10px; }
.verify-top .btn { display: inline-flex; align-items: center; gap: 6px; }
html[data-theme="dark"] .verify-top .logo { mix-blend-mode: normal; background: #fff; border-radius: 12px; padding: 5px 10px; box-sizing: content-box; height: 38px; }
.verify-hero { padding: clamp(2.5rem, 6vw, 4.5rem) 1rem clamp(5rem, 9vw, 7rem);
  background: radial-gradient(700px 420px at 85% 10%, rgba(56, 189, 248, .22), transparent 70%), linear-gradient(135deg, #0a4f7c 0%, #073b5e 50%, #041f33 100%); }
html[data-theme="dark"] .verify-hero { background: radial-gradient(700px 420px at 85% 10%, rgba(56, 189, 248, .22), transparent 70%), linear-gradient(135deg, #0a4f7c 0%, #073b5e 50%, #041f33 100%); }
.verify-hero::before { content: ""; position: absolute; inset: 0; opacity: .2; pointer-events: none;
  background-image: radial-gradient(#fff 1.4px, transparent 1.5px); background-size: 26px 26px; mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%); }
.verify-hero::after { border-color: rgba(255, 255, 255, .05); }
.verify-hero > * { position: relative; z-index: 1; }
.verify-hero h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; margin: 18px auto 12px; max-width: 46rem; font-weight: 800; }
.verify-hero h1 em { font-style: normal; background: linear-gradient(90deg, #7dd3fc, #fff 80%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.verify-hero p { color: #dbeefa; opacity: 1; }
.verify-form { max-width: 580px; align-items: center; padding: 6px 6px 6px 14px; border-radius: 18px; }
html[data-theme="dark"] .verify-form { background: #11263d; box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 0 1px #24405f; }
.vf-ico { color: #0a85c7; display: flex; flex: none; } .vf-ico .lp-ico { width: 22px; height: 22px; }
.verify-form input { min-height: 48px; background: transparent; }
.verify-form .btn { min-height: 48px; padding: 0 22px; border-radius: 13px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; }
.verify-form .btn .lp-ico { width: 18px; height: 18px; }
.vf-err { display: block; text-align: center; color: #fecdd3 !important; margin-top: 10px; }
.vf-note { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; margin: 18px auto 0 !important; color: #b9dcf0 !important; max-width: 36rem; }
.vf-note .lp-ico { width: 18px; height: 18px; color: #7dd3fc; }
.verify-result:empty { display: none; }
.vcard { border-top-width: 0; box-shadow: 0 0 0 1px var(--line), 0 20px 60px rgba(15, 23, 42, .12); position: relative; overflow: hidden; }
.vcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, #10b981, #0a85c7); }
.vcard.warn::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.vcard.bad::before { background: linear-gradient(90deg, #e11d48, #f97316); }
html[data-theme="dark"] .vcard { background: #11263d; }
.vactions .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; }
.vactions .btn .lp-ico { width: 18px; height: 18px; }
/* Ayuda debajo */
.verify-help { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 1rem; position: relative; z-index: 2; }
.verify-result:empty + .verify-help { margin-top: -3.5rem; }
.verify-result:not(:empty) + .verify-help { margin-top: 1rem; }
.verify-help h2 { font-size: 1.05rem; margin: 0 0 12px; color: var(--ink); text-align: center; }
.verify-result:empty + .verify-help h2 { color: #fff; }
.vh-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vh-steps > div { background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
html[data-theme="dark"] .vh-steps > div, html[data-theme="dark"] .vh-cta { border: 1px solid var(--line); }
.vh-steps .si { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 4px; }
.vh-steps b { font-size: 1rem; color: var(--ink); } .vh-steps small { color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.vh-cta { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; background: var(--card); border-radius: 18px; box-shadow: var(--shadow); padding: 18px 20px; }
.vh-cta b { display: block; color: var(--ink); } .vh-cta small { color: var(--ink-2); font-size: .88rem; }
.vh-cta .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; }
.vh-cta .btn .lp-ico { width: 18px; height: 18px; }
.verify-foot { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--ink-2); margin-top: 1rem; }
.verify-foot .lp-ico { width: 16px; height: 16px; color: var(--lp-free, #047857); }
@media (max-width: 760px) {
  .vt-hide-m { display: none !important; }
  .verify-hero { padding: 28px 16px 72px; }
  .verify-hero h1 { font-size: 1.85rem; }
  .verify-hero p { font-size: .95rem; margin-bottom: 1.25rem; }
  .verify-form { flex-direction: row; flex-wrap: wrap; padding: 8px; }
  .vf-ico { display: none; }
  .verify-form input { flex: 1 1 100%; text-align: center; }
  .verify-form .btn { flex: 1 1 100%; justify-content: center; }
  .vf-note { font-size: .8rem; text-align: left; }
  .verify-result:empty + .verify-help { margin-top: -2.75rem; }
  .vh-steps { grid-template-columns: 1fr; gap: 8px; }
  .vh-steps > div { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 12px; padding: 12px 14px; }
  .vh-steps .si { width: 38px; height: 38px; margin: 0; }
  .vh-steps small { flex-basis: 100%; padding-left: 50px; margin-top: -4px; }
  .vh-cta .btn { width: 100%; justify-content: center; }
  .verify-foot { font-size: .74rem; text-align: left; padding: 1.25rem 1rem 1.5rem; }
}
