:root {
    --sidebar-bg: #000000;
    --sidebar-active-bg: #2d2640;
    --sidebar-icon-color: #9b97a7;
    --sidebar-active-icon-color: #ffffff;
    --sidebar-width: 220px;
    --gradient-start: #ff5bb0;
    --gradient-end: #9747ff;
  }

  .sidebar {
    height: 100vh;
    background-color: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    box-sizing: border-box;
    padding: 0 1rem;
    z-index: 100;
    border-right: 1px solid #8D8598;
    transition: all 0.3s ease-in-out;
  }

  .sidebar.collapsed {
    width: 80px;
  }

  .sidebar .label {
    display: inline-block;
    transition: opacity 0.2s;
  }

  .sidebar.collapsed .label {
    opacity: 0;
    width: 0;
    overflow: hidden;
    display: none;
  }

  .toggle-btn {
    padding: 10px;
    cursor: pointer;
    color: white;
    font-size: 27px;
  }

  .logo {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    flex-grow: 1;
    width: 100%;
  }

  .nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .nav-item {
    display: flex;
    align-items: center;
  }

  .nav-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
  }

  .nav-icon {
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    color: var(--sidebar-icon-color);
    transition: all 0.2s ease;
  }

  .nav-item.active {
    background-color: var(--sidebar-active-bg);
    color: var(--sidebar-active-icon-color);
    border-radius: 10px;
  }

  .nav-item:hover {
    color: var(--sidebar-active-icon-color);
  }

  .logout {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
    background: #13c636;
    padding: 0.5rem;
    border-radius: 10px;
  }

  .sidebar.collapsed .logout {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .logout .nav-icon {
    color: white;
  }

  .logout:hover .nav-icon {
    color: var(--sidebar-active-icon-color);
  }
