:root {
  --brand: #2196f3;
  --brand-dark: #1976d2;
  --bg: #f5f5f5;
  --text: #333;
  --ok: #2e7d32;
  --warn: #ef6c00;
  --err: #c62828;
}

* { box-sizing: border-box; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  margin: 0;
}

.page { max-width: 820px; margin: 2rem auto; padding: 0 1rem; }
.hero { text-align: center; margin-bottom: 1rem; }
.logo { width: 160px; height: auto; object-fit: contain; margin: 0 auto .5rem; display: block; }
h1 { margin: .25rem 0 .75rem; color: var(--brand); font-size: 1.6rem; }
.lead { margin: 0 auto; line-height: 1.6; text-align: center; }
.card { background: #fff; border-radius: 12px; padding: 1.25rem; margin: 1rem 0; box-shadow: 0 4px 10px rgba(0,0,0,.08); text-align: justify; }
.card h2 { margin-top: 0; color: var(--brand); font-size: 1.25rem; text-align: center; }
.link { color: var(--brand); text-decoration: none; font-weight: bold;}
.link:hover { text-decoration: underline; }
.form-group { margin-bottom: 1rem; }
label { display: block; font-weight: bold; margin-bottom: .4rem; }
input[type="email"] { width: 100%; padding: .9rem; border: 1px solid #ccc; border-radius: 8px; font-size: 1rem; }
input[type="email"]:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(33,150,243,.15); }
button[type="submit"] { width: 100%; padding: .9rem 1rem; border: none; background: var(--brand); color: #fff; font-size: 1rem; border-radius: 8px; cursor: pointer; transition: background .15s ease-in-out; }
button[type="submit"]:hover { background: var(--brand-dark); }
button[disabled] { opacity: .7; cursor: not-allowed; }
.error-message { display: none; color: var(--err); font-size: .9rem; margin-top: .35rem; }
.result { margin-top: .9rem; font-size: .98rem; line-height: 1.5; }
.result.ok { color: var(--ok); } .result.warn { color: var(--warn); } .result.err { color: var(--err); }
.footer-note p { margin: 0; text-align: center; }
/* New checkbox helpers */
.small { font-size: .95rem; text-align: center;}
.checkbox {
  display: flex;
  align-items: center; /* centra verticalmente con el texto */
  gap: 0.7rem;
  line-height: 1.5;
  font-weight: normal;
}

/* Tamaño uniforme y diseño limpio */
.checkbox input[type="checkbox"] {
  appearance: none; /* elimina el estilo nativo del navegador */
  width: 22px;
  height: 22px;
  border: 2px solid #2196f3;
  border-radius: 4px;
  display: inline-flex;       /* permite centrar con flexbox */
  align-items: center;
  justify-content: center;    /* centra el ✓ */
  cursor: pointer;
  flex-shrink: 0;
  background-color: #fff;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

/* Efecto al pasar el mouse */
.checkbox input[type="checkbox"]:hover {
  border-color: #1976d2;
}

/* Marca azul centrada */
.checkbox input[type="checkbox"]:checked::after {
  content: "✓";
  color: #2196f3;
  font-size: 18px;
  line-height: 1;
}

/* Agranda un poco en móviles */
@media (max-width: 480px) {
  .checkbox input[type="checkbox"] {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }
  .checkbox input[type="checkbox"]:checked::after {
    font-size: 22px;
  }
}
