.callback-box__form .afbf_item_pole {
    margin: 0;
    padding: 0;
}

.callback-box__form .afbf_inputtext_bg {
    padding: 0;
    border: 0;
    background: none;
}

.callback-box__form .afbf_item_pole .afbf_inputtext {
    box-sizing: border-box;
    width: 100%;
    height: auto;
    padding: 18px;
    border: 1px solid #dbe1ff;
    border-radius: 10px;
    background: #fff;
    font-size: 16px;
    outline: none;
}

.callback-box__form .afbf_item_pole .afbf_inputtext:focus {
    border-color: #048be9;
}

.callback-box__form .afbf_error_text {
    display: none;
}

.callback-box__form .afbf_item_pole.error_pole .afbf_error_text {
    display: block;
    margin-top: 6px;
    color: #f80000;
    font-size: 13px;
}

.callback-box__form .afbf_item_pole.error_pole .afbf_inputtext {
    border-color: #f80000;
}

.callback-box__form .callback-box__submit {
    width: 100%;
    margin-top: 16px;
    border: 0;
    border-radius: 11px;
    padding: 16px 24px;
    background: linear-gradient(90deg, #097af0 0%, #30dbd5 100%);
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.callback-box__form .callback-box__submit.is_loading {
    opacity: 0.6;
    pointer-events: none;
}

.callback-box__form .main-user-consent-request {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.callback-box__form .main-user-consent-request-announce {
    font-weight: 400;
    font-size: 13px;
    line-height: 140%;
    color: #6d798a;
}

/* Чекбокс согласия на обработку персональных данных */
.callback-box__consent-box {
    flex: 0 0 auto;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.callback-box__consent-box input[type="checkbox"] {
    position: absolute;
    inset: 0;
    width: 20px;
    height: 20px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 1;
}

.callback-box__consent-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: 1px solid #048be9;
    border-radius: 6px;
    background: #fff;
    transition: background 0.15s ease, border-color 0.15s ease;
    pointer-events: none;
}

.callback-box__consent-mark svg {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.callback-box__consent-box input[type="checkbox"]:checked + .callback-box__consent-mark {
    border-color: transparent;
    background: linear-gradient(90deg, #097af0 0%, #30dbd5 100%);
}

.callback-box__consent-box input[type="checkbox"]:checked + .callback-box__consent-mark svg {
    opacity: 1;
    transform: scale(1);
}

.callback-box__consent-box input[type="checkbox"]:focus-visible + .callback-box__consent-mark {
    outline: 2px solid #048be9;
    outline-offset: 2px;
}

.callback-box__form .callback-box__agree.error_pole .afbf_error_text {
    display: block;
    margin-top: 6px;
    color: #f80000;
    font-size: 13px;
}

.callback-box__form .afbf_error_block {
    display: none;
}
