/* Pantallas pensadas para gente grande: letra grande, pocos botones,
   un paso por pantalla, mensajes claros. Sin librerías de diseño externas. */
:root {
  --royal: #0055CC;
  --celeste: #00A0FF;
  --tinta: #0B1220;
  --papel: #FAFAFA;
  --verde: #1E8E3E;
  --amarillo: #B98600;
  --rojo: #C5221F;
  --borde: #D7DEE8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, "Segoe UI", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: var(--tinta);
  background: var(--papel);
}

.contenedor {
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.contenedor-ancho {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

h1 { font-size: 30px; margin: 0 0 8px; }
h2 { font-size: 24px; margin: 0 0 16px; }
p.ayuda { color: #4B5768; font-size: 18px; }

label {
  display: block;
  font-weight: 600;
  margin: 20px 0 8px;
}

input, select {
  width: 100%;
  font-size: 20px;
  padding: 14px 16px;
  border: 2px solid var(--borde);
  border-radius: 8px;
  background: white;
}

input:focus, select:focus {
  outline: 3px solid var(--celeste);
  border-color: var(--royal);
}

button, .boton {
  font-size: 20px;
  font-weight: 700;
  padding: 16px 24px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  min-height: 56px;
}

.boton-principal { background: var(--royal); color: white; width: 100%; }
.boton-principal:hover { background: #0044AA; }
.boton-secundario { background: white; color: var(--royal); border: 2px solid var(--royal); width: 100%; }
.boton-peligro { background: var(--rojo); color: white; }
.boton-chico { font-size: 17px; padding: 10px 16px; min-height: 40px; }

.fila-botones { display: flex; gap: 12px; margin-top: 28px; }
.fila-botones > * { flex: 1; }

.aviso {
  padding: 16px 18px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 18px;
}
.aviso-error { background: #FDECEA; color: var(--rojo); border: 2px solid var(--rojo); }
.aviso-info { background: #E8F0FE; color: var(--royal); border: 2px solid var(--royal); }
.aviso-ok { background: #E6F4EA; color: var(--verde); border: 2px solid var(--verde); }
.aviso-espera { background: #FFF8E1; color: var(--amarillo); border: 2px solid var(--amarillo); }

nav.barra {
  background: var(--tinta);
  color: white;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
nav.barra a { color: white; text-decoration: none; font-weight: 600; margin-right: 20px; font-size: 18px; }
nav.barra a:hover { text-decoration: underline; }
nav.barra .quien { font-size: 16px; opacity: .85; }

table { width: 100%; border-collapse: collapse; font-size: 18px; margin-top: 16px; }
th, td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--borde); }
th { background: #F0F3F8; }

.semaforo { display: inline-block; width: 16px; height: 16px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.semaforo-verde { background: var(--verde); }
.semaforo-amarillo { background: var(--amarillo); }
.semaforo-rojo { background: var(--rojo); }

.paso { display: none; }
.paso.activo { display: block; }
.indicador-pasos { font-size: 16px; color: #4B5768; margin-bottom: 12px; }

.resumen-confirmacion { background: white; border: 2px solid var(--borde); border-radius: 10px; padding: 20px; margin: 20px 0; }
.resumen-confirmacion dt { font-weight: 700; margin-top: 10px; }
.resumen-confirmacion dd { margin: 2px 0 0; }
