.form {
    padding: var(--section-padding);
    padding-left: 112px !important;
    padding-right: 112px !important;
    margin-bottom: 104px;
    margin-top: 52px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    background: var(--light-grey) url("images/bg.png") no-repeat;
    background-position-y: bottom;
    background-position-x: 115px;
    border-radius: var(--border-radius);
}
.form-agreement-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.form-agreement-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.form-agreement-item label {
    position: relative;
    padding-left: 32px; 
    user-select: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 20px;
    color: #333;
}

.form-agreement-item label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--grey-hover);
    border-radius: 5px;
    background: #fff;
    transition: all 0.2s ease;
}
.form-questions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.form-right {
    width: 100%;
    max-width: 424px;
}
.form-left {
    width: 100%;
    max-width: 560px;
}
.form__input {
    gap: 12px;
    width: 100%;
    max-width: 206px;
    color: var(--near-black);
    padding: 16px 28px !important;
    border: none !important;
    border-radius: var(--border-radius) !important;
}
.form__input:nth-child(1) {
    max-width: 100%;
}
.form-agreement-item label::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 3px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: all 0.2s ease;
}

.form-agreement-item input[type="checkbox"]:checked + label::before {
    background: var(--yellow-corp); 
    border-color: var(--yellow-corp);
}

.form-agreement-item input[type="checkbox"]:checked + label::after {
    opacity: 1;
}
.form-name {
    font-family: var(--font-roboto);
    font-weight: bold;
    font-size: 32px;
    padding-bottom: 12px;
    color: var(--near-black);
}
.form-description {
    width: 100%;
    max-width: 240px;
    color: var(--near-black);
    line-height: var(--line-height);
}
.form-agreement {
    padding: 32px 0;
}
.form__submit {
    width: 100%;
    background-color: var(--yellow-corp);
    transition: 0.5s;
    border: unset !important;
    padding: 16px;
    color: #000;
    font-family: var(--font-roboto);
    font-weight: bold;
    border-radius: var(--border-radius);
    transition: 0.5s;
}
.form-right-text {
    color: var(--blue-corp);
    text-align: center;
    line-height: 24px;
}
.form-right-message {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 52px;
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 132px 28px;
}
.form-right-message--error {
    background-color: #F2CECE;
    padding: 74px 28px;
}
.form-right-button {
    width: 100%;
    font-family: var(--font-roboto);
    font-weight: bold;
    color: var(--near-black);
    transition: 0.5s;
    text-align: center;
    border-radius: var(--border-radius);
    background-color: #fff;
    padding: 23px 20px;
    cursor: pointer;
}
.form-questions-wrap {
    width: 100%;
    max-width: 48%;
}
.form-questions-wrap:nth-child(1) {
    max-width: 100%;
}
@media screen {
    .form__submit:hover {
        background-color: var(--yellow-hover);
    }
    .form-right-button:hover{
        background-color: var(--blue-corp);
        color: #fff;
    }
}
@media(max-width: 1349px) {
    .form {
        padding-left: unset !important;
        padding-right: unset !important;
        padding: 52px 28px !important;
        background-position-x: 29px;
    }
}
@media(max-width: 992px) {
    .form-questions {
        max-width: 368px;
        justify-content: space-between;
    }
    .form__input {
        max-width: 178px;
    }
    .form {
        background-size: 47%;
    }
}
@media(max-width: 880px) {
    .form {
        background-image: unset !important;
        flex-direction: column;
    }
    .form-left, .form-right, .form-description, .form-questions {
        max-width: 100%;
    }
    .form__input {
        max-width: calc((100% - 49% - 28px) / 2);
    }
    /*
    .form__input:nth-child(1), .form__input:nth-child(2), .form__input:last-child {
        max-width: 49%;
    }
        */
}
@media(max-width: 690px) {
    .form__input {
        max-width: 49%;
    }
    .form__input:last-child {
        max-width: 100%;
    }
}
@media(max-width: 500px) {
    .form {
        padding: 52px 16px !important;
    }
    .form__input:nth-child(1), .form__input:nth-child(2), .form__input {
        max-width: 100%;
    } 
}
@media(max-width: 365px) {
    .form-questions-wrap {
        max-width: 100%;
    }
}