/*
 * NuMe theme, loaded for NuMe only (via brands/nume/_partials/brand-head).
 * The primary colour itself comes from BRAND_PRIMARY_COLOR=#211A52, which
 * Sneat turns into --bs-primary everywhere. This file only covers what the
 * theme does not take from --bs-primary.
 *
 * Selectors start with "html body" so they win over assets/css/custom.css,
 * which loads later in the page.
 *
 * Brand tokens: indigo #211A52, cream #FFF9EF, lavender #DDD9F2,
 * peach #F2D1C2, sage #A2BA97.
 */

:root {
  --nume-indigo: #211a52;
  --nume-indigo-hover: #2d2470;
  --nume-cream: #fff9ef;
  --nume-lavender: #ddd9f2;
  --nume-peach: #f2d1c2;
  --nume-sage: #a2ba97;
}

/* Sidebar logo: full "nume." wordmark when open, only the "n" mark when collapsed */
html:not(.layout-menu-collapsed) body .layout-menu .app-brand-logo .nume-mark { display: none !important; }
html body .layout-menu .app-brand-text { margin-left: 0 !important; }

/* Sidebar active item */
html body .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  background-color: var(--nume-lavender) !important;
  color: var(--nume-indigo) !important;
}
html body .bg-menu-theme .menu-inner > .menu-item.active:before {
  background-color: var(--nume-indigo) !important;
}
html body .bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle) {
  color: var(--nume-indigo) !important;
}

/* Buttons and labels that custom.css may colour with the EDM green */
html body .btn-primary {
  background-color: var(--nume-indigo) !important;
  border-color: var(--nume-indigo) !important;
  color: #fff !important;
}
html body .btn-primary:hover,
html body .btn-primary:focus {
  background-color: var(--nume-indigo-hover) !important;
  border-color: var(--nume-indigo-hover) !important;
}
html body .btn-outline-primary {
  color: var(--nume-indigo) !important;
  border-color: var(--nume-indigo) !important;
}
html body .btn-outline-primary:hover {
  background-color: var(--nume-indigo) !important;
  color: #fff !important;
}
html body .bg-label-primary,
html body .btn-label-primary {
  background-color: var(--nume-lavender) !important;
  color: var(--nume-indigo) !important;
}
html body .text-primary { color: var(--nume-indigo) !important; }
html body .bg-primary { background-color: var(--nume-indigo) !important; }

/* Tabs and pagination */
html body .nav-pills .nav-link.active {
  background-color: var(--nume-indigo) !important;
}
html body .page-item.active .page-link {
  background-color: var(--nume-indigo) !important;
  border-color: var(--nume-indigo) !important;
}

/* Paste any NuMe styling from the old clone's assets/css/custom.css below,
   with "html body " in front of each selector. */