
/* NEDA RC41.2 Invoice Scroll - separate addon */
/* This file is loaded after customer-panel.css and does not modify it */

.nd-customer-panel-body{
    display:flex!important;
    flex-direction:column!important;
    gap:14px!important;
    overflow:hidden!important;
    height:100%!important;
    padding:14px!important;
}

.nd-invoice-section{
    display:flex!important;
    flex-direction:column!important;
    min-height:0!important;
}

.nd-invoice-section-title{
    flex:none!important;
}

.nd-customer-invoice-list{
    max-height:240px!important;
    overflow-y:auto!important;
    padding-left:3px!important;
    padding-right:3px!important;
}

.nd-customer-invoice-list::-webkit-scrollbar{
    width:5px!important;
}

.nd-customer-invoice-list::-webkit-scrollbar-thumb{
    border-radius:10px!important;
    background:#cbd5e1!important;
}

@media(max-width:520px){
    .nd-customer-invoice-list{
        max-height:220px!important;
    }
}
.nd-invoice-row{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:100%!important;
    direction:rtl!important;
}

.nd-invoice-number{
    font-size:13px!important;
    font-weight:800!important;
    color:#172033!important;
}

.nd-invoice-date{
    font-size:11px!important;
    color:#94a3b8!important;
    direction:ltr!important;
}

.amount-row{
    margin-top:16px!important;
}

.nd-invoice-action{
    border:0!important;
    border-radius:10px!important;
    padding:6px 14px!important;
    font-family:Tahoma,Arial,sans-serif!important;
    font-size:12px!important;
    font-weight:800!important;
    cursor:pointer!important;
}

.nd-invoice-action.pay{
    background:#176ee5!important;
    color:#fff!important;
}

.nd-invoice-action.view{
    background:#ecfdf5!important;
    color:#059669!important;
}