/* ---------- Dark Mode Theme ---------- */

:root {
    --bg: #0f1115;
    --panel: #171a21;
    --border: #2a2f3a;
    --text: #e6e6eb;
    --muted: #a0a4b8;
    --accent: #e6e6eb;
    --accent-hover: #79b7ff;
    --row-hover: #1f2430;
}

html, body {
    background-color: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Table */
table {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    border-collapse: collapse;
    background-color: var(--panel);
    border: 1px solid var(--border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

thead {
    background-color: #1b1f2a;
}

th, td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    color: #ffffff; /* brighter header text */;
}

th {
    font-weight: 600;
    color: #ffffff; /* brighter header text */;
}

/* Sort links */
th a {
    color: var(--accent);
    text-decoration: none;
}

th a:hover {
    color: var(--accent-hover);
}

/* Rows */
tbody tr:hover {
    background-color: var(--row-hover);
}

/* Zebra striping */
tbody tr:nth-child(even) {
    background-color: #151924;
}

/* Empty state */
td[colspan] {
    text-align: center;
    color: var(--muted);
}

/* Optional: smooth transitions */
* {
    transition: background-color 0.15s ease, color 0.15s ease;
}
{
.editing {
background-color:#32384a !important;
}
}