/* Code DZ V5.1 — قيم Blue الافتراضية + توافق أسماء المتغيرات الحالية.
 * جميع Palettes القابلة للاختيار موجودة مركزياً في theme.js.
 */
:root {
  color-scheme: light;
  --primary-color: #163db8;
  --secondary-color: #315efb;
  --accent-color: #0ea5e9;
  --hero-section: #edf3ff;
  --surface-color: #ffffff;
  --surface-muted: #f4f7ff;
  --text-color: #102052;
  --text-muted: #64719a;
  --border-color: #dbe5ff;
  --focus-ring: rgba(49, 94, 251, 0.22);
  --theme-shadow: 0 12px 32px rgba(22, 61, 184, 0.15);
  --theme-gradient: linear-gradient(135deg, #163db8, #315efb);
  --success-color: #0f9f6e;
  --warning-color: #f59e0b;
  --danger-color: #dc3545;

  --primary: var(--primary-color);
  --secondary: var(--secondary-color);
  --gradient: var(--theme-gradient);
  --light-gradient: linear-gradient(135deg, var(--hero-section), var(--surface-color));
  --dark-color: var(--text-color);
  --dark: var(--text-color);
  --text: var(--text-color);
  --gray: var(--text-muted);
  --light-color: var(--surface-muted);
  --light: var(--surface-muted);
  --white: var(--surface-color);
  --border: var(--border-color);
  --shadow: var(--theme-shadow);
  --box-shadow: var(--theme-shadow);
  --success: var(--success-color);
  --warning: var(--warning-color);
  --danger: var(--danger-color);
}

html { accent-color: var(--primary-color); }

::selection {
  color: #fff;
  background: var(--primary-color);
}
