/*
1 colore bottone
2 bordo/hover
3 testo
*/
.menu {
  grid-area: Menu;
  width: 250px;
  background-color: var(--bg);
  height: 100svh;
  position: sticky;
  top: 0;
  border-right: 1px solid var(--bg-dark);
}
.menu__header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu__body {
  height: calc(100% - 64px - 88px);
  overflow-y: auto;
  overflow-x: hidden;
  padding-block: 0.5rem;
}
.menu__footer {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu__footer__profile {
  width: 100%;
  margin: 0 1rem;
}
.menu .menu__Popup {
  bottom: 80px;
  width: 218px;
  left: 1rem;
}
.menu .menu__Popup .menuList__item {
  border-radius: 0.25rem;
  grid-template-columns: 25px 1fr 0;
}

.menuList {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}
.menuList__separator {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--fg-light);
}
.menuList__separator span {
  text-transform: uppercase;
  font-size: 0.75rem;
}
.menuList__separator::before, .menuList__separator::after {
  content: "";
  display: block;
  height: 1px;
  background-color: var(--bg-dark);
}
.menuList__separator::before {
  width: 10px;
}
.menuList__separator::after {
  width: 100%;
}
.menuList__item {
  display: grid;
  grid-template-columns: 25px 1fr 25px;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-bottom-right-radius: 99px;
  border-top-right-radius: 99px;
  margin-right: 4px;
}
.menuList__item:hover {
  background-color: var(--bg-dark);
}
.menuList__item i {
  justify-self: center;
}
.menuList__item__text {
  text-overflow: ellipsis;
  overflow-x: hidden;
}
.menuList__item__chevron {
  justify-self: center;
}
.menuList__item.item--selected {
  background: var(--primary);
  background: linear-gradient(270deg, var(--primary) 0%, color-mix(in sRGB, var(--primary) 52%, var(--white)) 100%);
  color: var(--white);
}
.menuList__item.item--selected .menuList__item__chevron i {
  transform: rotate(90deg);
}
.menuList__item.item--selected:has(+ .subMenu--active) {
  background: var(--bg-dark);
  color: var(--fg);
}
.menuList__item__subMenu {
  display: none;
  margin-top: 0.5rem;
}
.menuList__item__subMenu.subMenu--active {
  display: flex;
}
.menuList__item__subMenu .menuList__item {
  padding-block: 4px;
}
.menuList__item.hide {
  display: none;
}

.menuSelectorPopUp {
  left: calc(100% + 0.25rem);
  width: max-content;
  top: 25%;
  padding-inline: 1rem;
}

.languageFlagImage {
  width: 25px;
  height: 25px;
  border-radius: 0.5rem;
  overflow: hidden;
}

/*# sourceMappingURL=menu.css.map */
