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

.section-complaint_form a {
    color: var(--primary);
    text-decoration: underline;
    transition: var(--transition);
}

.section-complaint_form a:hover {
    color: var(--black);
}

.complaint-form__wrap {
    display: flex;
    justify-content: space-between;
    gap: 64px;
}

.complaint-form__text-block,
.complaint-form__form-block {
    width: calc(50% - 32px);
}

.complaint-form__title {
    margin-bottom: 16px;
}

.complaint-form__text p:not(:last-child) {
    margin-bottom: 16px;
}

.complaint-form__container {
    display: flex;
    flex-direction: column;
    /*height: 700px;*/
    height: 750px;
    border-radius: 12px;
    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;
    padding: 32px;
}

.complaint-form__stepper h3 {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
}

.complaint-form__scrollable-area {
    flex-grow: 1;
    overflow-y: auto;
    padding: 0 32px 64px;
}

.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) {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    margin-bottom: 8px;
}

form.complaint-form label.error {
    color: #f10f28;
    position: relative;
    top: -20px;
}

#g-recaptcha-response-error {
    top: 4px;
}

.complaint-form .form-control {
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 140%;
    color: #000;
    background-color: #FFF;
    border: 1px solid #F0F0F0;
    outline: none;
    border-radius: 8px;
    /*min-height: 56px;*/
    padding: 16px;
    margin-bottom: 24px;
    padding-top: 0;
    padding-bottom: 0;
}

.complaint-form .form-control::placeholder,
.complaint-form select option[disabled][selected] {
    color: #8C8C8C;
}

.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% - 10px) center;
    background-repeat: no-repeat;
    background-color: #fff;
}

.complaint-form .file-wrap>input {
    padding-top: 0;
}

.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: var(--secondary);
}

.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: 700;
    line-height: 100%;
    margin-top: 8px;
}

.complaint-form .step-1 .btn {
    margin-top: 18px;
}

.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: 16px;
    border: 1px solid #F0F0F0;
    background: #FFF;
    cursor: pointer;
    border-radius: 8px;
    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: var(--primary);
    color: var(--primary);
}

.hidden {
    display: none;
}

.success-message {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 16px;
    text-align: center;
}

.back-link {
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    text-decoration-line: underline;
    text-underline-offset: 2px;
}

@media (max-width: 1024px) {
    .section-complaint_form {
        padding-top: 56px;
        padding-bottom: 80px;
    }

    .complaint-form__wrap {
        flex-direction: column;
        justify-content: center;
        gap: 56px;
    }

    .complaint-form__text-block,
    .complaint-form__form-block {
        width: 100%;
    }
}

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

    .complaint-form__wrap {
        gap: 48px;
    }
}