/* ALVI Global Styling - Color Palette, Scrollbars, Sidebar & Shared Layout */

:root {
  --color-bg: #F8FAFC;
  --color-navy: #172554;
  --color-indigo: #4F46E5;
  --color-purple: #8B5CF6;
  --color-green: #22C55E;
  --color-amber: #F59E0B;
  --color-orange: #F97316;
  --color-text-primary: #0F172A;
  --color-text-secondary: #64748B;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Persistent Sidebar Nav Item Styles */
.nav-item {
  color: #94A3B8;
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-item:hover {
  color: #F8FAFC;
  background-color: rgba(30, 41, 59, 0.7);
}

.nav-item.active {
  color: #FFFFFF;
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.25) 0%, rgba(79, 70, 229, 0.08) 100%);
  border-left: 3.5px solid var(--color-indigo);
  font-weight: 600;
}

.nav-item.active span:first-child {
  transform: scale(1.1);
}

/* Base Page View Animation */
.page-view {
  animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
