/* ============================================
   IZIHOME · COMMON FORM ELEMENTS
   --------------------------------------------
   Шейр-стили для блоков, которые ставятся под/внутри форм.
   Сейчас: .form-consent — чекбокс «Согласие на обработку ПД» под submit-кнопкой.
   Использовать парно с required-чекбоксом name="consent_pd" (см. 7 форм).
   ============================================ */

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-tertiary, #B0B8B5);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
}
.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.16));
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 180ms ease, background 180ms ease;
}
.form-consent input[type="checkbox"]:hover {
  border-color: var(--mint-border, rgba(0, 255, 178, 0.30));
}
.form-consent input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--mint, #00FFB2);
  outline-offset: 2px;
}
.form-consent input[type="checkbox"]:checked {
  background: var(--mint, #00FFB2);
  border-color: var(--mint, #00FFB2);
}
.form-consent input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0;
  width: 5px;
  height: 10px;
  border: solid var(--text-inverse, #0A0E0D);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent a { color: var(--mint, #00FFB2); }
.form-consent a:hover { text-decoration: underline; }
