:root {
  /* Base Colors - Minimalist Foundation */
  --color-bg: #ffffff;                    /* Pure white background */
  --color-bg-secondary: #f8f9fa;          /* Very light gray for sections */
  --color-bg-tertiary: #f1f3f4;           /* Light gray for cards */
  --color-bg-dark: #1a1a1a;               /* Dark background for contrast */
  --color-bg-gray: #bfc3cb;
  
  /* Text Colors - Perfect Contrast */
  --color-text: #000000;                  /* Pure black for main text */
  --color-text-secondary: #374151;        /* Dark gray for secondary text */
  --color-text-muted: #6b7280;            /* Medium gray for muted text */
  --color-text-reversed: #ffffff;         /* White text on dark backgrounds */
  
  /* Primary Brand Colors - Black & White */
  --color-primary: #000000;               /* Pure black from logo */
  --color-primary-light: #f5f5f4;         /* Subtle warm gray for backgrounds */
  --color-primary-dark: #000000;          /* For emphasis */
  
  /* Accent Colors - Minimal Red Usage */
  --color-accent: #dc2626;                /* */
  --color-accent-light: #ef4444;          /* Lighter red for hover */
  --color-accent-dark: #b91c1c;           /* Darker red for emphasis */
  
  /* Warm Colors - For Important CTAs */
  --color-warm: #f59e0b;                  /* Warm orange for important CTAs */
  --color-warm-light: #fbbf24;            /* Light warm for hover */
  --color-warm-dark: #d97706;             /* Dark warm for emphasis */
  --color-warm-subtle: #fef3c7;           /* Very light warm for backgrounds */
  
  /* Neutral Colors - Grays for UI */
  --color-neutral: #374151;               /* Dark gray for secondary elements */
  --color-neutral-light: #6b7280;         /* Medium gray for tertiary elements */
  --color-neutral-subtle: #f3f4f6;        /* Very light gray for backgrounds */
  
  /* Border System - Clean and Subtle */
  --color-border-light: #f3f4f6;          /* Very light borders */
  --color-border: #e5e7eb;                /* Standard borders */
  --color-border-dark: #d1d5db;           /* Darker borders */
  --color-border-focus: #dc2626; 
  --color-border-focus-light: #d7caca;         /* Focus state */
  
  /* Interactive States */
  --color-selected: #fef2f2;              /* Very light red background */
  --color-selected-light: #fecaca;        /* Light red background for focus states */
  --color-hover: #f9fafb;                 /* Subtle hover state */
  
  /* Semantic Colors */
  --color-success: #059669;               /* Green for success */
  --color-warning: #d97706;               /* Orange for warnings */
  --color-error: #dc2626;                 /* Red for errors */
  --color-info: #2563eb;                  /* Blue for info */
  --color-muted: #6b7280;                 /* Muted gray */
  
  /* Medal Colors - Keep existing */
  --color-gold: #fbbf24;
  --color-silver: #9ca3af;
  --color-bronze: #d97706;

  /* SVG color values */
  --color-filter-text: invert(0);
  --color-filter-text-reversed: invert(1);
  --color-filter-negative: invert(22%) sepia(85%) saturate(1790%) hue-rotate(339deg) brightness(105%) contrast(108%);
  --color-filter-positive: invert(44%) sepia(89%) saturate(409%) hue-rotate(89deg) brightness(94%) contrast(97%);

  /* Typography tokens */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;

  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* Breakpoints */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* Component Spacing */
  --section-spacing-xxs: var(--size-2);
  --section-spacing-xs: var(--size-4);
  --section-spacing-sm: var(--size-8);
  --section-spacing-md: var(--size-12);
  --section-spacing-lg: var(--size-16);
  --section-spacing-xl: var(--size-24);
  --section-spacing-2xl: var(--size-32);
  --section-spacing-3xl: var(--size-40);

  /* Font weights */
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Border radius */
  --rounded-sm: 0.125rem;
  --rounded-md: 0.375rem;
  --rounded-lg: 0.5rem;
  --rounded-xl: 0.75rem;

  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Spacing */
  --size-1: 0.25rem;
  --size-2: 0.5rem;
  --size-3: 0.75rem;
  --size-4: 1rem;
  --size-5: 1.25rem;
  --size-6: 1.5rem;
  --size-8: 2rem;
  --size-10: 2.5rem;
  --size-12: 3rem;
  --size-16: 4rem;
  --size-20: 5rem;
  --size-24: 6rem;
  --size-32: 8rem;
  --size-40: 10rem;
  --size-48: 12rem;
  --size-56: 14rem;
  --size-64: 16rem;
  --size-80: 20rem;
  --size-96: 24rem;
  --size-full: 100%;

  /* Opacity */
  --opacity-0: 0;
  --opacity-25: 0.25;
  --opacity-50: 0.5;
  --opacity-75: 0.75;
  --opacity-100: 1;

  /* Dark mode - TEMPORARILY DISABLED */
  /* Uncomment when you want to enable dark mode toggle */
  /*
  @media (prefers-color-scheme: dark) {
    --color-bg: var(--zinc-900);
    --color-text: var(--zinc-50);
    --color-text-reversed: var(--zinc-900);
    --color-text-subtle: var(--zinc-400);
    --color-link: var(--blue-400);
    --color-border-light: var(--zinc-800);
    --color-border: var(--zinc-700);
    --color-border-dark: var(--zinc-600);
    --color-selected: var(--blue-950);
    --color-selected-dark: var(--blue-800);
    --color-highlight: var(--yellow-900);
    --color-primary: var(--zinc-50);
    --color-primary-light: rgb(145, 223, 249);
    --color-secondary: var(--zinc-800);
    --color-negative: var(--red-400);
    --color-positive: var(--green-400);
    --color-filter-text: invert(1);
    --color-filter-text-reversed: invert(0);
    --color-filter-negative: invert(15%) sepia(65%) saturate(2067%) hue-rotate(339deg) brightness(102%) contrast(97%);
    --color-filter-positive: invert(23%) sepia(62%) saturate(554%) hue-rotate(91deg) brightness(93%) contrast(91%);
  }
  */
}

* {
  border-color: var(--color-border);
  scrollbar-color: #C1C1C1 transparent;
  scrollbar-width: thin;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-synthesis-weight
  : none;
  overscroll-behavior: none;
  text-rendering: optimizeLegibility;
}

.turbo-progress-bar {
  background-color: var(--color-primary);
}

::selection {
  background-color: #dbeafe; /* azul claro */
  color: #1e3a8a; /* azul oscuro para contraste */
}

.hidden {
  display: none !important;
}

.bg-surface {
  background-color: var(--color-bg);
}

.bg-primary {
  background-color: var(--color-primary);
}

.bg-positive {
  background-color: var(--color-positive);
}

.bg-negative {
  background-color: var(--color-negative);
}

.bg-border {
  background-color: var(--color-border);
}

.bg-admin-main{
  background-color: #0e6b9d;

}

.cursor-grab{
  cursor: grab;
}