.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  z-index: 1000;
  transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar.active {
  left: 0;
  animation: slideInLeft 0.3s ease-out;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s ease;
}

.sidebar-close:hover {
  transform: rotate(90deg);
  color: #fcb42d;
}

.sidebar-menu {
  padding: 20px 0;
}

.sidebar-menu-item {
  margin: 0;
  border-bottom: 1px solid #333;
}

.sidebar-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.sidebar-menu-link:hover {
  background: linear-gradient(90deg, #fcb42d 0%, rgba(252, 180, 45, 0.1) 100%);
  color: #000;
  transform: translateX(5px);
}

.sidebar-menu-link i {
  margin-right: 12px;
  width: 20px;
  text-align: center;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

.sidebar-submenu {
  max-height: 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  transition: max-height 0.3s ease;
}

.sidebar-submenu.active {
  max-height: 300px;
  animation: fadeIn 0.3s ease;
}

.sidebar-submenu-item {
  padding: 12px 20px 12px 52px;
  color: #ccc;
  text-decoration: none;
  display: block;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.sidebar-submenu-item:hover {
  background: rgba(252, 180, 45, 0.1);
  color: #fcb42d;
  border-left-color: #fcb42d;
  transform: translateX(3px);
}

/* Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Mobile responsive */
@media (max-width: 1199px) {
  .mobile-menu-toggle {
    display: block;
  }

  .navbar-collapse {
    display: none !important;
  }
}

/* Sidebar logo */
.sidebar-logo {
  width: 120px;
  height: auto;
}

/* User profile section in sidebar */
.sidebar-user-profile {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #333;
}

.sidebar-user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fcb42d, #ff6b35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  color: #000;
  font-size: 24px;
  font-weight: bold;
}

.sidebar-user-name {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.sidebar-user-status {
  color: #fcb42d;
  font-size: 12px;
  margin: 5px 0 0;
}

/* Smooth scrollbar for sidebar */
.mobile-sidebar::-webkit-scrollbar {
  width: 4px;
}

.mobile-sidebar::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.mobile-sidebar::-webkit-scrollbar-thumb {
  background: #fcb42d;
  border-radius: 4px;
}

.mobile-sidebar::-webkit-scrollbar-thumb:hover {
  background: #e09b26;
}
