body, html {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2E2E2E;
    color: #FFFFFF;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

a, p, h1, h2, h3, h4, h5, h6, input, button, select, textarea {
    font-family: 'Montserrat', sans-serif;
    color: #FFFFFF;
}

button, input[type="text"], input[type="date"], select {
    background-color: #404040;
    color: #FFFFFF;
    border: 1px solid #606060;
}

button:hover {
    background-color: #505050;
}

.main_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2E2E2E;
    padding: 10px 20px;
}

#logo {
    width: 200px;
    height: auto;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.header-right a {
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
}

.header-right p {
    margin: 5px 0 0;
    font-weight: 400;
    color: #FFFFFF;
}

.navbar {
    background-color: #2E2E2E;
    padding: 10px 20px;
    border-bottom: 1px solid #606060;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    margin-right: 20px;
}

.navbar a {
    color: #24b4f1;
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.navbar a:hover {
    border-bottom: 2px solid #7ED321;
}

.navbar a.active {
    border-bottom: 2px solid #7ED321;
}

#controls {
    padding: 15px;
    background-color: #2E2E2E;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.date-controls {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.date-controls div {
    margin-bottom: 10px;
}

.date-controls label {
    margin-bottom: 5px;
}

#controls div {
    display: flex;
    align-items: center;
    justify-content: center;
}

#charts-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.chart-item {
    flex: 1;
    margin: 10px;
    min-width: 300px; /* Adjust as needed */
    max-width: 400px; /* Adjust as needed */
}

.chart-item h1 {
    font-size: 14px;
    background-color: transparent;
    color: #FFFFFF;
}

.chart-item #chart,
.chart-item #chart-received,
.chart-item #chart-hospital {
    color: #FFFFFF;
    background: #2E2E2E;
}

.chart-item #chart text,
.chart-item #chart-received text,
.chart-item #chart-hospital text {
    fill: #FFFFFF;
}

/* Custom button group styles */
.btn-group {
    display: flex;
}

.btn {
    background-color: #404040;
    color: #FFFFFF;
    border: 1px solid #606060;
    padding: 10px 20px;
    margin-right: 5px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.btn:hover {
    background-color: #505050;
}

.btn.active, .btn:focus {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.btn:first-child {
    border-radius: 4px 0 0 4px;
}

.btn:last-child {
    border-radius: 0 4px 4px 0;
}

.btn:not(:first-child):not(:last-child) {
    border-radius: 0;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table, th, td {
    border: 1px solid #606060;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #404040;
}

.pagination {
    text-align: center;
}

.step-links {
    display: inline-block;
    padding: 10px;
}

.step-links a {
    color: #24b4f1;
    text-decoration: none;
    margin: 0 5px;
}

.step-links a:hover {
    text-decoration: underline;
}
/* Styles for the search form */
.search-form {
    margin-bottom: 20px;
}

.search-box, .search-button, .clear-button {
    font-size: 14px; /* Adjust font size to match the table text */
    padding: 5px 10px;
}

.search-box {
    margin-right: 10px; /* Add some space between the search box and the button */
}

.search-button {
    margin-right: 10px; /* Add some space between the search button and the clear button */
}
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.login-body main {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-body .content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.form-container {
    background-color: #2E2E2E;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: 1px solid #7ED321;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-logo {
    max-width: 200px;  /* Adjust the size of the logo as needed */
    margin-bottom: 20px;  /* Add some space below the logo */
    height: auto;
}

.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form h2 {
    margin-bottom: 20px;
}

.login-form form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-form .form-group {
    justify-content: flex-start;
    align-items: center;
    margin: 10px 0;
    width: 100%;
}

.login-form .form-group label {
    width: 100px;  /* Adjust as needed */
    text-align: right;
    margin-right: 10px;
}

.login-form .form-group input {
    flex-grow: 1;
    color: black;  /* Set the text color to black */
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-form button {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.login-form button:hover {
    background-color: #0056b3;
}
.register-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.register-form-container {
    background-color: #2E2E2E;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.register-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.register-form .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 10px 0;
    width: 48%; /* Adjust width for two columns */
}

.register-form .form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.register-form .form-group input, .register-form .form-group select {
    color: black;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
}

.register-form .form-group small {
    color: #aaa;
    font-size: 12px;
    margin-top: 5px;
}

.register-form .register-button-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.register-form button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.register-form button:hover {
    background-color: #0056b3;
}

.user-management-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.user-management-header h2 {
    margin: 0;
}

.user-management-header .button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.user-management-header .button:hover {
    background-color: #0056b3;
}

.delete-user-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 120px); /* Adjust height to account for the header and navbar */
    margin: 0;
}

.delete-user-container {
    background-color: #2E2E2E;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.delete-user-form p {
    color: #FFFFFF;
    margin-bottom: 20px;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.btn-delete, .btn-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    text-align: center;
}

.btn-delete {
    background-color: #d9534f;
}

.btn-delete:hover {
    background-color: #c9302c;
}

.btn-cancel {
    background-color: #6c757d;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

.edit-user-body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 160px); /* Adjust height to account for the header and navbar */
    padding: 20px;
    box-sizing: border-box;
    margin-top: 60px;
}

.edit-user-container {
    background-color: #2E2E2E;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 600px; /* Adjust the max width as needed */
}

.edit-user-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-columns {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.form-column {
    display: flex;
    flex-direction: column;
    width: 48%;
}

.edit-user-form .form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin: 10px 0;
    width: 100%;
}

.edit-user-form .form-group label {
    font-weight: bold;
    margin-bottom: 5px;
}

.edit-user-form .form-group input {
    color: black;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
}

.edit-user-form .form-group small {
    color: #aaa;
    font-size: 12px;
    margin-top: 5px;
}

.form-buttons {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
}

.btn-save, .btn-cancel {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: white;
    text-align: center;
    margin: 0 10px;
}

.btn-save {
    background-color: #007bff;
}

.btn-save:hover {
    background-color: #0056b3;
}

.btn-cancel {
    background-color: #6c757d;
}

.btn-cancel:hover {
    background-color: #5a6268;
}
.search-form {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.search-form input[type="text"] {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
}

.search-form button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

.search-form button:hover {
    background-color: #0056b3;
}

.clear-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
}

.clear-button:hover {
    background-color: #0056b3;
}
.user-info {
    display: flex;
    align-items: center;
}

.user-info p {
    margin: 0 10px; /* Add some spacing between elements */
    padding: 0;
    text-align: right;
}

.logout-button {
    color: #FFFFFF;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    text-align: right;
    margin-left: 10px; /* Add some spacing between elements */
}

.logout-button:hover {
    background-color: #CC0000;  /* Darker red on hover */
}