/* Ojo Digital Apps — línea gráfica Ojo Digital (encabezado blanco, azul #009cde). */
:root { --acento: #009cde; --oscuro: #0077a8; --texto: #1d232b; --bg: #f4f6f9; --borde: #c3cad4; --suave: #d5dbe3; color-scheme: light; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--texto); font: 16px/1.5 "Segoe UI", "Helvetica Neue", Ubuntu, "DejaVu Sans", Arial, sans-serif;
  min-height: 100vh; display: flex; flex-direction: column; }
.encabezado { display: flex; align-items: center; flex-wrap: wrap; gap: .5em 1em; background: #fff; border-bottom: 3px solid var(--acento); padding: .6em 1em; }
.encabezado img { height: 3.4em; }
.encabezado .sep { width: 2px; align-self: stretch; background: var(--acento); }
.titulo { color: var(--oscuro); font-size: 1.5em; font-weight: 600; line-height: 1.1; }
.subtitulo { color: var(--acento); font-size: .88em; }
.menu { margin-left: auto; display: flex; flex-wrap: wrap; gap: .3em; }
.menu a { color: var(--oscuro); text-decoration: none; border: 1px solid var(--acento); border-radius: 5px; padding: .3em .8em; font-weight: 600; }
.menu a:hover { background: var(--acento); color: #fff; }
main { flex: 1; width: 100%; max-width: 1000px; margin: 0 auto; padding: 1.2em 1em 2em; }
footer { text-align: center; color: #5b6472; font-size: .85em; padding: 1em; }
h1 { color: var(--oscuro); font-size: 1.6em; margin: .2em 0 .6em; }
h2 { color: var(--oscuro); font-size: 1.15em; margin: 0 0 .5em; }
a { color: var(--oscuro); }
.caja { background: #fff; border: 1px solid var(--suave); border-radius: 8px; padding: 1.2em 1.3em; margin: 0 auto 1em; max-width: 30em; }
.columnas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18em), 1fr)); gap: 1em; align-items: start; }
.columnas .caja { max-width: none; margin: 0; }
label { display: block; margin: .6em 0; font-weight: 600; }
label.check { font-weight: 400; }
input:not([type=checkbox]) { display: block; width: 100%; margin-top: .25em; font: inherit; padding: .5em .6em; border: 1px solid var(--borde); border-radius: 5px; background: #fff; }
input:focus-visible, .boton:focus-visible, a:focus-visible { outline: 2px solid var(--acento); outline-offset: 2px; }
fieldset { border: 1px solid var(--suave); border-radius: 6px; margin: .6em 0; }
legend { color: var(--oscuro); font-weight: 600; }
.boton { display: inline-block; margin-top: .6em; background: var(--acento); color: #fff; border: none; border-radius: 6px; padding: .6em 1.2em;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.boton:hover { background: var(--oscuro); }
.boton.google { background: #fff; color: var(--texto); border: 1px solid var(--borde); width: 100%; text-align: center; }
.boton.peligro { background: #b3261e; }
form.enlinea { display: inline-block; margin-right: .4em; }
.o { text-align: center; color: #5b6472; margin: .8em 0 0; }
.aviso { border-radius: 6px; padding: .6em .8em; margin: .6em 0; }
.aviso.error { background: #fde8e7; color: #8c1d18; }
.aviso.ok { background: #e6f5ec; color: #1d5b33; }
.aviso.info { background: #e3f2fa; color: var(--oscuro); }
.nota { color: #5b6472; font-size: .9em; }
.qr { width: 220px; max-width: 100%; margin: .5em auto; background: #fff; }
.qr svg { width: 100%; height: auto; display: block; }
code { background: #eef1f5; padding: .1em .3em; border-radius: 3px; }
.codigos { background: #eef1f5; padding: .8em; border-radius: 6px; font-size: 1.15em; letter-spacing: .05em; }
.enlace { font-family: monospace; font-size: .85em; }
.tarjetas { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14em), 1fr)); gap: 1em; }
.tarjeta { display: flex; flex-direction: column; gap: .3em; background: #fff; border: 1px solid var(--suave); border-top: 4px solid var(--acento);
  border-radius: 8px; padding: 1em; text-decoration: none; color: var(--texto); }
.tarjeta b { color: var(--oscuro); font-size: 1.15em; }
.tarjeta:hover { border-color: var(--acento); }
.tabla { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: #fff; font-size: .92em; }
th { background: #1d232b; color: #fff; text-align: left; padding: .45em .6em; font-weight: 600; }
td { border-bottom: 1px solid var(--suave); padding: .45em .6em; vertical-align: top; }
.caja.texto { max-width: 46em; }
.caja.texto li { margin: .3em 0; }
footer a { color: #5b6472; }
.programa { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 1em; border-bottom: 1px solid var(--suave); }
.programa label.fecha { font-weight: 400; font-size: .9em; margin: .3em 0; display: flex; align-items: center; gap: .4em; }
.programa label.fecha input { width: auto; margin: 0; padding: .25em .4em; }
.tarjeta .vence { color: var(--oscuro); font-size: .85em; font-weight: 600; }
.tarjeta.vencida { border-top-color: #b3261e; opacity: .85; }
.tarjeta.vencida .vence { color: #b3261e; }
