    /* Add your CSS styles here */
    :root {
      --background: #ffffff;
      --navbar-width: 236px;
      --navbar-width-min: 80px;
      --navbar-dark-primary: #18283b;
      --navbar-dark-secondary: #2c3e50;
      --navbar-light-primary: #f5f6fa;
      --navbar-light-secondary: #8392a5;
    }

    html, body {
      margin: 0;
      background: var(--background);
    }

#nav-bar {
  position: fixed;
  left: -100%;
  top: 0;
  width: var(--navbar-width);
  height: 100%;
  background: var(--navbar-dark-primary);
  border-radius: 0 16px 16px 0;
  display: flex;
  flex-direction: column;
  color: var(--navbar-light-primary);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  overflow-y: auto; /* Add this line to enable vertical scrolling */
  user-select: none;
  transition: left 0.3s ease-in-out;
  padding-top: 1.9rem; /* Add some top padding to the nav-bar */
}

    #nav-bar.visible {
      left: 0;
    }

    #nav-bar a {
      display: block;
      padding: 1rem;
      text-decoration: none;
      color: inherit;
      transition: background-color 0.3s ease-in-out;
    }

    #nav-bar a:hover {
      background-color: var(--navbar-dark-secondary);
    }

    #nav-bar a + a {
      margin-top: 0.5rem;
    }

/* CSS styles for status dot and Font Awesome icon */
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1s infinite;
}

.status-dot.online {
    background-color: green;
}

.status-dot.offline {
    background-color: red;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fa {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

#nav-footer {
  margin-top: auto;
  background-color: var(--navbar-dark-secondary);
  padding: 1rem;
  display: flex;
  align-items: left;
  justify-content: space-between;

  position: relative;
  border-radius: 16px;
  flex-direction: column;
  z-index: 2;
  transition: width 0.2s, height 0.2s;
}

#nav-footer-heading {
  display: flex;
  align-items: center;
}

#nav-footer-avatar {
  font-size: 2rem;
  margin-right: 0.5rem;
}

#nav-footer-titlebox {
  display: flex;
  flex-direction: column;
}

#nav-footer-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--navbar-light-primary);
  text-decoration: none;
}

#nav-footer-subtitle {
  font-size: 0.9rem;
  color: var(--navbar-light-secondary);
}

    #nav-footer-toggle {
      cursor: pointer; 
    }

.toggle-button {
  position: fixed;
  top: 0.50rem;
  left: 0.25rem;
  color: red; /* Initial color */
  width: 45px;
  height: 45px;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1;
  transition: color 0.3s ease-in-out;
  font-size: 1.2rem;
}

.toggle-button:focus,
.toggle-button:hover {
  color: red; /* Color on focus or hover */
}

    .hidden {
      display: none;
    }

/*Customize the scrollbar*/
#nav-bar::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

#nav-bar::-webkit-scrollbar-track {
  background-color: var(--navbar-dark-secondary); /* Color of the track (background) */
}

#nav-bar::-webkit-scrollbar-thumb {
  background-color: var(--navbar-dark-primary); /* Color of the scrollbar thumb */
  border-radius: 4px; /* Rounded corners of the thumb */
}

#nav-bar::-webkit-scrollbar-thumb:hover {
  background-color: var(--navbar-light-secondary); /* Color of the scrollbar thumb on hover */
}

#nav-bar a {
  display: flex;
  align-items: center;
  padding: 0.9rem 1rem;
  margin-top: 0.9rem; 
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease-in-out;
}

#nav-bar a i {
  margin-right: 0.5rem; /* Add some right margin to the icon */
}

#nav-bar a:hover {
  background-color: var(--navbar-dark-secondary);
}

#nav-bar a + a {
  margin-top: 0.5rem;
}

.nav-hr {
  border: none;
  border-top: 1px solid var(--navbar-light-secondary);
  margin: 0.5rem 0;
}

#nav-hr {
  margin: 0;
  position: relative;
  left: 16px;
  width: calc(100% - 32px);
  border: none;
  border-top: solid 1px var(--navbar-dark-secondary);
}

