/* Drawer styles for daisyUI drawer component */

/* Override burger-menu styles */
.burger-menu {
  display: inline-block !important; /* Ensure burger menu is visible */
  cursor: pointer;
}

/* Override btn-line styles to work with daisyUI */
.btn-line {
  width: 28px;
  height: 3px;
  margin: 0 0 5px 0;
  background: currentColor; /* Use current text color */
  transition: all 0.3s ease-out;
}

/* Remove old sidebar positioning */
#sidebar-wrapper {
  position: static !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  top: auto !important;
  animation: none !important;
  transition: none !important;
  padding: 0 !important;
  z-index: auto !important;
}

/* Remove old sidebar open state */
#sidebar-wrapper.open {
  left: auto !important;
  transition: none !important;
}

/* Remove old overlay styles */
.overlay {
  display: none !important; /* Hide old overlay */
}

/* Remove old navigation-open styles */
.navigation-open {
  overflow: auto !important;
}

/* Remove old animation styles */
.navigation-open .menu-btn .btn-line:nth-child(1),
.navigation-open .menu-btn .btn-line:nth-child(2),
.navigation-open .menu-btn .btn-line:nth-child(3) {
  transform: none !important;
  opacity: 1 !important;
}

/* Ensure sidebar-sticky works with daisyUI */
.sidebar-sticky {
  height: 100% !important;
  overflow-y: auto !important;
}

/* Media query for mobile */
@media only screen and (max-width: 1023px) { /* Below lg breakpoint */
  /* Ensure burger menu is visible on mobile */
  .burger-menu {
    display: inline-block !important;
  }
}