body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.7;
  color: #333;
  background-color: #f8f8f8;
}

header {
  background-color: #1c3c8a; /* Medium purple/periwinkle header */
  color: #fff;
  padding: 30px;
  text-align: center;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

main {
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

section {
  margin-bottom: 50px;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

section h2 {
  font-size: 2em;
  margin-bottom: 20px;
  border-bottom: 2px solid #9370db; /* Purple border */
  padding-bottom: 10px;
  color: #6a5acd; /* Deeper purple section titles */
}

ul {
  list-style-type: disc;
  margin-left: 30px;
}

li {
  margin-bottom: 10px;
}

a {
  color: #6a5acd; /* Deeper purple links */
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #483d8b; /* Darker purple on hover */
  text-decoration: underline;
}

footer {
  background-color: #f0f0f0;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #9370db; /* Purple border */
}

.table-container {
    overflow-x: auto; /* Ensures horizontal scrolling on smaller screens */
    margin-top: 30px;
    margin-bottom: 50px; /* Add some space below the table */
}

table {
    width: 100%;
    border-collapse: separate; /* Allows for border-radius on cells */
    border-spacing: 0; /* Removes default spacing between cells */
    background-color: #ffffff;
    border-radius: 12px; /* More rounded corners for the table */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); /* Slightly more prominent shadow */
    overflow: hidden; /* Ensures content respects border-radius */
}


table th,
table td {
    padding: 18px 25px; /* Increased padding for more breathing room */
    text-align: left;
    border-bottom: 1px solid #eee; /* Very light separator lines */
    border-left: 1px solid #eee; /* Add left border */
    border-right: 1px solid #eee; /* Add right border */
}

table th {
    background-color: #6a5acd; /* Deeper purple for header background */
    color: #fff;
    font-weight: 600; /* Slightly bolder */
    text-transform: uppercase;
    font-size: 0.95em; /* Slightly larger font for header */
    letter-spacing: 0.05em; /* Subtle letter spacing */
    white-space: nowrap; /* Prevent wrapping in header cells */
}

/* Rounded corners for the first and last header cells */
table th:first-child {
    border-top-left-radius: 12px;
    border-left: none;
}
table th:last-child {
    border-top-right-radius: 12px;
     border-right: none;
}


table tbody tr:nth-child(even) {
    background-color: #fcfcfc; /* Very subtle lighter shade for zebra striping */
}

table tbody tr:hover {
    background-color: #e6e6fa; /* Light periwinkle on hover */
    cursor: pointer; /* Indicates interactivity */
}

table td {
    vertical-align: top; /* Aligns content to the top for multi-line cells */
}

table td:first-child {
    white-space: nowrap; /* Prevents time slots from wrapping */
    font-weight: bold;
    color: #9370db; /* Medium purple for time slots */
}

/* Remove bottom border from the last row */
table tbody tr:last-child td {
    border-bottom: none;
}
