/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #d4d4d8;
  border-radius: 9999px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #a1a1aa;
}

/* Alpine Cloak */
[x-cloak] {
  display: none !important;
}

/* Lucide Icon Placeholder & Rendered SVG Sizing */
i[data-lucide] {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  line-height: 1;
  vertical-align: middle;
}

svg.lucide {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  stroke: currentColor;
}

/* Utility sizing fallbacks */
.w-3 { width: 0.75rem; }
.h-3 { height: 0.75rem; }
.w-3\.5 { width: 0.875rem; }
.h-3\.5 { height: 0.875rem; }
.w-4 { width: 1rem; }
.h-4 { height: 1rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }

/* Sidebar Collapsed Styles */
html.sidebar-collapsed #app-sidebar {
  width: 4rem !important;
}
html.sidebar-collapsed .sidebar-label,
html.sidebar-collapsed .sidebar-header-title,
html.sidebar-collapsed .sidebar-footer-info,
html.sidebar-collapsed .sidebar-collapse-btn {
  display: none !important;
}
html.sidebar-collapsed .sidebar-header {
  justify-content: center !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
html.sidebar-collapsed .sidebar-logo-wrapper {
  padding: 0.5rem !important;
  cursor: pointer !important;
}
#app-sidebar.sidebar-ready {
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
