@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  color-scheme: light;
  font-family: 'Inter', sans-serif;
  background-color: #f8fafc;
  color: #0f172a;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: #f8fafc;
}

#sidebar,
header,
main,
footer {
  margin: 0;
}

header,
#sidebar {
  top: 0;
}

main {
  min-height: 0;
}

#sidebar {
  transform: translateX(-100%);
}

body.sidebar-open #sidebar {
  transform: translateX(0);
}

#sidebarBackdrop {
  display: none;
}

body.sidebar-open #sidebarBackdrop {
  display: block;
}

#sidebar {
  transition: transform 250ms ease-in-out;
}

#sidebarBackdrop,
#sidebar {
  will-change: transform, opacity;
}

.sidebar-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(148,163,184,.6) transparent;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 8px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: rgba(148,163,184,.65);
  border-radius: 9999px;
}

.sidebar-link {
  transition: background-color .2s ease, color .2s ease;
}

.sidebar-link:hover,
.sidebar-link.active {
  background-color: rgba(79,70,229,.12);
  color: #ffffff;
}

.sidebar-divider {
  border-color: rgba(148,163,184,.18);
}

.topbar-shadow {
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

@media (min-width: 768px) {
  #sidebar {
    position: static !important;
    transform: translateX(0) !important;
    height: 100vh;
    overflow: hidden;
  }
  #sidebarBackdrop {
    display: none !important;
  }
}
