/*
 * Consent form controls for dao-clinic.ru.
 * Submit buttons are visually muted with a class only: no disabled attribute,
 * so legacy site handlers and validationEngine keep receiving button events.
 */

.dao-consent-field {
  box-sizing: border-box;
  margin: 10px 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  color: #4e4e4e;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
}

.dao-consent-field-optional {
  margin-top: 6px;
}

.dao-consent-label {
  display: flex;
  align-items: flex-start;
  box-sizing: border-box;
  width: 100%;
  color: #4e4e4e;
  font-family: Arial, sans-serif;
  font-size: 13px;
  line-height: 1.45;
  cursor: pointer;
}

.dao-consent-check {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 1px 8px 0 0;
  padding: 0;
  cursor: pointer;
}

.dao-consent-label span {
  display: block;
  min-width: 0;
}

.dao-consent-label a {
  color: #b5954e;
  text-decoration: underline;
}

.dao-consent-label a:hover,
.dao-consent-label a:focus {
  color: #302619;
  text-decoration: underline;
}

.dao-consent-warning {
  box-sizing: border-box;
  margin: 10px 0;
  padding: 9px 12px 9px 14px;
  border-left: 3px solid #b5954e;
  background: #f2f2f2;
  color: #636363;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.dao-consent-field-error {
  border-color: #b5954e;
  background: #f2f2f2;
}

.dao-consent-error-text {
  display: block;
  margin: 6px 0 0 26px;
  color: #302619;
  font-family: Arial, sans-serif;
  font-size: 12px;
  line-height: 1.45;
}

.dao-consent-disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media screen and (max-width: 767px) {
  .dao-consent-field {
    margin: 8px 0;
    padding: 7px 8px;
  }

  .dao-consent-warning {
    margin: 8px 0;
    padding: 8px 10px 8px 12px;
  }

  .dao-consent-error-text {
    margin-left: 26px;
  }
}
