
/* General Styles */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f5f7fa;
  line-height: 1.6;
  max-width: 1200px;
  margin: auto;
}

h1, h2 {
  color: #003366;
  text-align: center;
  margin-bottom: 20px;
}

h1 {
  font-size: 2.5em;
  margin-top: 30px;
}

h2 {
  font-size: 2em;
  margin-top: 20px;
}

/* Section Styles */
section {
  margin: 20px auto;
  padding: 30px;
  background-color: #ffffff;
  border-radius: 8px;
  max-width: 90%;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Consistent layout for reports */
.report-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* Report buttons */
.report-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.report-buttons button {
  background-color: #0066cc;
  color: white;
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2em;
  transition: background-color 0.3s ease;
}

.report-buttons button:hover {
  background-color: #004080;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  table-layout: fixed;
}

th, td {
  border: 1px solid #dddddd;
  padding: 12px;
  text-align: left;
  word-wrap: break-word;
}

th {
  background-color: #003366;
  color: white;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #e0e0e0;
}

/* Chart Styles */
svg {
  width: 100%;
  height: auto;
  margin-top: 20px;
}

.chart-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.chart-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  text-align: center;
  color: #003366;
}

.chart-legend {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.chart-legend-item {
  margin-right: 15px;
  display: flex;
  align-items: center;
}

.chart-legend-color {
  width: 15px;
  height: 15px;
  margin-right: 5px;
  border-radius: 3px;
}

.bar {
  fill: #69b3a2;
  transition: fill 0.3s ease;
}

.bar:hover {
  fill: #4682b4;
}

.axis text {
  font-size: 12px;
  font-family: 'Arial', sans-serif;
  fill: #333;
}

.axis path,
.axis line {
  stroke: #ddd;
}

/* Consistent color palette */
.callout {
  background-color: #e0f7fa;
  border-left: 4px solid #00796b;
  margin: 20px 0;
  padding: 10px 20px;
}

/* Professional font hierarchy */
h3, h4 {
  color: #00509e;
  text-align: left;
}

p {
  font-size: 1.1em;
  color: #ddd;
  line-height: 1.5;
}

/* Footer Styles */
footer {
  text-align: center;
  padding: 20px;
  background-color: #003366;
  color: white;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer p {
  margin: 0;
  font-size: 0.9em;
}

/* Responsive Layout */
@media screen and (max-width: 768px) {
  .report-section {
      grid-template-columns: 1fr;
  }

  .report-buttons {
      flex-direction: column;
  }
}

.centered-buttons {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}