﻿.cbf-payment {
    /* padding: 32px;*/
}

    .cbf-payment .container-fluid {
        max-width: 1920px;
        margin: 0 auto;
    }

        .cbf-payment .container-fluid .content {
            display: flex;
            flex-direction: row;
            gap: 32px;
            margin: 0 auto;
        }


    .cbf-payment .content .body {
        display: flex;
        flex-direction: column;
    }

        .cbf-payment .content .body .body-content {
            display: inline-flex;
            /*padding: 95px 138px;*/
            flex-direction: column;
            align-items: flex-start;
            gap: 30px;
        }

            .cbf-payment .content .body .body-content .body-header {
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                gap: 16px;
                align-self: stretch;
            }

                .cbf-payment .content .body .body-content .body-header h2 {
                    font-family: Montserrat;
                    font-size: 38px;
                    font-style: normal;
                    font-weight: 800;
                    line-height: 47px;
                }

                .cbf-payment .content .body .body-content .body-header h6 {
                    font-family: Roboto;
                    font-size: 18px !important;
                    font-style: normal;
                    font-weight: 700;
                    line-height: 30px !important;
                    max-width:700px;
                }

            .cbf-payment .content .body .body-content .add-btn {
                display: inline-flex;
                padding: 16px 24px !important;
                align-items: center;
                gap: 16px;
                font-size: 27px !important;
            }


            .cbf-payment .content .body .body-content #paymentModalLabel {
                color: #000;
                text-align: center;
                /* H2 Montserrat Mobile */
                font-family: Montserrat !important;
                font-size: 30px !important;
                font-style: normal;
                font-weight: 800 !important;
                line-height: 40px !important; /* 133.333% */
            }

            .cbf-payment .content .body .body-content .toggle-button {
                display: inline-block;
                padding: 10px 30px;
                border-radius: 25px;
                border: none;
                background: var(--CB-Purple-1000-9844BA, #9844BA);
                color: white;
                font-weight: bold;
                cursor: pointer;
                margin: 5px;
                transition: background-color 0.3s ease, opacity 0.3s ease;
            }

                .cbf-payment .content .body .body-content .toggle-button.active {
                    background-color: #c084fc; /* Faded purple */
                    opacity: 1;
                }

                .cbf-payment .content .body .body-content  .toggle-button:not(.active) {
                    opacity: 0.7;
                }

            .cbf-payment .content .body .body-content .option-buttons {
                display: flex;
                border-radius: 50px;
                overflow: hidden;
                /* width: 140px;*/
                text-align: center;
                justify-content: center;
                background: var(--CB-Purple-1000-9844BA, #9844BA);
                max-width: 400px;
                margin: auto;
                flex-shrink: 0;
            }


.primary-payment-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    cursor: pointer;
    margin: auto;
    max-width: 500px;
    font-family: Roboto;
    font-size: 18px;
    font-weight: 700;
}

    .primary-payment-checkbox input[type="checkbox"] {
        display: none; 
    }

    .primary-payment-checkbox .checkmark {
        width: 24px;
        height: 24px;
        border: 2px solid #9333ea; 
        border-radius: 50%; 
        display: inline-flex;
        justify-content: center;
        align-items: center;
    }


    .primary-payment-checkbox input[type="checkbox"]:checked + .checkmark {
        background-color: #10b981; 
        border-color: #10b981;
    }

        .primary-payment-checkbox input[type="checkbox"]:checked + .checkmark svg {
            display: block;
        }

    .primary-payment-checkbox .checkmark svg {
        display: none; 
        width: 16px;
        height: 16px;
    }
.cbf-payment .content .body .body-content .payment-card-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    align-self: stretch;
    max-width: 500px;
    margin: auto;
    margin-top: 20px;
}

    .cbf-payment .content .body .body-content .payment-card-details .single-input .input {
        display: flex;
        height: 48px;
        padding: 10px;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        border-radius: 10px;
        border: 1px solid var(--Grey-200, #CCC);
        background: #FFF;
    }

    .cbf-payment .content .body .body-content .payment-card-details .single-input {
        display: flex;
        min-width: 280px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        align-self: stretch;
    }

    .cbf-payment .content .body .body-content .payment-card-details .double-input {
        display: flex;
        align-items: flex-start;
        gap: 32px;
        align-self: stretch;
    }

    .cbf-payment .content .body .body-content .payment-card-details .first-input,
    .cbf-payment .content .body .body-content .payment-card-details .second-input {
        display: flex;
        min-width: 220px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        flex: 1 0 0;
    }

    .cbf-payment .content .body .body-content .payment-card-details .double-input .input {
        display: flex;
        height: 48px;
        padding: 10px;
        align-items: center;
        gap: 10px;
        align-self: stretch;
        border-radius: 10px;
        border: 1px solid var(--Grey-200, #CCC);
        background: #FFF;
    }

.cbf-payment .content .body .body-content .total{
    display:flex;
    flex-direction:row;
    justify-content:flex-end;
    gap:50px;
    max-width:500px;
}
    .cbf-payment .content .body .body-content .total h6{
        font-size:18px !important;
        font-weight:100;
    }

    .cbf-payment .content .body .body-content .total .amount {
        line-height: 50px !important;
    }

.cbf-payment .content .body .body-content hr {
    max-width: 500px;
    height: 1px;
    background: #d8d1db;
    margin: auto;
    margin-top: 30px;
}

.cbf-payment .content .body .body-content .footer-btns {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    gap: 16px;
    align-self: stretch;
    flex-wrap: wrap;
    max-width: 500px;
    margin: auto;
    padding: 24px;
}

    .cbf-payment .content .body .body-content .footer-btns .cancel-btn,
    .cbf-payment .content .body .body-content .footer-btns .confirm-btn {
        display: flex;
        min-width: 164px;
        padding: 16px 24px !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        flex: 1 0 0;
    }

    .cbf-payment .content .body .body-content .footer-btns .confirm-btn {
        gap: 8px;
        border-radius: 10px;
        background: var(--CB-Purple-1000-9844BA, #9844BA) !important;
        border: none !important;
        color: white !important;
    }
    .cbf-payment .content .body .body-content .footer-btns .cancel-btn{
        border-radius: 10px !important;
        border: 3px solid var(--CB-Purple-1000-9844BA, #9844BA) !important;
        color: var(--CB-Purple-1000-9844BA, #9844BA) !important;
    }

.cbf-payment .content .body .body-content #paymentModal
{
    padding:16px 8px !important;
}

.addedCardDetails{
    display:flex;
    flex-direction:row;
    justify-content:space-between;
    margin-top:10px;
}

.card.payment-cards {
    padding: 16px 20px;  
    box-shadow: 1px 1px 9px 1px #ddd2d2;
    min-width: 303px;
}

.card-body.paid-body {
    display: flex;
    flex-flow: column;
    gap: 8px;
}

    .card-body.paid-body hr {
        min-width: 280px;
        height: 1px;
        background: #d8d1db;
        margin: auto;

    }


.delete_btn {
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 30px;
    display: inline-flex;   
    align-items: center;
    gap: 8px;
    
}

.update-payment {
    font-family: Roboto;
    font-size: 18px;    
    font-weight: 700;
    line-height: 30px; /* 166.667% */
}


#deleteConfirmModal .modal-title {
    color: #000;
    text-align: center;
    font-family: Montserrat;
    font-size: 25px;
    font-weight: 800;
    line-height: 40px; /* 160% */
}

    #deleteConfirmModal p {
        color: #000;
        text-align: center;
        font-family: Roboto;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 30px; 
        max-width:300px;
    }

.dialogbox-button {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-self: stretch;
    flex-wrap: wrap;
    /*max-width: 300px;*/
    margin: auto;
    padding: 12px;
}
.dialog-content {
    max-width: 360px;
    display: flex;
    /*    width: 360px;*/
    padding: 32px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.dialogbox-button .cancel-btn,
.dialogbox-button .confirm-btn {
    display: flex;
   /* min-width: 164px;*/
    padding: 8px 12px !important;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex: 1 0 0;
}



.dialogbox-button .cancel-btn {
    border-radius: 10px !important;
    border: 3px solid var(--CB-Purple-1000-9844BA, #9844BA) !important;
    color: var(--CB-Purple-1000-9844BA, #9844BA) !important;
}

.dialogbox-button .confirm-btn {
    gap: 8px;
    border-radius: 10px;
    background: var(--CB-Purple-1000-9844BA, #9844BA) !important;
    border: none !important;
    color: white !important;
}