/* officer-nav.css — Officer Command Center navigation delineation.
   Bolt-on companion stylesheet (presentation only): the bundle renders the
   console nav as .admin-groups > .admin-group > (.admin-group-label +
   .admin-group-tabs > button[role=tab]) with the active item carrying
   class "active" / aria-selected="true". This sheet only restyles that
   structure — same groups, same items, same order, same destinations.
   Colors come from the app's theme variables (--accent, --accent-strong,
   --gold, --radius, --shadow) so Classic/Polished themes and the RPM
   club-color setting carry through automatically. */

.admin-console .admin-groups {
  gap: 10px;
  padding: 12px;
  border: 1px solid #2a343e;
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

/* Each category is its own delineated card inside the dark panel. */
.admin-console .admin-group {
  background: #182129;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
}

/* Category rail reads as a header: larger small-caps gold label on a
   subtly separated rail, with an accent tick down its left edge. */
.admin-console .admin-group-label {
  font-size: 12px;
  letter-spacing: .09em;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .045);
  border-right: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 3px 0 0 var(--accent);
}

/* Items are real navigation rows: delineated, bordered, with air around them. */
.admin-console .admin-group-tabs {
  gap: 6px;
  padding: 8px;
  align-items: center;
}
.admin-console .admin-group-tabs button {
  font-size: 15px;
  font-weight: 700;
  color: #dde5ea;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius);
  min-height: 44px;
  padding: 10px 14px;
}
.admin-console .admin-group-tabs button:hover {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .3);
  color: #fff;
}
.admin-console .admin-group-tabs button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* Active item: filled with the club/accent color, white text, and a gold
   leading tick — it follows the club-color setting automatically. */
.admin-console .admin-group-tabs button.active,
.admin-console .admin-group-tabs button[aria-selected="true"] {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
  font-weight: 900;
  box-shadow: inset 4px 0 0 var(--gold);
}
.admin-console .admin-group-tabs button.active:hover,
.admin-console .admin-group-tabs button[aria-selected="true"]:hover {
  background: var(--accent-strong, var(--accent));
  color: #fff;
}

/* Narrow screens: same rail-and-rows structure, tightened fit. */
@media (max-width: 560px) {
  .admin-console .admin-groups {
    padding: 8px;
    gap: 8px;
  }
  .admin-console .admin-group {
    grid-template-columns: 92px minmax(0, 1fr);
  }
  .admin-console .admin-group-label {
    font-size: 11px;
    padding: 8px 9px;
  }
  .admin-console .admin-group-tabs {
    padding: 6px;
    gap: 5px;
  }
  .admin-console .admin-group-tabs button {
    font-size: 14px;
    min-height: 42px;
    padding: 9px 10px;
  }
}
