@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/Alegreya-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Alegreya';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/Alegreya-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/PTSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'PT Sans';
  font-style: normal;
  font-weight: 700;
  src: url('/fonts/PTSans-Bold.ttf') format('truetype');
}

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

body {
  font-family: 'Vazirmatn', 'PT Sans', sans-serif;
  direction: rtl;
}

@layer base {
  :root {
    --background: 30 56% 90%;
    --foreground: 25 25% 15%;
    --card: 30 56% 93%;
    --card-foreground: 25 25% 15%;
    --popover: 30 56% 93%;
    --popover-foreground: 25 25% 15%;
    --primary: 30 100% 60%;
    --primary-foreground: 25 25% 15%;
    --secondary: 30 40% 85%;
    --secondary-foreground: 25 25% 15%;
    --muted: 30 40% 85%;
    --muted-foreground: 25 25% 40%;
    --accent: 210 100% 60%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 30 30% 75%;
    --input: 30 30% 80%;
    --ring: 30 100% 60%;
    --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%;
    --radius: 0.5rem;
    --sidebar-background: 30 50% 88%;
    --sidebar-foreground: 25 25% 15%;
    --sidebar-primary: 30 100% 60%;
    --sidebar-primary-foreground: 25 25% 15%;
    --sidebar-accent: 30 40% 80%;
    --sidebar-accent-foreground: 25 25% 10%;
    --sidebar-border: 30 30% 75%;
    --sidebar-ring: 30 100% 60%;
  }
  .dark {
    --background: 25 15% 10%;
    --foreground: 30 30% 90%;
    --card: 25 15% 12%;
    --card-foreground: 30 30% 90%;
    --popover: 25 15% 10%;
    --popover-foreground: 30 30% 90%;
    --primary: 30 100% 60%;
    --primary-foreground: 25 25% 15%;
    --secondary: 25 15% 20%;
    --secondary-foreground: 30 30% 90%;
    --muted: 25 15% 20%;
    --muted-foreground: 30 30% 60%;
    --accent: 210 100% 60%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;
    --border: 25 15% 25%;
    --input: 25 15% 25%;
    --ring: 30 100% 60%;
    --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: 25 15% 12%;
    --sidebar-foreground: 30 30% 90%;
    --sidebar-primary: 30 100% 60%;
    --sidebar-primary-foreground: 25 25% 15%;
    --sidebar-accent: 25 15% 20%;
    --sidebar-accent-foreground: 30 30% 90%;
    --sidebar-border: 25 15% 25%;
    --sidebar-ring: 30 100% 60%;
  }
}

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