body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: #f9fafb; /* gray-50 fallback */
  color: #101828; /* gray-900 fallback */
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar for a software look */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #e4e7ec; /* gray-200 */
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d0d5dd; /* gray-300 */
}

/* Sidebar Utilities & Responsiveness */
.sidebar {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #ffffff;
}

/* Sidebar Menu Colors Refinement */
.sidebar .menu-item {
  transition: background-color 0.2s, color 0.2s, transform 0.1s;
}

.sidebar .menu-item:hover {
  background-color: var(--color-gray-50);
  color: var(--color-gray-900);
}

.sidebar .menu-item.active {
  background-color: var(--color-brand-50);
  color: var(--color-brand-500);
}

/* Logo Color Refinement */
.logo-box {
  background-color: #ffffff;
}

/* Sidebar Utilities & Responsiveness */
.sidebar {
  transition: transform 0.3s ease-in-out;
}

/* Mobile Sidebar state */
.sidebar-open {
  transform: translateX(0) !important;
}

@media (max-width: 1023px) {
  .sidebar {
    transform: translateX(-100%);
    position: fixed;
    z-index: 1000;
  }
}

/* Overlay for mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
}

.sidebar-overlay.active {
  display: block;
}

/* Metric Cards & Premium Polish */
.metric-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--color-gray-100);
  transition: transform 0.2s, box-shadow 0.2s;
}

.metric-card:hover {
  transform: translateY(-2px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.06);
}

/* Custom Scrollbar for a software look */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--color-gray-200);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-300);
}
