@import '@/styles/responsive.scss';
.cancelIcon {
}
.sidebarWrapper {
  transition: all 0.3s ease;
  height: 100vh;

  &.collapsed {
    width: 80px;
  }
}

.sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #387c44 0%, #296832 100%);
  height: 100%;

  :global {
    .ps-sidebar-root {
      border: none;
    }

    .ps-menu-button {
      padding: 15px 24px;

      &:hover {
        background: rgba(255, 255, 255, 0.1) !important;
      }
    }
  }
}

.logoSection {
  padding: 24px;

  h2 {
    margin: 0;
    color: white;
    font-weight: 600;
    font-size: 24px;
  }
}

.menu {
  padding: 12px;
}

.menuItem {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.87);
  font-size: 16px;

  svg {
    margin-right: 12px;
    font-size: 20px;
  }
}

.submenu {
  > div:first-child {
    background: transparent;
    color: rgba(255, 255, 255, 0.87);

    &:hover {
      background: rgba(255, 255, 255, 0.1);
    }
  }

  ul {
    background: rgba(0, 0, 0, 0.1);
    padding: 8px 0;
  }
}

.sidebarMenu {
  svg {
    width: 30px;
    min-width: 30px;
    height: 30px;

    @include small-screen {
      width: 24px;
      min-width: 24px;
      height: 24px;
    }
  }
}
