.modal {
    display: none;
    position: fixed;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 10;
    margin-top: 55px;
}

.modal-content {
    background-color: rgb(255, 255, 255);
    background-image: url('./assets/modal/background_modal.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
    width: 50%;
    margin: 0 auto;
    border-radius: 30px;
    text-align: right;
    position: relative;
    box-shadow: 0px 0px 7px 0px black;
}

.modal-content h2 {
    font-size: 1.5rem;
    width: 80%;
    padding-bottom: 10px;
}

.close {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 35px;
    cursor: pointer;
    color: black;
    background-color: rgb(255, 255, 255);
    padding-block: -91px;
    padding-inline: 20px;
    border-radius: 20px;
}

.modal_area {
    text-align: center;
    padding: 50px;
}

.input_label_modal {
    color: var(--ai-default-text-color);
    margin-bottom: 7px;
    font-size: 20px;
}

label {
    display: inline-block;
}

.input_modal {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--separation-line-color);
    height: 48px;
    margin-bottom: 30px;
    font-size: 25px;
}

.modal_button {
    height: 46px;
    border-radius: 4px;
    background-color: var(--ai-blue-color);
    border: 0;
    color: var(--ai-white-color);
    margin-top: 25px;
    font-weight: bold;
    padding-inline: 35px;
}

.form_to_submit input {
    background: rgb(240, 240, 240);
}

.form_header_image {
    background-image: url('./assets/modal/modal_header.png');
    position: relative;
    background-position: center;
    background-size: cover;
    height: 89px;
    width: 108.5%;
    top: -20px;
    right: -39px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.footer_modal_area {
    display: flex;
    justify-content: space-between;
}

.captcha-box {
    display: inline-block;
    background: #f3f3f3;
    padding: 10px;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 3px;
    user-select: none;
}

.refresh-btn {
    cursor: pointer;
    color: white;
    border: none;
    padding: 5px 10px;
    margin-left: 10px;
    width: 50px;
    height: 50px;
    color: black;
}

input {
    border-radius: 9px !important;
    background-color: #eaefef !important;
    border: none;
    font-size: 13px;
    font-weight: bold;
    padding-inline: 10px;
    padding-block: 15px;
    border: 1px solid var(--separation-line-color);
    height: 48px;
    margin-bottom: 30px;
}

.fix_margin {
    margin-top: -21px;
}

.validate_test_input {
    display: none;
    color: red;
    position: relative;
    top: -30px;
}

.be-in-touch {
        background: #0030A8;
        padding: .2rem .5rem !important;
        font-size: 1rem;
        border-radius: .2rem;
}

.be-in-touch:hover {
        background: #AA163C;
        border: 1px solid #AA163C;
}
.input-group {
    justify-content: center !important;
}
@media (max-width: 1620px) {
    .form_header_image {
        position: absolute;
        width: 104%;
        top: -3px;
        right: -16px;
    }

    .modal-content h2 {
        padding-top: 89px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 80%;
        padding: 15px;
    }

    .form_header_image {
        width: 100%;
        text-align: center;
        margin-right: 16px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%;
        padding: 10px;
    }

    .close {
        font-size: 20px;
    }

    .modal-content h2 {
        font-size: 1rem;
        width: 80%;
        padding-bottom: 10px;
    }

    .form_header_image {
        width: 100%;
        right: 0px;
    }
}