body {
    max-width: unset;
    margin: 1rem;
}

table {
    table-layout: auto;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.nav-wrapper h1 {
    margin: 0;
    font-size: 1.5rem;
    color: gray;
}

nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

nav.pages a {
    font-size: 1.375rem;
    font-weight: 500;
    padding-right: 1rem;
    color: lightgray;
}

nav.pages a.current {
    color: black
}

td.actions,
nav.actions {
    display: flex;
    justify-content: end;
    gap: 0.25rem
}

td.actions a,
nav.actions a {
    border-radius: 5px;
    background-color: #f1f1f1;
    padding: 0.25rem 0.375rem;
    width: fit-content;
}

td.actions a:hover,
nav.actions a:hover {
    text-decoration: none;
    background-color: #e3e3e3;
}

@media (prefers-color-scheme: dark) {
    td.actions a,
    nav.actions a {
        background-color: #161f27;
    }

    td.actions a:hover,
    nav.actions a:hover {
        background-color: #1a242f;;
    }

    nav.pages a {
        color: var(--text-muted);
    }

    nav.pages a.current {
        color: var(--text-bright);
    }
}

ul#search-results {
    padding: 0;
}

ul#search-results li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
}

ul#search-results li:nth-child(odd) {
    background-color: var(--background);
}

.pill {
    padding: 10px;
    border-radius: 5px;
}

.pill.green {
    background-color: #c0dea5;
}

.pill.red {
    background-color: #ee9999;
}

span.indicator {
    border-radius: 999px;
    background-color: gray;
    height: 0.625rem;
    width: 0.625rem;
    display: inline-block;
}

span.indicator.red {
    background-color: red;
}span.indicator.green {
    background-color: green;
}