@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/urbanist/urbanist-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Urbanist';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/urbanist/urbanist-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext-400-normal-C1nco2VV.woff2') format('woff2'),
       url('../fonts/inter/inter-latin-400-normal-C38fXH4l.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext-500-normal-CV4jyFjo.woff2') format('woff2'),
       url('../fonts/inter/inter-latin-500-normal-Cerq10X2.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext-600-normal-D2bJ5OIk.woff2') format('woff2'),
       url('../fonts/inter/inter-latin-600-normal-LgqL8muc.woff2') format('woff2');
}

:root {
  color-scheme: light;

  /* Kılıç Bilişim Brand Purple (harmonized with klcbilisim.com.tr #7B1FE4 & #A121CA) */
  --accent: #7b1fe4;
  --accent-rgb: 123, 31, 228;
  --accent-hover: #6717c4;
  --accent-active: #5512a3;
  --accent-soft: #f4ebfe;
  --accent-border: #dfc6fb;
  --accent-emphasis: #5c14b0;

  --secondary: #a121ca;
  --secondary-rgb: 161, 33, 202;
  --secondary-soft: #faeefe;

  /* WISECP Executive Dark-Plum Chrome (Sidebar & Auth Stage) */
  --chrome-bg: #19112b;
  --chrome-bg-deep: #110b1e;
  --chrome-color: #f3eefb;
  --chrome-muted: #a59bb9;
  --chrome-border: rgba(243, 238, 251, 0.09);
  --chrome-hover: rgba(243, 238, 251, 0.08);
  --chrome-accent: #c78dff;
  --chrome-active-bg: rgba(161, 33, 202, 0.24);

  /* Light Mode Canvas & Surfaces */
  --bg-canvas: #f5f5fa;
  --bg-surface: #ffffff;
  --bg-subtle: #faf9fd;
  --bg-hover: #f2eef9;
  --bg-active: #f4ebfe;

  /* Typography Ink (klcbilisim.com.tr --pp-header #1A192E) */
  --ink: #1a192e;
  --ink-secondary: #4a475f;
  --ink-muted: #6e6a85;
  --ink-faint: #9893ae;

  /* Borders */
  --border: #e5e2f0;
  --border-strong: #cfc9e3;
  --border-input: #c6bedd;

  /* Semantic Status Colors */
  --success: #188653;
  --success-bg: #eafaf1;
  --success-border: #bcebd2;

  --warning: #b45309;
  --warning-bg: #fff8eb;
  --warning-border: #fde2ad;

  --danger: #c81e3a;
  --danger-bg: #fef1f3;
  --danger-border: #fccad3;

  --info: #7b1fe4;
  --info-bg: #f4ebfe;
  --info-border: #dfc6fb;

  --neutral: #4e4a63;
  --neutral-bg: #f1eff7;
  --neutral-border: #d8d3e6;

  /* WISECP WStyle Radii */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  /* Layout Dimensions */
  --sidebar-width: 268px;
  --sidebar-rail-width: 78px;
  --topbar-height: 66px;
  --content-max: 1360px;

  /* WISECP Soft Layered Shadows */
  --shadow-xs: 0 1px 3px rgba(26, 25, 46, 0.05);
  --shadow-sm: 0 4px 16px rgba(26, 25, 46, 0.06);
  --shadow-md: 0 10px 28px rgba(26, 25, 46, 0.09);
  --shadow-lg: 0 18px 44px rgba(20, 12, 38, 0.16);

  --focus-ring: 0 0 0 3.5px rgba(123, 31, 228, 0.16);

  --font-sans: 'Urbanist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --accent: #9f5afd;
  --accent-rgb: 159, 90, 253;
  --accent-hover: #b278ff;
  --accent-active: #8b3df8;
  --accent-soft: rgba(159, 90, 253, 0.16);
  --accent-border: rgba(199, 141, 255, 0.28);
  --accent-emphasis: #d7b4ff;

  --bg-canvas: #0f0b19;
  --bg-surface: #171226;
  --bg-subtle: #1d1730;
  --bg-hover: #251d3c;
  --bg-active: rgba(159, 90, 253, 0.18);

  --ink: #f3effb;
  --ink-secondary: #cbc3de;
  --ink-muted: #978eb0;
  --ink-faint: #6f6788;

  --border: #2a2242;
  --border-strong: #392e58;
  --border-input: #3e3260;

  --success: #34d399;
  --success-bg: rgba(16, 185, 129, 0.14);
  --success-border: rgba(52, 211, 153, 0.28);

  --warning: #fbbf24;
  --warning-bg: rgba(245, 158, 11, 0.15);
  --warning-border: rgba(251, 191, 36, 0.28);

  --danger: #fb7185;
  --danger-bg: rgba(244, 63, 94, 0.15);
  --danger-border: rgba(251, 113, 133, 0.28);

  --info: #c084fc;
  --info-bg: rgba(168, 85, 247, 0.16);
  --info-border: rgba(192, 132, 252, 0.28);

  --neutral: #c4bdd6;
  --neutral-bg: rgba(255, 255, 255, 0.06);
  --neutral-border: rgba(255, 255, 255, 0.12);

  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.28);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.34);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.44);
  --shadow-lg: 0 22px 54px rgba(0, 0, 0, 0.56);
}
