.section-complaint_form {
    padding-top: 64px;
    padding-bottom: 0;
}

.complaint-form__wrap {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}
.complaint-form__text-block {
    width: 57.6%;
    padding-right: 64px;
}
.ar .complaint-form__text-block {
    padding-right: 0;
    padding-left: 64px;
}
.complaint-form__form-block {
    width: 40.27%;
}
.complaint-form__title {
    margin-bottom: 16px;
}
.complaint-form__text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}
.complaint-form__text p:not(:last-child) {
    margin-bottom: 23px;
}
.complaint-form__text a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}
.complaint-form__text a:hover {
    color: var(--black);
}
.complaint-form__container {
    display: flex;
    flex-direction: column;
    height: 600px;
    border-radius: 8px;
    border: 1px solid #F0F0F0;
    background: #FAFAFA;
}
.step {
    display: none;
}
.step.active {
    display: block;
}
.complaint-form__stepper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #F0F0F0;
    background: #F5F5F5;
    padding: 15px 16px;
}
.complaint-form__stepper h3 {
    color: #000;
    font-size: 14px;
    font-weight: 600;
    line-height: 150%;
}
.stepper-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 48%;
    position: relative;
}
.stepper-wrap:before {
    content: '';
    position: absolute;
    top: calc(50% - 1px);
    left: 23px;
    width: calc(100% - 46px);
    height: 2px;
    background-color: #113C6E;
}

.stepper-wrap img {
    width: 24px;
    height: 24px;
}
.complaint-form__scrollable-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 16px;
}
.form-title {
    text-align: center;
    margin-bottom: 8px;
}
.form-subtitle {
    color: #000;
    font-weight: 500;
    text-align: center;
    margin-bottom: 8px;
}
.form-remark {
    font-size: 14px;
    margin-bottom: 8px;
}
.form-clue {
    color: #8C8C8C;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
    margin-top: 12px;
}
.complaint-form label:not(.btn-question, .error) {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 8px;
}
label.error{
    font-size: 12px!important;
    font-weight: 400!important;;
    line-height: 150%!important;;
    color: #C12525!important;;
    position: relative;
    top: -17px;
}
#g-recaptcha-response-error {
    top: 4px;
}
.complaint-form .form-control{
    width: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 150%;
    color: #000;
    background-color: #FFF;
    border: 1px solid #F0F0F0;
    outline: none;
    border-radius: 4px;
    transition: var(--transition);
    padding: 11px;
    margin-bottom: 16px;
}
.complaint-form .form-control.error {
    border: 1px solid #F0CBCB;
}
.complaint-form .form-control:focus,
.complaint-form .form-control:active {
    border: 1px solid #2585F4;
    box-shadow: 0px 0px 0px 2px rgba(37, 133, 244, 0.24);
}
.complaint-form .form-control::placeholder,
.complaint-form select.form-control:invalid {
    color: #8C8C8C;
    transition: var(--transition);
}
.complaint-form .form-control:hover::placeholder,
.complaint-form select.form-control:hover:invalid {
    color: #000;
}
.complaint-form .form-control:focus::placeholder,
.complaint-form .form-control:active::placeholder {
    color: #2585F4;
}
.complaint-form .form-control.error::placeholder {
    color: #C12525;
}
.complaint-form select.form-control{
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'><path fill-rule='evenodd' clip-rule='evenodd' d='M5.29286 7.29289C5.68339 6.90237 6.31655 6.90237 6.70708 7.29289L9.99997 10.5858L13.2929 7.29289C13.6834 6.90237 14.3166 6.90237 14.7071 7.29289C15.0976 7.68342 15.0976 8.31658 14.7071 8.70711L10.7071 12.7071C10.3166 13.0976 9.68339 13.0976 9.29286 12.7071L5.29286 8.70711C4.90234 8.31658 4.90234 7.68342 5.29286 7.29289Z' fill='%23262626'/></svg>") no-repeat;
    background-size: 24px;
    background-position: calc(100% - 8px) center;
    background-repeat: no-repeat;
    background-color: #fff;
}
/*select.form-control.comp-input {*/
/*    color: #888; !* Цвет текста по умолчанию *!*/
/*}*/

/*select.form-control.comp-input option {*/
/*    color: #000; !* Цвет текста для остальных опций *!*/
/*}*/

/*.complaint-form select.form-control:invalid {*/
/*    color: #888; !* Цвет текста для placeholder (выбранной пустой опции) *!*/
/*}*/

.complaint-form .file-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 50px;
    /*background-color: #ffffff;*/
    border-radius: 5px;
    margin-bottom: 24px;
}
.complaint-form input[type="file"] {
    display: flex;
    min-height: auto;
    margin-bottom: 0;
}
#fileToUpload-error {
    position: absolute;
    left: 0;
    top: 55px;
}
.complaint-form input[type="date"] {
    appearance: none;
}
.complaint-form label[for=firstCheckbox],
.complaint-form label[for=secondCheckbox] {
    display: inline-block;
    color: #000;
    line-height: 160%;
    vertical-align: text-bottom;
    margin-left: 8px;
    margin-bottom: 0;
}
#firstCheckbox-error, #secondCheckbox-error {
    top: 0;
    margin-left: 10px;
}
input[type='checkbox'] {
    width: 16px;
    height: 16px;
    accent-color: #2585F4;
}
.checkbox-text {
    height: 128px;
    overflow: auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 150%;
    border-radius: 8px;
    border: 1px solid #F0F0F0;
    background:  #FFF;
    padding: 16px;
    margin-top: 24px;
    margin-bottom: 12px;
}
.complaint-form .btn {
    width: 100%;
    min-height: 52px;
    font-size: 18px;
    font-weight: 600;
    line-height: 100%;
    border: none;
    margin-top: 8px;
}
.complaint-form .step-1 .btn {
    margin-top: 32px;
}
.complaint-form .step-2 .btn {
    margin-top: 32px;
}
.button-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-question {
    width: calc(50% - 4px);
    max-width: 300px;
    color: #8C8C8C;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    padding: 12px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    cursor: pointer;
    border-radius: 4px;
    display: inline-block;
    user-select: none;
    transition: var(--transition);
    margin-bottom: 24px;
}
.btn-question input {
    /*display: none;*/
    width: 0;
    height: 0;
    opacity: 0;
}
.btn-question.no.selected {
    border-color: #000;
    color: #000;
}
.btn-question:hover {
    border-color: #000;
    color: #000;
}
.btn-question.yes.selected {
    border-color: #2585F4;
    background-color: #F4F9FF;
    color: #2585F4;
}
.hidden {
    display: none;
}
.success-message {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 16px;
    text-align: center;
}
.back-link {
    color: #2585F4;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    text-decoration-line: underline;
    text-underline-offset: 1px;
}

@media (max-width: 1199px) {
    .section-complaint_form {
        padding-top: 56px;
        padding-bottom: 80px;
    }
    .complaint-form__wrap {
        flex-direction: column;
        justify-content: center;
        gap: 48px;
    }
    .complaint-form__text-block,
    .complaint-form__form-block {
        width: 100%;
        padding-right: 0;
    }
    .ar .complaint-form__text-block {
        padding-left: 0;
    }
}

@media (max-width: 640px) {
    .section-complaint_form {
        padding-top: 48px;
        padding-bottom: 64px;
    }
    .complaint-form__container {
        height: 620px;
    }
}