/* Чекбокс согласия на обработку данных в формах. Логика: js/site/form-consent.js */
.mt-old-consent {
  display: none !important;
}

form .mt-consent {
  display: block !important;
  width: 100% !important;
  max-width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  font:
    12px/1.5 Arial,
    sans-serif;
  color: #414141;
  text-align: left;
  clear: both;
}

form .mt-submit-row {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  box-sizing: border-box;
}

form .mt-submit-row > .t-submit {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

form .mt-submit-row > .mt-consent {
  width: auto !important;
  min-width: 0;
  flex: 1 1 0 !important;
  margin: 0 !important;
  clear: none;
}

form .mt-consent__label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

form .mt-consent__label > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

form input.mt-consent__checkbox {
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  position: static !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  margin: 1px 0 0 !important;
  padding: 0 !important;
  cursor: pointer;
  accent-color: #40b32e;
}

form .mt-consent a {
  color: inherit !important;
  text-decoration: underline !important;
}

form .mt-consent.js-error-control-box .mt-consent__checkbox {
  outline: 1px solid #ff5757;
  outline-offset: 2px;
}

form .mt-consent__checkbox:focus-visible {
  outline: 2px solid #40b32e;
  outline-offset: 3px;
}

.t396__artboard[style*="--mt-min-height"] {
  min-height: var(--mt-min-height) !important;
}

.t396__artboard[style*="--mt-min-height"] > .t396__carrier,
.t396__artboard[style*="--mt-min-height"] > .t396__filter {
  min-height: var(--mt-min-height) !important;
}
