/* ============================================================
   BuscarPDF Web - Sistema de Cores e Temas (Modern Civic Tech)
   Padrão: Apple / Linear Luxury (Glassmorphism Pro)
   ============================================================ */

:root {
  /* Tipografia */
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Transições e Curvas Naturais Apple */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 160ms;
  --duration-normal: 260ms;
  --duration-slow: 400ms;

  /* Raio de curvatura */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-pill: 9999px;
}

/* Modo Claro (Solar Civic Luxury - Electric Blue Accent) */
html[data-theme="light"], :root {
  --bg-app: #f8fafc;
  --bg-surface: rgba(255, 255, 255, 0.92);
  --bg-surface-elevated: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-input: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-inverse: #ffffff;

  --border-subtle: rgba(226, 232, 240, 0.9);
  --border-strong: #cbd5e1;
  --border-focus: #2563eb;

  --accent-primary: #2563eb;
  --accent-primary-hover: #1d4ed8;
  --accent-light: rgba(37, 99, 235, 0.1);
  --accent-glow: rgba(37, 99, 235, 0.25);
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --accent-gradient-hover: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

  --badge-bg: #f1f5f9;
  --badge-text: #334155;
  --highlight-bg: #dbeafe;
  --highlight-text: #1e40af;

  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -1px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 16px 36px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.05);
  --glass-border: 1px solid rgba(226, 232, 240, 0.85);
  --glass-inner-glow: inset 0 1px 0 0 rgba(255, 255, 255, 0.95);

  --success: #10b981;
  --success-bg: #ecfdf5;
  --danger: #ef4444;
  --info: #0284c7;
}

/* Modo Escuro (Apple / Obsidian Deep Slate - Electric Royal Blue) */
html[data-theme="dark"] {
  --bg-app: #080c14;
  --bg-surface: rgba(15, 23, 42, 0.75);
  --bg-surface-elevated: #0f172a;
  --bg-surface-subtle: #1e293b;
  --bg-input: rgba(15, 23, 42, 0.85);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #030712;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-focus: #3b82f6;

  --accent-primary: #3b82f6;
  --accent-primary-hover: #60a5fa;
  --accent-light: rgba(59, 130, 246, 0.15);
  --accent-glow: rgba(59, 130, 246, 0.35);
  --accent-gradient: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  --accent-gradient-hover: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);

  --badge-bg: rgba(255, 255, 255, 0.06);
  --badge-text: #e2e8f0;
  --highlight-bg: rgba(59, 130, 246, 0.28);
  --highlight-text: #93c5fd;

  --card-shadow: 0 8px 32px -4px rgba(0, 0, 0, 0.55);
  --card-shadow-hover: 0 20px 48px -6px rgba(0, 0, 0, 0.75);
  --glass-border: 1px solid rgba(255, 255, 255, 0.09);
  --glass-inner-glow: inset 0 1px 0 0 rgba(255, 255, 255, 0.14);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.16);
  --danger: #f87171;
  --info: #38bdf8;
}
