@import "tailwindcss";
@import "tw-animate-css";

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

:root {
  /* Updated color tokens for ads center dashboard design brief */
  --background: #ffffff;
  --foreground: #475569;
  --card: #f1f5f9;
  --card-foreground: #475569;
  --popover: #ffffff;
  --popover-foreground: #475569;
  --primary: #059669;
  --primary-foreground: #ffffff;
  --secondary: #10b981;
  --secondary-foreground: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #374151;
  --accent: #10b981;
  --accent-foreground: #ffffff;
  --destructive: #be123c;
  --destructive-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #f1f5f9;
  --ring: rgba(5, 150, 105, 0.5);
  --chart-1: #059669;
  --chart-2: #10b981;
  --chart-3: #ec4899;
  --chart-4: #be123c;
  --chart-5: #15803d;
  --radius: 0.5rem;
  --sidebar: #f1f5f9;
  --sidebar-foreground: #475569;
  --sidebar-primary: #059669;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #10b981;
  --sidebar-accent-foreground: #ffffff;
  --sidebar-border: #e2e8f0;
  --sidebar-ring: rgba(5, 150, 105, 0.5);
}

.dark {
  /* Updated dark mode tokens for ads center dashboard */
  --background: #0f172a;
  --foreground: #f1f5f9;
  --card: #1e293b;
  --card-foreground: #f1f5f9;
  --popover: #1e293b;
  --popover-foreground: #f1f5f9;
  --primary: #059669;
  --primary-foreground: #ffffff;
  --secondary: #10b981;
  --secondary-foreground: #f1f5f9;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #10b981;
  --accent-foreground: #f1f5f9;
  --destructive: #be123c;
  --destructive-foreground: #f1f5f9;
  --border: #334155;
  --input: #1e293b;
  --ring: rgba(5, 150, 105, 0.5);
  --chart-1: #059669;
  --chart-2: #10b981;
  --chart-3: #ec4899;
  --chart-4: #be123c;
  --chart-5: #15803d;
  --sidebar: #1e293b;
  --sidebar-foreground: #f1f5f9;
  --sidebar-primary: #334155;
  --sidebar-primary-foreground: #f1f5f9;
  --sidebar-accent: #10b981;
  --sidebar-accent-foreground: #f1f5f9;
  --sidebar-border: #334155;
  --sidebar-ring: rgba(5, 150, 105, 0.5);
}

@theme inline {
  --font-sans: var(--font-geist-sans);
  --font-mono: var(--font-geist-mono);
  --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-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);
}


/* my customs */

.dark {
  /* Updated dark mode tokens for ads center dashboard */
  --background: #0a0a0a;
  --foreground: #f1f5f9;
  --card: #1e293b;
  --card-foreground: #f1f5f9;
  --popover: #1e293b;
  --popover-foreground: #f1f5f9;
  --primary: #059669;
  --primary-foreground: #ffffff;
  --secondary: #10b981;
  --secondary-foreground: #f1f5f9;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #10b981;
  --accent-foreground: #f1f5f9;
  --destructive: #be123c;
  --destructive-foreground: #f1f5f9;
  --border: #334155;
  --input: #1e293b;
  --ring: rgba(5, 150, 105, 0.5);
  --chart-1: #059669;
  --chart-2: #10b981;
  --chart-3: #ec4899;
  --chart-4: #be123c;
  --chart-5: #15803d;
  --sidebar: #1e293b;
  --sidebar-foreground: #f1f5f9;
  --sidebar-primary: #334155;
  --sidebar-primary-foreground: #f1f5f9;
  --sidebar-accent: #10b981;
  --sidebar-accent-foreground: #f1f5f9;
  --sidebar-border: #334155;
  --sidebar-ring: rgba(5, 150, 105, 0.5);
}


/* my colors Ananda */

:root {
  /* Animate UI Light Mode Palette */
  --background: #ffffff;
  --foreground: #09090b; /* Zinc 950 */

  --card: #ffffff;
  --card-foreground: #09090b;

  --popover: #ffffff;
  --popover-foreground: #09090b;

  /* Primary: Indigo / Violet signature */
  --primary: #18181b; /* Zinc 900 for high-contrast buttons */
  --primary-foreground: #fafafa;

  /* Secondary: Soft Gray */
  --secondary: #f4f4f5; /* Zinc 100 */
  --secondary-foreground: #18181b;

  /* Muted: Subtle text and backgrounds */
  --muted: #f4f4f5;
  --muted-foreground: #71717a; /* Zinc 500 */

  /* Accent: Hover states */
  --accent: #f4f4f5;
  --accent-foreground: #18181b;

  --destructive: #ef4444;
  --destructive-foreground: #fafafa;

  /* Borders & Inputs */
  --border: #e4e4e7; /* Zinc 200 */
  --input: #e4e4e7;
  --ring: #18181b;

  /* Chart colors: Vibrant but balanced for light backgrounds */
  --chart-1: #6366f1;
  --chart-2: #10b981;
  --chart-3: #f59e0b;
  --chart-4: #ef4444;
  --chart-5: #8b5cf6;

  /* Sidebar: Clean and distinct */
  --sidebar: #fbfbfb;
  --sidebar-foreground: #18181b;
  --sidebar-primary: #18181b;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f4f4f5;
  --sidebar-accent-foreground: #18181b;
  --sidebar-border: #e4e4e7;
  --sidebar-ring: #18181b;
}

.dark {
  /* Animate UI inspired Dark Mode Palette */
  --background: #09090b; /* Zinc 950 - deeper than slate */
  --foreground: #fafafa; /* Zinc 50 */
  
  --card: #09090b;
  --card-foreground: #fafafa;
  
  --popover: #09090b;
  --popover-foreground: #fafafa;

  /* Primary: Using the signature Indigo/Violet of modern animated libraries */
  /* --primary: #6366f1;  */
  --primary: #df7016; 

  --primary-foreground: #ffffff;

  /* Secondary: Muted background for secondary elements */
  --secondary: #27272a; /* Zinc 800 */
  --secondary-foreground: #fafafa;

  /* Muted colors for labels and less important text */
  --muted: #27272a;
  --muted-foreground: #a1a1aa; /* Zinc 400 */

  /* Accent: Used for hover states and highlights */
  --accent: #27272a;
  --accent-foreground: #fafafa;

  --destructive: #7f1d1d;
  --destructive-foreground: #fafafa;

  /* Borders & Inputs: Subtle and sleek */
  --border: #27272a; 
  --input: #27272a;
  --ring: #6366f1;

  /* Chart colors: Using the vibrant palette found in high-end dashboards */
  --chart-1: #6366f1; /* Indigo */
  --chart-2: #10b981; /* Emerald */
  --chart-3: #f59e0b; /* Amber */
  --chart-4: #ef4444; /* Red */
  --chart-5: #8b5cf6; /* Violet */

  /* Sidebar: Often slightly lighter or same as background in Animate UI */
  --sidebar: #09090b;
  --sidebar-foreground: #f4f4f5;
  --sidebar-primary: #6366f1;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #27272a;
  --sidebar-accent-foreground: #fafafa;
  --sidebar-border: #27272a;
  --sidebar-ring: #6366f1;
}

@layer base {
  * {
    @apply border-border outline-ring/50;
  }
  body {
    @apply bg-background text-foreground;
  }
}

.home-page-container{
  /* background-image: url('../public/images/dark-background-2.png'); */
  /* background-size: 100% 100%; */
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}


.search-results-container{
  /* max-width: 640px; */
}


@media (max-width: 768px) {

  .indzs-search-wrapper{
        margin-top: 50px;
    justify-content: flex-start;
  }
  .home-search-button{
    display: none;
  }
}