@import "tailwindcss";

@theme {
  --color-brand-black: #111111;
  --color-brand-accent: #dc2626; /* Logo Red */
  --color-brand-dark-gray: #333333;
  --color-brand-light-gray: #f9fafb;
  
  --color-background: var(--color-brand-light-gray);
  --color-foreground: var(--color-brand-black);
}

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

@layer base {
  :root {
    --background: #ffffff;
    --foreground: #111111;
    --card: #f9fafb;
    --card-foreground: #111111;
    --popover: #ffffff;
    --popover-foreground: #111111;
    --primary: #dc2626;
    --primary-foreground: #ffffff;
    --secondary: #f3f4f6;
    --secondary-foreground: #111111;
    --muted: #f3f4f6;
    --muted-foreground: #6b7280;
    --accent: #dc2626;
    --accent-foreground: #ffffff;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #e5e7eb;
    --input: #e5e7eb;
    --ring: #dc2626;
    --radius: 0.5rem;
  }

  .dark {
    --background: #111111;
    --foreground: #ffffff;
    --card: #1f2937;
    --card-foreground: #ffffff;
    --popover: #1f2937;
    --popover-foreground: #ffffff;
    --primary: #dc2626;
    --primary-foreground: #ffffff;
    --secondary: #1f2937;
    --secondary-foreground: #ffffff;
    --muted: #374151;
    --muted-foreground: #9ca3af;
    --accent: #dc2626;
    --accent-foreground: #ffffff;
    --destructive: #ef4444;
    --destructive-foreground: #ffffff;
    --border: #374151;
    --input: #374151;
    --ring: #dc2626;
  }
}

@layer base {
  * {
    border-color: var(--border);
  }
  body {
    background-color: var(--background);
    color: var(--foreground);
    font-family: Arial, Helvetica, sans-serif;
  }
}

.glass-panel {
  background: rgba(26, 35, 44, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel-light {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f9fafb;
}
.dark ::-webkit-scrollbar-track {
  background: #111111;
}
::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}
