.modal-parcela {
    width: 40%;
    position: fixed;
    padding: 40px;
    background: #ffffff 0% 0% no-repeat padding-box;
    border: 1px solid #bbbbbb;
    z-index: 99999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    transition: 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s cubic-bezier(0.8, 0.5, 0.2, 1.4);
    box-shadow: 0px 3px 6px #00000029;
    border-radius: 0px;
}

.modalOn .modal-parcela {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.3s ease-in-out;
    opacity: 1 !important;
    visibility: visible !important;
    transition: 0.2s cubic-bezier(0.8, 0.5, 0.2, 1.4);
    border-radius: 0;
}

.modal-parcela h3 {
    text-align: left;
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    letter-spacing: 0px;
    margin-top: 0px;
    margin-bottom: 30px;
    color: #333333;
    opacity: 1;
}

.modal-parcela .btns-pp {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.tabela-vezes {
    margin-top: 20px;
    transition: 0.3s ease-in-out;
    max-height: 800px;
    opacity: 1;
}

.tabela-vezes .linha-op {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 24px;
    border-bottom: 1px solid #e8e8e8;
    cursor: pointer;
    transition: 0.18s ease-in-out;
}

.tabela-vezes .linha-op:first-child {
    border-top: 1px solid #e8e8e8;
}

.tabela-vezes .linha-op:hover {
    background-color: rgb(238, 238, 238);
    transition: 0.18s ease-in-out;
}

.tabela-vezes .linha-op span {
    text-align: left;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    letter-spacing: 0px;
    color: #333333;
    opacity: 1;
}

.modal-parcela .btns-pp button {
    padding: 0 24px;
    margin-right: 20px;
    height: 36px;

    background: var(--primary-button-color) 0% 0% no-repeat padding-box;
    border-radius: 0;
    border: 2px solid #e8e8e8;
    opacity: 1;
    box-shadow: none !important;
    transition: background ease-in-out 0.2s;

    text-align: center;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
    letter-spacing: 0px;
    color: var(--secondary-text-color);
}

.modal-parcela .btns-pp button.on-p {
    background: var(--primary-button-color-hover) 0% 0% no-repeat padding-box;
    border: none;
    color: #ffffff;
    text-transform: uppercase;
    transition: background ease-in-out 0.2s;
}

.somedaqui {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    opacity: 0;
    margin-top: 0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

.overlay-mod {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s, visibility 0.25s, opacity 0.25s linear;
}

.modalOn .overlay-mod {
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.25s, visibility 0.25s, opacity 0.25s linear;
}

@media screen and (max-width: 768px) {
    body.modalOn .modal-parcela {
        transform: translate(0, 0) scale(1);
        top: 0;
        left: 0;
        transition: 0.2s cubic-bezier(0.8, 0.5, 0.2, 1.4);
    }
    .modal-parcela {
        width: 100%;
        height: 100%;
        padding: 32px 16px;
    }
    .modal-parcela .btns-pp button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 16px;
    }
    .modal-parcela h3 {
        font-size: 16px;
        line-height: 26px;
    }
    .modal-parcela .btns-pp {
        margin-top: 32px;
        flex-wrap: wrap;
    }
    .tabela-vezes {
        margin-top: 0px;
    }
    .close-modal {
        top: 16px;
        right: 16px;
    }
}