:root {
  --color-table-bg: #f5f5f5;
  --color-blue: rgb(0, 98, 231);
}

[data-theme="dark"] {
  --color-table-bg: rgb(45, 45, 45);
  --color-blue: rgb(94, 161, 255);
}

.table-wrap {
  width: 80%;
  overflow-x: auto;
  padding: 1rem 0;
  background-color: var(--color-bg);
  border-radius: 1rem;
  box-shadow: 0 4px 15px var(--color-box-shadow);
}

.table-h2 {
  text-align: center;
  font-size: 2rem;
}

.table-h3 {
  color: var(--color-blue);
  text-align: center;
  font-size: 1.5rem;
  width: 80%;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

th {
  background: var(--color-bg);
  color: #333;
  font-weight: 500;
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1.5px solid #ccc;
  white-space: nowrap;
}

td {
  padding: 8px 10px;
  white-space: nowrap;
}

tr:nth-child(odd) td {
  background: var(--color-bg);
}

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

tr:hover td {
  filter: brightness(0.96);
}

.mobile-scroll-msg {
  display: none;
}

@media (max-width: 1024px) {
  .mobile-scroll-msg {
    display: block;
    font-style: italic;
  }
}

@media (max-width: 768px) {
  .table-wrap {
    width: 100%;
  }
}
