/* Custom styles for Diginsight Components */

/* Add lightbulb icon to navbar title - Use :first-child to prevent duplication */
.navbar-brand:first-child::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background-image: url("diginsight.bulb.svg");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: middle;
  margin-right: 8px;
  margin-left: 0px;
}

/* Remove the Unicode circle from the title text */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: 500;
  color: inherit !important;
}

/* Fix hover color issue - ensure navbar title stays white */
.navbar-brand:hover {
  color: inherit !important;
  text-decoration: none;
}

/* Ensure proper spacing and alignment */
.navbar-brand .navbar-title {
  display: inline-block;
  vertical-align: middle;
}

/* For dark themes, ensure the icon remains white */
html[data-bs-theme="dark"] .navbar-brand {
  color: white !important;
}

html[data-bs-theme="dark"] .navbar-brand:hover {
  color: white !important;
}
