/* Body styling */
body {
    font-family: "Verdana", sans-serif;
    margin: 0;
    padding: 20px 0; /* Add some top and bottom padding for better spacing */
    background-color: #f0f8ff; /* Light blue background */
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 100vh; /* Ensure the background color covers the whole screen */
    box-sizing: border-box;
}

/* Styling for headers */
h1, h2 {
    color: #0044cc; /* Deep blue */
    margin-bottom: 15px;
}

/* Form container styling */
form {
    background-color: #ffffff; /* White background */
    border: 2px solid #0044cc; /* Deep blue border */
    border-radius: 10px;
    padding: 20px;
    width: 90%;
    max-width: 400px; /* Ensures the form is not too wide */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: left; /* Aligns text to the left inside the form */
}

/* Input and select styling */
input[type="text"], select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1rem;
}

/* Input focus effects */
input[type="text"]:focus, select:focus {
    border-color: #0044cc;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 68, 204, 0.5);
}

/* Button styling */
button {
    background-color: #ffc107; /* Yellow */
    color: #0044cc; /* Deep blue */
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
    margin-top: 10px;
}

button:hover {
    background-color: #ffd54f; /* Lighter yellow */
    color: #002a80; /* Darker blue */
}


ul {
    list-style-type: none;
    padding: 0;
    text-align: center;
}

li {
    margin: 10px 0;
}

li a {
    font-size: 1.1rem;
    padding: 5px 10px;
    display: inline-block;
    border: 2px solid #ffc107; /* Yellow border */
    border-radius: 5px;
    transition: all 0.3s ease;
}

li a:hover {
    background-color: #ffc107;
    color: #0044cc;
}

table {
    width: 80%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #0044cc; /* Deep blue */
    color: #fff;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #e3f2fd; /* Light blue */
}

.pagination {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination a {
    text-decoration: none;
    color: #0044cc; /* Deep blue */
    border: 1px solid #0044cc;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #0044cc;
    color: #fff;
}

.pagination span {
    font-weight: bold;
    color: #333;
}

.filter-form {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.filter-form label {
    font-weight: bold;
}

.filter-form input {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.filter-form button, .export-button, .reset-button {
    background-color: #0044cc; /* Deep blue */
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    cursor: pointer;
}

.filter-form button:hover, .export-button:hover, .reset-button:hover {
    background-color: #002a80; /* Darker blue */
}

.export-button {
    display: inline-block;
    margin: 10px 0;
}



/* Mobile responsive adjustments */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    form {
        width: 100%;
    }

    button {
        font-size: 0.9rem;
    }
}


