/* Keep consent copy in a single wrapping text flow beside its checkbox. */
.check-unit.ecobrus-consent {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 100%;
    color: #526173;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}
.check-unit.ecobrus-consent > span {
    flex: 0 0 20px;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    padding: 0;
    margin: 1px 0 0;
}
.check-unit.ecobrus-consent > span::before,
.check-unit.ecobrus-consent > span.active::before {
    display: block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    top: 0;
    left: 0;
    border: 1px solid #7b8b98;
    border-radius: 4px;
    background: #fff;
}
.check-unit.ecobrus-consent > span::after,
.check-unit.ecobrus-consent > span.active::after {
    width: 12px;
    height: 7px;
    top: 5px;
    left: 4px;
    border: solid #087b73;
    border-width: 0 0 2px 2px;
    background: none;
    transform: rotate(-45deg);
}
.check-unit.ecobrus-consent > span.error::before { border: 2px solid #b42318; }
.check-unit.ecobrus-consent .ecobrus-consent-text {
    display: block;
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    text-align: left;
    white-space: normal;
    overflow-wrap: break-word;
}
.check-unit.ecobrus-consent .ecobrus-consent-text a,
.consult-checkbox .check-unit.ecobrus-consent .ecobrus-consent-text a {
    display: inline;
    color: inherit;
    font: inherit;
    white-space: normal;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.main-page .order_widget .check-unit.ecobrus-consent,
.projects-page .high_order .check-unit.ecobrus-consent { color: #eef3f7; }
.ecobrus-quiz-consent > label { color: #526173; }
.ecobrus-quiz-consent > label > span { min-width: 0; white-space: normal; }
@media (max-width: 767px) {
    .check-unit.ecobrus-consent { font-size: 13px; }
}
/* Contacts reuse main-page markup but have a light form background. */
.contacts-page.main-page .order_widget .check-unit.ecobrus-consent { color: #526173; }
