body {
    font-family: Arial, sans-serif;
    margin: 20px;
    margin-left: 10%; 
    margin-right: 10%;
}
header {
    text-align: center; /* Center-aligns all text in the header */
}

header h1 {
    font-size: 2em; /* Optional: Adjust the font size for better visibility */
    margin-bottom: 10px; /* Optional: Add spacing below the heading */
}

header p {
    font-size: 1.1em; /* Optional: Adjust the font size for the paragraph */
    margin-bottom: 20px; /* Optional: Add spacing below the paragraph */
}
section {
    margin-bottom: 30px;
}
label {
    display: block;			
    margin: 10px 0 5px;
}
.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
label {
    width: 100px; /* Set a fixed width for labels */
    text-align: right; /* Align text to the right */
    margin-right: 10px; /* Add spacing between label and slider */
}
input[type="range"] {
    width: 50%; /* Set slider width to half the page */
    margin: 0 10px; /* Add spacing around the slider */
}
.slider-value {
    font-weight: bold;
    width: 50px; /* Set a fixed width */
    text-align: center; /* Center-align the value within the fixed width */
    display: inline-block; /* Ensure the width is applied */
}

.table-container table {
    width: 50%; /* Set the same width for sliders and table */
    margin: 0 auto; /* Center the sliders and table */

}
.toggle-button {
    padding: 10px 20px;
    margin: 5px;
    font-size: 1em;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f4f4f4;
}

.toggle-button:hover {
    background-color: #ddd;
}

.toggle-button.active {
    background-color: #007BFF;
    color: white;
    border-color: #007BFF;
}


.table-container {
    text-align: center; /* Center the table content */
}

table {
    width: 50%;
    border-collapse: collapse; /* Remove double borders */
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

th, td {
    border: 1px solid #ddd; /* Add a light border */
    padding: 10px; /* Add padding for better spacing */
    text-align: center; /* Center-align text */
}

th {
    background-color: #f4f4f4; /* Light gray background for headers */
    color: #333; /* Darker text for headers */
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9; /* Alternate row background color */
}

tr:hover {
    background-color: #f1f1f1; /* Highlight row on hover */
}

h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.left-label {
    text-align: left;
    font-size: 1.1em;
}

.right-label {
    text-align: right;
    font-size: 1.1em;
}

.label-left{
    width: 120px;
}

.label-space {
    width: 25%; /* Set slider width to half the page */
}

td label {
    display: block; /* Makes the label fill the entire cell */
    height: 100%; /* Ensures it spans the cell height */
    width: 100%; /* Ensures it spans the cell width */
}

.present {
    display: inline-block;
    width: unset;
    text-align: left;
    font-size: 1.2em;
}

.user-info {
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Make the pop-up responsive to smaller screens */
    max-width: 400px; /* Set a maximum width for larger screens */
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-radius: 8px;
    overflow: auto; /* Add scrollbars if the content overflows */
    max-height: 90%; /* Ensure the pop-up doesn't exceed the screen height */
    padding: 0px;
}

.popup-header {
    background-color: #007BFF;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
}

.popup-content {
    padding: 10px;
    font-size: 1em;
    line-height: 1.5;
}

.close-popup {
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
}

.close-popup:hover {
    color: #ccc;
}

.vspace{
    margin-top: 20px;
}

.blue{
    background-color: #007BFF;
    color: white;
    font-weight: bold;
    text-align: center;
}

.left{
    text-align: left;
}
.right{
    text-align: right;
}

.flash-bg {
    background-color: yellow !important; /* The flashing color, !important ensures override */
}

.instructions{
    background-color: #eee;
    padding: 10px;
}