/* General styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Dosis', sans-serif;
    background-color: #181818;
    color: #fff;
    overflow: auto; /* Allow page scrolling */
}


header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #111;
}

.logo img {
    width: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.cards-grid {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: calc(100vh - 40px); /* Full height minus header */
    overflow: hidden; /* Prevents x-overflow */
}

.card {
    flex: 1;
    height: 100%;
    overflow-y: auto; /* Each card scrolls independently */
    background-color: #222;
    padding: 20px;
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
    border-right: 1px solid #333;
    scrollbar-width: thin;
    scrollbar-color: #555 #222;
}

.card:last-child {
    border-right: none;
}

.card h2 {
    font-size: 18px;
    margin-bottom: 10px;
    text-align: left;
}

.card small {
    text-align: left;
}

.card-body {
    text-align: left;
}

table {
    font-family: 'Dosis', sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}

.changelog-list dt {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

.changelog-list dd {
  margin-left: 1em;
  margin-bottom: 0.3em;
  list-style-type: disc;
  display: list-item;
}

/* ------------------------------
   Light Mode Overrides
------------------------------ */

#themeToggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 20px;
  cursor: pointer;
}

body.light-mode {
    background-color: #f5f5f5;
    color: #000;
}

body.light-mode header {
    background-color: #e0e0e0;
}

body.light-mode nav ul li a {
    color: #000;
}

body.light-mode .card {
    background-color: #fff;
    color: #000;
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

body.light-mode h1,
body.light-mode h2,
body.light-mode dd,
body.light-mode dt,
body.light-mode th,
body.light-mode td {
    color: #000;
}

body.light-mode .fa-solid {
    color: #000;
}

/* Default (Dark Mode) Colors */
.icon-added {
    color: lime;
}
.icon-changed {
    color: cyan;
}
.icon-fixed {
    color: yellow;
}

/* Light Mode Adjustments */
body.light-mode .icon-added {
    color: #2e7d32; /* darker green */
}

body.light-mode .icon-changed {
    color: #007c91; /* deeper teal */
}

body.light-mode .icon-fixed {
    color: #b28900; /* dark gold */
}

.fa-solid {
    transition: color 0.3s ease;
}
