/* publico-autogestion/formulario/estilos.css - mobile first, sin dependencias */
:root { --fondo: #ffffff; --texto: #1d1d1f; --suave: #5f6368; --borde: #d0d4d9; --acento: #0b5cad; --error: #b3261e; --aviso: #8a5a00; --wa: #1f8f4e; }
@media (prefers-color-scheme: dark) { :root { --fondo: #121212; --texto: #ececec; --suave: #a9a9a9; --borde: #3a3a3a; --acento: #5aa3ff; --error: #ff8a80; --aviso: #f2c14e; --wa: #39b56a; } }
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--fondo); color: var(--texto); }
header, main, footer { max-width: 560px; margin: 0 auto; padding: 16px; }
h1 { font-size: 1.5rem; margin: 0 0 4px; }
h2 { font-size: 1.2rem; margin: 4px 0 12px; }
.paso { color: var(--suave); margin: 0; font-size: .9rem; }
.campo { margin: 0 0 14px; border: 0; padding: 0; }
.campo label, .campo legend { display: block; font-weight: 600; margin-bottom: 4px; }
.campo input[type="text"], .campo input[type="tel"], .campo input[type="email"], .campo input[type="date"], .campo input[type="time"], .campo input[type="number"], .campo select, .campo textarea {
  width: 100%; padding: 10px; border: 1px solid var(--borde); border-radius: 8px; font: inherit; background: transparent; color: inherit; }
.campo.check label { font-weight: 400; }
.opcion { display: inline-block; margin-right: 16px; font-weight: 400; }
.ayuda { color: var(--suave); font-size: .85rem; margin: 0 0 4px; }
.error { color: var(--error); font-size: .9rem; margin: 4px 0 0; }
.aviso, .recomendacion { color: var(--aviso); }
.mensaje { font-weight: 600; }
.lista-archivos { padding-left: 18px; margin: 6px 0 0; }
.quitar { font-size: .85rem; }
.nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 16px; }
.boton { display: inline-block; padding: 12px 18px; border-radius: 10px; border: 0; background: var(--acento); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.boton.secundario { background: transparent; color: var(--acento); border: 1px solid var(--acento); }
.boton.wa { background: var(--wa); }
.boton[disabled] { opacity: .6; }
.trampa { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
footer { color: var(--suave); font-size: .85rem; }
.legal { max-width: 46rem; margin: 0 auto; padding: 1rem; }
.aviso-envio { margin-top: 1rem; }
