.callback-consent {
    max-width: 460px;
    margin: 24px auto 0;
    font-size: 13px;
    line-height: 1.5;
}

.callback-consent__controls {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 0;
}

.callback-consent-field {
    position: relative;
    display: flex;
    flex: 0 0 70px;
    align-items: center;
    justify-content: center;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
}

.callback-consent-field::before {
    position: absolute;
    top: 50%;
    left: 0;
    width: calc(50% - 15px);
    height: 2px;
    background: #8f8f8f;
    content: '';
}

.callback-consent-field::after {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    width: 2px;
    background: #8f8f8f;
    content: '';
}

.callback-consent-field input[type='checkbox'] {
    position: relative;
    width: 30px;
    height: 30px;
    margin: 0;
    border: 2px solid #dea776;
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    appearance: none;
}

.callback-consent-field input[type='checkbox']:focus-visible,
.callback-consent-caption:focus-visible {
    outline: 3px solid rgba(222, 167, 118, .55);
    outline-offset: 2px;
}

.callback-consent-field input[type='checkbox']:checked {
    background: #dea776;
}

.callback-consent-field input[type='checkbox']:checked::after {
    position: absolute;
    top: -5px;
    left: 3px;
    color: #333;
    content: '✓';
    font-size: 26px;
    font-weight: bold;
}

.callback-consent-caption {
    position: relative;
    display: block;
    margin: 8px 0 0;
    padding: 10px 14px;
    border-right: 0;
    border-bottom: 2px solid #8f8f8f;
    border-left: 2px solid #8f8f8f;
    border-radius: 0;
    background: transparent;
    text-align: right;
    font-weight: normal;
    cursor: pointer;
}

.callback-consent-caption::before {
    position: absolute;
    top: -8px;
    left: -2px;
    width: 2px;
    height: 8px;
    background: #8f8f8f;
    content: '';
}

.callback-consent-caption a {
    color: inherit;
    text-decoration: underline;
}

.callback-consent .callback-consent-submit:disabled {
    border-color: #bcbcbc;
    background: #e2e2e2;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.callback-consent .callback-consent-submit:disabled .btn-text {
    color: #888 !important;
}

.exit-popup__consent {
    width: 78%;
    max-width: 580px;
    margin: .15em auto 0;
    color: #fff;
    text-shadow: 0 2px 9px rgba(0, 0, 0, .62);
}

.exit-popup__consent .callback-consent {
    max-width: none;
    margin: 0;
    font-size: clamp(11px, 1.05vw, 18px);
}

.exit-popup__consent .callback-consent__controls {
    gap: 8px;
}

.exit-popup__consent .callback-consent-field {
    flex-basis: 58px;
}

.exit-popup__consent .callback-consent-submit {
    width: auto;
    max-width: none;
    flex: 1;
    margin: 0;
}

.exit-popup__consent .callback-consent-caption {
    padding: 7px 10px;
}

@media (max-width: 767px) {
    .exit-popup__consent {
        width: 86%;
    }

    .exit-popup__consent .callback-consent {
        font-size: clamp(10px, 2.8vw, 13px);
        line-height: 1.18;
    }

    .exit-popup__consent .callback-consent-field {
        flex-basis: 48px;
    }
}
