/* СВОИ preview: make the required consent checkbox a compact, accessible row.
 * This intentionally has higher specificity than discount-offer.css's generic
 * `.discount-form input` / `.discount-form label` rules and the CRM bridge CSS.
 * No impact on other forms, their validators, or CRM submission.
 */
.svoi-discount-dialog .discount-form label.svoi-crm-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  margin: 6px 0 0;
  padding: 13px 14px;
  min-width: 0;
  border: 1px solid #dfe7ed;
  border-radius: 12px;
  background: #f7f9fa;
  color: #393736;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  cursor: pointer;
}
.svoi-discount-dialog .discount-form label.svoi-crm-consent input[type="checkbox"] {
  appearance: auto;
  box-sizing: border-box;
  display: block;
  flex: 0 0 20px;
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  height: 20px;
  min-height: 20px;
  max-height: 20px;
  padding: 0;
  margin: 1px 0 0;
  border-radius: 4px;
  background: transparent;
  accent-color: #6a8fb3;
  cursor: pointer;
}
.svoi-discount-dialog .discount-form label.svoi-crm-consent span {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.svoi-discount-dialog .discount-form label.svoi-crm-consent a {
  color: #466e91;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.svoi-discount-dialog .discount-form label.svoi-crm-consent input[type="checkbox"]:focus-visible {
  outline: 3px solid #6a8fb3;
  outline-offset: 3px;
}
@media (max-width: 480px) {
  .svoi-discount-dialog .discount-form label.svoi-crm-consent {
    gap: 10px;
    padding: 12px;
    font-size: 12px;
    line-height: 1.5;
  }
}
/* The required checkbox already includes both legal links; avoid repeating
 * the same agreement in the tiny text beneath the submit button. */
.svoi-discount-dialog .discount-form .discount-consent {
  display: block;
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}
