/* ==========================================================================
   VIXY Hedge LP — shared dashboard header
   Used by header.php, which every dashboard page includes (login, signup,
   user dashboard, all admin screens). vx-* prefixed so none of it can collide
   with Bootstrap's .nav/.container or easilon.css's .main-header rules, both
   of which are still loaded on these pages.
   ========================================================================== */
.vx-wrap{width:min(1240px,92%);margin:auto}

.vx-topbar{
  background:#07111b;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:#c0cad2;
  font-size:.7rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  padding:.54rem 0;
}
.vx-topbar-inner{display:flex;justify-content:space-between;gap:1rem}

.vx-header{
  background:#07111b;
  border-bottom:1px solid rgba(255,255,255,.07);
}
.vx-nav{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 0;flex-wrap:wrap}

.vx-brand{
  font-family:Georgia,'Times New Roman',serif;
  letter-spacing:.16em;
  font-size:1.6rem;
  color:#fff!important;
  text-decoration:none!important;
  white-space:nowrap;
}
.vx-brand span{color:#c2a161!important;font-size:1.5em;line-height:0}

.vx-links{display:flex;align-items:center;gap:1.18rem;font-size:.83rem;flex-wrap:wrap}
/* :not(.vx-btn) — otherwise these out-rank .vx-btn:hover (0,2,1 beats 0,2,0)
   and the button's label turns gold on a gold background, i.e. invisible */
.vx-links>a:not(.vx-btn){color:#eef2f5!important;text-decoration:none!important;opacity:.93}
.vx-links>a:not(.vx-btn):hover{color:#c2a161!important}

.vx-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:.9rem 1.16rem;
  border:1px solid #c2a161;
  color:#eef2f5!important;
  text-transform:uppercase;
  font-size:.72rem;
  letter-spacing:.115em;
  white-space:nowrap;
  text-decoration:none!important;
  transition:.2s ease;
}
.vx-btn:hover{background:#c2a161;color:#07111b!important}

/* the dashboard pages ship <body class="p-4">; the header must still run
   edge to edge, so pull it out of that padding */
/* :not(.vixy-auth) because auth.css already zeroes the login pages' padding —
   applying the pull there would drag the topbar off the top of the viewport */
body.p-4:not(.vixy-auth)>.vx-topbar,
body.p-4:not(.vixy-auth)>.vx-header{margin-left:-1.5rem;margin-right:-1.5rem}
body.p-4:not(.vixy-auth)>.vx-header{margin-top:-1.5rem}
body.p-4:not(.vixy-auth)>.vx-header{margin-bottom:1.5rem}

@media(max-width:820px){
  .vx-topbar-right{display:none}
  .vx-topbar{font-size:.6rem;letter-spacing:.08em}
  .vx-nav{padding:.75rem 0}
  .vx-brand{font-size:1.2rem}
  /* on a phone the five links + button wrap into a tall stack and look
     broken; the dashboard pages carry their own in-page navigation */
  .vx-links>a:not(.vx-btn){display:none}
  .vx-btn{padding:.6rem .8rem;font-size:.62rem}
}

/* style.css lays the user auth pages out as a centred flex column; keep the
   header full width there instead of shrinking to its content */
.vx-header{align-self:stretch}

/* icon in front of the header wordmark */
.vx-brand{display:inline-flex;align-items:center}
.vx-brand-mark{width:40px;height:40px;flex:0 0 auto;border-radius:9px;margin-right:.7rem}
@media(max-width:820px){.vx-brand-mark{width:32px;height:32px;border-radius:7px}}
