:root {
  /* Colors */
  --bg-base: #121212; /* Deep charcoal for the main background */
  --bg-surface: #1e1e1e; /* Slightly lighter for the sidebar and cards */
  --text-primary: #f8f8f8; /* Off-white for high readability */
  --text-secondary: #adb5bd; /* Muted gray for table headers and minor text */
  --accent-primary: #e63946; /* Racing Red for active states and primary buttons */
  --border-color: #343a40; /* Subtle borders to separate sections */

  /* Typography */
  --font-main: "Inter", system-ui, sans-serif;
}

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

body {
  /* Style elements */
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-main);

  /* Display elements */
  display: grid;
  grid-template-columns: 250px 1fr;
  grid-template-rows: 60px 1fr;
  min-height: 100vh;
}

header {
  grid-column: 1 / -1;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);

  /* Flexbox for internal alignment */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

aside {
  background-color: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  padding: 20px;
}

aside a {
  display: block;
  padding: 10px 15px;
  color: var(--text-primary);
  text-decoration: none;
  margin-bottom: 5px;
  border-radius: 4px;
}

aside a:hover {
  background-color: var(--border-color);
}

main {
  padding: 30px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  /*border: 5px solid var(--border-color);
   */
}

th,
td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

th {
  column: var(--text-secondary);
  font-weight: 500;
}
