body {
    font-family: Arial, sans-serif;
    margin: 20px;
    padding: 0;
    background-color: #f4f4f4;
}

.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: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

button {
    background-color: #28a745;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #218838;
}

/* Yellow for the "Edit" button */
button.edit {
    background-color: #ffcf3e;
}

button.edit:hover {
    background-color: #e0a800;
}

/* Red for the "Delete" button */
button.delete {
    background-color: #dc3545;
    color: white;
}

button.delete:hover {
    background-color: #c82333;
}

.headerPane {
    border-top: solid 10px #9c1010;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    border-bottom: solid 10px #9c1010;
}

.headerPane img {
    width: 25%;
    height: auto;
}

/* Modal Styling */
.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;
}

/* Form styling */
label {
    display: block;
    margin: 10px 0 5px;
}

input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

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;
}
