/* ==========================
   GLOBAL STYLES
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background-color:#750000;
    height: 70vh;

}

/* ==========================
   LOGIN PAGE
========================== */

.container{
    width:320px;
    margin:40px auto;
    text-align:center;
    background-color: #750000;
    position: relative;
    border-radius: 40px;
    height: 70vh;

}

.logo img{
    width:100px;
    margin-bottom:15px;
}

.logo h1{
    font-size:40px;
    color:#fff;
}

.logo h2{
    color: #fff;;
    letter-spacing:5px;
}

.logo h3{
    margin-top:15px;
    color:#fff;
}

.logo p{
    margin-top:8px;
    color:#fff;
}

.login-box{
    background:white;
    margin-top:15px;
    padding:35px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.login-box h2{
    color:#c00000;
    margin-bottom:15px;
}

.input-box{
    display:flex;
    align-items:center;
    border:1px solid #ddd;
    border-radius:10px;
    padding:12px;
    margin-bottom:20px;
}

.input-box i{
    color:#888;
    margin-right:10px;
}

.input-box input{
    width:100%;
    border:none;
    outline:none;
    font-size:16px;
}

.options{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
    font-size:14px;
}

.options a{
    color:#c00000;
    text-decoration:none;
}

button{
    width:100%;
    padding:15px;
    background:#750000;
    color:white;
    border:none;
    border-radius:10px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#980000;
}

/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f6f9;
    color:#333;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    position:fixed;
    top:0;
    left:0;
    width:250px;
    height:100vh;
    background:#750000;
    color:#fff;
    overflow:auto;
}

.logo{
    text-align:center;
    padding:30px 20px;
    border-bottom:1px solid rgba(255,255,255,.2);
}

.logo img{
    width:80px;
    margin-bottom:10px;
}

.logo h2{
    font-size:28px;
}

.logo p{
    letter-spacing:4px;
    font-size:14px;
}

.menu{
    margin-top:20px;
}

.menu a{
    display:flex;
    align-items:center;
    gap:15px;
    color:white;
    text-decoration:none;
    padding:16px 25px;
    transition:.3s;
}

.menu a:hover,
.menu a.active{
    background:white;
    color:#750000;
}

.menu i{
    width:22px;
    text-align:center;
}

/* =========================
   MAIN
========================= */

.main{
    margin-left:250px;
    padding:30px;
}

/* =========================
   TOP BAR
========================= */

.topbar{
    background:#750000;
    padding:20px 30px;
    border-radius:15px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.topbar h1{
    margin-bottom:5px;
    color: #fff;
}

.topbar p{
    color:#fff;
}

.top-right{
    display:flex;
    align-items:center;
    gap:20px;
    color: #fff;
}

.notification{
    font-size:22px;
    cursor:pointer;
    
}

.user{
    font-weight:bold;
    color: #fff;
}

.status{
    padding:8px 15px;
    border-radius:30px;
    font-weight:bold;
    color:white;
}

.online{
    background:#2e7d32;
}

.offline{
    background:#d32f2f;
}

/* =========================
   CARDS
========================= */

.cards{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:30px;
    color: #fff;
}

.card{
    background:#1b1b1b;
    border-radius:15px;
    padding:25px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card.red{
    background:#750000;
    color:white;
}

.card h3{
    margin-bottom:15px;
    font-size:18px;
    color: #fff;
}

.card h2{
    font-size:30px;
    color: #fff;
}

/* =========================
   TITLES
========================= */

.section-title{
    margin:35px 0 20px;
}

/* =========================
   QUICK ACTIONS
========================= */

.actions{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.action-card{
    background:#1b1b1b;
    border-radius:15px;
    padding:30px;
    text-decoration:none;
    color:#fff;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.action-card:hover{
    background:#750000;
    color:white;
}

.action-card i{
    font-size:40px;
    margin-bottom:15px;
    display:block;
    
}

.action-card span{
    font-size:18px;
    font-weight:bold;
}

/* =========================
   TABLE
========================= */

.table{
    width:100%;
    border-collapse:collapse;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.table th{
    background:#750000;
    color:white;
    text-align:left;
    padding:18px;
}

.table td{
    padding:18px;
    border-bottom:1px solid #eee;
}

.table tr:hover{
    background:#fafafa;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:1100px){

.cards{
    grid-template-columns:repeat(2,1fr);
}

.actions{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.sidebar{
    width:100%;
    height:auto;
    position:relative;
}

.main{
    margin-left:0;
}

.topbar{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
}

.top-right{
    flex-wrap:wrap;
}

.cards{
    grid-template-columns:1fr;
}

.actions{
    grid-template-columns:1fr;
}

.table{
    display:block;
    overflow-x:auto;
}

}

/* ==========================
   NEW SALE PAGE
========================== */

.sale-container{
    margin-left:250px;
    padding:30px;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

.sale-card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
}

.sale-card h2{
    color:#c00000;
    margin-bottom:20px;
}

.sale-card label{
    display:block;
    margin-top:15px;
    margin-bottom:8px;
    font-weight:bold;
}

.sale-card input{
    width:100%;
    padding:14px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

.summary-card{
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 3px 10px rgba(0,0,0,.1);
}

.summary-card h2{
    color:#c00000;
    margin-bottom:20px;
}

.summary-row{
    display:flex;
    justify-content:space-between;
    margin:15px 0;
    font-size:17px;
}

.total{
    color:#c00000;
    font-size:24px;
    font-weight:bold;
}

.pay-btn{
    width:100%;
    padding:16px;
    margin-top:25px;
    background:#c00000;
    color:white;
    border:none;
    border-radius:10px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

.pay-btn:hover{
    background:#980000;
}

/* ==========================
   CARD PAYMENT
========================== */

.payment-card{

background:white;

padding:30px;

border-radius:15px;

box-shadow:0 3px 10px rgba(0,0,0,.1);

max-width:550px;

margin:30px auto;

}

.payment-card h2{

color:#c00000;

margin-bottom:25px;

}

.payment-card label{

display:block;

margin-top:15px;

margin-bottom:8px;

font-weight:bold;

}

.payment-card input{

width:100%;

padding:15px;

border:1px solid #ddd;

border-radius:10px;

font-size:16px;

margin-bottom:15px;

}

/* ==========================
   RECEIPT
========================== */

.offline-receipt-card{

max-width:600px;

margin:30px auto;

background:white;

padding:30px;

border-radius:15px;

box-shadow:0 3px 10px rgba(0,0,0,.1);

}

.offline-receipt-card h2{

color:#0a8f3d;

margin-bottom:20px;

}

.offline-receiptt-card p{

font-size:18px;

margin:15px 0;

}

.offline-receipt-card hr{

border:1px solid #eee;

}

/* ==========================
   PRODUCTS PAGE
========================== */

.add-btn{
    background:#b30000;
    color:white;
    border:none;
    padding:12px 20px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
}

.add-btn:hover{
    background:#900000;
}

#search{
    width:100%;
    padding:14px;
    margin:20px 0;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:16px;
}

.table button{
    width:auto;
    padding:8px 14px;
    margin-right:5px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    background:#b30000;
    color:white;
}

.table button:hover{
    background:#900000;
}

/* ==========================
   ONLINE SALE
========================== */

.sale-layout{

display:grid;

grid-template-columns:2fr 1fr;

gap:25px;

margin-top:20px;

}

.product-list,
.cart{

background:#fff;

padding:20px;

border-radius:15px;

box-shadow:0 3px 10px rgba(0,0,0,.1);

}

.product-card{

display:flex;

justify-content:space-between;

align-items:center;

padding:15px;

border-bottom:1px solid #eee;

}

.product-card button{

padding:10px 18px;

background:#b30000;

color:white;

border:none;

border-radius:8px;

cursor:pointer;

}

.product-card button:hover{

background:#900000;

}

.cart p{

margin:10px 0;

}

.cart hr{

margin:20px 0;

}

#searchProduct{

width:100%;

padding:14px;

margin:20px 0;

border:1px solid #ddd;

border-radius:10px;

font-size:16px;

}
.cart-item{

display:grid;

grid-template-columns:2fr 1fr 1fr auto;

gap:15px;

align-items:center;

padding:15px;

margin-bottom:10px;

border-bottom:1px solid #ddd;

}

.cart-item button{

padding:6px 10px;

border:none;

background:#b30000;

color:white;

cursor:pointer;

border-radius:5px;

}

.cart-item span{

padding:0 10px;

font-weight:bold;

}
.customer-card{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 2px 8px rgba(0,0,0,.1);
}

/* ==========================
   PRODUCT MODAL
========================== */

.modal{

display:none;

position:fixed;

left:0;

top:0;

width:100%;

height:100%;

background:rgba(0,0,0,.6);

justify-content:center;

align-items:center;

z-index:999;

}

.modal-content{

background:white;

width:450px;

padding:30px;

border-radius:15px;

box-shadow:0 10px 25px rgba(0,0,0,.3);

animation:popup .3s ease;

}

@keyframes popup{

from{

transform:scale(.8);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}

.modal-content h2{

margin-bottom:20px;

}

.modal-content input{

width:100%;

padding:14px;

margin-bottom:15px;

border:1px solid #ddd;

border-radius:10px;

font-size:15px;

}

.save-btn{

width:100%;

padding:15px;

background:#b30000;

color:white;

border:none;

border-radius:10px;

cursor:pointer;

font-size:16px;

}

.save-btn:hover{

background:#900000;

}

.close{

float:right;

font-size:30px;

cursor:pointer;

font-weight:bold;

}
.modal-content select{

    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;

}

.product-image{

    width:60px;
    height:60px;
    border-radius:10px;
    object-fit:cover;

}

.low-stock{

    color:red;
    font-weight:bold;

}
/* =========================
   ONLINE TRANSACTION PAGE
   JEMBI PROTOCOLS
========================= */


/* Protocol Grid */

.protocol-grid{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    gap:20px;
    margin-top:20px;

}



.protocol-card{

    background:#ffffff;

    border-left:5px solid #750000;

    padding:20px;

    border-radius:12px;

    cursor:pointer;

    box-shadow:0 5px 15px rgba(0,0,0,0.08);

    transition:0.3s;

}



.protocol-card:hover{

    transform:translateY(-5px);

    background:#750000;

    color:white;

}



.protocol-card h2{

    margin:0;

    font-size:28px;

}



.protocol-card p{

    margin-top:10px;

}




/* Visa Payment Box */

.visa-box{

    margin-top:40px;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 5px 20px rgba(0,0,0,0.1);

    max-width:500px;

}



.visa-box h2{

    color:#750000;

    margin-bottom:10px;

}



.visa-box h3{

    margin-bottom:20px;

}




/* Inputs */

.visa-box input{

    width:100%;

    padding:14px;

    margin:10px 0;

    border:1px solid #ccc;

    border-radius:8px;

    font-size:15px;

}




/* Payment Button */

.visa-box button{

    width:100%;

    padding:15px;

    margin-top:15px;

    background:#750000;

    color:white;

    border:none;

    border-radius:8px;

    font-size:16px;

    cursor:pointer;

}



.visa-box button:hover{

    background:#930000;

}




/* Selected Protocol */

#selectedProtocol{

    background:#f5f5f5;

    padding:12px;

    border-radius:8px;

    color:#750000;

}

/* VISA POPUP */

.modal{

display:none;

position:fixed;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(0,0,0,0.6);

justify-content:center;

align-items:center;

z-index:1000;

}



.visa-box{

background:white;

padding:30px;

border-radius:15px;

width:400px;

position:relative;

}



.close{

position:absolute;

right:20px;

top:10px;

font-size:30px;

cursor:pointer;

color:#750000;

}



.open-visa-btn{

background:#750000;

color:white;

padding:15px 25px;

border:none;

border-radius:8px;

cursor:pointer;

margin-top:30px;

}

/* ==========================================
   JEMBI PROTOCOLS - ONLINE TRANSACTION
========================================== */

.protocol-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:20px;
    margin-top:30px;
}

.protocol-card{
    background:#ffffff;
    border-radius:12px;
    padding:25px;
    text-align:center;
    font-size:24px;
    font-weight:bold;
    color:#750000;
    border:2px solid #750000;
    cursor:pointer;
    transition:0.3s ease;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.protocol-card:hover{
    background:#750000;
    color:#ffffff;
    transform:translateY(-5px);
    box-shadow:0 12px 25px rgba(117,0,0,.35);
}

/* ==========================
   MODAL
========================== */

.modal{
    display:none;
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);
    justify-content:center;
    align-items:center;
    z-index:9999;
    animation:fadeIn .3s ease;
}

@keyframes fadeIn{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

/* ==========================
   PAYMENT TERMINAL
========================== */

.terminal{
    width:460px;
    max-width:95%;
    background:#ffffff;
    border-radius:18px;
    padding:30px;
    position:relative;
    box-shadow:0 20px 45px rgba(0,0,0,.30);
    animation:popUp .3s ease;
}

@keyframes popUp{
    from{
        transform:scale(.85);
        opacity:0;
    }

    to{
        transform:scale(1);
        opacity:1;
    }
}

.close{
    position:absolute;
    top:15px;
    right:18px;
    font-size:30px;
    cursor:pointer;
    color:#750000;
    transition:.3s;
}

.close:hover{
    transform:rotate(90deg);
}

.terminal-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:15px;
}

.terminal-header h2{
    margin:0;
    color:#750000;
    font-size:22px;
}

.visa-logo{
    width:80px;
    height:auto;
}

.secure{
    text-align:center;
    color:#666;
    margin-bottom:20px;
    font-size:15px;
}

.protocol-display{
    background:#f4f4f4;
    border-left:5px solid #750000;
    padding:15px;
    border-radius:8px;
    margin-bottom:20px;
    font-weight:600;
    color:#750000;
}

/* ==========================
   INPUTS
========================== */

.terminal input{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:10px;
    font-size:15px;
    transition:.3s;
    box-sizing:border-box;
}

.terminal input:focus{
    border-color:#750000;
    outline:none;
    box-shadow:0 0 8px rgba(117,0,0,.25);
}

.row{
    display:flex;
    gap:15px;
}

.row input{
    flex:1;
}

/* ==========================
   PAY BUTTON
========================== */

.pay-btn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:10px;
    background:#750000;
    color:#ffffff;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.pay-btn:hover{
    background:#930000;
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(117,0,0,.35);
}

.pay-btn i{
    margin-right:8px;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

    .protocol-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .terminal{

        width:95%;

        padding:20px;

    }

    .terminal-header h2{

        font-size:18px;

    }

    .visa-logo{

        width:60px;

    }

}

.success-terminal{
    width:420px;
}

.success-icon{
    font-size:70px;
    color:green;
    margin-bottom:15px;
}

.success-terminal p{
    margin:12px 0;
    font-size:16px;
}

/* ==========================
   PROCESSING MODAL
========================== */

#processingModal .terminal{

    width:420px;

    text-align:center;

}

#paymentProgress{

    width:100%;

    margin-top:20px;

    accent-color:#750000;

}

#processingText{

    font-size:18px;

    margin-top:20px;

    color:#750000;

    font-weight:bold;

}

/* =====================================
   JEMBI PROTOCOLS RECEIPT PAGE
===================================== */

.offline-receipt {

    width:360px;

    margin:40px auto;

    background:white;

    padding:30px;

    border-radius:8px;

    box-shadow:0 10px 30px rgba(0,0,0,.2);

    text-align:center;

    font-family:"Courier New", monospace;

}



.offline-receipt-logo {

    width:80px;

    height:80px;

    object-fit:contain;

    margin-bottom:10px;

}



.offline-receipt h2 {

    color:#750000;

    margin:5px 0;

    letter-spacing:1px;

}



.offline-receipt p {

    display:flex;

    justify-content:space-between;

    font-size:14px;

    margin:12px 0;

    text-align:left;

}



.offline-receipt hr {

    border:none;

    border-top:1px dashed #777;

    margin:18px 0;

}



.offline-receipt h3 {

    margin:20px 0;

    color:#750000;

}



.offline-receipt button {

    width:100%;

    padding:12px;

    margin-top:10px;

    border:none;

    border-radius:6px;

    background:#750000;

    color:white;

    cursor:pointer;

    font-size:15px;

}



.offline-receipt button:hover {

    background:#550000;

}



/* PRINT ONLY RECEIPT */

@media print {


    body * {

        visibility:hidden;

    }



  .offline-receipt,

   .offline-receipt * {

        visibility:visible;

    }



   .offline-receipt {

        position:absolute;

        top:0;

        left:0;

        width:100%;

        box-shadow:none;

    }



  .offline-receipt   button {

        display:none;

    }


}

/* =====================================
   ONLINE SALE RECEIPT FIX
===================================== */

.receipt{

    width:380px;

    margin:40px auto;

    background:white;

    padding:30px;

    border-radius:15px;

    box-shadow:0 10px 30px rgba(0,0,0,.2);

    text-align:center;

}


.receipt-logo{

    width:80px;

    height:80px;

    object-fit:contain;

    margin-bottom:10px;

}


.receipt h2{

    color:#750000;

    margin-bottom:5px;

}


.receipt p{

    margin:12px 0;

    font-size:15px;

    text-align:left;

}


.receipt hr{

    border:none;

    border-top:1px dashed #999;

    margin:15px 0;

}


.receipt h3{

    color:#750000;

    margin:20px 0;

}


.receipt button{

    width:100%;

    margin-top:12px;

    padding:14px;

    border:none;

    border-radius:10px;

    background:#750000;

    color:white;

    cursor:pointer;

}


.receipt button:hover{

    background:#550000;

}


/* PRINT ONLINE RECEIPT */

@media print{

    body *{

        visibility:hidden;

    }


    .receipt,

    .receipt *{

        visibility:visible;

    }


    .receipt{

        position:absolute;

        top:0;

        left:0;

        width:100%;

        box-shadow:none;

    }


    .receipt button{

        display:none;

    }

}

/* ==============================
   ONLINE RECEIPT FIX ONLY
============================== */

.receipt{

    width:380px;
    margin:40px auto;
    background:white;
    padding:30px;
    border-radius:15px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.2);

}


.receipt-logo{

    width:80px;
    height:80px;
    object-fit:contain;
    margin-bottom:10px;

}


.receipt h2{

    color:#750000;

}


.receipt p{

    margin:12px 0;
    font-size:15px;

}


.receipt hr{

    border:none;
    border-top:1px dashed #999;
    margin:15px 0;

}


.receipt button{

    margin-top:10px;
    padding:14px;
    width:100%;
    background:#750000;
    color:white;
    border:none;
    border-radius:10px;

}


.receipt button:hover{

    background:#550000;

}

/* =====================================
   ONLINE SALE TRANSACTION DETAILS
===================================== */

.online-transaction-container{

    width:450px;
    max-width:95%;
    margin:40px auto;
    background:white;
    padding:30px;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);

}


.online-transaction-header{

    text-align:center;
    margin-bottom:25px;

}


.online-transaction-header h1{

    color:#750000;
    font-size:28px;

}


.online-transaction-header h2{

    margin-top:10px;
    color:#555;

}



.online-summary{

    background:#f8f8f8;
    border-left:5px solid #750000;
    padding:15px;
    border-radius:10px;
    margin-bottom:20px;

}



.online-form-group{

    margin-bottom:15px;

}


.online-form-group label{

    display:block;
    font-weight:bold;
    margin-bottom:7px;

}


.online-form-group input,
.online-form-group textarea{

    width:100%;
    padding:13px;
    border:1px solid #ddd;
    border-radius:10px;
    font-size:15px;

}


.online-form-group textarea{

    height:90px;
    resize:none;

}



.online-buttons{

    display:flex;
    gap:15px;
    margin-top:25px;

}


.online-buttons button{

    flex:1;
    padding:14px;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:bold;

}


.cancel-btn{

    background:#777;
    color:white;

}


.continue-btn{

    background:#750000;
    color:white;

}


.continue-btn:hover{

    background:#950000;

}

/* ==============================
   ONLINE SALE MODALS ONLY
============================== */


.online-modal{

display:none;
position:fixed;
inset:0;
background:rgba(0,0,0,.65);
justify-content:center;
align-items:center;
z-index:9999;

}



.online-terminal{

width:460px;
max-width:95%;
background:white;
padding:30px;
border-radius:18px;
box-shadow:0 20px 40px rgba(0,0,0,.3);

}



.online-close{

position:absolute;
right:25px;
top:15px;
font-size:30px;
color:#750000;
cursor:pointer;

}



.online-terminal input{

width:100%;
padding:14px;
margin-bottom:15px;
border:1px solid #ddd;
border-radius:10px;

}

/* =====================================
   ONLINE RECEIPT
   JEMBI PROTOCOLS
===================================== */


.online-receipt{

    width:380px;

    max-width:95%;

    margin:40px auto;

    background:#ffffff;

    padding:30px;

    border-radius:12px;

    box-shadow:0 10px 30px rgba(0,0,0,.20);

    text-align:center;

    font-family:"Courier New", monospace;

}



.receipt-logo{

    width:80px;

    height:80px;

    object-fit:contain;

    margin-bottom:10px;

}



.online-receipt h1{

    color:#750000;

    font-size:24px;

    margin-bottom:5px;

}



.receipt-title{

    color:#555;

    font-size:14px;

    margin-bottom:20px;

}



.online-receipt hr{

    border:none;

    border-top:1px dashed #777;

    margin:20px 0;

}



.receipt-row{

    display:flex;

    justify-content:space-between;

    text-align:left;

    margin:14px 0;

    font-size:15px;

}



.receipt-row span{

    color:#555;

}



.receipt-row strong{

    color:#222;

}



.approved{

    background:#2e7d32;

    color:white;

    padding:12px;

    border-radius:8px;

    font-weight:bold;

    margin:20px 0;

}



.approved i{

    margin-right:8px;

}



.thanks{

    color:#555;

    margin:20px 0;

}



.online-receipt button{

    width:100%;

    padding:13px;

    margin-top:10px;

    border:none;

    border-radius:8px;

    background:#750000;

    color:white;

    font-size:15px;

    cursor:pointer;

}



.online-receipt button:hover{

    background:#550000;

}



/* PRINT ONLINE RECEIPT */

@media print{


    body *{

        visibility:hidden;

    }


    .online-receipt,

    .online-receipt *{

        visibility:visible;

    }


    .online-receipt{

        position:absolute;

        top:0;

        left:0;

        width:100%;

        box-shadow:none;

    }


    .online-receipt button{

        display:none;

    }


}