* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #222;
}

/* =========================
   Hero
========================= */

.hero {
  text-align: center;
  background: white;
  padding-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.banner {
  width: 100%;
  max-width: 900px;
  height: auto;
  margin-top: 20px;
  border-radius: 12px;
}

.hero-text {
  padding: 10px 20px;
}

.hero-text h1 {
  margin-bottom: 10px;
}

/* =========================
   Citation
========================= */

.citation-banner {
  text-align: left;
  font-weight: bold;
  margin: 20px;
  padding: 12px;
  background: #eef2ff;
  border-radius: 10px;

  /* optional safety for long text */
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* =========================
   Filters
========================= */

.filters {
  background: white;
  margin: 20px;
  padding: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.filter-group {
  margin-bottom: 20px;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  border: none;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  background: #e3e8ef;
  transition: 0.2s;
}

.filter-btn:hover {
  background: #cfd8e3;
}

.filter-btn.active {
  background: #2563eb;
  color: white;
}

.controls {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.controls button {
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: #111827;
  color: white;
}

/* =========================
   Table
========================= */

.table-wrapper {
  margin: 20px;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}

thead {
  background: #111827;
  color: white;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

tbody tr:hover {
  background: #f3f4f6;
}

a {
  color: #2563eb;
  text-decoration: none;
}

/* =========================
   Footer
========================= */

.footer {
  text-align: center;
  padding: 40px 20px;
}

.footer-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

/* =========================
   Responsive
========================= */

@media (max-width: 768px) {

  th,
  td {
    font-size: 14px;
    padding: 10px;
  }

  .filter-btn {
    font-size: 14px;
  }
}
