#header {
    display: flex;
    align-items: center;
    gap: 2em;
    margin-bottom: 2em;
}

#dark-mode-toggle {
    margin-left: auto;
}

.dark-mode {
    background-color: #121212;
    color: #e0e0e0;
}

details {
    display: block;
    margin: 20px;
}

h2, summary {
    margin: 5px 0;
    display: inline-block;
    width: auto;
}

button {
    display: inline-block;
    padding: 5px 10px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
}

.dark-mode button {
    background-color: #444;
    color: #eee;
    border: 1px solid #666;
}

button:hover {
    background-color: #e0e0e0;
}
button:focus {
    outline: none;
}
button:active {
    background-color: #d0d0d0;
}
button:disabled {
    background-color: #f9f9f9;
    cursor: not-allowed;
}
.dark-mode button:hover {
    background-color: #555;
}
.dark-mode button:active {
    background-color: #333;
}
.dark-mode button:disabled {
    background-color: #555;
    color: #888;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 5px;
    border: 1px solid #ddd;
}
.dark-mode th, .dark-mode td {
    background-color: #121212;
    color: #e0e0e0;
}

.info {
    white-space: pre;
}

h3 {
    margin: 0;
}

img {
    height: max(2lh, 10px);
}

tr>:nth-child(2),tr>:nth-child(5),tr>:nth-child(9) {
    border-right: 3px solid #ccc;
}
.dark-mode tr>:nth-child(2),.dark-mode tr>:nth-child(5),.dark-mode tr>:nth-child(9) {
    border-right: 3px solid #fff;
}

tr>:not(:nth-child(1)) {
    text-align: center;
}

tbody>:nth-child(2n){
    background-color: #f4f4f4;
}
.dark-mode tbody>:nth-child(2n){
    background-color: #1a1a1a;
}

tbody>:nth-child(1) {
    background-color: #ddd;
}
.dark-mode tbody>:nth-child(1) {
    background-color: #333;
}