/* gatekeeper-tokens.css
 * Design tokens for consistent theming across all Gatekeeper tools
 * Include this in every tool: <link rel="stylesheet" href="/static/gatekeeper-tokens.css">
 */

:root {
  /* Color Palette - Backgrounds */
  --gk-bg-primary: #0b1020;
  --gk-bg-secondary: #121a35;
  --gk-bg-tertiary: #1a2650;
  --gk-bg-elevated: #0f1730;
  --gk-bg-hover: #152647;

  /* Color Palette - Text */
  --gk-text-primary: #e9eeff;
  --gk-text-secondary: #9fb1ff;
  --gk-text-tertiary: #7aa2ff;
  --gk-text-muted: #5a6f8f;
  --gk-text-accent: #7aa2ff;

  /* Color Palette - Borders */
  --gk-border-primary: #253468;
  --gk-border-secondary: #3a5d9f;
  --gk-border-accent: #4a6daf;

  /* Color Palette - Semantic Colors */
  --gk-success: #4a8f6f;
  --gk-success-bg: #2a5f3f;
  --gk-warning: #d9a520;
  --gk-warning-bg: #8f6f10;
  --gk-error: #d97a7a;
  --gk-error-bg: #8f3a3a;
  --gk-info: #7aa2ff;
  --gk-info-bg: #3a5d9f;

  /* Color Palette - Special */
  --gk-purple: #d9b3ff;
  --gk-purple-bg: #4a3f6f;
  --gk-purple-dark: #2a1f3f;

  /* Spacing Scale */
  --gk-space-xs: 4px;
  --gk-space-sm: 8px;
  --gk-space-md: 12px;
  --gk-space-lg: 16px;
  --gk-space-xl: 20px;
  --gk-space-2xl: 24px;
  --gk-space-3xl: 32px;
  --gk-space-4xl: 40px;

  /* Typography */
  --gk-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gk-font-mono: 'Courier New', 'Monaco', 'Consolas', monospace;

  --gk-font-size-xs: 11px;
  --gk-font-size-sm: 12px;
  --gk-font-size-base: 13px;
  --gk-font-size-md: 14px;
  --gk-font-size-lg: 16px;
  --gk-font-size-xl: 18px;
  --gk-font-size-2xl: 20px;
  --gk-font-size-3xl: 24px;
  --gk-font-size-4xl: 28px;

  --gk-font-weight-normal: 400;
  --gk-font-weight-medium: 500;
  --gk-font-weight-semibold: 600;
  --gk-font-weight-bold: 700;

  --gk-line-height-tight: 1.2;
  --gk-line-height-normal: 1.5;
  --gk-line-height-relaxed: 1.6;

  --gk-letter-spacing-tight: -0.5px;
  --gk-letter-spacing-normal: 0;
  --gk-letter-spacing-wide: 0.5px;
  --gk-letter-spacing-wider: 1px;

  /* Border Radius */
  --gk-radius-sm: 4px;
  --gk-radius-md: 6px;
  --gk-radius-lg: 8px;
  --gk-radius-xl: 12px;
  --gk-radius-full: 9999px;

  /* Shadows */
  --gk-shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.2);
  --gk-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --gk-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
  --gk-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
  --gk-shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.5);
  --gk-shadow-accent: 0 4px 12px rgba(58, 93, 159, 0.3);

  /* Z-Index Scale */
  --gk-z-base: 0;
  --gk-z-dropdown: 10;
  --gk-z-sticky: 100;
  --gk-z-overlay: 1000;
  --gk-z-modal: 2000;
  --gk-z-tooltip: 3000;

  /* Transitions */
  --gk-transition-fast: 0.15s ease;
  --gk-transition-base: 0.2s ease;
  --gk-transition-slow: 0.3s ease;
  --gk-transition-slower: 0.4s ease;

  /* Gradients */
  --gk-gradient-header: linear-gradient(135deg, #1a2650 0%, #0f1730 100%);
  --gk-gradient-card: linear-gradient(135deg, #121a35 0%, #0f1730 100%);
  --gk-gradient-button: linear-gradient(135deg, #1a2d5f 0%, #152647 100%);
  --gk-gradient-accent: linear-gradient(90deg, #3a5d9f 0%, #7aa2ff 100%);
}
