  
      @custom-variant dark (&:is(.dark *));

:root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: #1F2933;
  --card: #ffffff;
  --card-foreground: #1F2933;
  --popover: #ffffff;
  --popover-foreground: #1F2933;
  
  /* Al Hadatha Brand Colors */
  --hadatha-green: #1E6F3C;
  --hadatha-red: #E53935;
  --hadatha-off-white: #F7F9F8;
  --hadatha-light-gray: #E5E7EB;
  --hadatha-dark-gray: #374151;
  --hadatha-charcoal: #1F2933;
  
  --primary: #1E6F3C;
  --primary-foreground: #ffffff;
  --secondary: #F7F9F8;
  --secondary-foreground: #1F2933;
  --muted: #E5E7EB;
  --muted-foreground: #374151;
  --accent: #E53935;
  --accent-foreground: #ffffff;
  --destructive: #E53935;
  --destructive-foreground: #ffffff;
  --border: #E5E7EB;
  --input: transparent;
  --input-background: #F7F9F8;
  --switch-background: #E5E7EB;
  --font-weight-medium: 600;
  --font-weight-normal: 400;
  --ring: #1E6F3C;
  --chart-1: #1E6F3C;
  --chart-2: #E53935;
  --chart-3: #374151;
  --chart-4: #60A5FA;
  --chart-5: #F59E0B;
  --radius: 1rem;
  --sidebar: #F7F9F8;
  --sidebar-foreground: #1F2933;
  --sidebar-primary: #1E6F3C;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #E5E7EB;
  --sidebar-accent-foreground: #1F2933;
  --sidebar-border: #E5E7EB;
  --sidebar-ring: #1E6F3C;
}

.dark {
  --background: #1F2933;
  --foreground: #F7F9F8;
  --card: #1F2933;
  --card-foreground: #F7F9F8;
  --popover: #1F2933;
  --popover-foreground: #F7F9F8;
  --primary: #1E6F3C;
  --primary-foreground: #ffffff;
  --secondary: #374151;
  --secondary-foreground: #F7F9F8;
  --muted: #374151;
  --muted-foreground: #E5E7EB;
  --accent: #E53935;
  --accent-foreground: #ffffff;
  --destructive: #E53935;
  --destructive-foreground: #ffffff;
  --border: #374151;
  --input: #374151;
  --ring: #1E6F3C;
  --font-weight-medium: 600;
  --font-weight-normal: 400;
  --chart-1: #1E6F3C;
  --chart-2: #E53935;
  --chart-3: #E5E7EB;
  --chart-4: #60A5FA;
  --chart-5: #F59E0B;
  --sidebar: #1F2933;
  --sidebar-foreground: #F7F9F8;
  --sidebar-primary: #1E6F3C;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #374151;
  --sidebar-accent-foreground: #F7F9F8;
  --sidebar-border: #374151;
  --sidebar-ring: #1E6F3C;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-input-background: var(--input-background);
  --color-switch-background: var(--switch-background);
  --color-ring: var(--ring);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }

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

  /**
  * Default typography styles for HTML elements (h1-h4, p, label, button, input).
  * These are in @layer base, so Tailwind utility classes (like text-sm, text-lg) automatically override them.
  */

  html {
    font-size: var(--font-size);
  }

  h1 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    color: var(--hadatha-charcoal);
  }

  h2 {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    color: var(--hadatha-charcoal);
  }

  h3 {
    font-size: var(--text-lg);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    color: var(--hadatha-charcoal);
  }

  h4 {
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
    color: var(--hadatha-charcoal);
  }

  label {
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
  }

  button {
    font-size: var(--text-base);
    font-weight: var(--font-weight-medium);
    line-height: 1.5;
  }

  input {
    font-size: var(--text-base);
    font-weight: var(--font-weight-normal);
    line-height: 1.5;
  }
}
.active{
    color:#1f703c !important;
}
  