/* Universal Styling for Consistency */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h3 {
    text-align: center;
    margin-top: 20px;
}

h1 {
    font-size: 2.5rem;
    color: #444;
}

h3 {
    font-size: 1.5rem;
    color: #555;
}

a {
    color: #007BFF;
    text-decoration: none; /* Removes underline */
}

a:hover {
    color: #005BFF; /* Even darker color for hover effect */
    text-decoration: underline; /* Optional: add underline on hover for clarity */
}

/* Table Styling */
table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse; /* Ensure no double borders */
}

/* Header Styling */
table thead th {
    font-weight: bold;
    text-align: center;
    font-size: calc(0.5vh + 0.5vw);
    background-color: #007BFF; /* Light blue header for distinction */
    color: white;
    padding: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* Table Body Cells */
table tbody td {
    font-size: calc(0.5vh + 0.5vw);
}

/* Buttons Styling */
button {
    font-size: calc(0.5vh + 0.5vw);
    padding: 5px 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:active {
    background-color: #003f88;
    transform: translateY(0);
}

/* Center buttons inside the sorter */
table.sorter td {
    text-align: center;
}

/* Framework Table Container for Scrolling */
.framework-table-container {
    max-height: 75vh;
    overflow-y: auto;
    border: 1px solid #ccc; /* Add a light border for better definition */
    border-radius: 8px; /* Slightly rounded corners */
    margin: 20px auto; /* Center the container */
    background-color: white; /* White background for clarity */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

/* Scrollable vertical overflow with max height */
.td-scroll {
    height: 5vh; /* Set your desired maximum height */
    overflow-y: auto;  /* Enable vertical scrolling */
    white-space: normal; /* Allow text to wrap inside the div */
    display: block; /* Ensure the div behaves as a block element */
}

form {
    text-align: left;
}

/* Checkbox Styling */
.main-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */

}

.input-container {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center; /* Center elements horizontally */
    max-width: 30vw; /* Optional: Limit the container width */
    margin: 0 auto; /* Center the container on the page */
}

.checkbox-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Two equal columns */
}

.checkbox-item {
    display: flex;
    align-items: center;
}
