/* General Body Styles */
body {
  background-color: lightblue;
  font-family: sans-serif;
  margin: 0;
  padding: 20px;
}

/* A container to center the main content and give it a card-like look */
.container {
  max-width: 900px;
  margin: 20px auto; /* Centers the container */
  padding: 30px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #333;
}

/* Table Styles for index.html */
table {
  width: 100%;
  border-collapse: collapse; /* Removes space between borders */
  margin-top: 20px;
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background-color: #f2f2f2;
  color: #333;
}

/* Table row hover effect */
tbody tr:hover {
  background-color: #0056b3; /* A nice dark blue */
  color: white;
  cursor: pointer;
}

/* Style the "View" button */
td button {
  padding: 8px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

tbody tr:hover button {
  background-color: white;
  color: #007bff;
}

/* Detail Page Styles */
.detail-content p {
  font-size: 1.1em;
  line-height: 1.6;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.back-link {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 15px;
  background-color: #555;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

.back-link:hover {
  background-color: #333;
}
