/* Alviy brand colour scheme for Bootstrap 5 pages.
   Loaded only when a template sets `bootstrap5`, after bootstrap5.css.
   Fixes the near-white --bs-link-color inherited from the front build and
   aligns links with the brand green (--bs-primary: #4caf4f). */

:root,
[data-bs-theme="light"] {
  --bs-link-color: #4caf4f;
  --bs-link-color-rgb: 76, 175, 79;
  --bs-link-hover-color: #3d9140;
  --bs-link-hover-color-rgb: 61, 145, 64;
}

/* Dashboard sidebar (shared common/page_service_list.html).
   The container reuses .navbar, so Bootstrap makes the links faded
   (--bs-navbar-color) and zeroes their horizontal padding. Restore a
   readable colour, a consistent 1rem indent (matching the px-3 heading)
   and align the icon with the label. */
.sidebar-sticky .nav-link {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #263238;
}
.sidebar-sticky .nav-link svg {
  flex: 0 0 auto;
}
.sidebar-sticky .nav-link:hover,
.sidebar-sticky .nav-link:focus {
  color: #4caf4f;
}
.sidebar-sticky .nav-link.active {
  color: #4caf4f;
  font-weight: 600;
}