/* Shared header from the supplied complete redesign demo. */
.rd-topline {background:#0d1721;color:#d9e0e6;font-size:12px}
.rd-topline .rd-wrap {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  max-width:1280px;padding:7px 28px;
}
.rd-topline .rd-wrap>span:last-child {display:inline}
.rd-topline a {color:#e4c78e}
html[data-theme] .app-sidebar.starxbullion-header.rd-demo-header.navbar {
  --rd-header-gutter:max(28px,calc((100% - 1224px)/2));
  --starxbullion-brand-width:245px;
  position:sticky;top:0;z-index:60;display:grid;
  grid-template-columns:245px minmax(0,1fr) auto;align-items:center;gap:24px;
  width:100%;height:auto;min-height:82px;margin:0;padding:0 var(--rd-header-gutter);
  background:#101c29;color:#dce2e7;border:0;border-bottom:1px solid #ffffff18;
  border-radius:0;box-shadow:0 5px 28px #00000022;backdrop-filter:none;
}
/* Legacy Bootstrap clearfix pseudo-elements must not create extra grid rows. */
.app-sidebar.rd-demo-header::before,.app-sidebar.rd-demo-header::after {content:none;display:none!important}
.rd-demo-header .sidebar-brand {
  grid-column:1;grid-row:1;width:245px;max-width:100%;min-width:0;
  min-height:0;margin:0;padding:0;justify-content:flex-start;
}
.rd-demo-header .sidebar-brand-link {width:245px;max-width:100%;margin:0}
html[data-theme] .rd-demo-header .starxbullion-brand-lockup {height:80px}
html[data-theme] .rd-demo-header .starxbullion-navigation.navbar-collapse {
  grid-column:2;grid-row:1;width:100%;min-width:0;margin:0;padding:0;
  border:0;box-shadow:none;max-height:none;overflow:visible;
}
.rd-demo-header .starxbullion-menu.navbar-nav {
  display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;
  width:100%;gap:4px;margin:0;padding:0;
}
.rd-demo-header .starxbullion-menu.navbar-nav>li {width:auto;flex:none;margin:0}
.rd-demo-header [hidden] {display:none!important}
html[data-theme] .rd-demo-header :is(.starxbullion-menu-link,.starxbullion-menu-trigger) {
  display:inline-flex;align-items:center;justify-content:flex-start;gap:6px;
  width:auto;min-height:44px;margin:0;padding:10px 11px;
  background:transparent;color:#dce2e7;border:0;border-radius:8px;
  font-family:inherit;font-size:14px;line-height:1.65;font-weight:700;
  letter-spacing:0;white-space:nowrap;text-decoration:none;box-shadow:none;transform:none;
}
html[data-theme] .rd-demo-header :is(.starxbullion-menu-link,.starxbullion-menu-trigger):is(:hover,:focus-visible),
html[data-theme] .rd-demo-header .starxbullion-menu-link[aria-current="page"],
html[data-theme] .rd-demo-header .starxbullion-menu-trigger:is(.is-current,[aria-expanded="true"]) {
  background:#ffffff10;color:#e7c587;border-color:transparent;box-shadow:none;transform:none;
}
.rd-demo-header :is(.starxbullion-menu-icon,.starxbullion-link-icon) {display:none}
.rd-demo-header .rd-header-account {
  grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:flex-end;
  gap:10px;margin:0;padding:0;justify-self:end;
}
html[data-theme] .rd-demo-header .rd-header-account .auth-login {
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  min-height:44px;padding:10px 16px;background:#c6a268;color:#152333;
  border:1px solid #c6a268;border-radius:7px;font-size:14px;font-weight:800;box-shadow:none;
}
.rd-demo-header .rd-login-arrow {font-size:14px;line-height:1}
html[data-theme] .rd-demo-header .rd-header-account .auth-login:is(:hover,:focus-visible) {
  background:#d7b780;color:#152333;border-color:#d7b780;box-shadow:none;
}
html[data-theme] .rd-demo-header .rd-header-account .auth-logout {
  color:#ffc2bb;background:transparent;border:1px solid #af5450;border-radius:7px;
  min-height:44px;padding:10px 16px;box-shadow:none;
}
html[data-theme] .rd-demo-header .rd-header-account .auth-logout:is(:hover,:focus-visible) {
  color:#fff;background:#af5450;border-color:#af5450;box-shadow:none;
}
html[data-theme] .rd-demo-header .starxbullion-submenu {
  background:#fff;color:#182635;border:1px solid #e5e7e9;border-radius:12px;
  padding:8px;box-shadow:0 22px 50px #09121b4d;z-index:65;
}
html[data-theme] .rd-demo-header .starxbullion-submenu .starxbullion-menu-link {
  display:flex;width:100%;min-height:44px;padding:11px 12px;
  color:#182635;font-size:15px;white-space:normal;text-align:left;
}
html[data-theme] .rd-demo-header .starxbullion-submenu .starxbullion-menu-link:is(:hover,:focus-visible,[aria-current="page"]) {
  background:#f7f4ee;color:#1c2b3a;
}
.rd-header-settings {margin-top:8px;padding:12px;border-top:1px solid #e5e7e9}
.rd-header-settings-label {display:block;margin:0 0 10px;color:#5e6b76;font-size:11px;font-weight:700}
html[data-theme] .rd-demo-header .topbar-actions {
  display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;
  gap:8px;margin:0;padding:0;
}
html[data-theme] .rd-demo-header .topbar-actions .theme-toggle {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  width:44px;min-width:44px;height:44px;min-height:44px;padding:10px;
  background:transparent;color:#e4c78e;border:1px solid #ffffff45;border-radius:7px;
  font-family:inherit;font-size:14px;font-weight:700;line-height:1.5;white-space:nowrap;
}
html[data-theme] .rd-demo-header .topbar-actions .theme-toggle:hover {background:#ffffff10;border-color:#c6a268}
.rd-demo-header .theme-mode-icon {display:block;width:22px;height:22px;flex:none}
@media(prefers-reduced-motion:no-preference) {
  .rd-demo-header .theme-mode-icon {transition:transform .18s ease}
  .rd-demo-header .theme-toggle:hover .theme-mode-icon {transform:rotate(10deg)}
}
html[data-theme] .rd-demo-header .topbar-actions .rd-motion-toggle .starxbullion-link-icon {display:inline-block}
.rd-demo-header .rd-motion-toggle::after {content:"Effects"}
html[data-theme] .rd-demo-header :is(a,button):focus-visible {outline:2px solid #c6a268;outline-offset:3px}
html[data-theme] .rd-demo-header .starxbullion-nav-toggle {display:none}
@media(min-width:1181px) {
  html[data-theme] .rd-demo-header .starxbullion-navigation.collapse,
  html[data-theme] .rd-demo-header .starxbullion-navigation.collapsing {display:block!important;height:auto!important;overflow:visible}
}
@media(max-width:1180px) {
  html[data-theme] .app-sidebar.starxbullion-header.rd-demo-header.navbar {
    --rd-header-gutter:28px;--starxbullion-brand-width:215px;
    grid-template-columns:minmax(0,1fr) auto auto;column-gap:10px;row-gap:0;
  }
  .rd-demo-header .sidebar-brand,.rd-demo-header .sidebar-brand-link {width:215px}
  .rd-demo-header .rd-header-account {grid-column:2;grid-row:1}
  html[data-theme] .rd-demo-header .starxbullion-nav-toggle {
    grid-column:3;grid-row:1;display:flex;align-items:center;justify-content:center;
    width:44px;min-width:44px;min-height:44px;height:44px;margin:0;padding:10px;
    border:1px solid #ffffff45;border-radius:7px;background:transparent;color:#fff;
    justify-self:end;
  }
  .rd-demo-header .starxbullion-nav-toggle>span:last-child {display:none}
  .rd-demo-header .navbar-toggler-icon {display:flex;flex-direction:column;justify-content:center;gap:4px;width:20px;height:20px}
  .rd-demo-header .navbar-toggler-icon>span {width:20px;height:2px;background:currentColor}
  html[data-theme] .rd-demo-header .starxbullion-navigation.navbar-collapse {
    grid-column:1/-1;grid-row:2;width:calc(100% + var(--rd-header-gutter) * 2);
    max-width:none;min-width:0;margin:0 calc(-1 * var(--rd-header-gutter));
    padding:0;background:#152332;border-top:1px solid #ffffff22;
    max-height:72vh;max-height:min(72dvh,calc(100dvh - 114px));overflow-y:auto;overscroll-behavior:contain;
  }
  html[data-theme] .rd-demo-header .starxbullion-navigation.collapse:not(.show) {display:none!important}
  html[data-theme] .rd-demo-header .starxbullion-navigation.collapse.show {display:block!important;overflow-y:auto!important}
  html[data-theme] .rd-demo-header .starxbullion-navigation.collapsing {display:block!important;height:auto!important;overflow:hidden;transition:none}
  .rd-demo-header .starxbullion-menu.navbar-nav {display:flex;flex-direction:column;align-items:stretch;gap:0;padding:12px 26px}
  .rd-demo-header .starxbullion-menu.navbar-nav>li {width:100%;min-width:0}
  html[data-theme] .rd-demo-header .starxbullion-menu-link,
  html[data-theme] .rd-demo-header .starxbullion-menu-trigger {
    display:flex;width:100%;min-height:44px;padding:11px;
    color:#f4f4f4;font-size:15px;border-bottom:1px solid #ffffff15;border-radius:0;
  }
  html[data-theme] .rd-demo-header .starxbullion-submenu {
    position:static;width:auto;max-width:100%;max-height:none;margin:0;padding:0 0 8px 12px;
    background:#152332;color:#f4f4f4;border:0;border-radius:0;box-shadow:none;overflow:visible;
  }
  html[data-theme] .rd-demo-header .starxbullion-submenu .starxbullion-menu-link {color:#dce2e7}
  html[data-theme] .rd-demo-header .starxbullion-submenu .starxbullion-menu-link:is(:hover,:focus-visible,[aria-current="page"]) {background:#ffffff10;color:#e7c587}
  .rd-demo-header .rd-header-settings {padding:16px 11px;border-color:#ffffff22}
  .rd-demo-header .rd-header-settings-label {color:#bdc9d2}
}
@media(max-width:780px) {
  .rd-topline .rd-wrap {display:block;text-align:center}
  .rd-topline .rd-wrap>span:last-child {display:none}
}
@media(max-width:520px) {
  .rd-topline .rd-wrap {padding-inline:18px}
  html[data-theme] .app-sidebar.starxbullion-header.rd-demo-header.navbar {
    --rd-header-gutter:18px;--starxbullion-brand-width:175px;
    grid-template-columns:minmax(0,1fr) 44px;min-height:70px;column-gap:8px;
  }
  .rd-demo-header .sidebar-brand,.rd-demo-header .sidebar-brand-link {width:175px}
  html[data-theme] .rd-demo-header .starxbullion-brand-lockup {height:68px}
  html[data-theme] .rd-demo-header .starxbullion-nav-toggle {grid-column:2}
  .rd-demo-header .rd-mobile-account {padding-top:12px}
  .rd-demo-header .rd-mobile-account .rd-header-account {display:flex;width:100%;margin:0}
  html[data-theme] .rd-demo-header .rd-mobile-account .rd-header-account :is(.auth-login,.auth-logout) {width:auto;flex:1;border-radius:7px}
}
