/* ===== Header + Theme Vars (shared) ===== */
:root{
  --bg:#0d0f12;
  --panel:#0f141d;
  --text:#e9eef5;
  --muted:#b6c2d0;
  --line:#1b2230;
  --accent:#7fc4ff;

  --header-bg:#214fe0;
  --footer-bg:#214fe0;
  --body-bg:#0d0f12;

  --header-h:52px;
  --inner-w:1200px;
}

/* Solid royal-blue header + solid black body */
.theme-royal-on-black{
  --header-bg:#214fe0;
  --footer-bg:#214fe0;
  --body-bg:#252526;

  --bg:214fe0;
  --panel:#000000;
  --text:#e9eef5;
  --muted:#a8b2c2;
  --line:#0019a0;
  --accent:#7fc4ff;
}

/* kill stray page margins */
html, body{ margin:0; padding:0; }

/* ===== Header bar ===== */
.top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  height: var(--header-h);
  padding: 0 16px;
  background: var(--header-bg);
  border-bottom:1px solid var(--line);
}

.brand{
  display:flex; align-items:center; gap:10px;
  color: var(--text);
  text-decoration:none;
  line-height:1;
}
.brand-logo{ height:30px; width:auto; display:block; }

/* login button inside header */
.top .login{
  background: transparent;
  color:#ffffff;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.6);
  padding:10px 14px;
  border-radius:8px;
  font-weight:600;
  transition: background .15s ease, border .15s ease, transform .03s ease;
}
.top .login:hover{
  background: rgba(255,255,255,.12);
  border-color:#ffffff;
}
.top .login:active{ transform: translateY(1px); }
