.canceling {
    padding: 40px 30px;
    background-color: #fff;
    border-radius: 4px;
}
.canceling-form * {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
}
.canceling-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.canceling-form__top {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.canceling-form__top .__first-line {
    display: flex;
    gap: 20px;
}
.canceling-form__top .__first-line .__left,
.canceling-form__top .__first-line .__right {
    display: flex;
    align-items: center;
    gap: 10px;
}
.canceling-form__top .__first-line .__left {
    width: calc(60% - 10px);
}
.canceling-form__top .__first-line .__right {
    width: calc(40% - 10px);
}
.canceling-form__bottom {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.canceling-form__bottom .__captcha {
    display: flex;
    align-items: flex-end;
    gap: 10px;
}
.canceling-form__top .__first-line label.input {
    width: auto;
    height: 25px;
}
.canceling-form__top .__first-line label.input input {
    border: none;
    border-bottom: 1px solid #DADADA;
    border-radius: unset;
    padding: 2.5px 0;
}
.canceling-form__top .__first-line label.input input:focus {
    border: none;
    border-bottom: 1px solid #30B931;
}
.canceling-form__top .__first-line label.input input.--error {
    border: none;
    border-bottom: 1px solid #F03030;
}
.canceling-form__top .__first-line label.input._name {
    width: 100%;
}
.canceling-form__top .__first-line label.input._phone {
    width: 150px;
}
.canceling-form__bottom .__captcha .__left {
    display: flex;
    flex-direction: column;
    width: calc(70% - 5px);
}
.canceling-form__bottom .__captcha .__left .__text {
    font-family: Source Sans Pro, sans-serif;
    font-size: 13px;
    line-height: 150%;
    letter-spacing: -0.247px;
}
.canceling-form__bottom .__captcha .__left label.input {
    width: 100%;
}
.canceling-form__bottom .__captcha .__right {
    width: 232px;
    height: 53px;
}
.canceling-form__bottom .__captcha .__right .__captcha-img {
    display: flex;
    align-items: flex-end;
    position: relative;
    border-radius: 4px;
    width: 100%;
    height: 100%;
}
.canceling-form__bottom .__captcha .__right .__captcha-img:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0 0 0 2px #fff inset;
    -moz-box-shadow: 0 0 0 2px #fff inset;
    box-shadow: 0 0 0 2px #fff inset;
    z-index: 1;
}
.canceling-form__bottom .__btn .main-btn {
    border: none;
    cursor: pointer;
}
.canceling .__success {
    display: none;
    justify-content: center;
    gap: 15px;
}
.canceling .__success._active {
    display: flex;
}
.canceling .__success .__left svg {
    width: 42px;
    height: 42px;
}
.canceling .__success .__right * {
    font-size: 17px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}
.canceling .__success .__right .__title {
    font-size: 36px;
    font-weight: 900;
    line-height: normal;
    margin-bottom: 26px;
}

@media screen and (min-width: 1024px) {
    .canceling-form__top .__first-line label.input input:hover {
        border: none;
        border-bottom: 1px solid #30B931;
    }
}
@media screen and (max-width: 800px) {
    .canceling-form__top .__first-line .__right span {
        min-width: max-content;
    }
    .canceling-form__top .__first-line .__right {
        min-width: 235px;
    }
}
@media screen and (max-width: 640px) {
    .canceling {
        padding: 0;
        border-radius: unset;
    }
    .duty-template__left > *.canceling:first-child {
        margin-top: 24px;
    }
    .canceling .__success {
        flex-direction: column;
        align-items: center;
    }
    .canceling .__success .__right {
        text-align: center;
    }
    .canceling .__success .__right .__title {
        margin-bottom: 24px;
    }
    .canceling-form,
    .canceling-form__top,
    .canceling-form__top .__first-line,
    .canceling-form__bottom {
        gap: 24px;
    }

    .canceling-form__top .__first-line {
        flex-direction: column;
    }

    .canceling-form__top .__first-line .__left,
    .canceling-form__top .__first-line .__right,
    .canceling-form__top .__first-line label.input._phone,
    .canceling-form__bottom .__captcha .__left {
        width: 100%;
    }

    .canceling-form__bottom .__captcha {
        flex-direction: column;
        align-items: flex-start;
    }
}