.assignment-sidebar {
  transform: translateX(0);
  opacity: 1;
  /*transition: transform 0.3s ease, opacity 0.3s ease;*/
}

.assignment-sidebar.transition-enabled {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sidebar-visible {
  transform: translateX(0);
}

.sidebar-hidden {
  transform: translateX(-100%);
}

.rotate-left {
  transform: rotate(0deg);
}

.rotate-right {
  transform: rotate(180deg);
}

@media (max-width: 1024px) {
  #sidebarContainer {
    width: 90vw !important;
  }
}

.assignment-item {
  padding: 6px 10px;
  margin-bottom: 4px;
  border-radius: 6px;
  background: transparent;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.assignment-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: #a7d2ff;
}

.assignment-item.active {
  background-color: #293c5c !important;
  color: #fff;
}

.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  width: 100%;
}

#sidebarPullTab:hover {
  opacity: 0.6 !important;
}

.assignment-sidebar::-webkit-scrollbar {
  width: 6px;
}

.assignment-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

#sidebarContainer {
  visibility: hidden;
}

#sidebarContainer.sidebar-preload {
  visibility: hidden;
  transform: translateX(-100%);
}

.sidebar-preload {
  visibility: hidden;
}

/* Default: mobile (everything) */

@media (max-width: 768px) {
  .profile-menu {
    margin-top: -10px!important;
    max-width: 50%;
    margin-left: 25%;
  }
}

/* For larger screens: min-width 768px or 992px are common breakpoints, 
   but since you mentioned 1400px, I’ll use that for your specific requirement */

@media (min-width: 768px) {
  .profile-menu {
    /*margin-top: 2rem!important;*/
  }
}

