/* Ensure that report pages have fixed dimensions */
.report-page {
  width: 816px; /* 8.5 inches * 96 DPI */
  height: 1056px; /* 11 inches * 96 DPI */
  background-color: white;
  margin: 10px auto;
  padding: 20px;
  box-sizing: border-box;
  border: 1px solid #ccc;
}

.content {
  display: flex;
  flex-direction: column;
}

/* Styling for the report footer */
.page-footer {
  align-items: center;
  border-top: 1px solid #ccc;
  color: #555;
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  padding: 5px;
  position: absolute;
  right: 0;
  bottom: 0;
}

.footer-left,
.footer-center,
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-center {
  align-items: center;
  flex: 1;
}

.footer-right {
  align-items: flex-end;
}

.report-page .content > * {
  width: 100%;
  box-sizing: border-box;
}

/* Ensure the report container centers pages */
#reportContainer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  background-color: #f5f5f5;
}

/* cSpell:ignore highcharts */
.highcharts-container {
  width: 100%;
  height: 400px;
}

.pie-chart-container,
.column-chart-container {
  width: 50%;
}

#reportDateRangeSelector,
#customDateInput,
#agencyFilterDropdown,
#reportTypeSelector #agencyFilterControls,
#agencyFilterControlsWrapper,
#agencyFilterControls,
.report-type-selector-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.report-table {
  border-collapse: collapse;
  border: 1px solid #efefef;
}

.report-table tr th,
.report-table tr td {
  text-overflow: ellipsis; /* Show ellipsis if necessary */
  overflow: hidden; /* Prevent content from spilling out */
  white-space: nowrap; /* Prevent text wrapping */
  width: auto;
}

.report-table thead tr th {
  padding: 10px;
  background-color: #143d6a;
  font-size: 1.4rem;
  color: whitesmoke;
}

.report-table tbody tr td {
  border: none;
}

.report-table tbody tr:nth-child(even) {
  background-color: #d8ebff;
}

