body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.container {
    display: flex;
    width: 100%;
    padding: 20px;
}

.content, .content2 {
    flex: 1;
    padding-right: 20px;
}

.sidebar {
    width: 300px;
    padding: 20px;
    background-color: #f4f4f4;
    border-left: 2px solid #ccc;
    position: sticky;
    top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

h1 {
  color: #333;           /* Dark gray color for the text */
  border-bottom: 2px solid #333; /* Dark gray line under the text */
  padding-bottom: 10px;    /* Spacing between text and the line */
  margin-bottom: 20px;     /* Spacing below the entire h1 element */
  text-align: center;
}
/* Exclude h1 styles on start.php */
body#start-php-page h1 {
    color: initial;
    border-bottom: none;
    padding-bottom: initial;
    margin-bottom: initial;
}

h2 {
	color: #333;
	border-bottom: 2px solid #333;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

body#start-php-page h2 {
    color: initial;
    border-bottom: none;
    padding-bottom: initial;
    margin-bottom: initial;
}

body#research-php-page h2 {
    color: white;
    border-bottom: none;
    padding-bottom: initial;
    margin-bottom: initial;
				background-color: #007BFF;  /* Blue background */
			color: white;               /* White text */
			padding: 0.1px 0.02px;          /* Smaller vertical padding */
			line-height: 0.5;   /* Control the line spacing */
			border-radius: 8px;         /* Slightly rounded corners */
			text-align: center;         /* Center the text */
			font-size: 25px;            /* Adjust font size */
			font-weight: bold;          /* Make it bold */
			margin-bottom: 20px;
}

th a {
    text-decoration: none;
    color: inherit;
}

th {
    background-color: #f9f9f9;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
	text-decoration: none;
}

button:hover {
    background-color: #45a049;
	text-decoration: none;
}

a {
    color: blue;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Styling for login page */
.login-container {
    max-width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.login-container input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
}

.login-container button:hover {
    background-color: #45a049;
}

/* Banner at the top of the page */
.header-banner {
    position: fixed; /* Fixes the banner to the top */
    top: 0;
    left: 0;
    width: 100%;
	justify-content: space-between;
    background-color: #333; /* Dark background color */
    color: #fff;
    padding: 10px 20px;
    z-index: 1000; /* Ensures the banner is always on top */
}

.header-banner .banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-banner .banner-content a {
    color: #fff;
    text-decoration: none;
}

.header-banner .logout-button {
padding: 10px 20px;
    background-color: #f44336; /* Red button */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    position: absolute;
	    position: fixed; /* Fixes the banner to the top */
    top: 0;
    right: 1cm; /* Set the logout button 1cm from the right edge */
}

/* Add margin to content below the banner to prevent overlap */
body {
    margin-top: 10px; /* Adjust this value to match the banner's height */
}

.container {
    padding-top: 0px; /* Add extra padding below the fixed banner */
}

/* Sidebar for the Add Patient Form */
.sidebar {
    width: 300px; /* Set a fixed width for the form */
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 200px; /* Ensure the sidebar doesn't overlap with the header */
}

/* Label styling for form inputs */
.sidebar label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

/* Styling for input fields */
.sidebar input[type="text"],
.sidebar input[type="date"],
.sidebar select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button styling */
.sidebar button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
}

.sidebar button:hover {
    background-color: #45a049;
}

/* Make the form more responsive on smaller screens */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        margin-top: 20px; /* Adjust the top margin for smaller screens */
    }
}

/* Sidebar for the Edit Patient Form */
.sidebar {
    width: 300px; /* Set a fixed width for the form */
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 100px; /* Ensure the sidebar doesn't overlap with the header */
}

/* Label styling for form inputs */
.sidebar label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

/* Styling for input fields */
.sidebar input[type="text"],
.sidebar input[type="date"],
.sidebar select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button styling */
.sidebar button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
}

.sidebar button:hover {
    background-color: #45a049;
}

/* Make the form more responsive on smaller screens */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        margin-top: 20px; /* Adjust the top margin for smaller screens */
    }
}


.filter-toggle-btn:hover {
    background-color: #0056b3;
}

.filter-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* Hide the box initially */
    transition: all 0.3s ease;
}

.filter-box h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.filter-box label {
    display: block;
    margin: 8px 0 4px;
    font-weight: bold;
    color: #555;
}

.filter-box input[type="text"],
.filter-box select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.filter-box button {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    font-size: 14px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-box button:hover {
    background-color: #0056b3;
}
    body {
        padding-bottom: 10px; /* Space for the footer */
    }

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px 0; /* Reduced padding for smaller height */
    background-color: transparent; /* Transparent background */
    z-index: -1; /* Make sure the footer appears behind other content */
    font-size: 0.8em; /* Optional: reduce font size to make it appear smaller */
    color: black; /* Black text color */
    font-weight: bold; /* Make the text bold */
}








/* General Styles * pathology tracker/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styles */
.header-banner {
    background-color: #007bff;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logout-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.logout-button:hover {
    background-color: #c82333;
}

/* Container and Content */
.container {
    padding: 20px;
}

.content {
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form Container */
.form-container {
    margin-bottom: 20px;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin-top: 0;
}

.form-container input,
.form-container select {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-container input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.form-container input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

.table th {
    background-color: #007bff;
    color: white;
    text-align: left;
    padding: 12px;
}

.table th a {
    color: white;
    text-decoration: none;
    display: inline-block;
}

.table th a:hover {
    text-decoration: underline;
}

.table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.table tr:hover {
    background-color: #2537d9;
}

/* Status Colors */
.orange {
    background-color: orange;
    color: white;
}

.green {
    background-color: green;
    color: white;
}

.red {
    background-color: red;
    color: white;
}

/* Buttons */
.button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
	text-decoration: none;
}

/* Message Box */
.message {
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    background-color: #28a745;
    color: white;
    animation: fadeIn 1s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-container input, 
    .form-container select {
        width: 100%;
    }
}


.button-link {
    display: inline-block;
    padding: 4px 8px;
    margin: 0px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #4CAF50; /* Blue background */
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.button-link:active {
    background-color: #003f7f; /* Even darker blue on click */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.container {
    display: flex;
    width: 100%;
    padding: 20px;
}

.content {
    flex: 1;
    padding-right: 20px;
}

.sidebar {
    width: 300px;
    padding: 20px;
    background-color: #f4f4f4;
    border-left: 2px solid #ccc;
    position: sticky;
    top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    padding: 10px;
    text-align: left;
    border: 1px solid #ccc;
}

th a {
    text-decoration: none;
    color: inherit;
}

th {
    background-color: #f9f9f9;
}

button {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

a {
    color: blue;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Styling for login page */
.login-container {
    max-width: 300px;
    margin: 100px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 10px solid #ccc;
    border-radius: 15px;
}

.login-container input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
}

.login-container button:hover {
    background-color: #45a049;
}

/* Banner at the top of the page */
.header-banner {
    position: fixed; /* Fixes the banner to the top */
    top: 0;
    left: 0;
    width: 100%;
	justify-content: space-between;
    background-color: #333; /* Dark background color */
    color: #fff;
    padding: 10px 20px;
    z-index: 1000; /* Ensures the banner is always on top */
}

.header-banner .banner-content {
    display: flex;
    justify-content: flex-end;
    gap: 10px; /* Space between the buttons */
    align-items: center;
}

.header-banner .banner-content a {
    color: #fff;
    text-decoration: none;
}

.header-banner .logout-button {
padding: 10px 20px;
    background-color: #f44336; /* Red button */
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    position: absolute;
	    position: fixed; /* Fixes the banner to the top */
    top: 0;
    right: 1cm; /* Set the logout button 1cm from the right edge */
}

/* Add margin to content below the banner to prevent overlap */
body {
    margin-top: 10px; /* Adjust this value to match the banner's height */
}

.container {
    padding-top: 0px; /* Add extra padding below the fixed banner */
}

/* Sidebar for the Add Patient Form */
.sidebar {
    width: 300px; /* Set a fixed width for the form */
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 200px; /* Ensure the sidebar doesn't overlap with the header */
}

/* Label styling for form inputs */
.sidebar label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

/* Styling for input fields */
.sidebar input[type="text"],
.sidebar input[type="date"],
.sidebar select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button styling */
.sidebar button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
}

.sidebar button:hover {
    background-color: #45a049;
}

/* Make the form more responsive on smaller screens */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        margin-top: 20px; /* Adjust the top margin for smaller screens */
    }
}

/* Sidebar for the Edit Patient Form */
.sidebar {
    width: 300px; /* Set a fixed width for the form */
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 100px; /* Ensure the sidebar doesn't overlap with the header */
}

/* Label styling for form inputs */
.sidebar label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

/* Styling for input fields */
.sidebar input[type="text"],
.sidebar input[type="date"],
.sidebar select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Button styling */
.sidebar button {
    width: 100%;
    padding: 10px;
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    margin-top: 10px;
}

.sidebar button:hover {
    background-color: #45a049;
}

/* Make the form more responsive on smaller screens */
@media screen and (max-width: 768px) {
    .sidebar {
        width: 100%;
        margin-top: 20px; /* Adjust the top margin for smaller screens */
    }
}
.filter-toggle-btn, .open_add_to_logbook {
    display: inline-block;
    padding: 10px 10px;
    margin: 0px 0;
    font-size: 14px;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-toggle-btn:hover, .open_add_to_logbook:hover {
    background-color: #0056b3;
	text-decoration: none;
}

.filter-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none; /* Hide the box initially */
    transition: all 0.3s ease;
}

.filter-box label {
    display: block;
    margin: 8px 0 4px;
    font-weight: bold;
    color: #555;
}

.filter-box input[type="text"],
.filter-box select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.filter-box button {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px;
    font-size: 14px;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.filter-box button:hover {
    background-color: #0056b3;
}
    body {
        padding-bottom: 40px; /* Space for the footer */
    }

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 5px 0; /* Reduced padding for smaller height */
    background-color: transparent; /* Transparent background */
    z-index: -1; /* Make sure the footer appears behind other content */
    font-size: 0.8em; /* Optional: reduce font size to make it appear smaller */
    color: black; /* Black text color */
    font-weight: bold; /* Make the text bold */
}








/* General Styles * pathology tracker/
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Header Styles */
.header-banner {
    background-color: #007bff;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-banner .banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logout-button {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
}

.logout-button:hover {
    background-color: #c82333;
}

/* Container and Content */
.container {
    padding: 20px;
}

.content, .content2 {
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Form Container */
.form-container {
    margin-bottom: 20px;
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    margin-top: 0;
}

.form-container input,
.form-container select {
    width: calc(100% - 22px);
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.form-container input[type="submit"] {
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.form-container input[type="submit"]:hover {
    background-color: #0056b3;
}

/* Table Styles */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 16px;
}

.table th {
    background-color: #007bff;
    color: white;
    text-align: left;
    padding: 12px;
}

.table th a {
    color: white;
    text-decoration: none;
    display: inline-block;
}

.table th a:hover {
    text-decoration: underline;
}

.table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.table tr:hover {
    background-color: gray;
}

/* Status Colors */
.orange {
    background-color: orange;
    color: white;
}

.green {
    background-color: green;
    color: white;
}

.red {
    background-color: red;
    color: white;
}

/* Buttons */
.button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    text-decoration: none;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* Message Box */
.message {
    padding: 15px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0;
    background-color: #28a745;
    color: white;
    animation: fadeIn 1s;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .form-container input, 
    .form-container select {
        width: 100%;
    }
}


.button-link {
    display: inline-block;
    padding: 4px 8px;
    margin: 0px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background-color: #007BFF; /* Blue background */
    border: none;
    border-radius: 4px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button-link:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.button-link:active {
    background-color: #003f7f; /* Even darker blue on click */
}


.profile-button {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
	font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.profile-button:hover {
    background-color: #45a049; /* Darker green when hovered */
}

.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 10px; /* Space between buttons */
}

.request-container {
    margin-top: 20px;
    text-align: center;
}

.big-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    color: white;
    background-color: #007bff; /* Blue background */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease;
}

.big-button:hover {
    background-color: #0056b3; /* Darker blue when hovered */
	    text-decoration: none;
}

.complete-button {
	background-color: transparent;
}

.complete-button:hover {
	background-color: #28a745;
	text-decoration: none;
	border-radius: 4px;
}

.edit-button {
	background-color: transparent;
}

.edit-button:hover {
	background-color: #FFBF00;
	text-decoration: none;
	border-radius: 4px;
}
.button-link2 {
	background-color: transparent;
}

.button-link2:hover {
	background-color: #c82333;
	text-decoration: none;
	border-radius: 4px;
}

.search-toggle-btn {
    display: inline-block;
    padding: 10px 10px;
    margin: 0px 0;
    font-size: 14px;
    color: #fff;
    background-color: #4CAF50;
    border: 1px solid black; /* Add a black border, 1px wide */
    background-color: white; /* Set the background to white */
    color: black;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-toggle-btn:hover {
    background-color: #0056b3;
	text-decoration: none;
    color: white; /* change color to white on hover */
}