body {
  font-family: "Segoe UI",Arial,Helvetica,Sans-Serif;
  padding: 20px;
}

input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-bottom: 15px;
}

button {
  padding: 10px 20px;
  font-size: 16px;
  margin-bottom: 15px;
  cursor: pointer;
}

button:focus, a:focus {
  outline: 2px solid #0056b3; /* Add a visible focus outline */
  outline-offset: 2px;
}

table {
  width: 100%;
  border-collapse: collapse; /* Ensure borders don't double up */
  margin-top: 20px;
  border: 1px solid #ddd; /* Add a border around the table */
}

table th, table td {
  padding: 12px 15px;
  text-align: left;
  border: 1px solid #ddd; /* Add column lines */
}

table th {
  background-color: #f4f4f4;
  font-weight: 600;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

table tr:hover {
  background-color: #f1f1f1;
}

a {
  color: blue;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

/* Header Styling */
header {
  background-color: #343a40;
  color: white;
  padding: 20px;
  display: flex;
  align-items: center; /* Vertically center the logo and text */
  position: relative;
}

header img {
  max-width: 600px; /* Adjust the logo size */
  margin-right: 350px; /* Add spacing between the logo and the text */
}

header .header-text {
  flex: 1; /* Allow the text to take up the remaining space */
  text-align: center; /* Center-align the text */
}

header h1 {
  margin: 0;
  font-size: 2em;
}

header h2 {
  margin: 0;
  font-size: 1.5em;
  color: #ffffff; /* Example: Change to white for better contrast */
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
  header {
    text-align: center;
    padding: 10px 0;
    display: block; /* Override flex for mobile */
  }

  header img {
    display: block;
    margin: 0 auto 10px auto !important; /* Center and override margin-right */
    max-width: 90vw;
    height: auto;
  }

  header .header-text, header div {
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  header h1, header h2 {
    text-align: center;
  }
}

main {
  padding: 20px;
  max-width: 1600px; /* Increase the width */
  margin: 20px auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

main p {
  line-height: 1.6;
  margin-bottom: 15px;
}

main label {
  font-weight: 500;
  margin-right: 10px;
}

main input, main select, main button {
  font-size: 1em;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

main button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

main button:hover {
  background-color: #0056b3;
}

#pagination-controls-bottom {
  display: none;
}

#pagination-controls-bottom button {
  font-size: 1em;
  padding: 8px 16px;
  margin: 0 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #154679;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#pagination-controls-bottom button:hover {
  background-color: #0056b3;
}

#pagination-controls-bottom span {
  font-size: 1em;
  margin-left: 10px;
  font-weight: 500;
}

#prevPage, #nextPage {
  /* Intentionally left blank for future styles */
}

#prevPage:focus, #nextPage:focus {
  visibility: visible;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
/* Add a border to the search button */
#searchButton {
  border: 2px solid #0056b3; /* Add a visible border */
  background-color: #007bff;
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

#searchButton:focus {
  border-color: #ff9900; /* Higher contrast focus color */
  outline: none; /* Remove default outline */
}