html, body {
    height: 100%; 
    margin: 0; 
}

body {
    display: flex; 
    flex-direction: column; 
    background-color: #F0F0F0; 
}

.navbar {
    background-color: #D1D2D4; 
    color: #3F5270; 
    position: fixed; 
    top: 0; 
    width: 100%; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
	border: 0px;
	margin-bottom: 0px;
	z-index: 1000;
}

.navbar .container {
	position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand-container {
	position: absolute;
    left: 50%; 
    transform: translateX(-50%); 
    text-align: center;
    color: #3F5270;
    font-size: 32px;
    font-weight: bold;	
}

.navbar .navbar-header {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.navbar-brand {
    color: #3F5270 !important;
    font-size: 32px;
    font-weight: bold;
    padding-top: 20px !important;
    text-decoration: none !important;
    cursor: default;
}

.navbar-right-container {
    margin-left: auto;
}

.navbar-static-bottom {
    position: relative; 
    margin-top: auto; 
    padding: 0px 0; 
}

.footer-content {	
    text-align: center; 
    color: #3F5270;
}

.footer {
    background-color: #D1D2D4; 
    color: #3F5270; 
    padding: 20px; 
}

.logged-in-as {
    display: block;
    text-align: right;	  
    padding-right: 15px;
    color: #3F5270; 
}

.menu-icon {
    font-size: 30px;
    cursor: pointer;
    margin-right: auto;
}

.flyout-menu {
    height: 100%;
    width: 0;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #D1D2D4;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 2;
}

.flyout-menu a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #3F5270;
    display: block;
    transition: 0.3s;
}

.flyout-menu a:hover {
    color: #f1f1f1;
}

.flyout-menu .links-container {
    margin-top: 50%;
}


.flyout-menu .closebtn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 36px;
}

.content {
    flex: 1; 
    margin-top: 50px;
    padding-left: 10%;
    padding-right: 10%;
	max-height: calc(100vh - 10px);
	overflow-y: scroll;
	overflow-x: auto;
}
.content1 {
    flex: 1;
    margin-top: 50px;
    padding: 10px 0; /* Remove left and right padding to avoid scroll cutoff */
    max-height: calc(100vh - 10px);
    overflow-y: scroll;
}
.table-wrapper {
    overflow-x: auto; /* Enable horizontal scrolling */
    margin: 0 auto; /* Center the table within the content area */
    padding: 0 10%; /* Add padding for visual centering */
}

#searchTable {
    min-width: 1200px; /* Ensure table doesn't collapse; adjust as needed */
    width: 100%; /* Make it responsive */
    table-layout: auto; /* Let columns adjust automatically */
}
.content-inner {
    background-color: #F0F0F0; 
    padding: 20px; 
    height: 100%; 
}

.content-inner-center {
    background-color: #F0F0F0; 
    padding: 20px; 
    height: 100%;
    text-align: center;
}

.tile_container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.tile {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 40px;
    text-align: center;
    flex: 1;
    margin: 0 10px 20px;
    transition: transform 0.3s;
    text-decoration: none;
    color: #3F5270;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.tile:hover {
    transform: translateY(-5px);
    background-color: #F0F0F0; 
}

.tile h2 {
    margin: 10px 0 0;
    font-size: 24px;
    color: #3F5270;
}

.tile i {
    font-size: 48px;
    margin-bottom: 10px;
    color: #3F5270;
}

.create-button {
    float: right;
    background-color: #3F5270;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}
.create-button-red {
    float: right;
    background-color: #FF0000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.table-button {
    background-color: #3F5270;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.table-button-red {
    background-color: #FF0000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.table-header {
    color: #3F5270;
    font-size: 20px;
    text-decoration: none;
}

input[type="date"] {
    background-color: #FFFFFF; /* Grey background color */
    color: #3F5270; /* Text color */
    border: 1px solid #CCCCCC; /* Border color to match the text color */
    border-radius: 4px; /* Border radius for rounded corners */
    padding: 10px; /* Padding inside the input */
    width: 100%; /* Set the width to 100% */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-clear-button {
    display: none; /* Hide the inner spin and clear buttons in WebKit browsers */
}

input[type="date"]:focus {
    outline: none; /* Remove the default focus outline */
    box-shadow: 0 0 5px rgba(63, 82, 112, 0.5); /* Add a custom focus shadow */
}		

form input[type="text"],
form input[type="number"],
form select {
    background-color: #FFFFFF;
    color: #3F5270; 
    border: 1px solid #CCCCCC; 
    border-radius: 4px; 
    padding: 10px; 
    width: 100%; 
    box-sizing: border-box; 
}

form input[type="text"]:focus,
form input[type="number"]:focus,
form select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(63, 82, 112, 0.5); 
}

form button {
    background-color: #3F5270; 
    color: #FFFFFF; 
    border: none; 
    border-radius: 4px; 
    padding: 10px 20px; 
    cursor: pointer; 
    margin-right: 10px; 
    display: inline-block; 
}

form button:hover {
    background-color: #2C3E50; 
}

form button:last-of-type {
    margin-right: 0;
}

.form-section {
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 10px;
}

.form-section .form-group {
    margin-bottom: 10px;
}

.toggle-button {
    cursor: pointer;
    background-color: #3F5270;
    color: FFFFFF;
    border: none;
    padding: 10px 20px;
    margin-bottom: 10px;
}

.button-container {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
}

.button-link {
    background-color: #3F5270; 
    color: #FFFFFF; 
    border: none; 
    border-radius: 4px; 
    padding: 10px 20px; 
    cursor: pointer; 
    display: inline-block; 
    text-align: center;
    text-decoration: none;
}

.button-link:hover {
    background-color: #2C3E50; 
}

.chart-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
}

.chart-container {
    width: 300px;
    height: 300px;
}

.dtrg-group {
    cursor: pointer;
}
