:root {
  --primary-bg-color: #f4f7fd;
  --secondary-bg-color: #e0e7f5;
  --text-color: #22324d;
  --header-bg-color: #2563eb;
  --header-text-color: #ffffff;
  --border-color: #cbd5e1;
  --table-header-bg: #dbeafe;
  --table-row-even: #f8fbff;
  --table-row-odd: #ffffff;
}

body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 20px;
  background-color: var(--primary-bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 900px;
  margin: 30px auto;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

h1 {
  text-align: center;
  color: var(--header-bg-color);
  margin-bottom: 30px;
  font-size: 1.8em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  overflow: hidden;
}

table th,
table td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  text-align: left;
  font-size: 0.95em;
}

table th {
  background-color: var(--table-header-bg);
  color: var(--text-color);
  font-weight: bold;
  text-transform: uppercase;
}

table tr:nth-child(even) {
  background-color: var(--table-row-even);
}

table tr:nth-child(odd) {
  background-color: var(--table-row-odd);
}

table tr:hover {
  background-color: #eef4ff;
}

table td a {
  color: var(--header-bg-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

table td a:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.table-title {
  background-color: var(--header-bg-color);
  color: var(--header-text-color);
  text-align: center;
  font-weight: bold;
  padding: 15px;
  font-size: 1.2em;
}

@media (max-width: 768px) {
  .container {
    margin: 15px auto;
    padding: 15px;
  }

  table th,
  table td {
    padding: 10px;
    font-size: 0.85em;
  }

  .table-title {
    font-size: 1em;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  table thead,
  table tbody,
  table th,
  table td,
  table tr {
    display: block;
  }

  table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  table tr {
    margin-bottom: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
  }

  table td {
    border: none;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 50%;
    text-align: right;
  }

  table td:before {
    content: attr(data-label);
    position: absolute;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
}
