/**
 * RaaS Talent - Design System Variables
 * A modern SaaS design system with dark sidebar and light content area
 */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  /* ==================== */
  /* Color Palette */
  /* ==================== */

  /* Basics */
  --color-white: #ffffff;
  --color-black: #000000;

  /* Primary - Emerald */
  --color-primary-50: #ecfdf5;
  --color-primary-100: #d1fae5;
  --color-primary-200: #a7f3d0;
  --color-primary-300: #6ee7b7;
  --color-primary-400: #34d399;
  --color-primary-500: #10b981;
  --color-primary-600: #059669;
  --color-primary-700: #047857;
  --color-primary-800: #065f46;
  --color-primary-900: #064e3b;

  /* Neutral - Slate (for sidebar and text) */
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-slate-950: #020617;

  /* Semantic Colors */
  --color-success: #22c55e;
  --color-success-light: #dcfce7;
  --color-warning: #f59e0b;
  --color-warning-light: #fef3c7;
  --color-error: #ef4444;
  --color-error-light: #fef2f2;
  --color-info: #3b82f6;
  --color-info-light: #dbeafe;

  /* ==================== */
  /* Sidebar Theme */
  /* ==================== */
  --sidebar-bg: var(--color-slate-900);
  --sidebar-bg-hover: var(--color-slate-800);
  --sidebar-text: var(--color-slate-400);
  --sidebar-text-active: #ffffff;
  --sidebar-border: var(--color-slate-800);
  --sidebar-width: 240px;
  --sidebar-width-collapsed: 64px;

  /* ==================== */
  /* Content Area Theme */
  /* ==================== */
  --content-bg: var(--color-slate-50);
  --content-bg-card: #ffffff;
  --content-text: var(--color-slate-900);
  --content-text-muted: var(--color-slate-500);
  --content-border: var(--color-slate-200);

  /* ==================== */
  /* Typography */
  /* ==================== */
  --font-heading: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  /* 12px */
  --text-sm: 0.8125rem;
  /* 13px */
  --text-base: 0.9375rem;
  /* 15px */
  --text-lg: 1.0625rem;
  /* 17px */
  --text-xl: 1.25rem;
  /* 20px */
  --text-2xl: 1.5rem;
  /* 24px */
  --text-3xl: 1.875rem;
  /* 30px */
  --text-4xl: 2.25rem;
  /* 36px */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* Line Heights */
  --leading-tight: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;

  /* ==================== */
  /* Spacing - Compact Scale */
  /* ==================== */
  --space-1: 0.125rem;
  /* 2px */
  --space-2: 0.25rem;
  /* 4px */
  --space-3: 0.5rem;
  /* 8px */
  --space-4: 0.75rem;
  /* 12px */
  --space-5: 1rem;
  /* 16px */
  --space-6: 1.25rem;
  /* 20px */
  --space-8: 1.5rem;
  /* 24px */
  --space-10: 2rem;
  /* 32px */
  --space-12: 2.5rem;
  /* 40px */
  --space-16: 3rem;
  /* 48px */

  /* ==================== */
  /* Border Radius */
  /* ==================== */
  --radius-sm: 0.125rem;
  /* 2px */
  --radius-md: 0.375rem;
  /* 6px */
  --radius-lg: 0.5rem;
  /* 8px */
  --radius-xl: 0.75rem;
  /* 12px */
  --radius-2xl: 1rem;
  /* 16px */
  --radius-full: 9999px;

  /* ==================== */
  /* Shadows */
  /* ==================== */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);

  /* Card shadow */
  --shadow-card: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-card-hover: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* ==================== */
  /* Transitions */
  /* ==================== */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 300ms ease;
  --transition-slower: 500ms ease;

  /* ==================== */
  /* Z-Index Scale */
  /* ==================== */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* ==================== */
  /* Auth Page Background */
  /* ==================== */
  --auth-gradient:
    radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
    radial-gradient(at 100% 0%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(at 0% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

/* ==================== */
/* Base Resets */
/* ==================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--content-text);
  background-color: var(--content-bg);
}

/* ==================== */
/* Typography Defaults */
/* ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
  line-height: var(--leading-tight);
  color: var(--content-text);
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-2xl);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

h5 {
  font-size: var(--text-base);
}

h6 {
  font-size: var(--text-sm);
}

p {
  color: var(--content-text-muted);
}

a {
  color: var(--color-primary-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-700);
}

/* ==================== */
/* Utility Classes */
/* ==================== */
.text-muted {
  color: var(--content-text-muted);
}

.text-primary {
  color: var(--color-primary-600);
}

.text-success {
  color: var(--color-success);
}

.text-warning {
  color: var(--color-warning);
}

.text-error {
  color: var(--color-error);
}

.bg-primary {
  background-color: var(--color-primary-500);
}

.bg-primary-light {
  background-color: var(--color-primary-50);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-mono {
  font-family: var(--font-mono);
}