body {
    /* background-image: url('./newPaymentLandingPage/images/payment_page_background.svg'); */
    background-size: cover !important;
    /* background-image: url('./payment_page_background.svg'); */
    /* background: url(./payment_page_background.svg) no-repeat; */
}

.top-header-background-wallpaper{
    content: url(../../images/PaymentPage_Header.svg);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: -1;
}

.footer-background-wallpaper{
    position: absolute;
    bottom: -80px;
    z-index: -1;
    right: 0;
}

.header-left-img{
    width: 100%;
}

.style2 {	
    font-size: 9px; 
	color: #999999;
}



#form{
    justify-content: center;
    display: grid;
    /*gap:40px;*/
    margin-bottom: 80px;
    position: relative;
}

#wrap{
    justify-content: center;
    display: grid;
}

#payment-form{
    display: flex;
    width: 800px;
    padding: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap:20px;

    border-radius: 16px;
    background: var(--White, #FFF);

    /* MP/Shadow/07 */
    box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.05);

    margin-top: 80px;
    margin-bottom: 40px;
}

.timeout-font{
    color: var(--Text-Text-Body, #38393B);
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 175% */
    letter-spacing: -0.176px;
}

.countdown-font{
    color: var(--Text-Text-Body, #38393B);
    text-align: right;
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px; /* 175% */
    letter-spacing: -0.176px;
}

.min-sec{
    color: var(--Text-Text-Body, #38393B);
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: -0.176px;
}

#timeout-container{
    padding: var(--Spacing-Spacing---8, 8px) 12px;
    align-items: center;
    gap: 12px;
    align-self: stretch;

    border-radius: var(--Spacing-Spacing---6, 6px);
    background: #FFF;

    /* Shadow/Card/Mobile */
    box-shadow: 0px 0px 20px -8px rgba(38, 38, 38, 0.25);
}

#countdown-container{
    gap: 6px;  
    width: 100%;
    justify-content: flex-end;
}

.title-font{
    color: var(--Text-Text-Body-Primary, #38393B);

    /* TItle/Bold */
    font-family: "Segoe UI";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.payment-details-head{
    align-items: flex-start;
    gap: 16px;
}

#payment-details-container, #payment-method-container, #express-checkout-container, #payment-via-card-container{
    width:100%;

    display: flex;
    flex-direction: column;
    gap: var(--Spacing-Spacing---8, 8px);
    align-self: stretch;
}

#payment-details-container{
    cursor: pointer;
}

#user-payment-form{
    width:100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    align-self: stretch;
}


.price-font{
    flex: 1 0 0;
    color: var(--Text-Text-Orange, #0072BC);
    text-align: right;

    /* Body-L/Bold */
    text-align: right;
    font-family: "Segoe UI";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    align-items: center;
    display: grid;
    vertical-align: middle;
    line-height: unset;
}

.payment-details-info{
    display: flex;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--Spacing-Spacing---8, 8px);
    align-self: stretch;
    background: var(--Base-Blue-Light, #FAFBFD);
    max-height: 0; /* Initially collapsed */
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Transition effect */
}

.payment-details-info.show {
    max-height: 500px; /* Adjust this value as needed for full expansion */
    /* padding: 12px; */
}

.payment-details-info-content {
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--Spacing-Spacing---8, 8px);
    align-self: stretch;
    background: var(--Base-Blue-Light, #FAFBFD);
    display: flex;
}

.payment-placeholder{
    width: 200px;
    color: var(--Text-Text-Placeholder, #888889);
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.payment-info{
    flex: 1 0 0;
    color: var(--Text-Text-Body, #38393B);
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#closeModalBtn{
    display: none;
}

.popover .popover-arrow {
    border-color: transparent !important;
}
.popover.bs-popover-right .popover-arrow::before {
    border-right-color: #ffffff !important; /* White background for arrow */
}

.pay-to-detail, .payment-of-detail, .reference-no-detail{
    gap: 32px;
}

.payment-method-btn{
    display: flex;
    max-width: 260px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    flex: 1 0 0;

    border-radius: 8px;
    border: 2px solid var(--Border-Border-Primary, #DFDFDF);
    background: var(--White, #FFF);

    /* margin-right: 8px; */
}

.payment-method-btn{
    width:100%;
    gap: 4px;
    height: 48px;
}

.gpay-button.short, .gpay-card-info-container.black{
    width: 50% !important;
    height: 48px !important;
}

.payment-method-text{
    flex: 1 0 0;
    color: var(--Text-Text-Body-Primary, #38393B);
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    justify-content: flex-start;
    display: flex;
}

.pay-mtd-img{
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.pay-card-img{
    display: flex;
    width: 40px;
    height: 40px;
    padding: 8px 4px 7px 4px;
    justify-content: center;
    align-items: center;
}

.row-margin{
    margin-left: 0px !important;
    margin-right: 0px !important;

    display: flex;
    align-items: flex-start;
    gap: 4px 8px;
    align-self: stretch;
}

.btn-padding{
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.paypal-btn{
    width: 235px;
}

.exp-btn{
    display: flex;
    height: 48px;
    padding: 8px 16px;
    justify-content: center;
    align-items: center;
    gap: 3px;
    flex: 1 0 0;

    border-radius: 8px;
    border: 0px solid #000;
    background: #000;
}

.exp-btn-container{
    gap: 20px;
    display: flex;
}

.exp-method-text{
    width: 59.062px;
    height: 27.931px;  
    color: #FFF;
    text-align: center;
    font-family: "SF Pro Text";
    font-size: 23px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -1.223px;
}

.align-itm{
    align-items: center;
    display: flex;
}

.card-logo{
    width: 43.2px;
    height: 24px;
}

.card-accepted-container, .card-number-container, .name-on-card-container, .expiry-date-container, .cvv-container{
    display: flex;
    width: 351px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.cardno-textfield{
    display: flex;
    height: 54px;
    padding: 18px 14px;
    align-items: center;
    gap: 12px;
    align-self: stretch;

    border-radius: var(--Spacing-Spacing---6, 6px);
    border: 1px solid var(--Border-Border-Primary, #DFDFDF);
    background: var(--White, #FFF);
}

.cardno-input{
    flex: 1 0 0;
    color: var(--Text-Text-Placeholder, #888889);

    /* 16 px/Body 1 - Regular */
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.card-name-field{
    display: flex;
    height: 54px;
    padding: 18px 14px;
    align-items: center;
    gap: 12px;
    align-self: stretch;

    border-radius: 6px;
    border: 1px solid var(--Border-Border-Primary, #DFDFDF);
    background: var(--White, #FFF);
}

.card-name-input{
    flex: 1 0 0;
    color: var(--Text-Text-Placeholder, #888889);

    /* 16 px/Body 1 - Regular */
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.expiry-date-field, .cvv-field{
    display: flex;
    height: 54px;
    padding: 18px 14px;
    align-items: center;
    gap: 12px;
    align-self: stretch;

    border-radius: 6px;
    border: 1px solid var(--Border-Border-Primary, #DFDFDF);
    background: var(--White, #FFF);
}

.terms-font{
    color: var(--Text-Text-Placeholder, #888889);
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.28px;
}

.link-font{
    color: var(--Text-Text-Orange, #0072BC);
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.28px;
    text-decoration-line: underline;
}

.name-on-card-container, .exp-date-input, .cvv-input{
    width:100%;
}

.cancel-btn{
    /* display: flex; */
    height: 48px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;

    border-radius: 6px;
    border: 1px solid var(--Border-Border-Primary, #DFDFDF);
    background: var(--Base-White, #FFF);
    margin-right: 20px;
}

.proceed-btn{
    /* display: flex; */
    width: 450px;
    height: 48px;
    padding: 8px 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border:unset;

    border-radius: 6px;
    background: var(--Base-Brand, #0072BC);
    color: var(--State-Branding---White, #FFF);
}

.error-message {
    color: var(--Text-Text-Error, #E6374F);

    /* 14px/Body 2 - Regular */
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px; /* 150% */
}

.proceed-btn-enabled { 
    background: var(--Base-Brand, #0072BC);
    color: var(--State-Branding---White, #FFF);
}

#payment-button-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /*gap: 20px;*/
    align-self: stretch;
}

#footer-container{
    width: 100%;
    justify-content: center;
    display: grid;
}

.powered-font{
    align-self: stretch;
    color: var(--Text-Text-Placeholder, #888889);
    text-align: center;
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.154px;
}

#logo-container{
    gap: 6px;
    display: grid;
    justify-content: center;
}

.ipay-logo-footer{
    display: flex;
    width: 96.774px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.ipay-logo-footer-jpg{
    display: flex;
    width: 190.774px;
    height: 40px;
    justify-content: center;
    align-items: center;
}

.card-footer-logo {
    gap: 8px;
}

.amend-size-master-card{
    width: 65px !important;
    height: 30px !important;
}

.amend-size-amex{
    width: 70px !important;
}

.amend-size-visa{
    width: 70px !important;
    height: 32px !important;
}

.amend-size-RPPOBW{
    width: 60px !important;
	height: 40px !important;
}

.rights-reserved{
    align-self: stretch;
    color: var(--Text-Text-Placeholder, #888889);
    text-align: center;
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.154px;
    justify-content: center;
}

.contact-black{
    color: var(--Text-Text-Body, #38393B);
    text-align: center;
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.154px;
}

.contact-orange{
    color: var(--Text-Text-Orange, #0072BC);
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    letter-spacing: -0.154px;
    text-decoration-line: underline;
}

#copyright-container{
    padding-top: 20px;
    padding-bottom: 20px;
}

.cvv-header{
    width:100%;
    justify-content: space-between;
}

.other-logos{
    display: flex;
    height: 38px;
    padding: var(--Spacing-Spacing---6, 6px) 14px 4px 14px;
    align-items: flex-start;
    align-content: flex-start;
    gap: var(--Spacing-Spacing---6, 6px) 12px;
    flex-wrap: wrap;

    border-radius: 4px;
    border: 1px solid #D8E4E8;
}

.logo{
    gap: 0px var(--Spacing-Spacing---24, 24px);
    display: flex;
}

.logo1, .logo2{
    display: flex;
    height: 28px;
    min-width: 108px;
    padding: 0px 12px;
    align-items: center;
    gap: 10px;
    justify-content: center;

    border-radius: 4px;
    background: var(--Background-BG-Light-Blue-Hover, #E7EBF5);

    color: var(--Text-Text-Body, #38393B);
    text-align: center;
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 171.429% */
    letter-spacing: -0.154px;
}

.icon-logo-container{
    width: 100%;
    justify-content: flex-end;
    display: flex;
}

.icon-logo{
    position: absolute;
    background: transparent;
    border-color: transparent;
    border: unset;
    padding: unset;
    margin-top: -4px;
}

.popup-cvv{
    position: absolute;
    justify-content: flex-end;
    display: flex;
    width: 70.4% !important;
    margin-top: 19px !important;
}

.selected-btn{
    border: 2px solid var(--Border-Border-Input-Active, #0072BC);
}

#toggle-icon {
    transition: transform 0.5s ease-out;
    transform: rotate(180deg);
}

.payment-details-head.show #toggle-icon {
    transform: rotate(0deg); /* Arrow pointing up */
}

.clear-icon{
    cursor: pointer;
}

/* Test*/
#openModalBtn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px;
}

#openModalBtn:hover {
    background-color: #45a049;
}

.cvv-modal {
    position: fixed !important;
    left: 0 !important;
    bottom: -100% !important;
    width: 100% !important;
    height: 300px !important;
    background-color: #fefefe !important;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2) !important;
    transition: bottom 0.3s ease-in-out !important;
    z-index: 1000 !important;
}

.modal-content {
    padding: 20px !important;
}

.close {
    position: block;
    right: 20px;
    top: 12px;
    font-size: 24px;
    cursor: pointer;
}

.cvv-modal.open {
    bottom: 0 !important;
}

.mobile-amount-display{
    display: none;
}

.payment-btn{
    width: 100%;
    display: contents;
}

.mobile-show{
    display: none;
}

.maintenance-header{
    width: 100%;
    display: flex;
    justify-content: center;
    text-decoration: underline;
    font-family: "Segoe UI";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    font-weight: bold;
}

.maintenance-message{
    width: 100%;
}

.maintenance-details-font{
    width: 100%;
    display: flex;
    justify-content: center;
    font-family: "Segoe UI";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    height: fit-content;
    width: 100%;
}

.maintenance-details{
    gap: 8px;
    display: grid;
}

.amend-ewallet{
    object-fit: contain;
}

#PaymentCancel{
    display: none;
}

.ewallet-active{
    display: flex !important;
}

.payment-details-arrow-container{
    height: 100%;
    align-items: center;
    display: flex;
}

.title-card{
	
	font-family:Segoe UI Semibold;
	font-size:33px;
	color: #666666;
	font-weight:700px;
	
}

.title-card2{
	
	font-family:Segoe UI Semibold;
	font-size:21px;
	color: #666666;
	font-weight:500px;
	
}
/* .cvv-container{
    display: flex;
    width: 351px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
} */

/* mobile view */
@media only screen and (max-width: 575px){
    #payment-form{
        width: 100%;
        border-radius: unset;
        background: unset;
        box-shadow: unset;
        margin-top:unset;
        margin-bottom: unset;
        padding: unset;

        display: flex;
        padding: 20px 12px;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        align-self: stretch;
    }

    .title-font{
        font-size: 18px;
    }

    .price-font{
        font-size: 18px;
    }

    .payment-placeholder{
        width: 120px;
        color: var(--Text-Text-Placeholder, #888889);

        /* Body-M/Regular */
        font-family: Arial;
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .payment-info{
        font-size: 14px;
    }

    .row.row-margin {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .w-100, #stroke {
        display: none;
    }
    .col{
        flex: 1 1 50%;
    }

    .exp-btn-container{
        display: grid;
        gap: 8px;
    }
    
    .mobile-pay-card-header{
        font-size: 16px;
    }

    .paypal-btn, .card-number-container, .cancel-btn{
        width: 100%;
    }

    

    .proceed-btn{
        width: 245px !important;
    }

    .expiry-date-container{
        width: unset;
    }

    /* #payment-button-container{
        display: block;
        flex-direction: column-reverse;
        display: flex;
        gap: 12px;
    } */

    .payment-btn{
        display: flex;
        gap: 10px;
    }

    .amount-text-mobile{
        font-size: 14px;
    }

    .amount-mobile{
        font-weight: bold;
    }

    .mobile-amount-display{
        display: flex;
        justify-content: space-between;
        margin-bottom: 8px;
    }

    .mobile-hide{
        display: none !important;
    }

    #payment-button-container{
        position: fixed;
        left: 0;
        bottom: 0;
        width: 100%;
        z-index: 5;
        padding: 20px 12px 20px 12px;
        border-radius: 20px 20px 0px 0px;
        box-shadow: 2px 8px 20px grey;
        background-color: white;
        display: grid !important;
        gap: 16px !important;
    }

    .logo{
        gap: 8px;
    }

    .ipay-logo-footer{
        justify-content: center;
        width: 100%;
    }

    #footer-container{
        padding-left: 12px;
        padding-right: 12px;
        margin-bottom: 185px;

    }

    .contact-line {
        display: inline-flex;
        justify-content: center;
        flex-wrap: wrap;
    }
	

    .cvv-container{
        width: unset;
    }

    .gpay-button.short, .gpay-card-info-container.black{
        width: 100% !important;
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 900; /* Ensure it's below the modal but above other content */
        display: none; /* Hidden by default */
        transition: opacity 0.3s ease-in-out;
        opacity: 0; /* Start transparent */
    }
    
    .overlay.open {
        display: block;
        opacity: 1; /* Fade in when active */
    }

    body.no-scroll {
        overflow: hidden;
    }

    #closeModalBtn{
        display: flex;
        align-items: center;
        margin-bottom: 12px;

    }
    
    .tooltip-title-font{
        justify-content: center;
        margin-bottom: 12px;
        font-size: 16px;
    }
    
    .top-header-background-wallpaper{
        content: url(../../images/PaymentPage_Header.svg);
    }

    .footer-background-wallpaper{
        bottom: 0;
    }

    .mobile-show{
        display: unset;
    }
}