.thanks-modal .modal-content{
    padding: 24px 24px 56px 24px;
    border-radius: 16px;
}
.thanks-close-btn{
    border: 0;
    width: 24px;
    height: 24px;
    background-position: center;
    margin: 0;
    box-shadow: none;
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 0 !important;
    opacity: 1;
}
.thanks-modal .modal-title{
    color: #222;
    font-family: "DM Sans", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -2px;
    margin-top: 20px;
}
.thanks-modal .modal-body .thanks-subtxt{
    color: #222;
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}
.thanks-submit-btn{
    margin-top: 32px;
}
.thanks-submit-btn button{
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 19.2px;
    text-align: center;
    color: #000000;
    background: #1EE576;
    max-width: 214px;
    width: 100%;
    border: none;
    border-radius: 40px;
    height: 48px;
}
#successModal.thanks-modal .modal-header{
    padding: 2rem 2rem 0 2rem;
}
#successModal.thanks-modal .modal-body{
    padding: 1rem 2rem 0 2rem;
}
.thanks-submit-btn button:hover{
    background-color: #00B140 !important;
    border-color: #00B140 !important;
    color: #000000;
}

.commercial-success-modal {
    background: rgba(0, 0, 0, .5);
}

.commercial-success-modal .modal-dialog .modal-content {
    border-radius: 16px
}

.commercial-success-modal .modal-dialog {
    max-width: 620px;
}

.commercial-success-modal .modal-body{
    padding: 24px 48px 48px 48px;
}

.commercial-success-modal .thankyou-title {
    font-family: "DM Sans", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 52.8px;
    letter-spacing: normal;
    text-align: left;
    color: #222222;
    margin-bottom: 0;
}

.commercial-success-modal .thankyou-text {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0em;
    text-align: left;
    color: #000;
    padding-top: 16px;
    padding-bottom: 32px;
}

.commercial-success-modal .default-btn .primary-btn {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    padding: 0;
}

.commercial-success-modal .btn-close {
    opacity: 1;
}

@media screen and (max-width: 600px) {
    .commercial-success-modal .modal-body {
        padding: 0 24px 38px 24px;
    }
    .commercial-success-modal .thankyou-title {
        font-size: 36px;
        line-height: 40px;
    }
    .commercial-success-modal .thankyou-text {
        padding-bottom: 24px;
    }
    .commercial-success-modal .default-btn .primary-btn{
        width: 100% !important;
        min-width: auto !important;
        padding: 18px 80px !important;
        line-height: 14px !important
    }

}

@media screen and (max-width: 767px) {
    .thanks-modal .modal-content{
        padding: 24px 24px 32px 24px;
    }
    .thanks-modal .modal-header{
        padding: 0;
    }
    .thanks-modal .modal-body{
        padding: 0;
    }
    .thanks-modal .modal-title{
        font-size: 36px;
        line-height: 107%;
        margin-bottom: 16px;
        margin-top: 30px;
    }
    .thanks-submit-btn button{
        max-width: 100%;
    }
}
@media only screen and (min-width: 601px) and (max-width: 1024px) {
    .commercial-success-modal .default-btn .primary-btn{
        width: 214px !important;
    }
}
@media only screen and (min-width: 576px) and (max-width: 645px) {
    .commercial-success-modal .modal-dialog {
        max-width: 98%;
    }
}