/* Global */
body,
a {
    font-family: Arial, sans-serif;
}

body {
    margin: 2px;
}

h1 {
    margin-bottom: 16px;
}
h2 {
    text-align: left;
    padding: 5px;
    background: #111827;
    color: #fff;
}
li {
    padding: 3px;
}

/* Inputs */
select,
input,
button {
    margin: 8px 0;
    padding: 12px;
    font-size: 18px;
    min-height: 48px;
}

button {
    margin-bottom: 20px;
    border: none;
    background: #111827;
    color: #fff;
    cursor: pointer;
    border-radius: 6px;
}

button:hover {
    background: #374151;
}

/* Tabs */
.tabs {
    display: flex;
    gap: 0;
}

.tabs button {
    margin: 0;
    border-radius: 0;
}

.tab-content {
    margin-top: 20px;
}

.admin {
    display: flex;
    gap: 0px;
}

.btn {
    font-size: 18px;
    display: inline-block;
    padding: 12px 20px;
    background: #ffd000;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

.btn:hover {
    background: #e4ba00;
}

/* Layout */
.row {
    margin-bottom: 12px;
}

/* Log */
#log {
    white-space: pre-wrap;
    background: #111;
    color: #0f0;
    padding: 10px;
}

/* Collapsible Sections */
.collapsible {
    width: 100%;
    padding: 18px;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    background: #111827;
    color: #fff;
}

.active,
.collapsible:hover {
    background: #374151;
}

.content {
    display: none;
    overflow: hidden;
    padding: 0 18px;
    background: #374151;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 10%);
}

th,
td {
    padding: 12px;
}

th {
    text-align: left;
    background: #111827;
    color: #fff;
}

td {
    border-bottom: 1px solid #eee;
}

tr:hover {
    background: #f3f4f6;
}

/* Misc */
.tag {
    font-weight: bold;
}

.loading {
    text-align: center;
    color: #666;
}

/* Mobile */
@media (max-width: 768px) {
    body {
        margin: 10px;
        font-size: 18px;
    }

    h1,
    h2 {
        font-size: 28px;
    }

    select,
    input,
    button {
        width: 100%;
        font-size: 20px;
        min-height: 56px;
        box-sizing: border-box;
    }

    th,
    td {
        padding: 16px 8px;
        font-size: 16px;
    }

    .content {
        padding: 10px;
    }
}
