/*
 * oTree Hub admin theme — Hub-specific overrides on top of brand.css.
 *
 * brand.css provides all the shared brand styling (tokens, buttons, tables,
 * forms, headings, etc.). This file only contains styling specific to the
 * Hub admin layout — primarily the navbar.
 *
 * Loaded after brand.css from base.html.
 */

/* Brand-purple navbar with green accent stripe along the bottom. */
.navbar.bg-dark,
nav.navbar.navbar-dark.bg-dark {
  background-color: var(--otree-purple) !important;
  border-bottom: 3px solid var(--otree-green);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.10);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  padding-left: 4px;
}

.navbar-dark .navbar-brand {
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  /* The hub-purple logo PNG has built-in transparent padding; cancel the
   * Bootstrap navbar-brand left padding so the visual edge sits flush. */
  padding-left: 0;
  margin-left: -8px;
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  transition: color 0.15s ease;
}
.navbar-dark .nav-link:hover,
.navbar-dark .nav-link:focus,
.navbar-dark .nav-link.active {
  color: var(--otree-green);
}
