body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
}

nav {
    background-color: #4CAF50;
    padding: 1em;
    text-align: center;
}

nav a {
    color: white;
    margin: 0 1em;
    text-decoration: none;
    display: inline-block; /* Ensure the logo and links are displayed inline */
    vertical-align: middle; /* Align the links vertically with the logo */
}

nav img.header-logo {
    margin-right: 1em; /* Add space between the logo and the first link */
}

.container {
    margin: 2em auto;
    max-width: 800px; /* Adjusted max-width for a better display */
    padding: 1em;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form {
    display: flex;
    flex-direction: column;
}

label {
    margin-top: 1em;
}

input, button {
    padding: 0.5em;
    margin-top: 0.5em;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;  /* Added border-radius for button */
}

button:hover {
    background-color: #45a049;
}

footer {
    background-color: #4CAF50;
    color: white;
    padding: 2em 0;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding-left: 200px; /* Added padding to the left */
    padding-right: 200px; /* Added padding to the right */
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 1em;
    text-align: center;
}

.footer-column p {
    margin: 0.5em 0;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
}

.footer-column ul li {
    margin: 0 5px;
}

.footer-column ul li a {
    color: white;
    font-size: 1.5em;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #ddd;
}

/* Add FontAwesome Icons */
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

/* Pagination styles */
.pagination {
    text-align: center;
    margin: 2em 0;
}

.pagination a {
    color: #4CAF50;
    text-decoration: none;
    padding: 0.5em 1em;
    border: 1px solid #ddd;
    margin: 0 0.5em;
    border-radius: 5px;
}

.pagination a.active {
    background-color: #4CAF50;
    color: white;
    border: 1px solid #4CAF50;
}

.pagination a:hover {
    background-color: #ddd;
}

/* Table styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

th {
    background-color: #4CAF50;
    color: white;
}

tr:nth-child(even) {
    background-color: #e0f7fa;  /* Light blue */
}

tr:nth-child(odd) {
    background-color: #b2ebf2;  /* Lighter blue */
}

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

h2.title {
    text-align: center;
    background-color: #4CAF50;
    color: white;
    padding: 1em;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Centered message styling */
.centered-message-container {
    text-align: center;
    margin-top: 2em;
}

.centered-message {
    color: #333;
}

.centered-button {
    margin-top: 1em;
}

.login-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #4CAF50;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.login-button:hover {
    background-color: #45a049;
}

.centered-gif {
    margin-top: 2em;
    max-width: 100%;
    height: auto;
}

.centered-gif-container {
    text-align: center;
    margin-top: 2em;
}

/* Styles for About Us page */
h1, h2, h3 {
    color: #4CAF50;
}

.container p {
    margin-bottom: 1em;
    line-height: 1.6;
}
