/* SupportCALL and David Maree */
/* https://www.supportcall.co.za/index.html */
/* ./index.html */
/* FILE CODE CREATION DATE and TIME: 2025/01/04 12H00 */

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

/* ICT Company Design System - Professional & Modern
All colors MUST be HSL for consistency.
*/

@layer base {
  :root {
    /* Light mode - Professional ICT Theme */
    --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%;

    /* ICT Brand Colors */
    --primary: 200 100% 40%;
    --primary-foreground: 0 0% 100%;
    --primary-glow: 200 100% 60%;

    --secondary: 220 15% 25%;
    --secondary-foreground: 0 0% 100%;

    --muted: 220 14% 96%;
    --muted-foreground: 220 9% 46%;

    --accent: 142 71% 45%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 220 13% 91%;
    --input: 220 13% 91%;
    --ring: 200 100% 40%;

    --radius: 0.75rem;

    /* SupportCALL brand colors - Professional ICT palette */
    --supportcall-blue: 210 100% 45%;
    --supportcall-green: 142 76% 35%;
    --supportcall-navy: 210 50% 12%;
    --supportcall-gray: 220 15% 88%;
    --supportcall-orange: 25 95% 53%;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-dark: linear-gradient(135deg, hsl(var(--tech-navy)), hsl(220 15% 15%));
    --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--muted)));

    /* Shadows */
    --shadow-elegant: 0 10px 30px -10px hsl(var(--tech-navy) / 0.3);
    --shadow-glow: 0 0 40px hsl(var(--primary) / 0.2);

    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --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 {
    /* Dark mode - SupportCALL inspired */
    --background: 220 15% 8%;
    --foreground: 0 0% 95%;

    --card: 220 15% 10%;
    --card-foreground: 0 0% 95%;

    --popover: 220 15% 10%;
    --popover-foreground: 0 0% 95%;

    --primary: 200 100% 60%;
    --primary-foreground: 220 15% 8%;
    --primary-glow: 200 100% 70%;

    --secondary: 220 15% 15%;
    --secondary-foreground: 0 0% 95%;

    --muted: 220 15% 15%;
    --muted-foreground: 0 0% 70%;

    --accent: 142 71% 55%;
    --accent-foreground: 220 15% 8%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 95%;

    --border: 220 15% 20%;
    --input: 220 15% 15%;
    --ring: 200 100% 60%;

    /* Dark mode gradients */
    --gradient-primary: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-glow)));
    --gradient-dark: linear-gradient(135deg, hsl(220 15% 5%), hsl(220 15% 15%));
    --gradient-subtle: linear-gradient(180deg, hsl(var(--background)), hsl(var(--muted)));

    /* Enhanced shadows for dark mode */
    --shadow-elegant: 0 10px 30px -10px hsl(0 0% 0% / 0.5);
    --shadow-glow: 0 0 40px hsl(var(--primary) / 0.3);
    --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%;
  }
}

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

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