/*
 * LexsysAI Knowledge Base - Brand Theme Override
 * Injects LexsysAI brand colors over AFFiNE defaults
 * Orange accent (#F05523) replaces blue primary
 */

/* Light theme overrides */
:root,
[data-theme="light"] {
  /* Brand / Primary */
  --affine-brand-color: #F05523 !important;
  --affine-primary-color: #F05523 !important;

  /* Blue scale → Orange scale */
  --affine-blue: #F05523 !important;
  --affine-blue-50: #FFF3EE !important;
  --affine-blue-100: #FFE4D9 !important;
  --affine-blue-200: #FFC9B3 !important;
  --affine-blue-300: #FFAD8C !important;
  --affine-blue-400: #F5724A !important;
  --affine-blue-500: #F05523 !important;
  --affine-blue-600: #D94A1E !important;
  --affine-blue-700: #C4441C !important;
  --affine-blue-800: #A33716 !important;
  --affine-blue-900: #7A2911 !important;
  --affine-blue-950: #4D1A0A !important;

  /* Status colors */
  --affine-success-color: #22c55e !important;
  --affine-error-color: #ef4444 !important;
}

/* Dark theme overrides */
[data-theme="dark"] {
  /* Brand / Primary */
  --affine-brand-color: #F5724A !important;
  --affine-primary-color: #F5724A !important;

  /* Background */
  --affine-background-primary-color: #0a0a0a !important;
  --affine-background-secondary-color: #141414 !important;
  --affine-background-tertiary-color: #1a1a1a !important;
  --affine-background-modal-color: rgba(0, 0, 0, 0.75) !important;

  /* Text */
  --affine-text-primary-color: #ffffff !important;
  --affine-text-secondary-color: #888888 !important;

  /* Border */
  --affine-border-color: rgba(255, 255, 255, 0.1) !important;

  /* Blue scale → Orange scale (dark) */
  --affine-blue: #F5724A !important;
  --affine-blue-50: #1A0F0A !important;
  --affine-blue-100: #2D1810 !important;
  --affine-blue-200: #4D2A1A !important;
  --affine-blue-300: #7A3D24 !important;
  --affine-blue-400: #C4441C !important;
  --affine-blue-500: #F05523 !important;
  --affine-blue-600: #F5724A !important;
  --affine-blue-700: #FFAD8C !important;
  --affine-blue-800: #FFC9B3 !important;
  --affine-blue-900: #FFE4D9 !important;
  --affine-blue-950: #FFF3EE !important;

  /* Status colors */
  --affine-success-color: #22c55e !important;
  --affine-error-color: #ef4444 !important;
}
