body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 20px;
  padding: 0;
  background-color: #adbbed;
}

.container {
  width: 95%;
  margin: auto;
  margin-top: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  color: #23057d;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

table,
th,
td {
  border: 1px solid black;
}

th,
td {
  padding: 12px;
  text-align: left;
}

th {
  background-color: #cfd3ff;
  text-align: center;
}

button {
  background-color: #537fe6;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background-color: #181489;
}

/* Yellow for the "Edit" button */
button.edit {
  background-color: rgb(186, 186, 33);
}

button.edit:hover {
  background-color: #e0a800;
}

/* Red for the "Delete" button */
button.delete {
  background-color: #dd3c4c;
  color: white;
}

button.delete:hover {
  background-color: #c82333;
}

.headerPane {
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.headerPane img {
  width: 25%;
  height: auto;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  width: 40%;
  border-radius: 5px;
  position: relative;
}

.close {
  position: absolute;
  right: 10px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

label {
  font-weight: bold;
  display: block;
  margin: 10px 0 5px;
}

input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
  border-radius: 20px;
}

form#studentForm button[type="submit"] {
  display: none;
}

form button#editSubmit {
  background-color: #ffcf3e;
}

form button#editSubmit:hover {
  background-color: #e0a800;
}

/* footer styling */
footer {
  width: 100%;
  position: absolute;
  bottom: 0;
}

footer img {
  width: 100%;
}

.pagination-controls {
  margin-top: 20px;
}

.pagination-btn {
  margin: 0 5px;
  padding: 5px 10px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

.pagination-btn.active {
  background-color: #0056b3;
}

.pagination-btn:hover {
  background-color: #0056b3;
}
