/* Reset & layout */
* {box-sizing: border-box; margin: 0; padding: 0;}
html,body {height: 100%; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;}

/* Header (fixed) */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px; /* doubled from 60px */
  background: #0b74da;
  color: #fff;
  display: flex;
  align-items: center; /* keeps items vertically centered within 120px */
  padding: 0 8px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}
header .brand {font-weight: 600; font-size: 24px;}
header nav {margin-left: auto;}
header nav a {color: #fff; text-decoration: none; margin-left: 12px; font-size: 14px; opacity: 0.95;}
header nav a:hover {opacity: 1; text-decoration: underline;}

/* Page layout */
.container {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  padding: 20px;
  padding-top: 140px; /* space for fixed 120px header + 20px breathing room */
  min-height: calc(100vh - 140px);
}

/* Sidebar (fixed-ish within flow) */
aside.sidebar {
  position: sticky;
  top: 140px; /* stick below 120px header + 20px gap */
  align-self: start;
  background: #f7f9fc;
  border: 1px solid #e3e7ee;
  border-radius: 8px;
  padding: 12px;
  height: fit-content;
  text-align: center;
}

.links {list-style: none;}
.links li + li {margin-top: 8px;}
.links a {
  display: block;
  padding: 8px 10px;
  color: #0b3a66;
  text-decoration: none;
  border-radius: 6px;
  transition: background .12s, color .12s;
}
.links a:hover {background: #E82323; color: #04263a;}

/* Main content */
main {
  background: #fff;
  border: 1px solid #e7ecf2;
  border-radius: 8px;
  padding: 18px;
  line-height: 1.6;
  box-shadow: 0 1px 4px rgba(16,24,40,0.03);
}

/* Responsive: collapse sidebar under 760px */
@media (max-width: 760px) {
  .container {grid-template-columns: 1fr; padding: 16px; padding-top: 136px;} /* keep responsive spacing */
  aside.sidebar {position: relative; top: 0; margin-bottom: 12px;}
  header {height: 120px;} /* smaller mobile header kept */
}

html, body {
  height: 100%;
  background: #000;        /* page background */
  color: #000;             /* default text color */
}
