/* ============================================================
   variables.css — Design tokens (colores, spacing, fonts, shadows)
   Inspirado en Confirmafy con identidad Horaly
   ============================================================ */

:root {
  /* --- Paleta de colores --- */
  --color-primary: #6C5CE7;
  --color-primary-dark: #5A4BD1;
  --color-primary-light: #A29BFE;
  --color-primary-bg: #F0EEFF;

  --color-success: #00B894;
  --color-success-bg: #E6F9F4;
  --color-warning: #FDCB6E;
  --color-warning-bg: #FFF8E7;
  --color-danger: #FF7675;
  --color-danger-bg: #FFF0F0;
  --color-info: #74B9FF;
  --color-info-bg: #EBF5FF;

  /* --- Neutros --- */
  --color-bg: #F8F9FA;
  --color-surface: #FFFFFF;
  --color-text: #2D3436;
  --color-text-secondary: #636E72;
  --color-text-muted: #B2BEC3;
  --color-border: #DFE6E9;
  --color-border-light: #EDF2F4;
  --color-hover: #F1F2F6;

  /* --- Spacing --- */
  --space-2xs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  /* --- Typography --- */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-md: 1rem;       /* 16px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 2rem;      /* 32px */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* --- Shadows --- */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);

  /* --- Border radius --- */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* --- Z-index layers --- */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-header: 300;
  --z-sidebar: 400;
  --z-overlay: 500;
  --z-modal: 600;
  --z-toast: 700;

  /* --- Layout --- */
  --sidebar-width: 260px;
  --sidebar-collapsed-width: 72px;
  --header-height: 56px;
  --content-max-width: 1200px;

  /* --- Transitions --- */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;

  /* --- Touch targets (mínimo 44px) --- */
  --touch-target: 44px;
}
