/* Accessibility Compliance Table Styles */


table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  background: #fff;
  color: #333;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);

  /* responsive fix */
  display: block;
  overflow-x: auto;
}

thead {
  background-color: #4a106e;
  color: #fff;
}

th, td {
  padding: 1rem;
  text-align: left;
}

tr:nth-child(even) td {
  background-color: #f5f0fa;
}
tr:nth-child(odd) td {
  background-color: #fff;
}

th {font-size: 1rem;}
td {font-size: 0.95rem;}

caption {
  caption-side: top;
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;

  /* improved contrast */
  color: #4a106e;
  background: #f5f0fa;
  padding: 0.5rem;
  border-radius: 8px 8px 0 0;
}

h2 { padding-top: 2rem;}
main { margin-bottom: 3rem; }

