/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

#root {
  width: 100%;
  height: 100%;
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}
/* Custom CSS for Dashboard */

.material-symbols-outlined {
  font-variation-settings:
    "FILL" 0,
    "wght" 400,
    "GRAD" 0,
    "opsz" 24;
  font-family: "Material Symbols Outlined";
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}

.chart-bar {
  transition: height 0.3s ease-out;
}

.nav-list {
  padding: 0 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  margin-bottom: 4px;
  color: #dce2f3;
  border-radius: 12px;
  transition: all 0.2s ease;
  width: 100%;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  background: #5d5fef;
  color: white;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #555;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 8px;
  flex: 1;
  min-width: 0;
  transition: color 0.2s ease;
}

.mobile-nav-item:hover {
  color: #1a1a1a;
}

.mobile-nav-item.active {
  color: #5d5fef;
  font-weight: 600;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* App-level styles. Most styling lives in Tailwind classes; this file holds
   only what truly needs a real stylesheet. */

/* Subtle scrollbar on the dark sidebar — visible but blends with the
   navy surface (no harsh contrast). */
.scrollbar-transparent {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.22) transparent;
}
.scrollbar-transparent::-webkit-scrollbar {
  width: 6px;
  height: 6px;
  background: transparent;
}
.scrollbar-transparent::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-transparent::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.22);
  border-radius: 9999px;
}
.scrollbar-transparent:hover::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.35);
}
