/* Extra tweaks on top of Tailwind for a sleek dark UI */
:root {
  --sidebar-width: 280px;
}
html, body, #app {
  height: 100%;
}
/* Scrollbars */
* {
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent;
}
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
*::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 999px;
}
/* Cards hover */
.card-hover {
  transition: transform .2s ease, box-shadow .2s ease;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
/* Login overlay */
.login-overlay {
  backdrop-filter: blur(8px);
  background: rgba(2,6,23,.7);
}
/* Active nav item underline */
.nav-active::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  border-radius: 999px;
  background: linear-gradient(180deg,#22d3ee,#818cf8);
}
/* Tiny badges */
.badge {
  border-radius: 999px;
  font-size: 10px;
  padding: 2px 8px;
}
/* Chart canvas size helper */
.chart-wrap {
  position: relative;
  height: 360px;
  width: 100%;
}
/* Month grid */
.month-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .5rem;
}
.month-grid .day {
  aspect-ratio: 1;
}
.month-grid .day .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
}
