﻿:root {
  /* Light Theme (Default) */
  --bg-primary: #f4f6f9;
  --bg-surface: #ffffff;
  --bg-surface-alt: #f8fafc;
  --bg-header: #ffffff;
  --bg-footer: #ffffff;
  
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;
  
  --brand-primary: #2563eb;
  --brand-primary-hover: #1d4ed8;
  --brand-accent: #0ea5e9;
  
  --status-pending-bg: #e2e8f0;
  --status-pending-text: #475569;
  --status-delivered-bg: #dcfce7;
  --status-delivered-text: #166534;
  --status-delivered-border: #86efac;
  --status-failed-bg: #fee2e2;
  --status-failed-text: #991b1b;
  --status-failed-border: #fca5a5;
  
  --border-color: #e2e8f0;
  --border-focus: #2563eb;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-footer: 0 -4px 6px -1px rgba(0, 0, 0, 0.05);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-primary: #0f172a;
  --bg-surface: #1e293b;
  --bg-surface-alt: #334155;
  --bg-header: #1e293b;
  --bg-footer: #1e293b;
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #ffffff;
  
  --brand-primary: #3b82f6;
  --brand-primary-hover: #60a5fa;
  --brand-accent: #38bdf8;
  
  --status-pending-bg: #334155;
  --status-pending-text: #cbd5e1;
  --status-delivered-bg: #064e3b;
  --status-delivered-text: #6ee7b7;
  --status-delivered-border: #047857;
  --status-failed-bg: #7f1d1d;
  --status-failed-text: #fca5a5;
  --status-failed-border: #b91c1c;
  
  --border-color: #334155;
  --border-focus: #60a5fa;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-footer: 0 -4px 6px -1px rgba(0, 0, 0, 0.4);
}
