/* ==========================================================================
   STRICT LIGHT-THEME DESIGN SYSTEM (MANDATORY — NO DARK MODE)
   CareerSync SaaS — High-Contrast, Airy Modern Career Platform
   ========================================================================== */

:root {
  /* Canvas & Base Surfaces */
  --bg-canvas: #F8FAFC;              /* Slate-50 Page Canvas Background */
  --bg-surface: #FFFFFF;             /* Pure White Card & Surface */
  --bg-surface-subtle: #F8FAFC;      /* Subtle nested surface */
  --bg-surface-hover: #F1F5F9;       /* Slate-100 hover state */
  
  /* Borders & Dividers */
  --border-color: #E2E8F0;           /* Slate-200 1px solid border */
  --border-subtle: #F1F5F9;          /* Slate-100 delicate divider */
  --border-focus: #2563EB;           /* Blue-600 focus ring */
  
  /* Primary Brand Accent */
  --primary: #2563EB;                /* Blue-600 for primary buttons, active tabs, progress */
  --primary-hover: #1D4ED8;          /* Blue-700 hover state */
  --primary-active: #1E40AF;         /* Blue-800 pressed state */
  --primary-contrast: #FFFFFF;       /* Pure white text on primary */

  /* Soft Tint Highlights */
  --tint-bg: #EFF6FF;                /* Blue-50 What-If Simulator banner, active filters, callouts */
  --tint-border: #DBEAFE;            /* Blue-200 border for tint callouts */
  --tint-text: #1E40AF;              /* Blue-800 readable accent text */

  /* Typography / Text Colors */
  --text-heading: #0F172A;           /* Slate-900 Primary Heading Text */
  --text-body: #475569;              /* Slate-600 Secondary Body Text */
  --text-muted: #64748B;             /* Slate-500 Muted / Caption Text */
  --text-disabled: #94A3B8;          /* Slate-400 disabled text */

  /* Semantic Status Badges (Soft pastel fills with dark readable text) */
  /* Matched / High Score */
  --badge-high-bg: #ECFDF5;
  --badge-high-text: #065F46;
  --badge-high-border: #A7F3D0;
  
  /* Partial / Medium Score */
  --badge-medium-bg: #FFFBEB;
  --badge-medium-text: #92400E;
  --badge-medium-border: #FDE68A;
  
  /* Missing / Low Score */
  --badge-low-bg: #FEF2F2;
  --badge-low-text: #991B1B;
  --badge-low-border: #FECACA;

  /* Shadows (Subtle elevation only — no glow, no dark shadows) */
  --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.07), 0 4px 6px -4px rgba(15, 23, 42, 0.04);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;                /* Standard rounded-xl for white cards & surfaces */
  --radius-2xl: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout Dimensions */
  --sidebar-width: 260px;
  --header-height: 64px;
}

/* Base Reset & Box-Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Strictly Enforce Light Canvas */
html, body {
  background-color: var(--bg-canvas) !important;
  color: var(--text-body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  color-scheme: light !important; /* Disables browser-forced dark mode emulation */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 1.75rem; font-weight: 700; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.95rem; }

p {
  color: var(--text-body);
}

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

/* Code & Previews: STRICTLY NO DARK BLOCKS */
pre, code, kbd, samp {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background-color: #F1F5F9 !important;
  color: #0F172A !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: var(--radius-sm);
}

code {
  padding: 0.15em 0.35em;
  font-size: 0.875em;
}

pre {
  padding: 1rem;
  overflow-x: auto;
  line-height: 1.45;
}

/* Form Controls */
input, textarea, select {
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--text-heading);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.55rem 0.75rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

input::placeholder, textarea::placeholder {
  color: var(--text-muted);
}

button {
  font-family: inherit;
  font-size: 0.875rem;
  cursor: pointer;
  border: none;
  background: none;
}
