@media (max-width: 499px) {

    /* smallest  */

    .payweb_popup {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        background-attachment: scroll;
        background-clip: border-box;
        background-position-x: 0%;
        background-position-y: 0%;
        background-repeat: repeat;
        background-size: auto;
        background-color: #f8f8f8;
        box-sizing: border-box;
        color: rgb(22, 29, 37);
        text-size-adjust: 100%;
        min-height: 580px;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .payweb_inner {
        padding: 16px 24px 24px 24px;
        width: 100%;

    }

    .payweb_inner h1 {
        font-family: 'Inter', Helvetica, Arial, sans-serif;
        font-weight: 800;
        font-size: 22px;
        letter-spacing: normal;
        line-height: 24px;
        -webkit-font-smoothing: antialiased;
        unicode-bidi: isolate;
        padding: 0px 0px 20px 0px;
        margin: 0px;
    }


    .payweb_inner .message_content {
        font-size: 14px;
        color: #333;
    }


}

@media (min-width: 500px) and (max-width: 779px) {

    /* medium  */

    .payweb_popup {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        background-attachment: scroll;
        background-clip: border-box;
        background-position-x: 0%;
        background-position-y: 0%;
        background-repeat: repeat;
        background-size: auto;
        background-color: #f8f8f8;
        box-sizing: border-box;
        color: rgb(22, 29, 37);
        text-size-adjust: 100%;
        max-width: 390px;
        width: 100%;
        height: 100%;
        position: relative;
        margin: 10px 0px;
        border-radius: 12px;
        box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.1);
    }

    .payweb_inner {
        padding: 16px 24px 24px 24px;
        width: 100%;
    }

    .payweb_inner h1 {
        font-family: 'Inter', Helvetica, Arial, sans-serif;
        font-weight: 800;
        font-size: 22px;
        letter-spacing: normal;
        line-height: 24px;
        -webkit-font-smoothing: antialiased;
        unicode-bidi: isolate;
        padding: 0px 0px 20px 0px;
        margin: 0px;
    }

    .payweb_inner .message_content {
        font-size: 14px;
        color: #333;
    }

}

@media (min-width: 780px) {

    /* larger  */

    .payweb_popup {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        background-attachment: scroll;
        background-clip: border-box;
        background-position-x: 0%;
        background-position-y: 0%;
        background-repeat: repeat;
        background-size: auto;
        background-color: #f8f8f8;
        box-sizing: border-box;
        color: rgb(22, 29, 37);
        text-size-adjust: 100%;
        max-width: 1020px;
        min-height: 540px;
        width: 100%;
        height: 100%;
        position: relative;
        margin: 20px 0px;
        border-radius: 12px;
        box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.1);
    }

    .payweb_inner {
        padding: 24px 48px 48px 48px;
        width: 100%;
    }

    .payweb_inner h1 {
        font-family: 'Inter', Helvetica, Arial, sans-serif;
        font-weight: 800;
        font-size: 22px;
        letter-spacing: normal;
        line-height: 24px;
        -webkit-font-smoothing: antialiased;
        unicode-bidi: isolate;
        padding: 4px 0px 20px 0px;
        margin: 0px;
    }

    .payweb_inner .message_content {
        font-size: 16px;
        color: #333;
    }

}





.payweb {
    background-color: #f0f0f0;
    align-items: center;
    background-attachment: scroll;
    background-clip: border-box;
    background-position-x: 0%;
    background-position-y: 0%;
    background-repeat: repeat;
    background-size: auto;
    box-sizing: border-box;
    color: rgb(22, 29, 37);
    display: flex;
    justify-content: center;
    text-size-adjust: 100%;
    min-height: 100%;
}


.payweb_inner .field_area .field_prompt {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #7a7a94;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
}


.payweb_inner .field_area.error .field_prompt {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #e31c1c;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
}


.payweb_inner .field_area {
    padding-bottom: 10px;
}

.payweb_inner .field_area .field {
    padding: 10px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
    border: 1px solid #d8d8d8;
    border-radius: 8px;
    outline: none;
    width: 100%;
    background-color: #fff;
}

.payweb_inner .field_area .field::placeholder {
    color: #b5b5d8;
    font-size: 16px;
}

.payweb_inner .field_area.error .field::placeholder {
    color: #e3a9a9;
}

.payweb_inner .field_area.error .field {
    padding: 10px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #000;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
    border: 1px solid #e64848;
    border-radius: 8px;
    outline: none;
    width: 100%;
    background-color: #fff;
}

.payweb_inner .field_error {
    padding-top: 4px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #df0000;
}

.payweb_inner .upload_error {
    margin-top: 10px;
    padding: 10px 0px 15px 13px;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #df0000;
    border: solid 1px #ff9d9d;
    background-color: #ffdbdb;
    border-radius: 8px;
}

.payweb_inner .upload_error img {
    height: 20px;
    position: relative;
    top: 4px;
    padding-right: 8px;
}


.payweb_inner .message_area {
    padding-top: 10px;

}

.payweb_inner .message_area .message_header {

    display: flex;
    align-items: center;
    gap: 5px;
    color: #bc1818;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    line-height: 24px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
    font-size: 16px;

}

.payweb_inner .message_area .message_header .message_icon img {
    height: 15px;
}


.payweb_inner .message_content {
    font-size: 12px;
}


.payweb_inner .message_content span {
    font-weight: 500;
}

.payweb_inner .payweb_copy_link {
    font-weight: 300;
    font-size: 14px;
}

.payweb_inner .payweb_copy_link_action {
    color: green;
    text-decoration: underline;
    cursor: pointer;
}


.payweb_button {
    border-radius: 8px;
    background-color: rgb(0, 119, 255);
    color: #fff;
    padding: 16px;
    width: 100%;
    max-width: 350px;
    font-size: 16px;
    font-weight: 300;
    bottom: 40px;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: 0.2s all;
}

.payweb_button.disabled {
    pointer-events: none;
    opacity: 0.3;
    cursor: not-allowed;
}

.payweb_button:hover {
    background-color: #004593;
    transition: 0.2s all;
}


.payweb_full_terms {
    border-radius: 6px;
    background-color: #fff;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
    width: 100%;
    height: 100px;
    overflow: auto;
    border: solid 1px #d0d0d0;
    padding: 10px;
    pointer-events: none
}

.payweb_full_terms h2 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
    padding: 0px 0px 10px 0px;
}

.payweb_full_terms h3 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 17px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
    padding: 10px 0px 10px 0px;
}

.payweb_checkbox {
    width: auto;
}


.payweb_heading {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 14px;
    -webkit-font-smoothing: antialiased;
    unicode-bidi: isolate;
    letter-spacing: normal;
    padding: 10px 0px 5px 5px;
    color: #555;
}

.payweb_heading span {
    color: #0076de;
}

.payweb_subhead {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: 15px;
    padding: 5px 0px 10px 0px;
}

.payweb_subhead span {
    font-weight: 700;
}

.payweb_uploaded_image {
    max-width: 80%;
    width: 200px;
    border-radius: 8px;
    box-shadow: 0px 0px 16px rgba(0, 0, 0, 0.4);
    display: block;
    margin: 0 auto;
}

.payweb_upload_again {
    margin-left: 20px;
    border-radius: 6px;
    background-color: #54a7d9;
    color: #fff !important;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: 0.2s all;
    width: fit-content;
}

.payweb_upload_again:hover {
    background-color: rgb(0, 61, 131);
    transition: 0.2s all;
}

#payweb_prompt_poa_uploaded,
#payweb_prompt_id_uploaded {
    font-size: 22px;
    color: #08760f;
    position: relative;
    top: 3px;
}

.payweb_choose {
    color: #fff;
    cursor: pointer;
    font-weight: 400;
    font-size: 14px;
    padding: 5px 15px;
    border-radius: 6px;
    background-color: #54a7d9;
    width: fit-content;
    margin: 0 auto;
}

.payweb_choose:hover {
    background-color: #1a72a8;
}

p.payweb_drag_msg  {
    font-weight: 400;
    font-size: 16px;
}

.payweb_inner.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.payweb_order_details {
    font-size: 16px;
    font-weight: 400;
    color: #999;
}