@tailwind base;
@tailwind components;
@tailwind utilities;
 
@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 20 14.3% 4.1%;
 
    --muted: 60 4.8% 95.9%;
    --muted-foreground: 25 5.3% 44.7%;
 
    --popover: 0 0% 100%;
    --popover-foreground: 20 14.3% 4.1%;
 
    --card: 0 0% 100%;
    --card-foreground: 20 14.3% 4.1%;
 
    --border: 20 5.9% 90%;
    --input: 20 5.9% 90%;
 
    --primary: 24 9.8% 10%;
    --primary-foreground: 60 9.1% 97.8%;
 
    --secondary: 60 4.8% 95.9%;
    --secondary-foreground: 24 9.8% 10%;
 
    --accent: 60 4.8% 95.9%;
    --accent-foreground: 24 9.8% 10%;
 
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 60 9.1% 97.8%;
 
    --ring: 20 14.3% 4.1%;
 
    --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%;
 
    --sidebar-background: 0 0% 98%;
 
    --sidebar-foreground: 240 5.3% 26.1%;
 
    --sidebar-primary: 240 5.9% 10%;
 
    --sidebar-primary-foreground: 0 0% 98%;
 
    --sidebar-accent: 240 4.8% 95.9%;
 
    --sidebar-accent-foreground: 240 5.9% 10%;
 
    --sidebar-border: 220 13% 91%;
 
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
 
  .dark {
    --background: 20 14.3% 4.1%;
    --foreground: 60 9.1% 97.8%;
 
    --muted: 12 6.5% 15.1%;
    --muted-foreground: 24 5.4% 63.9%;
 
    --popover: 20 14.3% 4.1%;
    --popover-foreground: 60 9.1% 97.8%;
 
    --card: 20 14.3% 4.1%;
    --card-foreground: 60 9.1% 97.8%;
 
    --border: 12 6.5% 15.1%;
    --input: 12 6.5% 15.1%;
 
    --primary: 60 9.1% 97.8%;
    --primary-foreground: 24 9.8% 10%;
 
    --secondary: 12 6.5% 15.1%;
    --secondary-foreground: 60 9.1% 97.8%;
 
    --accent: 12 6.5% 15.1%;
    --accent-foreground: 60 9.1% 97.8%;
 
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 60 9.1% 97.8%;
 
    --ring: 24 5.7% 82.9%;
 
    --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%;
 
    --sidebar-background: 240 5.9% 10%;
 
    --sidebar-foreground: 240 4.8% 95.9%;
 
    --sidebar-primary: 224.3 76.3% 48%;
 
    --sidebar-primary-foreground: 0 0% 100%;
 
    --sidebar-accent: 240 3.7% 15.9%;
 
    --sidebar-accent-foreground: 240 4.8% 95.9%;
 
    --sidebar-border: 240 3.7% 15.9%;
 
    --sidebar-ring: 217.2 91.2% 59.8%;
  }

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


/* body {
  @apply bg-neutral-bg;
} */

.button {
  @apply px-6 py-3 text-sm font-medium rounded bg-primary min-w-40;
}
.button-full {
  @apply w-full px-6 py-3 text-sm font-medium rounded bg-primary;
}
.button-small {
  @apply px-3 md:px-4 py-3 text-xs md:text-sm font-medium rounded-lg shadow-sm bg-primary;
}

.primary-heading {
  @apply text-xl font-bold text-primary;
}
.primary-heading-dark {
  @apply text-2xl font-bold;
}
.sub-heading {
  @apply text-xl font-medium;
}
.section-heading {
  @apply font-semibold md:text-lg;
}
.text {
  @apply text-sm;
}

.center {
  @apply flex items-center justify-center;
}

.error {
  @apply text-red-500;
}

.card-box {
  @apply p-2 border rounded-lg shadow-sm;
}

.input {
  @apply p-2 mb-2 rounded;
}

.label {
  @apply mb-1;
}

/* Loading */

#brand-logo {
  animation: zoomInOut 2s infinite ease-in-out;
}

@keyframes zoomInOut {
  0%,
  100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.2);
  }
}
