body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: sans-serif;
    font-size: 16px;
    padding: 10px;
    margin: 0;
}

h1 {
    color: #ffffff;
}

th, td {
    border: 1px solid #444;
    padding: 10px;
    text-align: left;
}

th {
    background-color: #1f1f1f;
}

tr:nth-child(even) {
    background-color: #1a1a1a;
}

tr:nth-child(odd) {
    background-color: #161616;
}

table {
    border-collapse: collapse;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease-in-out;
}

thead th {
    position: sticky;
    top: 0;
    background: #222; /* Dark background for headings */
    color: #eee;       /* Light text */
    z-index: 1;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #444;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Style the body rows a bit */
tbody td {
    padding: 8px;
    border-bottom: 1px solid #333;
    color: #ddd; /* Light gray text for rows */
}

th, td {
    white-space: nowrap;
}

tbody tr:hover {
    background-color: #333;
    cursor: default;
}

tr.stale {
    opacity: 0.6;
}

tr.hidden-by-checkbox {
  display: none !important;
}

tr.hidden-by-stale-checkbox {
  display: none !important;
}

input[type="checkbox"], input[type="text"] {
    background-color: #1f1f1f;
    color: #e0e0e0;
    border: 1px solid #444;
    padding: 4px;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    gap: 10px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.search-box input[type="text"] {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #444;
    background-color: #1f1f1f;
    color: #e0e0e0;
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 1.5em;
    }

    th, td {
        padding: 6px;
    }

    input[type="text"], label {
        font-size: 14px;
    }
}