/* ==========================================================================
   EdSy theme — the single source of colour truth.
   Ported from the React/AntD theme (edsy-frontend/src/styles/theme.js) so the
   Django site and the Django admin share one palette. Change a value here and
   both follow.
   ========================================================================== */

:root {
  /* Brand */
  --edsy-primary: #A5C93C;
  --edsy-primary-light: #C8E66D;
  --edsy-primary-hover: #89A65E;
  --edsy-primary-dark: #7A9B2D;
  --edsy-on-primary: #18301F;

  /* Surfaces */
  --edsy-bg: #1E3D35;
  --edsy-surface: #264D3B;
  --edsy-elevated: #2E5A45;
  --edsy-spotlight: #1a2e1a;

  /* Text */
  --edsy-text: #FFFFFF;
  --edsy-text-secondary: #E8E8E8;
  --edsy-text-muted: #9AA39E;
  --edsy-text-subtle: #6B7280;

  /* Accent + status */
  --edsy-accent: #F1E5A0;
  --edsy-success: #10B981;
  --edsy-warning: #F59E0B;
  --edsy-error: #DC2626;
  --edsy-info: #5EC8F2;

  /* Lines */
  --edsy-border: rgba(165, 201, 60, 0.2);
  --edsy-border-light: rgba(165, 201, 60, 0.1);
  --edsy-border-solid: #A5C93C;

  /* Shape */
  --edsy-radius-sm: 6px;
  --edsy-radius: 8px;
  --edsy-radius-lg: 12px;

  /* Controls (match AntD control heights) */
  --edsy-control-h-sm: 32px;
  --edsy-control-h: 40px;
  --edsy-control-h-lg: 48px;

  /* Type */
  --edsy-font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --edsy-heading-font: 'Montserrat', 'Open Sans', -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, sans-serif;
  --edsy-font-mono: 'Fira Code', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout rhythm */
  --edsy-gap: 1rem;
  --edsy-container: 1200px;

  /* Minimum comfortable tap target on touch devices */
  --edsy-tap: 44px;
}
