.credit-section {
  margin-top: 10px;
  padding: 10px;
  border-radius: 4px;
}

.overview-table-red {
  background-color: rgba(108, 0, 0, 0.8) !important;
  /* Darker red color */
  color: #fff;
  /* Set text color to white for better contrast */
}

.overview-table-orange {
  background-color: rgba(139, 91, 2, 0.8) !important;
  /* Darker orange color */
  color: #fff;
}

.overview-table-yellowgreen {
  background-color: rgba(154, 205, 50, 0.8) !important;
  /* Yellow-green color */
  color: #fff;
}

.overview-table-green {
  background-color: rgba(1, 88, 1, 0.8) !important;
  /* Darker green color */
  color: #fff;
}

tr.overview-days-since-table-red td {
  background-color: rgba(108, 0, 0, 0.8) !important;
  color: #fff !important;
}

tr.overview-days-since-table-orange td {
  background-color: rgba(139, 91, 2, 0.8) !important;
  color: #fff !important;
}

tr.overview-days-since-table-yellowgreen td {
  background-color: rgba(154, 205, 50, 0.8) !important;
  color: #fff !important;
}

tr.overview-days-since-table-green td {
  background-color: rgba(1, 88, 1, 0.8) !important;
  color: #fff !important;
}

th:nth-of-type(1) {
  width: 4%;
}

/* Zebra striping */
tr:nth-of-type(odd) {
  background: #eee;
}

th {
  background: #333;
  color: white;
  font-weight: bold;
}

tr[data-status='new'] {
  background-color: #d9edf7;
}

.overview_table_no_mobile {
  max-width: 100%;
  height: 300px;
  /* set a fixed height */
  overflow: auto;
  /* add a scrollbar */
}

td,
th {
  padding: 6px;
  border: 1px solid #ccc;
  text-align: left;
  word-wrap: break-word;
}



.graph-container {
  border: 1px solid #ccc;
  padding: 10px;
}

.table-container {
  border: 1px solid #ccc;
  padding: 10px;
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  text-align: left;
  padding: 8px;
}

th {
  background-color: #007bff;
  color: white;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

.bg-light-green {
  background-color: #c8e6c9;
}

.bg-light-red {
  background-color: #ffcdd2;
}


@media (max-width: 768px) {

  .overview_table table,
  .overview_table thead,
  .overview_table tbody,
  .overview_table th,
  .overview_table td,
  .overview_table tr {
    display: block !important;
  }

  .overview_table thead tr {
    position: absolute;
    top: -9999px !important;
    left: -9999px !important;
  }

  .overview_table tr {
    border: 1px solid #ccc !important;
  }

  .overview_table td {
    position: relative !important;
    padding-left: 50% !important;
  }

  .overview_table td:before {
    position: absolute !important;
    left: 6px !important;
    width: 45% !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
    content: attr(data-label) !important;
    text-align: left !important;
    font-weight: bold !important;
    word-wrap: break-word;
    /* Added line to wrap long text */
  }
}
