/*
 * =========================================
 * Styles for Draggable Slideout.js Menu
 * =========================================
 */

body {
  width: 100vw;
  height: 100vh;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Positioning for the main content panel that will be dragged */
.slideout-panel {
  position: relative;
  z-index: 1;
  background-color: #f8fafc; /* slate-50 */
  min-height: 100vh;
}
.dark .slideout-panel {
    background-color: #0f172a; /* slate-900 */
}

/* Positioning and styling for the menu that is revealed */
.slideout-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 256px;
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 0;
  display: none; /* Initially hidden, library handles showing it */
}

/* This class is added by the library when the menu is open */
.slideout-open,
.slideout-open body,
.slideout-open .slideout-panel {
  overflow: hidden; /* Prevent page scroll when menu is open */
}

/* Your custom gradient for the menu background */
#mobile-menu-panel {
  background-image: linear-gradient(to bottom right, #e0f2fe, #bfdbfe);
}
.dark #mobile-menu-panel {
  background-image: linear-gradient(to bottom right, #1e3a8a, #0f172a);
}