.form__item {
    display: flex;
    font-family: Montserrat, serif;
    flex-direction: column;
    position: relative;
    width: 380px;
    border-radius: 15px;
    background: #FFF;
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    border: none;
}

.form__header {
    padding: 16px 22px;
    background-color: #F6F6F6;
}

.form__main {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 18px 15px;
    gap: 20px;
    background-color: #FFF;
}

.preloader {
    display: none;
    background: white;
    position: absolute;
    top: 0%;
    bottom: 0;
    left: 0%;
    right: 0;
    z-index: 9995;
    background-image: url(../images/preloader.gif);
    background-repeat: no-repeat;
    background-position: 50% 50%;
    opacity: 0.5;
}

.form__title {
    color: #1D1D1D;
    text-align: center;
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 27px; /* 122.727% */
    /*letter-spacing: -0.06rem;*/
    word-break: break-word;
    margin: 0;
}

.form__input-wrapper {
    display: flex;
    position: relative;
}

.form__input-wrapper:last-child {
    margin-bottom: 0;
}

.form__input {
    transition: all 0.3s ease-in-out;
    width: 100%;
    outline: none;
    border-radius: 10px;
    border: 1px solid #B1B1B1;
    background: #FFF;
    padding: 12px 15px;
    color: #464646;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* 150% */
}

.form__input[name="comment"] {
    height: 95px!important;
    resize: none;
}

.form__input-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.form__input::placeholder {
    color: rgba(41, 37, 102, 0.60);
    font-size: 16px;
}

.form__input.valid {
    background: #EEF6EC;
}

.form__input.error {
    background: #FDEEED;
}

label.error {
    display: flex;
    transform-style: preserve-3d;
    position: absolute;
    z-index: 2;
    top: calc(100% + 12px);
    left: 0;
    min-width: 100%;
    border-radius: 8px;
    background: #E94F43;
    color: #FFFFFF;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px; /* 125% */
    padding: 7px 13px 7px 12px;
}

label.error::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 15px;
    height: 15px;
    background: #E94F43;
    border-radius: 2px;
    transform: translateZ(-1px) rotate(45deg);
    top: -8px;
    left: 11px;
    transform-style: preserve-3d;
}

.intl-tel-input.allow-dropdown .flag-container,
.intl-tel-input.separate-dial-code .flag-container {
    padding: 0 !important;
}

.intl-tel-input .selected-flag {
    outline: none;
    border: none;
    border-radius: 6.674px 0px 0px 6.674px;
    padding: 0 10px !important;
}

.country-name {
    color: #1C1C1C;
}

.form__submit {
    padding: 24px 10px;
    text-align: center;
    border-radius: 10px;
    background: #5B645B;
    color: #FFF;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 19px; /* 95% */
    text-transform: uppercase;
}

.form__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.form__footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkbox-svg {
    margin-bottom: 0 !important;
}

.checkbox-svg label.checked-svg {
    margin-top: -10px!important;
    width: 15px !important;
    height: 15px !important;
}

.checked-svg svg {
    background: #FFF !important;
    border-radius: 2px !important;
    border: 1.251px solid #1C1C1C !important;
}

#cbx:checked+.checked-svg svg {
    stroke: #1C1C1C !important;
}

#cbx-3:checked+.checked-svg svg {
    stroke: #1C1C1C !important;
}

.privacy-checkbox {
    color: #1D1D1D;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    padding-left: 9px !important;
    line-height: 11px !important;
}

.privacy-checkbox a {
    color: #88A784!important;
    font-size: 13px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration-line: underline!important;
}

input[type="tel"] {
    padding-right: 15px!important;
}

.intl-tel-input .selected-flag {
    position: relative;
}

.intl-tel-input .selected-flag:after {
    content: "";
    position: absolute;
    width: 1px;
    height: 26px;
    right: 0;
    background-color: #1C1C1C;
}

.privacy-checkbox a {
    color: inherit;
    text-decoration: unset;
}

/*input[type="tel"] {*/
/*    padding: 12px 15px 12px 110px!important;*/
/*    !*padding-left: 110px!important;*!*/
/*}*/

.form__protect {
    display: flex;
    align-items: start;
    column-gap: 9px;
}

.form__protect h3 {
    margin: 0;
}

.form__protect-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.form__protect-title {
    color: #FFF;
    font-size: 14px;
    font-weight: 500;
    line-height: normal;
    padding-bottom: 12px;
}

.form__protect-description {
    color: #FFF;
    font-size: 12px;
    font-weight: 300;
    line-height: normal;
}



.form__password-wrapper input {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}

.form__input.password {
    padding-right: 160px;
}

.form__generate-password {
    position: absolute;
    padding: 12px 15px;
    border: none;
    outline: none;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    white-space: nowrap;
    color: #0328EE;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    user-select: none;
}

.form__generate-password:hover {
    cursor: pointer;
}


@media (max-width: 700px) {
    .form__item {
        width: 340px;
    }

    .form__title {
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .form__submit {
        font-size: 18px;
        font-style: normal;
        font-weight: 700;
        line-height: 19px; /* 105.556% */
    }

}