﻿.navigation-menu {
  font-size: 14px;
}

.navigation-root,
.navigation-group-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navigation-root {
  display: flex;
  gap: 4px;
  flex-direction: column;
}

.navigation-group-header {
  width: 100%;
  border: none;
  background: transparent;
  color: #ffffff;
  padding: 8px 10px 8px 16px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  min-height: 33px;
  transition: background-color 120ms ease-out;
}

.navigation-group-header-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navigation-group-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navigation-group-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 16px;
}

.navigation-group-header:hover {
  background-color: #FFFFFF0F;
}

.navigation-group-header:active {
  background-color: #FFFFFF09;
}

.navigation-group-arrow {
  width: 8px;
  height: 8px;
  fill: #ffffff;
  margin-left: 6px;
  display: flex;
  transform: rotate(0deg);
  transition: transform 120ms ease-out;
}

.navigation-group.is-expanded .navigation-group-arrow {
  transform: rotate(180deg);
}

.navigation-group-items {
  padding-left: 20px;
  padding-top: 4px;
  height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
  pointer-events: none;
  transition: height 200ms ease-out;
}

.navigation-group.is-expanded > .navigation-group-items {
  pointer-events: auto;
}

.navigation-menu:not([data-nav-ready="true"]) .navigation-group.is-expanded > .navigation-group-items {
  height: auto;
  overflow: visible;
}

.navigation-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 10px 8px 16px;
  border-radius: 4px;
  color: var(--text-foreground, #ffffff) !important;
  text-decoration: none;
  cursor: pointer;
  min-height: 33px;
  transition: background-color 120ms ease-out;
  font-size: 16px;
}

  .navigation-item:hover {
    background-color: #FFFFFF0F;
  }

  .navigation-item:active {
    background-color: #FFFFFF09;
  }

.navigation-item-content {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 100%;
}

.navigation-item-icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
  fill: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

  .navigation-item-icon > svg {
    width: 16px;
    height: 16px;
  }

.navigation-item-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navigation-item::before {
  content: "";
  position: absolute;
  left: 3px;
  height: 16px;
  width: 3px;
  border-radius: 999px;
  background-color: transparent;
  transition: height 120ms ease-out;
}

.navigation-item.is-active {
  background-color: #FFFFFF0F;
}

  .navigation-item.is-active::before {
    background-color: var(--accent-fill-rest);
  }

  .navigation-item.is-active:active::before {
    height: 10px;
  }

.navigation-menu,
.navigation-menu * {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
