@import "tailwindcss";

@theme {
  --font-inter: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

@keyframes dashboard-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes dashboard-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@utility animate-dashboard-float {
  animation: dashboard-float 8s ease-in-out infinite;
}

@utility animate-dashboard-rise {
  animation: dashboard-rise 700ms ease-out both;
}

@utility animation-delay-150 {
  animation-delay: 150ms;
}

@utility animation-delay-300 {
  animation-delay: 300ms;
}

/* Smooth scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: theme(--color-slate-900);
}
::-webkit-scrollbar-thumb {
  background: theme(--color-slate-700);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: theme(--color-slate-600);
}

/* Selection color */
::selection {
  background-color: oklch(0.765 0.177 163.223 / 0.3);
  color: white;
}
