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

@layer base {
  :root {
    --background: 0 0% 99%;
    --foreground: 220 18% 10%;
    --card: 0 0% 100%;
    --card-foreground: 220 18% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 220 18% 10%;
    --primary: 24 95% 53%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 12% 94%;
    --secondary-foreground: 220 18% 12%;
    --muted: 220 12% 94%;
    --muted-foreground: 220 8% 44%;
    --accent: 24 92% 95%;
    --accent-foreground: 24 95% 30%;
    --destructive: 0 78% 54%;
    --destructive-foreground: 0 0% 100%;
    --border: 220 13% 90%;
    --input: 220 13% 88%;
    --ring: 24 95% 53%;
    --radius: 0.5rem;
  }

  .dark {
    --background: 220 22% 7%;
    --foreground: 220 12% 96%;
    --card: 220 18% 10%;
    --card-foreground: 220 12% 96%;
    --popover: 220 18% 10%;
    --popover-foreground: 220 12% 96%;
    --primary: 24 95% 53%;
    --primary-foreground: 0 0% 100%;
    --secondary: 220 14% 16%;
    --secondary-foreground: 220 12% 96%;
    --muted: 220 14% 16%;
    --muted-foreground: 220 10% 68%;
    --accent: 24 75% 16%;
    --accent-foreground: 24 92% 82%;
    --destructive: 0 72% 50%;
    --destructive-foreground: 0 0% 100%;
    --border: 220 14% 18%;
    --input: 220 14% 20%;
    --ring: 24 95% 53%;
  }

  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground antialiased;
    font-feature-settings: "rlig" 1, "calt" 1;
  }
}

@layer components {
  .kharja-surface {
    @apply border bg-card shadow-soft;
  }
}
