

.alhiab-dashboard-wrapper {
    gap: 15px;
}

.alhisab-dashboard-item {
    flex-basis: 32%;
}
.alhisab-dashboard-item-wide {
    flex: 0 0 100%;
    max-width: 100%;
}
.bg-design {
    padding: 18px;
    background: #fff;
    border-radius: 5px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.dashboard-async-card {
    position: relative;
}

.dashboard-card-loading {
    pointer-events: none;
    position: relative;
    overflow: hidden;
}

.dashboard-card-loading > * {
    opacity: 0;
    transition: opacity 0.18s ease;
}

.dashboard-card-loading::before {
    content: "";
    position: absolute;
    top: 18px;
    right: 18px;
    bottom: 18px;
    left: 18px;
    border-radius: 5px;
    background:
        linear-gradient(#e5e7eb 0 0) left 0 top 0 / 38% 16px no-repeat,
        linear-gradient(#e5e7eb 0 0) right 0 top 0 / 22% 14px no-repeat,
        linear-gradient(#eceff3 0 0) left 0 top 28px / 100% 1px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 50px / 52% 14px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 76px / 92% 13px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 98px / 84% 13px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 120px / 66% 13px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 146px / 30% 13px no-repeat,
        linear-gradient(#eceff3 0 0) left 0 bottom 0 / 100% 1px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 bottom 18px / 72% 13px no-repeat;
    z-index: 5;
}

.dashboard-card-loading::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 45%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: dashboard-shimmer 1.2s linear infinite;
    z-index: 6;
}

.dashboard-inline-skeleton {
    min-height: 160px;
    border-radius: 6px;
    background:
        linear-gradient(#e5e7eb 0 0) left 0 top 0 / 40% 16px no-repeat,
        linear-gradient(#eceff3 0 0) left 0 top 28px / 100% 1px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 50px / 92% 13px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 72px / 84% 13px no-repeat,
        linear-gradient(#e5e7eb 0 0) left 0 top 94px / 58% 13px no-repeat;
    position: relative;
    overflow: hidden;
}

.dashboard-inline-skeleton::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -45%;
    width: 45%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: dashboard-shimmer 1.2s linear infinite;
}

@keyframes dashboard-shimmer {
    100% {
        left: 100%;
    }
}


.filter-btn {
    padding: 0px 10px 0px 0px;
    font-size: 13px;
    font-weight: 400;
    color: #0e0e0e !important;
}

.filter-btn.dropdown-toggle-split:after {
    margin-left: 10px !important;
}
.dropdown-menu.dash-dropdown-menu {
    border-radius: 10px;
    padding: 10px 0px;
}

.dropdown-item.dash-dropdown-item {
    padding: 5px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #858484;
}

.al-dash-body {
    padding-top: 40px;
}
.al-title-box h4 {
    margin-bottom: 0;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 1px;
    color: #1f2f3e;
}
.dash-balance-box h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    color: #222;
}
.dash-balance-box p {
    margin-bottom: 0;
    font-size: 25px;
    color: #004AAD;
    font-weight: 700;
}

.al-dash-footer {
    padding-top: 15px;
    gap: 0px;
}

.al-dash-footer-item {
    flex-basis: 50%;
    background: #fbfbfb;
    padding: 10px 10px 10px 15px;
}


.al-dash-footer-body p {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: 600;
    color: #00906D;
}
.al-dash-footer-body.outflow p {

    color: #BC1805;
}
.al-dash-footer-title h4 {
    font-size: 16px;
    margin-bottom: 4px;
}
.al-dash-footer .al-dash-footer-item:nth-child(1) {
    position: relative;
    border-radius: 7px 0px 0px 7px;
}
.al-dash-footer .al-dash-footer-item:nth-child(2) {

    border-radius: 0px 7px 7px 0px;
}
.al-dash-footer .al-dash-footer-item:nth-child(1):after {
    content: "";
    position: absolute !important;
    top: 0;
    right: 0;
    height: 100%;
    width: 2px;
    background: #4687ff;
    border-radius: 0px;
}

.al-dash-footer-body span {
    font-size: 14px;
}
.al-dash-footer-body span.cash-decrease {
    color: #ff6746;
}
.al-dash-footer-body span.cash-increase {
    color: #627eea;
}
.alhisab-dash-topbar {
    border-bottom: 1px dotted #ddd;
    padding-bottom: 7px;
}

.alhisab-invoice-body {
    padding-top: 15px;
}
.al-invoice-progress-box .progress {
    height: 30px;
    background-color: rgba(255, 97, 80, 0.12);
}

.al-invoice-content-box p {
    font-size: 14px;
    margin-bottom: 4px;
    color: #939393;
}
.al-invoice-content-box h4 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 600;
    color: B27146;
}
.al-invoice-progress-box .progress {
    height: 30px;
    background-color: #1362fc73;
}

.content-body .container-fluid, .content-body .container-sm, .content-body .container-md, .content-body .container-lg, .content-body .container-xl, .content-body .container-xxl {
    padding-top: 2.25rem;
    padding-right: 2.5rem;
    padding-left: 2.5rem;
}

.alhisab-invoice-body .al-invoice-body-item:nth-child(1) {
    margin-bottom: 20px;
}
.al-invoice-content-box.invoice-collection h4 {
    color: #00906D;
}


.alhisab-invoice-body .al-invoice-body-item:nth-child(2) .al-invoice-progress-box .progress-bar{
    background: #00906D;
}

.alhisab-invoice-body .al-invoice-body-item:nth-child(2) .al-invoice-progress-box .progress {
    background-color: #00906d36;
}

.alhisab-expense-body {
    padding-top: 20px;
}

.alhisab-total-expense h4 {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 600;
}
.alhisab-total-expense p {
    font-size: 14px;
    margin-bottom: 0;
    color: #939393;
}

.alhisab-ex-list-item h4 {
    margin-bottom: 0;
    font-size: 15px;
    font-weight: 600;
}

.alhisab-ex-list-item p {
    margin-bottom: 0px;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
}
.alhisab-expense-list .alhisab-ex-list-item {
    margin-bottom: 10px;
    position: relative;
}
.alhisab-expense-list .alhisab-ex-list-item:last-child {
    margin-bottom: 0px;
}
.alhisab-expense-list .alhisab-ex-list-item:before {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    left: -24px;
    top: 3px;
}
.alhisab-expense-list .alhisab-ex-list-item:nth-child(4):before {

    background: rgb(255, 69, 96);

}
.alhisab-expense-list .alhisab-ex-list-item:nth-child(3):before {

    background: rgb(254, 176, 25);

}
.alhisab-expense-list .alhisab-ex-list-item:nth-child(2):before {

    background: rgb(0, 227, 150);

}
.alhisab-expense-list .alhisab-ex-list-item:nth-child(1):before {

    background: rgb(0, 143, 251);

}
.overdue-img-box img {
    width: 15px;
    height: 15px;
    object-fit: cover;
    border-radius: 60%;
}

.alhisab-overdue-body {
    padding-top: 15px;
}

.overdue-img-box {
    margin-right: 8px;
}
.al-overdue-name-box h4 {
    margin-bottom: 0;
    font-size: 12.5px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    word-break: break-word;
}
.al-overdue-name-box p {
    margin-bottom: 0;
    font-size: 9px;
    line-height: 1.3;
    margin-top: 2px;
}
.al-overdue-date h4 {
    font-size: 12px;
    margin-bottom: 0;
    text-align: center;
}

.al-overdue-amount h4 {
    margin-bottom: 0;
    font-size: 11px;
    font-weight: 700;
    text-align: end;
    color: #1f2f3e;
}


.al-overdue-img-wrap {
    flex-basis: 65%;
}
.al-overdue-date{
    flex-basis: 30%;
    display: none;
}
.al-overdue-amount{
    flex-basis: 35%;
}
.al-overdue-name-box {
    flex-basis: 75%;
}
.alhiab-overdue-item-wrapper {
    padding: 5px 8px;
    border-bottom: 1px dashed #ddd;
}
.alhiab-overdue-item-wrapper:last-child {
    border-bottom: none;
}
.alhiab-overdue-item-wrapper:nth-child(even) {
    background: #f9f8f8;
}
.alhisab-overdue-footer {
    padding: 10px 0px 0px;
}
.view-all-link {
    color: #1362fc;
    font-weight: 600;
    font-size: 15px;
}
.view-all-link span {
    border: 1px solid #1362fc;
    padding: 1px 4px;
    border-radius: 100px;
    font-size: 11px;
}
.alshiab-cashbank-body {
    padding-top: 15px;
}
.al-cashbank-item-wrapper h4 {
    color: #00906D;
    font-size: 16px;
    margin-bottom: 4px;
}
.al-cashbank-item-wrapper p {
    margin-bottom: 2px;
    font-size: 15px;
    line-height: 1.3;
    color: #222;
}
.al-cashbank-item-wrapper span{
    font-size: 12px;
    color: #939393;

}

.al-cashbank-item-wrapper {
    border-bottom: 2px dashed #00906D;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.al-cashbank-item-wrapper:last-child{
    margin-bottom: 0px;
    border-bottom: none;
}
.al-customer-vendor-body {
    padding-top: 25px;
}
.al-custom-vendor-item-wrapper {
    text-align: center;
}

.al-custom-vendor-item-wrapper h4{}

.al-custom-vendor-item-wrapper .al-create-c-btn{
    color: #1362fc;
    font-weight: 600;
    font-size: 13px;
}

.al-custom-vendor-item-wrapper .al-create-c-btn span{
    border: 1px solid #1362fc;
    padding: 1px 4px;
    border-radius: 100px;
    font-size: 11px;
}
.al-custom-vendor-item-wrapper {
    text-align: center;

    flex-basis: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.al-custom-vendor-item-wrapper:last-child {

    margin-bottom: 0px;
}
.al-customer-vendor-body {
    padding-top: 25px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}
.al-custom-vendor-item-wrapper h4 {
    font-size: 20px;
    font-weight: 700;
}
.al-custom-vendor-item-wrapper.al-customer h4 {
    color: #00906D;
    text-align: start;
}
.al-custom-vendor-item-wrapper.al-vendor h4 {
    color: #B27146;
    text-align: start;
}
.al-custom-vendor-item-wrapper.al-items h4 {
    color: #FF914D;
    text-align: start;
}
.al-custom-vendor-item-wrapper.al-customer:hover{
    border-color: #00906D;
}
.al-custom-vendor-item-wrapper.al-vendor:hover {
    border-color: #B27146;
}
.al-custom-vendor-item-wrapper.al-items:hover {
    border-color: #FF914D;
}
.alhiab-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}
.dropdown-menu.show {
    z-index: 99;
}
.btn.filter-btn {
    font-size: 12px;
}
.inv-date-filter {
    border: 1px solid var(--primary);
    padding: 9px 10px;
    border-radius: 7px;
}

.al-create-c-btn{
    border: none;
    background: none;
}

.alhisab-card-height {
    height: 260px;
    overflow: hidden;
}

.db-create-btn-dropdown {
    position: fixed !important;
    z-index: 999999;
    bottom: 65px;
    right: 13px;
}
.db-create-btn-dropdown .btn.btn-create {
    /*border-radius: 50px;*/
    border-radius: 8px;
    background-image: var(--linear-gradient-1);
    background-size: 200%,1px;
    color: #fff;
    z-index: 9 !important;
    padding: 10px 0px;
    width: 135px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.db-create-btn-dropdown .dropdown-items {
    width: 203px;
    right: 9px !important;
    left: auto !important;
    transform: none !important;
    bottom: 48px !important;
    background-color: #fff;
    position: relative;
    padding: 25px 0px 10px 0px;
    border-radius: 100% 0% 5% 7% / 100% 16% 12% 11%;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    overflow: hidden;
    border: 1px solid var(--rgba-primary-3);
    border-right-color: #fff;
    /* transition: .3s all ease; */
}
.db-create-btn-dropdown .dropdown-items li {
    text-align: right;
    margin-bottom: 5px;
}
.db-create-btn-dropdown .dropdown-items li .icon {
    margin-left: 10px;
}

/* .view-all-link.add {
  font-size: 11px;
}
.view-all-link.add span {
  font-size: 9px;
  padding: 2px 5px 2px 4px;
} */

/* Media Query */


@media only screen and (max-width: 1820px) and (min-width: 1150px)  {
    /* .alhisab-dashboard-item.payable {
      order: 11;
      flex-basis: 48%;
    }
    .alhisab-dashboard-item.overdue {
      order: 10;
      flex-basis: 48%;
    }
    .alhisab-dashboard-item.cash-flow {
      order: 12;
      flex-basis: 100%;
    }
    .al-custom-vendor-item-wrapper{
      flex-basis: 100%;
    } */
}
@media only screen and (max-width: 1024px) and (min-width: 768px)  {
    .alhisab-dashboard-item{
        flex-basis: 48%;
    }
    .al-overdue-amount h4 {
        font-size: 11px;
    }
}

@media only screen and (max-width: 766px) {
    .alhisab-dashboard-item {
        flex-basis: 100%;
    }
    .overdue-img-box img {
        width: 20px;
        height: 20px;
    }
    .al-custom-vendor-item-wrapper h4 {
        font-size: 16px;
    }
    .al-custom-vendor-item-wrapper .al-create-c-btn {
        font-size: 15px;
    }
    .al-custom-vendor-item-wrapper .al-create-c-btn span {
        /*padding: 1px 3px;*/
        /*font-size: 8px;*/
    }
    .al-custom-vendor-item-wrapper{
        flex-basis: 100%;
    }
    .apexcharts-canvas {
        margin-right: 25px;
    }

}
.db_add_button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
}

.db_add_button.customer-btn{
    background: #00906d40;
}
.db_add_button.vendor-btn{
    background: #b2714640;
}
.db_add_button.item-btn{
    background: #ff914d40;
}
.db_title_txt {
    font-weight: 500;
    font-size: 18px;
}
