@import url("https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 210 40% 98%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 206, 89%, 24%, 1;
    --primary-foreground: 210 40% 98%;

    --secondary: 27, 100%, 47%, 1;
    --secondary-foreground: 0, 0%, 100%, 1;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 206, 89%, 24%, 1;
    --accent-foreground: 210 40% 96.1%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 222.2 84% 4.9%;

    --radius: 0.5rem;
  }
}
body {
  font-family: "Jost", sans-serif;
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background;
  }
  h2 {
    @apply text-gray-700 font-semibold text-lg;
  }
  h3 {
    @apply text-gray-700 font-semibold;
  }
  h5 {
    @apply font-semibold text-sm;
  }
  .hover-button {
    @apply flex items-center rounded-lg hover:bg-primary hover:font-bold hover:text-white p-3 gap-3 text-sm;
  }
  .selected-hover-button {
    @apply flex items-center rounded-lg bg-primary font-bold text-white p-3 gap-3 text-sm;
  }
  .profile-menu-item {
    @apply flex items-center gap-2 p-1 hover:text-white hover:bg-primary rounded hover:shadow hover:opacity-90;
  }
  .dashboard-drawer {
    @apply fixed inset-y-0 left-0 z-20 max-h-screen overflow-hidden bg-white shadow;
  }
}

/* Task board custom scrollbars */
.taskboard-scroll {
  scrollbar-width: thin;
  scrollbar-color: #1f3750 #d3d7dd;
}

.taskboard-scroll::-webkit-scrollbar {
  height: 10px;
}

.taskboard-scroll::-webkit-scrollbar-track {
  background: #d3d7dd;
  border-radius: 9999px;
}

.taskboard-scroll::-webkit-scrollbar-thumb {
  background: #1f3750;
  border-radius: 9999px;
}

.taskboard-scroll::-webkit-scrollbar-thumb:hover {
  background: #15283b;
}

.taskboard-column-scroll {
  scrollbar-width: thin;
  scrollbar-color: #284760 #eff2f5;
}

.taskboard-column-scroll::-webkit-scrollbar {
  width: 6px;
}

.taskboard-column-scroll::-webkit-scrollbar-track {
  background: #eff2f5;
  border-radius: 9999px;
}

.taskboard-column-scroll::-webkit-scrollbar-thumb {
  background: #284760;
  border-radius: 9999px;
}
