body {
  font-family: "Segoe UI", sans-serif;
  background: linear-gradient(to right, #f5f7fa, #e2eafc);
  margin: 0;
  padding: 40px 15px;
}

.table-wrapper {
  max-width: 1000px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

.table-wrapper h2 {
  text-align: center;
  font-size: 26px;
  color: #0e386f;
  margin-bottom: 25px;
  font-weight: 600;
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  table-layout: auto;
  min-width: 100%;
}

.styled-table thead tr {
  background-color: #e6f0ff; /* Light blue heading */
  color: #0e386f;
  text-align: center;
  font-weight: bold;
}

.styled-table th,
.styled-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #ddd;
  text-align: center;
  word-break: break-word;
}

.styled-table tbody tr {
  transition: all 0.2s ease-in-out;
}

.styled-table tbody tr:hover {
  background-color: #f1f8ff;
  transform: scale(1.01);
}

.styled-table a {
  display: inline-block;
  padding: 8px 16px;
  background: linear-gradient(135deg, #0e386f, #4472c4);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s, transform 0.2s;
}

.styled-table a:hover {
  background: linear-gradient(135deg, #1b4fa2, #5a8dee);
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .styled-table {
    font-size: 14px;
  }

  .styled-table th,
  .styled-table td {
    padding: 10px;
  }

  .styled-table a {
    padding: 6px 12px;
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .styled-table {
    font-size: 13px;
  }

  .styled-table a {
    padding: 5px 10px;
    font-size: 13px;
  }
}
