/* Redcup OS admin — top-center nav instead of the left sidebar */

/* A centered, sticky top navigation bar injected by topnav.js */
#rc-topnav {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  margin: 0 0 14px;
  background: #26211E;               /* espresso */
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .6);
}

/* Centered link group */
#rc-topnav .rc-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
#rc-topnav a {
  color: #D8D2CA;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 9px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
#rc-topnav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
#rc-topnav a.active { background: #C42E21; color: #fff; }

/* Right-aligned controls: theme toggle + sign out */
#rc-topnav .rc-right {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
}
#rc-topnav .rc-icon {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 9px;
  background: rgba(255, 255, 255, .08);
  color: #D8D2CA;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  transition: background .15s;
}
#rc-topnav .rc-icon:hover { background: rgba(255, 255, 255, .18); }
#rc-topnav .rc-out {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 9px;
  background: none;
  color: #D8D2CA;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: background .15s, color .15s;
}
#rc-topnav .rc-out:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Hide the sidebar immediately (JS collapses its reserved column width) */
#nav-sidebar { display: none !important; }
/* Give the content full width now that the sidebar is gone */
#main { min-width: 0 !important; }
