/* Verificación de documentos · ESSSAB Latino América · versión 1.1 */
:root { --tinta: #111111; --gris: #555555; --linea: #c8c8c8; --fondo: #f2f2f2; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Aptos, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--tinta);
  background: #ffffff;
}
.cabecera, main, .pie { max-width: 680px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.cabecera { padding-top: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--tinta); }
.marca { margin: 0; font-weight: 700; font-size: 19px; letter-spacing: 0.02em; }
h1 { font-size: 28px; line-height: 1.2; margin: 32px 0 8px; font-weight: 700; }
.intro { margin: 0 0 24px; color: var(--gris); }
label { display: block; font-weight: 700; margin-bottom: 8px; }
.fila { display: flex; flex-wrap: wrap; gap: 10px; }
input[type="text"] {
  flex: 1 1 260px; min-width: 0;
  font: inherit; font-size: 18px; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 12px 14px; border: 1px solid var(--tinta); border-radius: 4px; color: var(--tinta); background: #ffffff;
}
input[type="text"]::placeholder { text-transform: none; letter-spacing: 0; color: #8a8a8a; }
button {
  font: inherit; font-weight: 700; padding: 12px 22px; cursor: pointer;
  border: 1px solid var(--tinta); border-radius: 4px; background: var(--tinta); color: #ffffff;
}
button:focus-visible, input:focus-visible, .boton-archivo:focus-within { outline: 3px solid #8a8a8a; outline-offset: 2px; }
.ayuda { font-size: 15px; color: var(--gris); margin: 10px 0 0; }
.error-campo { font-size: 15px; font-weight: 700; margin: 8px 0 0; }
#resultado { margin: 28px 0 40px; }
.estado { padding: 16px 18px; border: 2px solid var(--tinta); border-radius: 4px; }
.estado.negativo { background: var(--tinta); color: #ffffff; }
.estado.neutro { background: var(--fondo); border-color: var(--linea); }
.estado h2 { margin: 0 0 6px; font-size: 21px; line-height: 1.3; }
.estado p { margin: 0; }
.estado a { color: inherit; }
.estado p.aclaracion { margin-top: 8px; }
dl.datos { margin: 18px 0 0; display: grid; grid-template-columns: minmax(130px, 34%) 1fr; border-top: 1px solid var(--linea); }
dl.datos dt, dl.datos dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--linea); }
dl.datos dt { color: var(--gris); padding-right: 12px; }
dl.datos dd { font-weight: 700; overflow-wrap: anywhere; }
.huella { font-family: ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace; font-size: 13px; font-weight: 400; word-break: break-all; }
.comparar { margin-top: 22px; padding: 16px 18px; background: var(--fondo); border-radius: 4px; }
.subtitulo { font-weight: 700; margin: 0 0 10px; }
.boton-archivo {
  position: relative; overflow: hidden; display: inline-block; cursor: pointer;
  font-weight: 700; padding: 10px 18px; border: 1px solid var(--tinta); border-radius: 4px; background: #ffffff;
}
.boton-archivo input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.nota { font-size: 14px; color: var(--gris); margin: 10px 0 0; }
.veredicto { font-weight: 700; margin: 12px 0 0; }
.veredicto:empty { display: none; }
.pie { margin-top: 24px; padding-top: 14px; padding-bottom: 32px; border-top: 1px solid var(--linea); font-size: 14px; color: var(--gris); }
.pie p { margin: 0; }
@media (max-width: 480px) {
  h1 { font-size: 24px; }
  dl.datos { grid-template-columns: 1fr; }
  dl.datos dt { border-bottom: none; padding-bottom: 0; }
}
@media print {
  .fila, .ayuda, .comparar { display: none; }
}
