.sect__form {
    display: flex;
    align-items: stretch;
    padding-top: 68px;
    gap: 40px;
}

.sect__form .cv__img {
    width: 100%;
    max-width: 580px;
    flex: 1;
    background-image: url('../img/bg_form.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 0 50px;
    overflow: hidden;
}

.cv__form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 820px;
    height: 100%;
    min-height: 1052px;
    background: var(--brand-gradient);
    padding: 62px;
}

.cv__form .cv__form-title {
    margin: 0;
    text-align: center;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.24;
    color: var(--true-white);
}

.cv__form .cv__form-title::before,
.cv__form .cv__form-title::after {
    display: none;
}

.cv__form .cv__form-title h2 {
    margin: 0;
}

.cv__form .cv__form-form {
    width: 100%;
    margin: 0 auto;
}

.cv__form .cv__form-fields {
    margin: 32px 0;
}

.cv__form .cv__form-row {
    position: relative;
    margin-bottom: 24px;
}

.cv__form .cv__form-row:last-child {
    margin-bottom: 0;
}

.cv__form .cv__form-input {
    display: block;
    margin: 0;
    width: 100%;
    height: 64px;
    padding: 16px 24px;
    font-size: 24px;
    line-height: 1.33;
    color: var(--accent-color);
    background-color: var(--true-white);
    border-radius: 12px;
    border: 1.6px solid var(--true-white);
    outline: none;
    transition: background-color .25s ease;
}

.cv__form .cv__form-input:hover {
    border: 1.6px solid var(--brand-color);
}

.cv__form .cv__form-input:focus {
    border: 1.6px solid var(--brand-color);
}

.cv__form .cv__form-input::placeholder {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
    color: var(--accent-color);
    opacity: .3;
}

.cv__form .cv__form-input:-webkit-autofill,
.cv__form .cv__form-input:-webkit-autofill:hover,
.cv__form .cv__form-input:-webkit-autofill:focus,
.cv__form .cv__form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px var(--true-white) inset;
    background-color: var(--true-white);
    -webkit-text-fill-color: var(--accent-color);
    transition: background-color 9999s ease-in-out 0s;
    box-shadow: 0 0 0 1px var(--true-white) inset, 0 0 0px 1000px var(--true-white) inset;
    border: none;
}

.cv__form .cv__form-fields .cv__form-row .cv__form-middle_name {
    position: absolute;
    top: auto;
    left: -9999px;
    width: 1px;
    height: 1px;
    clip: rect(0 0 0 0);
    border: none;
    padding: 0;
    overflow: hidden !important;
}

.cv__form .cv__form-row--phone .iti--allow-dropdown {
    width: 100%;
}

.cv__form .cv__form-row--phone input.iti__tel-input {
    width: 100%;
    max-width: calc(100% - 144px);
    padding: 16px 24px !important;
    margin-left: auto !important;
}

.cv__form .cv__form-row--phone .iti__dropdown-content {
    height: 300px;
    top: calc(100% + 16px);
    left: 0;
    right: auto;
    margin: 0;
    padding-top: 16px;
    padding-right: 32px;
    width: 100%;
    border-radius: 12px;
    background-color: var(--frame-bg);
    scrollbar-gutter: stable;
    overflow: hidden;
}

.cv__form .cv__form-row--phone .iti__country-container {
    width: 100%;
}

.cv__form .cv__form-row--phone .iti--flexible-dropdown-width .iti__country-list {
    white-space: initial;
}

.cv__form .cv__form-row--phone .iti__country-list::-webkit-scrollbar {
    width: 5px;
}

.cv__form .cv__form-row--phone .iti__country-list::-webkit-scrollbar-thumb {
    width: 5px;
    height: 96px;
    border-radius: 100px;
    background-color: rgba(44, 44, 44, .3);
}

.cv__form .cv__form-row--phone .iti__country-list::-webkit-scrollbar-track {
    background-color: transparent;
    margin-right: 10px;
}

.cv__form .cv__form-row--phone .iti__selected-country {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 138px;
    height: 64px;
    padding: 14px 16px;
    background-color: var(--true-white);
    border-radius: 12px;
    border: 1.6px solid var(--true-white);
    outline: none;
    transition: background-color .25s ease;
}

.cv__form .cv__form-row--phone .iti__selected-country:hover {
    border: 1.6px solid var(--brand-color);
}

.cv__form .cv__form-row--phone .iti__selected-country-primary {
    padding: 0;
    margin: 0;
    background-color: transparent;
}

.cv__form .cv__form-row--phone .iti__search-input {
    display: block;
    width: calc(100% - 16px);
    height: 34px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
    color: var(--text);
    opacity: .3;
    background-color: transparent;
    transition: .25s ease;
}

.cv__form .cv__form-row--phone .iti__search-input::placeholder {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
    color: var(--accent-color);
}

.cv__form .cv__form-row--phone .iti__search-input:focus {
    outline: none;
}

.cv__form .cv__form-row--phone .iti__selected-dial-code {
    font-size: 24px;
    line-height: 1.33;
    color: var(--accent-color);
}

.cv__form .cv__form-row--phone .iti__dial-code {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
    opacity: .6;
    text-transform: uppercase;
}

.cv__form .cv__form-row--phone .iti__country {
    height: 40px;
    border-radius: 8px;
    margin-top: 14px;
    padding: 12px;
    border: 1px solid transparent;
}

.cv__form .cv__form-row--phone .iti__flag {
    transform: scale(1.5);
    transform-origin: center;
    margin-right: 14px;
}

.cv__form .cv__form-row--phone .iti__country::before {
    display: none;
}

.cv__form .cv__form-row--phone .iti__country.iti__highlight {
    border-radius: 8px;
    background-color: rgba(44, 44, 44, .1);
}

.cv__form .cv__form-row--phone .iti__country-name {
    
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
    color: var(--text);
}

.cv__form .cv__form-row--phone .iti__country-list {
    max-height: 240px;
    margin-top: 8px;
    padding: 0 8px;
    padding-right: 8px;
    padding-left: 20px;
}

.cv__form .cv__form-row--letter .cv__form-input {
    height: 156px;
    border-radius: 12px;
    padding-right: 62px;
    padding-bottom: 40px;
    resize: none;
}

.cv__form .cv__form-row--letter .cv__form-input::-webkit-scrollbar {
    display: none;
}

.cv__form .cv__form-row--letter .cv__form-counter {
    position: absolute;
    right: 24px;
    bottom: 16px;
    font-size: 24px;
    line-height: 1.33;
    color: var(--text);
}

.cv__form .cv__form-row--file {
    position: relative;
    min-height: 44px;
}

.cv__form .cv__form-row--file .cv__form-error {
    padding-left: 0;
}

.cv__form .cv__form-row--file .cv__form-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.cv__form .cv__form-button {
    margin: 0 auto;
}

.cv__form .cv__form-row--file .cv__form-label {
    position: relative;
    height: 100%;
    margin: 0;
    padding-inline-start: 48px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.33;
    color: var(--true-white);
    cursor: pointer;
}

.cv__form .cv__form-row--file .cv__form-label::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 44px;
    height: 44px;
    background-image: url('../img/icon_file.svg');
    background-repeat: no-repeat;
}

.cv__form .cv__form-row--file.success .cv__form-label::before {
    background-image: url('../img/icon_file_add.svg');
}

.cv__form .cv__form-content.processing {
    position: relative;
}

.cv__form .cv__form-content.processing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, .5);
    z-index: 1;
}

.cv__form .cv__form-content.processing::after {
    content: '';
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    width: 48px;
    height: 48px;
    border: 5px solid var(--accent-color);
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
    z-index: 1;
}

@-webkit-keyframes rotation {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}
@keyframes rotation {
    0% {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        -webkit-transform: translate(-50%, -50%) rotate(360deg);
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.cv__form .cv__form-content.processing .cv__form-form {
    display: none;
}

.cv__form .cv__form-row.error .cv__form-input {
    border: 1.6px solid var(--error);
}

.cv__form .cv__form-error {
    margin: 8px 0 0;
    padding-left: 24px;
    text-align: start;
    font-size: 24px;
    line-height: 1.33;
    color: var(--error);
}

.cv__form .cv__form-form.hidden,
.cv__form .cv__form-status--success.hidden,
.cv__form .cv__form-status--error.hidden {
    display: none;
}

.cv__form .cv__form-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    color: var(--true-white);
}

.cv__form .status__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 524px;
}

.cv__form .status__icon {
    width: 112px;
    height: 112px;
    margin-bottom: 44px;
}

.cv__form .status__icon img {
    width: 100%;
}

.cv__form .status__txt {
    margin-top: 8px;
    margin-bottom: 0;
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.5;
}

.cv__form .status__btn {
    margin-top: 44px;
}

.cv__form .iti__search-icon {
    display: none;
}

@media (max-width: 1280px) {
    .sect__form .cv__img {
        display: none;
    }

    .sect__form .cv__form {
        margin: 0 auto;
    }
}

@media (max-width: 1024px) {
    .sect__form {
        flex-direction: column;
    }

    .cv__form {
        display: flex;
        align-items: center;
        padding: 32px 24px;
        min-height: 820px;
    }

    .cv__form .cv__form-content {
        width: 100%;
    }

    .cv__form .cv__form-title {
        font-size: 28px;
        line-height: 1.5;
    }

    .cv__form .cv__form-input,
    .cv__form .cv__form-input::placeholder,
    .cv__form .cv__form-row--phone .iti__search-input,
    .cv__form .cv__form-row--phone .iti__search-input::placeholder,
    .cv__form .cv__form-row--phone .iti__selected-dial-code,
    .cv__form .cv__form-row--phone .iti__dial-code,
    .cv__form .cv__form-row--phone .iti__country-name,
    .cv__form .cv__form-row--letter .cv__form-counter,
    .cv__form .cv__form-row--file .cv__form-label,
    .cv__form .cv__form-error,
    .cv__form .cv__form-input,
    .cv__form .status__txt {
        font-size: 16px;
        line-height: 1.5;
    }

    .cv__form .cv__form-input {
        height: 48px;
        padding: 12px 16px;
    }

    .cv__form .cv__form-row--phone .iti__selected-country {
        height: 48px;
    }

    .cv__form .cv__form-row--phone input.iti__tel-input {
        padding: 14px 24px !important;
    }

    .cv__form .status__icon {
        width: 88px;
        height: 88px;
    }
}

@media (max-width: 390px) {
    .cv__form .cv__form-input {
        padding: 14px 16px;
        font-size: 14px;
    }

    .cv__form .cv__form-row--phone input.iti__tel-input {
        padding: 14px 16px !important;
    }

    .cv__form .cv__form-input::placeholder,
    .cv__form .cv__form-row--phone .iti__selected-dial-code ,
    .cv__form .cv__form-row--phone .iti__search-input::placeholder {
        font-size: 14px;
    }
}
