/* =============================================================================
   ESD LAB - página register (templates/register.html): checkbox de
   "acepto términos". Movido tal cual desde static/styles.css (A7.8),
   sin cambiar ningún valor ni selector. Es lo único genuinamente
   exclusivo de esta página — el andamiaje de página, el formulario y
   los requisitos de contraseña son compartidos con templates/
   account_password.html (30 de las 37 reglas originales de la sección
   REGISTER), viven en static/css/components/index.css.
   ============================================================================= */

.register-checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.register-checkbox-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  border: 2px solid var(--esd-border-dark);
  border-radius: 4px;
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  background-color: transparent;
}

.register-checkbox-input:checked {
  background-color: var(--esd-orange);
  border-color: var(--esd-orange);
}

.register-checkbox-input:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
}

.register-checkbox-input:focus {
  box-shadow: 0 0 0 3px rgba(61, 107, 150, 0.15);
  outline: none;
}

.register-checkbox-input:hover {
  border-color: var(--esd-orange);
}

.register-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--esd-text-dark);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
