* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    margin: 2rem;
    line-height: 1.5;
}

main {
    /* max-width: 1280px; */
    margin: 0;
}

details {
    margin: 1rem 0;
    padding: 2rem;
    background: #f2f2f2;
    border-radius: 0.5rem;
    border: 1px solid #ccc;
}

details summary {
    cursor: pointer;
}

details[open] summary {
    margin: 0;
    margin-bottom: 2rem;
    font-weight: bold;
}

input,
button,
select,
a.button {
    padding: 0.25rem;
    border: 1px solid #ccc;
    border-radius: 0.5rem;
    outline: none;
    font-size: inherit;
    font-family: inherit;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background: rgba(173, 216, 230, 0.1);
}

select {
    cursor: pointer;
}

a.button,
button {
    padding: 0.5rem 1rem;
    background: rgb(217, 217, 225);
    color: rgb(54, 56, 61);
    cursor: pointer;
}

@media (hover: hover) {
    a.button:hover,
    button:hover {
        background: rgb(192, 198, 218);
    }
}

ul,
ol {
    margin: 2rem 0;
}

ul li {
    margin: 1rem 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: #333;
    color: #eee;

    padding: 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}

header button {
    background: #699;
    border: 1px solid #9ff;
    color: white;
}

header button:hover {
    background: #577;
}

.destructive {
    background: #f44;
}

.error {
    color: red;
}

.flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.flex-col {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
}

table {
    width: 100%;
    margin: 1rem 0;
    margin-bottom: 3rem;
    border-collapse: collapse;
    background-color: rgba(173, 216, 230, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

th {
    text-align: left;
    font-weight: bold;
    border-bottom: 2px solid black;
    background: rgba(0, 0, 0, 0.05);
}

tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.1);
}

tbody tr:hover {
    background-color: rgba(173, 216, 230, 0.1);
}

tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

td {
    padding: 0.5rem;
}

th {
    padding: 0.5rem 0.5rem;
    border: none;
}

ul,
ol {
    padding-left: 1rem;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

.no-text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subtle {
    opacity: 0.5;
}
