body {
    font-family: Arial, sans-serif;
    background-color: #f2f2f2;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    flex-grow: 1;
}

.logo {
    width: 300px;
    margin-bottom: 20px;
}

.login-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 100%;
    text-align: center; /* Center text inside the login container */
}

.error-message {
    color: #B2324E;
    margin-top: 10px;
    font-weight: 700;
}

.login-container h2 {
    text-align: center;
    color: #0B004A;
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding in the width */
}

.login-form input[type="submit"] {
    background-color: #0B004A;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.login-form input[type="submit"]:hover {
    background-color: #B2324E;
}

.footer {
    background-color: #0B004A;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.footer a {
    color: #fff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

header {
    background-color: #f5f5f5;
    padding: 10px 0;
    align-items: center;
    position: relative;
    top: 0;
}

.header-content {
    width: 100%;
    align-items: center;
    position: relative;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

.menu-container {
    background-color: #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1; /* Ensure the menu is below the header */
}

nav {
    background-color: #0B004A;
    padding: 10px;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav li {
    margin: 0 15px;
}

nav a {
    text-decoration: none;
    color: #FFF;
    transition: background-color 0.3s;
    padding: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

nav a:hover {
    background-color: #B2324E;
    color: #fff;
}

nav a.logout-button {
    text-decoration: none;
    color: #EAE8FF;
    transition: background-color 0.3s;
    padding: 10px;
}

nav a.logout-button:hover {
    background-color: #963D4D; /* Background color on hover */
    color: #fff;
}

#logo {
    width:140px;
    position: absolute;
    left:30px;
    top:-20px;
}

main {
    padding: 0 20px;
    margin-top: 10px; /* Add a margin to separate main content from menu */
    flex-grow: 1; /* Fill remaining space */
}

.dashboard-content {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    text-align: center;
    display: block;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
    position: relative;
}

.dashboard-content h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.dashboard-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.text-box {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.text-box p {
    font-size: 16px;
    color: #333;
}

.search-box {
    width: 65%;
    background-color: #fff;
    padding: 20px 20px 30px;
    margin-bottom:40px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    float: left;
}

.search-number p {
    font-size:18px;
    font-weight: 700;
}

.search-box input[type="text"] {
    width: 80%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.search-box button {
    background-color: #0B004A;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-box button:hover {
    background-color: #B2324E;
}

.search-box table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}

.search-box th, .search-box td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size:15px;
}

.upload-box {
    width: 80%;
    background-color: #fff;
    padding: 20px 20px 30px;
    margin-bottom:40px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    float: left;
}
.upload-box input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.upload-box button {
    background-color: #0B004A;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.upload-box label {
    background-color: #0B004A;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.upload-box table {
    margin-top: 20px;
    border-collapse: collapse;
}

.upload-box th, .upload-box td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
    font-size:15px;
}
.custom-file-upload {
  display: inline-block;
  padding: 8px 8px;
  cursor: pointer;
  background-color: #0B004A;
  color: #fff;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}	

#fileToUpload {
	opacity: 0;
	position: absolute;
	z-index: -1;
}

	
#search-results {
    display:none;
}

.search-error {
    color:#B2324E;
    margin:10px 0 0;
}

.upload-error {
    color:#B2324E;
    margin:10px 10px 0;
	text-align: left
}
.upload-results {
    color:#000;
    margin:10px 10px 0;
	text-align: left
}

.search-error-history {
    width:100%;
    margin:10px;
}

.totals-box {
    width: 25%;
    background-color: #f5f5f5;
    padding: 20px 20px 60px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    float: right;
}

.totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.month {
    font-weight: bold;
}

.count {
    background-color: #B2324E;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    width:100px;
}

.table-container {
    width: 80%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.table-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto 20px;
}

.table-history {
    max-width:400px;
    position: relative;
    float:left;
    margin:20px 30px;
}

.table-footer td {
    font-weight: 900;
    background-color: #f8f8f8;
}

.table-box h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th, table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

table th {
    background-color: #f5f5f5;
    color: #333;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.search-input {
  margin: 10px;
  display: flex;
  align-items: center;
}

.search-input label {
  margin-right: 10px;
}

.search-input select,
.search-input input[type="button"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.search-input select {
  min-width: 100px;
}

.search-input input[type="button"] {
  background-color: #0B004A;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}
.search-input input[type="button"]:hover {
  background-color: #B2324E;
}

.pagination-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.pagination {
  display: flex;
  gap: 10px;
}

.pagination a {
  padding: 5px 10px;
  border: 1px solid #ccc;
  text-decoration: none;
  color: #333;
}

.pagination a.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

.items-per-page label {
  margin-right: 10px;
}

.items-per-page select {
  padding: 5px;
}

.text-box .table-description {
    font-size:12px;
    width:60%;
    margin:0 auto;
    color:#AAA;
}

.search-table .search-message-cell {
    font-size: 12px;
}
