.background {
    background: #004e92;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #004e92, #000428);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #004e92, #000428); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.sidebar {
    background: #004e92;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #004e92, #032869);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #004e92, #032869); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

.sidebar-link:hover {
    cursor: pointer;
    background-color: #03183d;
    border-radius: 10px;
}
.navbarName {
    color: #032869;
}
.dashboard-content {
    height: calc(100vh - 70px);
}

/* Width */
::-webkit-scrollbar {
    width: 8px;
    height: 6px;
  }

  /* Track */
  ::-webkit-scrollbar-track {
    background-color: transparent;
  }

  /* Thumb */
  ::-webkit-scrollbar-thumb {
    background-color: #d1d1d1;
    border-radius: 10px;
  }

  /* Thumb on hover */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #afafaf;
  }

  .analyticsCard {
    width: 23%;
    height: 150px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3;
    color: white;
  }

  .custom-dropdown {
    position: relative;
  }

  .dropdown-list {
    position: absolute;
    z-index: 1;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .dropdown-item {
    padding: 8px;
    cursor: pointer;
  }

  .dropdown-item:hover {
    background-color: #f5f5f5;
  }

  table > :not(caption) > * > * {
    background-color: transparent !important;
  }

  @media print {

    body * {
        visibility: hidden;
    }
    .invoiceDetailsModalBody, .invoiceDetailsModalBody *, .customerLedger, .customerLedger *, .dailyCashbook, .dailyCashbook * {
        visibility: visible;
    }
    .invoiceDetailsModalBody, .customerLedger, .dailyCashbook {
        width: 100%;
        height: max-content;
        position: absolute;
        left: 0;
        top: 0;
    }
    .invoiceDetailsModalBody .chargesHeadings  {
        display: flex;
        gap: 50px;
    }
    .invoiceDetailsModalBody .chargesColumns {
        display: flex;
        gap: 90px;
    }

    .customerLedger div, .dailyCashbook div {
        height: max-content !important;
        overflow: visible !important;
    }
    .customerLedger #ledgerLoadButton, .customerLedger #ledgerPrintButton, #cashbookLoadButton, #cashbookCreditButton, #cashbookDebitButton, #cashbookPrintButton {
        display: none;
    }
    .customerLedger form > div {
        width: 30% !important;
    }
    .transactionUpdateButton {
        display: none;
        opacity: 0;
    }

  }
