/* header.css — 10.1 */
:root{
  --pc-bg:#1a1212; --pc-surface:#121826; --pc-muted:#9aa4b2; --pc-text:#e6ebf5;
  --pc-line:#1e2635; --pc-danger:#e10600; --pc-accent:#e10600; --radius:12px;
}
*{box-sizing:border-box}
html,body{
  margin:0; padding:0;
  background:#0a0d14; color:var(--pc-text);
  font-size:16px; line-height:1.6;
  font-family:'Manrope', Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
}
a{color:#c9d4ff; text-decoration:none}
a:hover{text-decoration:underline}

/* Top bar */
.pc-header__bar{
  position:sticky; top:0; z-index:1000;
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 18px;
  border-bottom:1px solid var(--pc-line);
  background:linear-gradient(180deg, rgba(13,17,26,.95), rgba(13,17,26,.8));
  backdrop-filter:saturate(140%) blur(8px);
}
.pc-brand{display:flex; align-items:center; gap:12px; color:var(--pc-text); text-decoration:none}
.pc-brand__mark{
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:1rem; color:var(--pc-danger);
  width:32px; height:32px; border:2px solid var(--pc-danger); border-radius:50%;
}
.pc-brand__name{font-weight:700; letter-spacing:.07em}
.pc-header__actions{display:flex; gap:10px; align-items:center}
.pc-chip,.pc-icon-btn{
  border:1px solid var(--pc-line); border-radius:10px;
  background:#141a28; color:var(--pc-text);
}
.pc-chip{padding:6px 10px}
.pc-icon-btn{display:inline-grid; place-items:center; width:38px; height:38px; cursor:pointer}










/* Drawer (right) */




















/* Drawer (right) */
.pc-drawer{
  position:fixed; top:0; right:0; bottom:0;
  width:320px;
  transform:translateX(100%); transition:transform .25s ease;
  z-index:1100;
  background:#0f141f;
  border-left:1px solid var(--pc-line);
  box-shadow:-32px 0 80px rgba(0,0,0,.5);
}
.pc-drawer[aria-hidden="false"]{transform:translateX(0)}
.pc-drawer__header{
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 16px; border-bottom:1px solid var(--pc-line);
}
.pc-drawer__close{
  background:#141a28; border:1px solid var(--pc-line);
  color:var(--pc-text); border-radius:8px;
  padding:6px 10px; cursor:pointer;
}

/* Drawer nav layout (scrollable middle + fixed bottom) */
.pc-drawer__nav{
  position:relative;
  height:calc(100% - 54px); /* drawer header height approx */
  display:flex; flex-direction:column;
  padding:0 10px 10px 10px;
}
.pc-drawer__scroll{
  flex:1;
  overflow-y:auto;
  padding:14px 0 8px 0;
}
.pc-drawer__list{
  list-style:none; margin:0;
  padding:6px 0 12px;
  display:flex; flex-direction:column; gap:4px;
}

/* Generic menu button styles (used for groups) */
.pc-menu{list-style:none; margin:0; padding:6px; width:100%}
.pc-menu > li{margin:4px 0}
.pc-menu a,.pc-menu__toggle{
  width:100%; text-align:left;
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 12px;
  border-radius:10px; border:1px solid transparent;
  background:transparent; color:#dfe6f7;
  font-weight:600; font-size:1rem; cursor:pointer;
}
.pc-menu a:hover,.pc-menu__toggle:hover{background:#131a2a; border-color:var(--pc-line)}
.pc-menu a.active{outline:2px solid rgba(225,6,0,.55); border-radius:12px}

/* Drawer submenu offset & transition */
.pc-drawer__nav .pc-sub{
  display:none;
  margin:6px 0 0 0; padding-left:18px;
  border-left:1px solid #e5e7eb;
  transform:translateX(12px); transition:transform .18s ease, opacity .18s ease; opacity:0;
}
.pc-drawer__nav .pc-sub.open{display:block; transform:translateX(24px); opacity:1}
.pc-drawer__nav .pc-menu__toggle{display:flex; align-items:center; justify-content:space-between; width:100%}
.pc-drawer__nav .pc-menu__toggle::after{content:"›"; opacity:.7}

/* Drawer special items: Home at top */
.pc-drawer__nav .pc-home-item{margin:6px 6px 10px}
.pc-drawer__nav .pc-home-item > a{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 14px; border-radius:12px;
  border:1px solid var(--pc-line);
  background:linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  font-weight:800; color:#fff; text-decoration:none;
}
.pc-drawer__nav .pc-home-item > a:hover{background:#151d2b; border-color:#2a344a}

/* Secure Login fixed at bottom of drawer */
.pc-drawer__bottom{
  padding:20px 0 40px 0;
  border-top:1px solid var(--pc-line);
}








.pc-login-bottom{
  display:flex; align-items:center; gap:10px;
  padding:20px 12px; border-radius:6px;
  text-decoration:none; font-weight:800; font-size:.95rem;
  color:#e9eefb;
  background:linear-gradient(135deg, rgba(225,6,0,.16), rgba(225,6,0,.32));
  border:1px solid rgba(225,6,0,.55);
  box-shadow:0 10px 26px rgba(225,6,0,.28);
}
.pc-login-bottom:hover{
  background:linear-gradient(135deg, rgba(225,6,0,.24), rgba(225,6,0,.42));
  box-shadow:0 14px 34px rgba(225,6,0,.36);
}
.pc-login-bottom__icon{
  display:inline-grid; place-items:center;
  width:26px; height:26px;
  border-radius:999px;
  background:rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.24);
  flex-shrink:0;
}
.pc-login-bottom__icon svg{width:16px; height:16px}
.pc-login-bottom__label{letter-spacing:.05em; text-transform:uppercase}













/* Submenus: right-floating on desktop + indented on mobile */
.pc-sub{
  list-style:none;
  margin:0;
  padding:0;
  display:none;
}
.pc-sub li{margin:0}
.pc-sub a{
  display:block;
  padding:10px 14px;
  white-space:nowrap;
  color:#e3e9f8;
  font-size:.95rem;
  font-weight:500;
}
.pc-sub a:hover{
  background:#151d2b;
  border-radius:6px;
}

/* Desktop: dropdown panel floating off parent item */
@media (min-width:961px){
  .pc-sub{
    position:absolute;
    min-width:240px;
    border:1px solid var(--pc-line);
    border-radius:10px;
    background:#0f141f;
    box-shadow:0 4px 20px rgba(0,0,0,.35);
    padding:8px 0;
    z-index:1200;
    overflow:visible;         /* no inner scrollbars on the submenu itself */
  }
}

/* Mobile: nested under parent in drawer, no floating, no scrollbars */
@media (max-width:960px){
  .pc-sub{
    position:static;
    padding-left:20px;
    background:transparent;
    border:0;
    box-shadow:none;
    overflow:visible;
  }
  .pc-sub a{
    padding-left:10px;
  }
}

























