
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Mori Design System - Navy Blue and Teal Color Palette */

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

    --card: 0 0% 100%;
    --card-foreground: 210 40% 8%;

    --popover: 0 0% 100%;
    --popover-foreground: 210 40% 8%;

    --primary: 210 100% 20%; /* Navy Blue */
    --primary-foreground: 0 0% 98%;

    --secondary: 174 72% 56%; /* Teal */
    --secondary-foreground: 210 40% 8%;

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

    --accent: 174 72% 56%; /* Teal */
    --accent-foreground: 210 40% 8%;

    --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: 210 100% 20%;

    --radius: 0.5rem;

    --sidebar-background: 210 20% 98%;
    --sidebar-foreground: 210 40% 26.1%;
    --sidebar-primary: 210 100% 20%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 174 72% 95%;
    --sidebar-accent-foreground: 210 40% 8%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 174 72% 56%;

    /* Mori specific colors */
    --mori-navy: 210 100% 20%;
    --mori-teal: 174 72% 56%;
    --mori-light-teal: 174 72% 90%;
    --mori-dark-navy: 210 100% 15%;
    --mori-hot-pink: 330 81% 60%;
  }

  .dark {
    --background: 210 40% 8%;
    --foreground: 0 0% 98%;

    --card: 210 40% 8%;
    --card-foreground: 0 0% 98%;

    --popover: 210 40% 8%;
    --popover-foreground: 0 0% 98%;

    --primary: 174 72% 56%; /* Teal for dark mode */
    --primary-foreground: 210 40% 8%;

    --secondary: 210 100% 25%; /* Lighter navy for dark mode */
    --secondary-foreground: 0 0% 98%;

    --muted: 210 40% 12%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 174 72% 56%;
    --accent-foreground: 210 40% 8%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 210 40% 15%;
    --input: 210 40% 15%;
    --ring: 174 72% 56%;

    --sidebar-background: 210 40% 10%;
    --sidebar-foreground: 0 0% 95%;
    --sidebar-primary: 174 72% 56%;
    --sidebar-primary-foreground: 210 40% 8%;
    --sidebar-accent: 210 40% 15%;
    --sidebar-accent-foreground: 0 0% 95%;
    --sidebar-border: 210 40% 15%;
    --sidebar-ring: 174 72% 56%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

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

/* Mori specific utility classes */
@layer utilities {
  .text-mori-navy {
    color: hsl(var(--mori-navy));
  }
  
  .text-mori-teal {
    color: hsl(var(--mori-teal));
  }
  
  .text-mori-hot-pink {
    color: hsl(var(--mori-hot-pink));
  }
  
  .bg-mori-navy {
    background-color: hsl(var(--mori-navy));
  }
  
  .bg-mori-teal {
    background-color: hsl(var(--mori-teal));
  }
  
  .bg-mori-light-teal {
    background-color: hsl(var(--mori-light-teal));
  }
  
  .border-mori-teal {
    border-color: hsl(var(--mori-teal));
  }
  
  .gradient-mori {
    background: linear-gradient(135deg, hsl(var(--mori-navy)) 0%, hsl(var(--mori-teal)) 100%);
  }
}
