
/* New CSS from demo HTML */

.ts-payment-box {
    background-color: #f3f7e9;
    border-radius: 12px;
    padding: 20px;
    width: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.ts-payment-box h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ts-payment-box h2 span {
    color: #74a40e;
}

.ts_installments_cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ts-installments {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.ts-installment {
    background-color: #d1d1d1;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
}

.ts_payment_plan {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.ts_payment_plan p {
    margin-bottom: 0.75rem  !important;
}

.ts-active {
    background-color: #74a40e;
}

.ts-details {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #555;
    margin-top: 10px;
    gap: 20px;
}

.ts-details strong {
    font-weight: 700;
    color: #333;
}

.ts-cta-btn button {
    background-color: #74a40e;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.ts-cta-btn button:hover {
    background-color: #5f8b0b;
}

.ts-footer {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

/* PopUp CSS */
.ts_oney_popup {
    display: none;
    width: 90%;
    max-width: 400px;
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    border: 2px solid #74a40e;
}

.ts_oney_popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ts_oney_popup-header h2 {
    font-size: 22px;
    color: #74a40e;
    margin: 0;
}

.ts-close-btn {
    font-size: 22px;
    cursor: pointer;
    color: #74a40e;
    font-weight: bold;
}

.ts-installments {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.ts-installment {
    background: #444;
    color: #fff;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
}

.ts-active {
    background: #74a40e;
}

.ts-payment-details {
    margin: 10px 0;
}

.ts-payment-details p {
    font-size: 14px;
    margin: 5px 0;
}

.ts-strong {
    font-weight: bold;
}

.ts-cta-btn-btn {
    display: block;
    text-align: center;
    background: #fff;
    color: #74a40e;
    border: 2px solid #74a40e;
    padding: 10px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 15px auto 0;
    width: 80%;
}

.ts-cta-btn-btn:hover {
    background: #74a40e;
    color: #fff;
}

.ts-footer-text {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

/* Responsiveness */
@media screen and (max-width: 480px) {
    .ts_oney_popup {
        width: 95%;
        padding: 10px;
    }
    .ts_oney_popup-header h2 {
        font-size: 18px;
    }
    .ts-close-btn {
        font-size: 20px;
    }
    .ts-payment-details p {
        font-size: 13px;
    }
    .ts-cta-btn-btn {
        width: 100%;
        font-size: 14px;
        padding: 8px;
    }
}
