/* ===== Global Typography & Layout ===== */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
}

/* ===== Main Content ===== */
main {
  flex: 1;
  padding: 2em;
}

/* ===== Links ===== */
a {
  word-break: break-word;
  white-space: normal;
  text-decoration: none;
}

p a {
  display: inline !important;
  color: #0366d6;
}

/* ===== Header & Footer ===== */
.site-header {
  background-color: #e6f2fb;
  border-bottom: 1px solid #cce0f5;
  padding: 1.5rem;
  font-weight: bold;
}

.site-footer {
  background-color: #e6f2fb;
  border-top: 1px solid #cce0f5;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #555;
  margin-top: 4rem;
}

/* ===== Sidebar ===== */
.sidebar {
  width: 240px;
  background: #f4f4f4;
  padding: 1em;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Logo in sidebar */
.sidebar img.logo {
  display: block;
  margin: 0 auto 1em;
  max-width: 100px; 
  height: auto;
}

/* Sidebar navigation links */
.sidebar a {
  display: block;
  color: #000;
  padding: 4px 6px;
  margin: 4px 0;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.sidebar a:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* Active link (remove blue highlight completely) */
.sidebar a.active {
  font-weight: bold;
  color: #000 !important;
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ===== Tables ===== */
table {
  width: auto;
  border-collapse: collapse;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 0.6rem 1rem;
  text-align: left;
}

table th {
  background-color: #f2f2f2;
}
