/* =======================
   Import Google Font Orbitron
======================= */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

/* =======================
   Reset / Global
======================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Orbitron', sans-serif;
  background-color: #0a0a0a;
  color: #00f2ff;
  line-height: 1.5;
  padding: 20px;
}

/* =======================
   Header
======================= */
.header {
  text-align: center;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 2em;
  color: #00f2ff;
}

/* =======================
   Table Styles (Saturn)
======================= */
.archives-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #0a0a0a;
  border: 2px solid #00f2ff;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.archives-table thead {
  background-color: #111;
}

.archives-table thead th {
  padding: 12px;
  text-align: left;
  color: #00f2ff;
  font-weight: bold;
  border-bottom: 2px solid #00f2ff;
}

.archives-table tbody td {
  padding: 10px;
  color: #cce6ff;
  border-bottom: 1px solid #00f2ff;
}

.archives-table tbody tr:last-child td {
  border-bottom: none;
}

.archives-table tbody tr:hover {
  background-color: #111;
}

a {
  color: #00f2ff;
  text-decoration: none;
  transition: color 0.3s;
}

a:hover,
a:focus {
  color: #ffffff;
  text-decoration: underline;
}

/* =======================
   Pagination
======================= */
.pagination {
  text-align: center;
  margin-top: 15px;
}

.pagination a, .pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 5px 10px;
  color: #00f2ff;
  border: 1px solid #00f2ff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

.pagination span.active {
  background-color: #00f2ff;
  color: #000;
}

.pagination a:hover {
  background-color: #00f2ff;
  color: #000;
}

/* =======================
   Responsive Table (Mobile)
======================= */
@media (max-width: 768px) {
  .archives-table, .archives-table thead, .archives-table tbody, .archives-table th, .archives-table td, .archives-table tr {
    display: block;
  }

  .archives-table thead tr {
    display: none;
  }

  .archives-table tbody tr {
    margin-bottom: 15px;
    border: 1px solid #00f2ff;
    border-radius: 8px;
    padding: 10px;
  }

  .archives-table tbody td {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    border-bottom: 1px solid #00f2ff;
  }

  .archives-table tbody td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #00f2ff;
    margin-right: 10px;
  }

  .pagination a, .pagination span {
    padding: 8px 12px;
    margin: 3px;
  }
}
