/**
 * Orion Design System - Results Portal Base Theme
 * Portal de Resultados para Pacientes
 *
 * Variables base: espaciado, tipografía, sombras, transiciones, radios.
 * Estas variables son inmutables y NO se editan desde el configurador de temas.
 *
 * Los colores se sobreescriben desde:
 *   custom-themes/results.css  →  [data-theme="results"] { ... }
 */

:root {

  /* =========================================
     ESPACIADO
     ========================================= */
  --space-3xs: 0.125rem;
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* =========================================
     BORDES REDONDEADOS
     ========================================= */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;

  /* =========================================
     TIPOGRAFÍA
     ========================================= */
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --font-size-2xs: 0.625rem;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;

  --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;

  /* =========================================
     SOMBRAS
     ========================================= */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* =========================================
     TRANSICIONES
     ========================================= */
  --transition-fast: 150ms;
  --transition-base: 0.2s;
  --transition-slow: 300ms;
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  
  /* Color Tokens */
  --color-primary: #2c5282;
  --color-primary-rgb: 44, 82, 130;
  --color-primary-dark: #1a365d;
  --color-primary-dark-rgb: 26, 54, 93;
  --color-primary-light: #3a6ea8;
  --color-primary-light-rgb: 58, 110, 168;
  --color-primary-hover: #3a6ea8;
  --color-primary-hover-rgb: 58, 110, 168;
  --color-secondary: #5a8fc4;
  --color-secondary-rgb: 90, 143, 196;
  --color-accent: #f0f4f8;
  --color-accent-rgb: 240, 244, 248;

  /* Semantic Colors */
  --color-success: #28a745;
  --color-success-rgb: 40, 167, 69;
  --color-error: #dc3545;
  --color-error-rgb: 220, 53, 69;
  --color-warning: #ffc107;
  --color-warning-rgb: 255, 193, 7;
  --color-info: #17a2b8;
  --color-info-rgb: 23, 162, 184;

  /* Surface Tokens */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tertiary: #e9ecef;
  --bg-dark: #1a365d;

  /* Text Tokens */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-muted: #adb5bd;
  --text-inverse: #ffffff;

  /* Border Tokens */
  --border-light: #e9ecef;
  --border-color: #dee2e6;
  --border-medium: #ced4da;
  --border-dark: #adb5bd;

}
