.modal-form {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #00000080;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
}
.modal-form__body {
    border-radius: 20px;
    position: relative;
    min-width: 540px;
}
.modal-form__head {
    padding: 30px 40px 20px;
    background-color: #24417C;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
}
.modal-form__title {
    color: #fff;
    font-size: 35px;
    line-height: 53px;
    font-weight: 700;
}
.modal-form__form {
    padding: 20px 40px 40px;
    background-color: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.modal-form__close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}
.modal-form__close svg * {
    transition: .4s;
}
.modal-form__close:hover svg * {
    fill: #3A5DA5;
}
.modal-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.modal-success__wrapper {
    background-color: #fff;
    padding: 40px 60px;
    border-radius: 10px;
    font-size: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.4s ease;
    transform: translateY(-20px);
    color: #24417C;
}
.modal-success__wrapper p {
    margin: 0;
}
.modal-success.active {
    opacity: 1;
    visibility: visible;
}
.modal-form__error {
    margin-bottom: 15px;
}
.modal-form__input {
    margin-bottom: 15px;
}
.modal-form__input input {
    padding: 18px 20px;
    font-size: 16px;
    line-height: 100%;
    color: #24417C;
    font-weight: 400;
    border-radius: 2px;
    border: 2px solid #F7FAFD;
    height: 55px;
    border-radius: 10px;
}
.modal-form__input input::placeholder {
    color: #24417C80;
    font-size: 16px;
    line-height: 100%;
    font-weight: 400;
}
.modal-form__form p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 26px;
    color: #24417C;
    font-weight: 400;
}
.modal-form__policy {
    margin-bottom: 15px;
}
.modal-form__policy input {
    display: none;
}
.modal-form__policy label {
    display: flex;
    font-size: 16px;
    color: #24417C;
    font-weight: 400;
    line-height: 26px;
    cursor: pointer;
    padding: 10px 0;
    gap: 10px;
    align-items: center;
    position: relative;
}
.modal-form__policy label a {
    color: #24417C;
    text-decoration: underline;
}
.modal-form__policy label::before {
    content: "";
    min-width: 25px;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    border: 1px solid #24417C;
    transition: .4s;
}
.modal-form__policy label::after {
    content: "";
    width: 25px;
    height: 25px;
    background-image: url("data:image/svg+xml,%3Csvg width='13' height='11' viewBox='0 0 13 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.10003L5.3331 8.60708L12 1' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 5px;
    background-color: #24417C;
    opacity: 0;
    position: absolute;
    transition: .4s;
}
.modal-form__policy input:checked + label::before {
    border-color: #24417C;
}
.modal-form__policy input:checked + label::after {
    opacity: 1;
}
.modal-form__captcha {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}
.modal-form__submit {
    padding: 12px 40px;
    font-size: 16px;
    line-height: 26px;
    display: flex;
    gap: 15px;
    margin: 0 auto;
    color: #fff;
    background-color: #24417C;
    transition: .4s;
    min-height: unset;
}
.modal-form__submit:hover {
    background-color: #3A5DA5;
}
body .iti--container {
    z-index: 100001;
}
@media(max-width:767px){
    .modal-form__body {
        min-width: unset;
        margin: 0 15px;
    }
    .modal-form__title {
        font-size: 32px;
        line-height: 120%;
    }
    .modal-form__head {
        padding: 30px 30px 20px;
    }
    .modal-form__form {
        padding: 20px 30px 40px;
    }
}
@media(max-width:480px){
    .modal-form__title {
        font-size: 25px;
        line-height: 38px;
    }
    .modal-form__form p,
    .modal-form__policy label {
        font-size: 14px;
        line-height: 22px;
    }
    /* .modal-form__captcha {
        max-width: 180px;
    } */
    .modal-form__head {
        padding: 30px 20px 20px;
    }
    .modal-form__form {
        padding: 20px 20px 30px;
    }
    .modal-form__body {
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-form__captcha .g-recaptcha{
        transform: scale(0.77);
        transform-origin: 0 0;
    }
}
@media(max-width:368px){
    .modal-form__captcha {
        max-width: 180px;
        display: unset;
    }
}