body {
    font-family: Arial, sans-serif;
    background-color: #f7f9fc;
    color: #333;
    margin: 0;
    padding: 20px;
}

h2 {
    text-align: center;
    color: #4a90e2;
}

a {
    font-size: 0.9em;
}

form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

input[type="text"],
input[type="password"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: #4a90e2;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

#homeButton {
    width: 200px !important;
}

button:hover {
    background-color: #357ab8;
}

/* Existing styles remain unchanged */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    table-layout: auto; /* Allow table to auto-adjust width based on content */
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    min-width: 150px; /* Set a minimum width for columns */
    white-space: nowrap; /* Prevent text from wrapping */
}

th {
    background-color: #4a90e2;
    color: white;
}

tr:hover {
    background-color: #f1f1f1;
}

#dashboardContent {
    max-width: 800px; /* Keep this to limit the width of the dashboard */
    margin-left: 0;   /* Align left */
    padding: 20px;    /* Add padding for spacing */
}

/* Styles for the filter inputs */
label {
    display: block;
    margin: 10px 0 5px; /* Slightly adjust margin */
}

/* Style for the filter dropdowns */
select {
    background-color: #fff;
    color: #333; /* Text color for dropdown */
}

select:focus {
    border-color: #4a90e2; /* Change border color on focus */
    outline: none; /* Remove outline */
}

/* Hover effect for dropdown */
select:hover {
    border-color: #357ab8; /* Change border color on hover */
}

#loginImage {
    display: block;
    margin: 20px auto; /* Center the image */
    width: 50%; /* Adjust the percentage to change size */
    max-width: 450px; /* Optional: Set a maximum width */
    height: auto; /* Maintain aspect ratio */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: #4a90e2; /* Header color */
    color: white;
}

tr:hover {
    background-color: #f1f1f1; /* Row hover color */
}

h4 {
    text-align: right; /* Align total amount to the right */
    color: #4a90e2; /* Total amount color */
}

.navbar {
    background-color: #4a90e2;
    padding: 10px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.navbar ul.left-menu li {
    margin-right: 20px;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar ul li a:hover {
    color: #f1f1f1;
}

.right-menu {
    margin-left: auto;
}

/* body {
    display: flex;
    margin: 0;
} */

#sidebarContainer {
    width: 250px; 
}

#dashboardContentContainer {
    flex: 1;
    padding: 20px;
}

.sidebar {
    background-color: #f4f4f4;
    height: 100vh;
    padding: 10px;
}

.sidebar-menu ul {
    list-style: none;
    padding: 0;
}

.sidebar-menu ul li {
    margin-bottom: 10px;
}

.sidebar-menu ul li a {
    text-decoration: none;
    color: #333;
}

.sidebar-menu ul li a.active {
    font-weight: bold;
    color: #007bff;
}
