/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Header - Match Background Color to Page */
header {
    text-align: center;
    padding: 2px 0;
    background-color: #f8f8f8; /* Match the page background */
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0px;
}

/* Bottom-align table headers */
th {
    vertical-align: bottom;
	text-align: center;
}

/* Overview Section */
.overview {
    text-align: center;
    padding: 0px;
    font-size: 1rem;
}

.timestamp {
    font-style: italic;
    color: #0066cc;
    font-size: 0.9rem;
}

/* Filters */
.filters {
    text-align: center;
    padding: 10px;
}

.filter-btn {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 15px;
    margin: 3px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* Table */
.case-table {
    width: 90%;
    margin: 20px auto;
    overflow-x: auto;
    background: #fff;
    border-radius: 6px;
    padding: 10px;
    box-shadow: 0px 2px 10px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
}

thead {
    background: #f1f1f1;
    font-weight: bold;
}

tbody tr:nth-child(odd) {
    background: #fafafa;
}

a {
    color: #0066cc;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* Notes Section */
.notes {
    background: #ffffe0;
    padding: 15px;
    width: 80%;
    margin: 20px auto;
    text-align: left;
    border-top: 1px solid #ddd;
    border-radius: 6px;
}

.sub-section {
    margin-bottom: 15px;
}

.sub-section h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

/* Footer */
footer {
    text-align: center;
    padding: 15px;
    background: #f1f1f1;
    font-size: 0.9rem;
}

footer nav {
    padding-bottom: 5px;
}

footer nav a {
    margin: 0 10px;
    color: #0066cc;
    text-decoration: none;
}

footer nav a:hover {
    text-decoration: underline;
}

/* Wrap filter and buttons inside a flex container */
.filters {
    display: flex;
    align-items: center;
    justify-content: center; /* Keep buttons centered */
    flex-wrap: wrap;
    gap: 10px; /* Space between elements */
    position: relative; /* Allows finer positioning */
    max-width: 90%; /* Ensures alignment within the content area */
    margin: auto; /* Keeps the section centered */
}

/* Move input filter to the right inside the filters section */
#table-filter {
    margin-left: auto; /* Pushes filter input to the right */
    padding: 8px 12px;
    font-size: 0.9rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 220px;
    transition: border-color 0.2s ease-in-out;
}

#table-filter:focus {
    border-color: #0066cc;
    outline: none;
}