/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 *
 * Bootstrap 5.3.0 is included via CDN in the application layout.
 * You can now use Bootstrap classes and components throughout your application.
 */

@import url("/assets/admin-16e3f205.css");

/* Sidebar slide effect for toggle */
.sidebar {
  transition: transform 0.3s ease;
  z-index: 1050;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 280px;
  background: linear-gradient(180deg, #1e3a8a 0%, #1d4ed8 100%);
  box-shadow: 4px 0 20px rgba(37, 99, 235, 0.2);
  transform: translateX(0);
}
.sidebar:not(.show) {
  transform: translateX(-100%);
}
#openSidebarBtn {
  display: none;
}
.sidebar:not(.show) ~ #openSidebarBtn {
  display: block !important;
}

.main-content {
  margin-left: 280px;
  transition: margin-left 0.3s ease;
}
.sidebar:not(.show) ~ .main-content {
  margin-left: 0;
}
