#ui.v3 yon-app-toolbar {
  > nav {
    background-color: transparent;
    position: relative;
    line-height: 40px;
    padding-top: calc((var(--layout-toprow-height) - 40px) / 2);
  }
  .mr-3 {
    margin-right: 0;
  }
  .app-toolbar__links-wrapper.navbar-nav {
    display: flex;
  }
  a.app-toolbar__logo-wrapper.navbar-brand {
    display: none;
  }
  span.mdc-button__label {
    text-align: right;
    padding-right: 30px;
    line-height: 37px;
    margin-right: 10px;
  }
  yon-profile-options button:after,
  yon-legal-entity-selector button:after,
  yon-notification:after {
    content: url('https://younium-ui.pages.dev/icons/person-circle-outline.svg');
    opacity: 0.48;
    width: 30px;
    height: 30px;
    display: inline-block;
    position: absolute;
    top: 0px;
    opacity: 1;
  }
  yon-legal-entity-selector button:after {
    content: url('https://younium-ui.pages.dev/icons/caret-down-circle-outline.svg');
  }
  yon-notification:after {
    content: url('https://younium-ui.pages.dev/icons/notifications-circle-outline.svg');
    display: block;
    position: absolute;
    right: 11px;
    top: 5px;
    z-index: 1;
  }
  yon-profile-options {
    width: 33px;
    button {
      opacity: 0;
    }
  }
  yon-profile-options button,
  yon-legal-entity-selector button {
    width: 23px;
    background-color: transparent !important;
    opacity: 1;
    display: inline-block;
    min-width: 30px;
  }
  yon-legal-entity-selector {
    margin-right: 10px !important;
    .tenant-label,
    .crumb-icon {
      display: inline-block;
      line-height: 32px;
    }
    .tenant-label {
      max-width: 120px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      vertical-align: middle;
    }
    button.mat-mdc-menu-trigger.app-toolbar-dropdowns__button {
      padding-right: 0;
      padding-left: 0;
    }
    button {
      width: auto !important;
      span.app-toolbar-dropdowns__subtitle {
        color: var(--color-font-a);
        font-size: 14px;
        /* color: var(--color-mono-contrast-medium); */
        width: auto;
        max-width: 200px;
      }
    }
    button:after {
      position: absolute;
      right: 0;
      z-index: 13;
    }
    button span.app-toolbar-dropdowns__title,
    button .app-toolbar-dropdowns__arrow-icon {
      display: none;
    }
    .mat-mdc-unelevated-button:hover .mat-mdc-button-persistent-ripple::before {
      opacity: 0;
    }
  }
  yon-notification button span,
  yon-profile-options button span,
  yon-legal-entity-selector button span- {
    display: none;
  }
  yon-notification button.notification__icon,
  yon-notification button.notification__icon span.info {
    display: block;
  }

  yon-profile-options button:after {
    right: 14px;
  }
  yon-notification {
    position: relative;
    button.mat-mdc-tooltip-trigger.notification__icon.mdc-icon-button {
      position: relative;
      z-index: 12;
      width: 40px;
      height: 40px;
      display: block;
      right: 5px;
      display: flex;
    }
  }
  nav .navbar-nav > yon-button {
    margin-right: 15px;
    margin-left: -10px;
  }
  yon-button#toggle-panel-button {
    margin-left: 0;
    margin-right: 0;
    background-color: var(--color-inverted-contrast-high);
    height: 40px;
    border-radius: 20px;
    span {
      line-height: 40px;
    }
    .material-symbols-sharp {
      color: var(--color-mono-contrast-max) !important;
      margin-right: 2px;
    }
  }

  yon-notification button.notification__icon.info-circle {
    position: absolute;
    left: 17px;
    top: -8px;
    z-index: 13;
    width: 20px;
    height: 20px;

    span {
      color: var(--color-yellow-warning) !important;
    }
  }
}
:root .app-toolbar-dropdowns__menu {
  .check-sliders {
    padding: 0 10px;
    mat-slide-toggle {
      display: block;
      margin: 0 10px;
      height: 40px;
      line-height: 40px;
    }
  }
}
:root.light .app-toolbar-dropdowns__menu,
:root.dark .app-toolbar-dropdowns__menu {
  a {
    text-decoration: none;
  }
  .check-sliders {
    background-color: var(--color-bg-table-drilled-level2);
    margin: 0 12px;
    border-radius: 10px;
    padding: 0 10px;
    mat-slide-toggle {
      display: block;
      margin: 0 10px;
      height: 50px;
      line-height: 50px;
    }
  }
  .color-palette {
    padding-left: 8px;
    padding-bottom: 8px;
    p {
      font-size: 14px;
    }
    span {
      display: inline-block;
      height: 1rem;
      width: 1rem;
      border-radius: 0.5rem;
      margin-right: 0.5rem;
      cursor: pointer;
    }
  }
}

#ui.v3 .app-toolbar__links-wrapper.navbar-nav.ai-chat-open {
  position: fixed;
  z-index: 20;
}
