/*
==========================================================
FINOVA ACCOUNTING SYSTEM
MODULE  : AGING RECEIVABLE
FILE    : aging-receivable.css
VERSION : 4.1.0 FINAL
VISUAL STANDARD : AGING PAYABLE
==========================================================
*/


/* ==========================================================
   PAGE
========================================================== */

.aging-receivable-page {

    display: flex;

    flex-direction: column;

    flex: 1 1 auto;

    min-height: 0;

    width: 100%;

}


/* ==========================================================
   PAGE HEADER
========================================================== */

.aging-receivable-page
> .finova-page-header {

    width: 100%;

    margin-bottom: 8px !important;

    flex: 0 0 auto;

    box-sizing: border-box;

}


.aging-receivable-page
> .finova-page-header
.finova-page-header-right {

    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 8px;

}


.aging-receivable-page
> .finova-page-header
.finova-page-header-right
.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 38px;

    min-height: 38px;

    white-space: nowrap;

}


/* ==========================================================
   FILTER CARD
========================================================== */

.aging-receivable-page
> .aging-receivable-filter-card {

    width: 100% !important;

    max-width: none !important;

    margin: 0 !important;

    flex: 0 0 auto;

    box-sizing: border-box;

    border-radius: 12px;

}


.aging-receivable-filter-card
> .finova-card-body {

    width: 100%;

    padding: 8px 20px !important;

    box-sizing: border-box;

}


.aging-receivable-filter-card
> .finova-card-body
> .row {

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box;

    align-items: end !important;

}


.aging-receivable-filter-card
> .finova-card-body
> .row
> [class*="col-"] {

    min-width: 0;

    margin: 0;

    box-sizing: border-box;

}


/* ==========================================================
   FILTER LABEL
========================================================== */

.aging-receivable-filter-card
.form-label {

    display: block;

    margin-top: 0 !important;

    margin-bottom: 6px !important;

    color: #1F2937;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.2;

}


/* ==========================================================
   FILTER CONTROL
========================================================== */

.aging-receivable-filter-card
.form-control,

.aging-receivable-filter-card
.form-select {

    width: 100%;

    height: 46px !important;

    min-height: 46px !important;

}


/* ==========================================================
   INPUT GROUP
========================================================== */

.aging-receivable-filter-card
.input-group {

    display: flex !important;

    flex-wrap: nowrap !important;

    align-items: stretch;

    width: 100% !important;

    height: 46px !important;

    margin: 0 !important;

}


.aging-receivable-filter-card
#aging-receivable-keyword {

    flex: 1 1 auto !important;

    width: 1% !important;

    min-width: 0 !important;

    height: 46px !important;

    border-top-right-radius: 0 !important;

    border-bottom-right-radius: 0 !important;

}


.aging-receivable-filter-card
#btn-find-aging-receivable {

    display: inline-flex !important;

    align-items: center !important;

    justify-content: center !important;

    flex: 0 0 80px !important;

    width: 80px !important;

    min-width: 80px !important;

    height: 46px !important;

    padding: 0 12px !important;

    white-space: nowrap;

    border-top-left-radius: 0 !important;

    border-bottom-left-radius: 0 !important;

}


/* ==========================================================
   TABLE CARD
========================================================== */

.aging-receivable-table-card {

    display: flex;

    flex-direction: column;

    flex: 1 1 auto;

    min-height: 0;

    width: 100%;

    overflow: hidden;

}


.aging-receivable-table-card
.finova-card-body {

    display: flex;

    flex-direction: column;

    flex: 1 1 auto;

    min-height: 0;

    padding: 0 !important;

    overflow: hidden;

}


.aging-receivable-table-card
.finova-table-container {

    display: flex;

    flex-direction: column;

    flex: 1 1 auto;

    min-height: 0;

    width: 100%;

    height: 100%;

    overflow: hidden;

}


/* ==========================================================
   TABLE SCROLL AREA
========================================================== */

.aging-receivable-table-card
.table-responsive {

    display: block;

    flex: 1 1 auto;

    min-height: 0;

    width: 100%;

    overflow-x: auto;

    overflow-y: auto;

}


/* ==========================================================
   TABLE
========================================================== */

.aging-receivable-table-card
.finova-table {

    width: 100%;

    min-width: 2795px;

    margin-bottom: 0;

    vertical-align: middle;

}


/* ==========================================================
   TABLE HEADER
========================================================== */

.aging-receivable-table-card
.finova-table
thead
th {

    font-weight: 700 !important;

    color: #111827 !important;

    white-space: nowrap;

    vertical-align: middle;

}


/* ==========================================================
   TABLE BODY
========================================================== */

.aging-receivable-table-card
.finova-table
tbody
td {

    font-weight: 400 !important;

    color: #1F2937 !important;

    vertical-align: middle;

}


/* ==========================================================
   COLUMN WIDTH
========================================================== */


/* ==========================================================
   NO
========================================================== */

.aging-ar-col-no {

    width: 55px;

    min-width: 55px;

    max-width: 55px;

}


/* ==========================================================
   CUSTOMER
========================================================== */

.aging-ar-col-customer {

    width: 220px;

    min-width: 220px;

}


/* ==========================================================
   INVOICE NO
========================================================== */

.aging-ar-col-invoice {

    width: 160px;

    min-width: 160px;

}


/* ==========================================================
   PO NO
========================================================== */

.aging-ar-col-po {

    width: 160px;

    min-width: 160px;

}


/* ==========================================================
   DESCRIPTION
========================================================== */

.aging-ar-col-description {

    width: 280px;

    min-width: 280px;

}


/* ==========================================================
   ACCOUNT HOLDER
========================================================== */

.aging-ar-col-account-holder {

    width: 190px;

    min-width: 190px;

}


/* ==========================================================
   BANK NAME
========================================================== */

.aging-ar-col-bank-name {

    width: 170px;

    min-width: 170px;

}


/* ==========================================================
   BANK ACCOUNT
========================================================== */

.aging-ar-col-bank-account {

    width: 180px;

    min-width: 180px;

}


/* ==========================================================
   DATE
========================================================== */

.aging-ar-col-date {

    width: 120px;

    min-width: 120px;

}


/* ==========================================================
   AMOUNT
========================================================== */

.aging-ar-col-amount {

    width: 125px;

    min-width: 125px;

}


/* ==========================================================
   WIDE AMOUNT
========================================================== */

.aging-ar-col-amount-wide {

    width: 150px;

    min-width: 150px;

}


/* ==========================================================
   DESCRIPTION BODY
========================================================== */

.aging-receivable-description {

    white-space: normal !important;

    word-break: break-word;

    line-height: 1.45;

}


/* ==========================================================
   AMOUNT ALIGNMENT
========================================================== */

.aging-receivable-table-card
.finova-table-number {

    text-align: right !important;

    white-space: nowrap;

    font-variant-numeric: tabular-nums;

}


/* ==========================================================
   OVERDUE
========================================================== */

.aging-receivable-overdue {

    font-weight: 600 !important;

}


/* ==========================================================
   TABLE FOOTER
========================================================== */

.aging-receivable-table-card
tfoot
th,

.aging-receivable-table-card
tfoot
td {

    position: sticky;

    bottom: 0;

    z-index: 4;

    background: #F8FAFC;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;

}


/* ==========================================================
   FOOTER AMOUNT ALIGNMENT
========================================================== */

.aging-receivable-table-card
tfoot
.finova-table-number {

    text-align: right !important;

    font-variant-numeric: tabular-nums;

}


/* ==========================================================
   PAGINATION
========================================================== */

.aging-receivable-table-card
.finova-pagination-wrapper {

    display: flex;

    align-items: center;

    justify-content: space-between;

    flex: 0 0 auto;

    width: 100%;

    margin-top: auto;

}


/* ==========================================================
   PAGINATION LEFT
========================================================== */

.aging-receivable-table-card
.finova-pagination-left {

    display: flex;

    align-items: center;

    gap: 8px;

}


/* ==========================================================
   PAGINATION LABEL
========================================================== */

.aging-receivable-table-card
.finova-pagination-label {

    display: inline-flex;

    align-items: center;

    white-space: nowrap;

}


/* ==========================================================
   PAGINATION TOTAL PAGE
========================================================== */

.aging-receivable-table-card
.finova-pagination-total {

    display: inline-flex;

    align-items: center;

    min-width: 18px;

    margin-left: 2px;

}


/* ==========================================================
   PAGINATION INFO
========================================================== */

.aging-receivable-table-card
.finova-pagination-info {

    display: inline-flex;

    align-items: center;

    margin-left: auto;

    white-space: nowrap;

}


/* ==========================================================
   PAGINATION INPUT
========================================================== */

.aging-receivable-table-card
.finova-pagination-input {

    width: 42px;

    min-width: 42px;

    text-align: center;

}


/* ==========================================================
   SCROLLBAR
========================================================== */

.aging-receivable-table-card
.table-responsive {

    scrollbar-width: thin;

}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 1199.98px) {

    .aging-receivable-table-card
    .finova-table {

        min-width: 2795px;

    }

}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 991.98px) {

    .aging-receivable-page
    > .finova-page-header {

        align-items: flex-start;

    }


    .aging-receivable-page
    > .finova-page-header
    .finova-page-header-right {

        flex-wrap: wrap;

        justify-content: flex-start;

    }


    .aging-receivable-filter-card
    > .finova-card-body {

        padding: 10px 14px !important;

    }


    .aging-receivable-table-card
    .finova-table {

        min-width: 2795px;

    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767.98px) {

    .aging-receivable-page
    > .finova-page-header
    .finova-page-header-right {

        width: 100%;

    }


    .aging-receivable-table-card
    .finova-pagination-wrapper {

        flex-wrap: wrap;

        gap: 8px;

    }


    .aging-receivable-table-card
    .finova-pagination-info {

        width: 100%;

        margin-left: 0;

        justify-content: flex-end;

    }


    .aging-receivable-table-card
    .finova-table {

        min-width: 2795px;

    }

}