Skip to content

Job application tracker and AI-powered job search assistant. Helps job seekers manage their search journey with AI resume review, job matching, task logging, and application analytics, all while keeping your data private.

6.4 KB
Raw Blame
@import "tailwindcss";
@import "tw-animate-css";
@import "react-goal-calendar/style.css";

@custom-variant dark (&:is(.dark *));

@theme inline {
  --font-sans: var(--font-inter), ui-sans-serif, system-ui, sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  --color-border: hsl(var(--border));
  --color-input: hsl(var(--input));
  --color-ring: hsl(var(--ring));
  --color-background: hsl(var(--background));
  --color-foreground: hsl(var(--foreground));
  --color-primary: hsl(var(--primary));
  --color-primary-foreground: hsl(var(--primary-foreground));
  --color-secondary: hsl(var(--secondary));
  --color-secondary-foreground: hsl(var(--secondary-foreground));
  --color-destructive: hsl(var(--destructive));
  --color-destructive-bg: hsl(var(--destructive-bg));
  --color-destructive-foreground: hsl(var(--destructive-foreground));
  --color-muted: hsl(var(--muted));
  --color-muted-foreground: hsl(var(--muted-foreground));
  --color-accent: hsl(var(--accent));
  --color-accent-foreground: hsl(var(--accent-foreground));
  --color-popover: hsl(var(--popover));
  --color-popover-foreground: hsl(var(--popover-foreground));
  --color-card: hsl(var(--card));
  --color-card-foreground: hsl(var(--card-foreground));

  --radius-lg: var(--radius);
  --radius-md: calc(var(--radius) - 2px);
  --radius-sm: calc(var(--radius) - 4px);

  --animate-accordion-down: accordion-down 0.2s ease-out;
  --animate-accordion-up: accordion-up 0.2s ease-out;
}

@keyframes accordion-down {
  from {
    height: 0;
  }
  to {
    height: var(--radix-accordion-content-height);
  }
}

@keyframes accordion-up {
  from {
    height: var(--radix-accordion-content-height);
  }
  to {
    height: 0;
  }
}

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;
    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;
    --primary: 221.2 83.2% 53.3%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96.1%;
    --secondary-foreground: 222.2 47.4% 11.2%;
    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;
    --accent: 210 40% 96.1%;
    --accent-foreground: 222.2 47.4% 11.2%;
    --destructive: 0 84.2% 60.2%;
    --destructive-bg: 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: 221.2 83.2% 53.3%;
    --radius: 0.5rem;
    --chart-1: 12 76% 61%;
    --chart-2: 173 58% 39%;
    --chart-3: 197 37% 24%;
    --chart-4: 43 74% 66%;
    --chart-5: 27 87% 67%;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;
    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;
    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;
    --primary: 217.2 91.2% 59.8%;
    --primary-foreground: 222.2 47.4% 11.2%;
    --secondary: 217.2 32.6% 17.5%;
    --secondary-foreground: 210 40% 98%;
    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;
    --accent: 217.2 32.6% 17.5%;
    --accent-foreground: 210 40% 98%;
    /* destructive text needs lightening on a near-black card (2.5:1 before) */
    /* the fill keeps the darker red so white button text stays readable */
    --destructive: 0 84.2% 60.2%;
    --destructive-bg: 0 62.8% 40.6%;
    --destructive-foreground: 210 40% 98%;
    --border: 217.2 32.6% 23.5%;
    --input: 217.2 32.6% 21.5%;
    --ring: 224.3 76.3% 48%;
    --chart-1: 220 70% 50%;
    --chart-2: 160 60% 45%;
    --chart-3: 30 80% 55%;
    --chart-4: 280 65% 60%;
    --chart-5: 340 75% 55%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }

  /* v4 Preflight sets buttons to cursor:default; v3 used pointer */
  button:not(:disabled),
  [role="button"]:not(:disabled) {
    cursor: pointer;
  }

  /* v4 Preflight renders placeholders at 50% currentColor; v3 used gray-400 */
  input::placeholder,
  textarea::placeholder {
    color: var(--color-gray-400);
  }
}

/* Hide scrollbar across browsers */
@utility no-scrollbar {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */

  &::-webkit-scrollbar {
    display: none;
  }
}

@utility text-14 {
  @apply text-[14px] leading-[20px];
}

@utility text-16 {
  @apply text-[16px] leading-[24px];
}

@utility text-24 {
  @apply text-[24px] leading-[30px];
}

@utility text-26 {
  @apply text-[26px] leading-[32px];
}

@utility text-30 {
  @apply text-[30px] leading-[38px];
}

/* Home */
@utility dashboard {
  @apply no-scrollbar flex w-full flex-row max-xl:max-h-screen max-xl:overflow-y-scroll;
}

@utility dashboard-content {
  @apply no-scrollbar flex w-full flex-1 flex-col gap-8 px-5 sm:px-8 py-7 lg:py-12 xl:max-h-screen xl:overflow-y-scroll;
}

@utility dashboard-header {
  @apply flex flex-col justify-between gap-8;
}

/* Header */
@utility header {
  @apply flex flex-col gap-1;
}

@utility header-title {
  @apply text-24 lg:text-30 font-semibold text-foreground;
}

@utility header-subtext {
  @apply text-14 lg:text-16 font-normal text-muted-foreground;
}

/* Sidebar */
@utility sidebar {
  @apply sticky left-0 top-0 flex h-screen w-fit flex-col justify-between border-r border-border bg-card pt-8 text-foreground max-md:hidden sm:p-4 xl:p-6 2xl:w-[355px];
}

@utility sidebar-logo {
  @apply 2xl:text-26 text-[26px] text-blue-500 font-bold max-xl:hidden;
}

@utility sidebar-link {
  @apply flex gap-3 items-center text-blue-500 py-1 md:p-3 2xl:p-4 rounded-lg justify-center xl:justify-start;
}

@utility sidebar-label {
  @apply text-16 font-semibold text-foreground max-xl:hidden;
}

/* Navlink */
@utility navlink {
  @apply relative flex items-center overflow-hidden transition-all duration-200 ease-in-out;
}

/* Override: For Calender component to hide month, year labels */
.rdp-vhidden {
  @apply hidden;
}

.rdp-dropdown_month > div {
  @apply hidden;
}
.rdp-dropdown_year > div {
  @apply hidden;
}

@layer components {
  .daily-goals-calendar {
    --gc-fg: hsl(var(--card-foreground));
    --gc-card: hsl(var(--card));
    --gc-muted: hsl(var(--muted));
    --gc-muted-fg: hsl(var(--muted-foreground));
    --gc-border: hsl(var(--border));
    --gc-primary: hsl(var(--primary));
    --gc-danger: hsl(var(--destructive));
    /* Donut hues from jobsActivityChart.ts SERIES_COLORS */
    --gc-ring-1: #2a9d90;
    --gc-ring-2: #c97e22;
  }
  .dark .daily-goals-calendar {
    --gc-ring-1: #16a89a;
    --gc-ring-2: #c08438;
  }
}