.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    /*background: #e7f1ff;*/
    background: #1a1a2e; /* Dark background */
    /*padding: 15px;*/
    /*border-right: 2px solid #007bff;*/ /* Stylish border */
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.5s ease;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15), 0px 4px 15px rgba(0, 0, 0, 0.1), 0px 0px 50px rgba(255, 255, 255, 0.4);
}

.sidebar.active {
  opacity: 1;
  transform: translateX(0);
}

.sidemenu {
  padding: 10px 2px;
}

.sidebar h4 {
  font-size: 18px;
  padding: 7.4px;
  border-bottom: 1px solid rgb(255, 255, 255);
}

.sidebar a {
  color: #fff;
  padding: 5px 10px;
  text-decoration: none;
  display: block;
  margin-bottom: 5px;
  border-radius: 5px;
  font-size: 14px;
}

.sidebar a.active {
  background: #2e97ff;
  color: #fff;
}

.sidebar a:hover {
  background-color: #2e97ff;
  color: #fff;
}

.main-content {
  margin-left: 0;
  transition: margin-left 0.7s ease;
  min-height: 100vh;
  /* Ensures the content fills the viewport */
}

.main-content.full-width {
  margin-left: 250px;
}