/* Consent forms — uses site .input-checkbox from head.css */

.policy-consent-wrap {
  margin: 12px auto 16px;
  width: 100%;
  max-width: 370px;
  text-align: left;
  box-sizing: border-box;
}

.policy-consent-wrap .js-form-error-banner,
.policy-consent-wrap .form-consent-error {
  display: none;
  width: auto;
  max-width: 42%;
  margin: 0;
  padding: 5px 12px;
  box-sizing: border-box;
  background-color: #db422c;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  border-radius: 4px 4px 0 0;
}

.policy-consent-wrap.is-error .js-form-error-banner,
.policy-consent-wrap.is-error .form-consent-error {
  display: inline-block;
}

.policy-consent-wrap .input-checkbox.policy-consent-checkbox {
  margin: 0;
  display: block;
  position: relative;
  padding-left: 25px;
  line-height: 1.5;
  text-align: left;
  color: #595959;
  font-size: 12px;
  font-weight: 300;
}

.policy-consent-wrap .input-checkbox.policy-consent-checkbox .link {
  color: #ff7200;
  text-decoration: underline;
  font-weight: 500;
}

.policy-consent-wrap .input-checkbox.policy-consent-checkbox .link:hover {
  color: #e56600;
  text-decoration: none;
}

.policy-consent-wrap .input-checkbox.policy-consent-checkbox .input-checkbox__check {
  top: 0.2em;
  left: 0;
}

.policy-consent-wrap.is-error .input-checkbox.policy-consent-checkbox {
  margin: 0;
  padding: 12px 10px 10px 34px;
  background-color: #ffeaee;
  border: 1px solid #db422c;
  border-radius: 4px;
  box-sizing: border-box;
}

.policy-consent-wrap.is-error .input-checkbox.policy-consent-checkbox .input-checkbox__check {
  top: 12px;
  left: 10px;
}

/* popup cards — inputs/buttons left-aligned, max-width 250px */
.popup_form_otkr .policy-consent-wrap {
  max-width: 250px;
  margin-left: 0;
  margin-right: auto;
}

/* offer blocks — inputs left-aligned */
.s-offer__form .policy-consent-wrap {
  margin-left: 0;
  margin-right: auto;
}
