/* Vakeon — design tokens. Import once; everything below is on :root.
   Dark mode: add data-theme="dark" on <html>. */

@font-face { font-family: "Manrope"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/manrope-latin-ext-400-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/manrope-latin-400-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/manrope-latin-ext-500-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/manrope-latin-500-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("../fonts/manrope-latin-ext-600-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 600;
  src: url("../fonts/manrope-latin-600-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("../fonts/manrope-latin-ext-700-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 700;
  src: url("../fonts/manrope-latin-700-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 800;
  src: url("../fonts/manrope-latin-ext-800-normal.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: "Manrope"; font-style: normal; font-display: swap; font-weight: 800;
  src: url("../fonts/manrope-latin-800-normal.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; }

:root {
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* neutrals */
  --color-ink: #10192B;
  --color-paper: #F6F4EF;
  --color-surface: #FFFFFF;
  --color-slate: #5B6474;
  --color-line: #E3E0D8;

  /* status (never as brand colour) */
  --color-success: #1E8E5A;
  --color-warning: #C98A0B;
  --color-danger:  #C8382E;
  --color-info:    #2F6FC2;

  /* Vakeon brand */
  --brand-primary: #14957A;
  --brand-deep:    #0E6E5A;
  --brand-soft:    #8FD3C1;
  --brand-tint:    #E2F4EF;
  --brand-text:    #0E6E5A;
  --brand-action-bg: #0E6E5A;
  --brand-action-fg: #FFFFFF;

  --radius-sm: 8px;  --radius-md: 12px;  --radius-lg: 16px;  --radius-xl: 22px;
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px;
  --text-xs: 12px; --text-sm: 14px; --text-md: 16px; --text-lg: 18px;
  --text-xl: 22px; --text-2xl: 28px; --text-3xl: 36px; --text-4xl: 48px;
  --shadow-sm: 0 1px 2px rgba(16,25,43,.06), 0 1px 3px rgba(16,25,43,.08);
  --shadow-md: 0 4px 12px rgba(16,25,43,.08);

  /* Tasarım dili "Nöbet defteri" (Nevbeon ile ortak; docs/tasarim-dili.md). paper zemin < surface yüzey < raised öne çıkan yüzey.
     sunken: yüzeyin içindeki çukur alan (ilerleme yolu, boş hücre, sekmeli seçimin zemini); divider: yüzey içi ince ayırıcı. */
  --color-sunken: #EFECE5;
  --color-divider: #F0EDE6;
  --shadow-raised: 0 1px 2px rgba(16,25,43,.06), 0 10px 28px -14px rgba(16,25,43,.24);
  --shadow-overlay: 0 2px 6px rgba(16,25,43,.08), 0 24px 48px -16px rgba(16,25,43,.32);

  /* Koyu kenar çubuğu üstündeki metin */
  --color-on-ink: #F6F4EF;
  --color-on-ink-muted: #C9CED8;
  --color-on-ink-faint: #8E97A8;

  /* Durum zeminleri ve zemin üstündeki metin (rozet, uyarı bandı). Durum rengi tek başına metin olmaz. */
  --color-success-tint: #E4F3EB;  --color-success-text: #176B44;
  --color-warning-tint: #FBF1DA;  --color-warning-text: #7A5205;
  --color-danger-tint:  #FBE7E5;  --color-danger-text:  #A12B22;
  --color-info-tint:    #E5EEF9;  --color-info-text:    #245699;

  /* Hareket: sakin, kısa, yavaşlayarak biten; yalnızca kullanıcının eylemine yanıt. Odak halkası ürün renginde. */
  --motion-fast: 150ms;
  --motion: 200ms;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --focus-ring: 0 0 0 3px rgba(20,149,122,.40);
}

@media (prefers-reduced-motion: reduce) {
  :root { --motion-fast: 0ms; --motion: 0ms; }
}

[data-theme="dark"] {
  --color-paper: #10192B;
  --color-surface: #18233A;
  --color-ink: #F6F4EF;
  --color-slate: #A3ABBA;
  --color-line: #2A3550;
  --brand-primary: #3CC4A3;
  --brand-text: #3CC4A3;
  --brand-tint: #123A33;
  --brand-action-bg: #3CC4A3;
  --brand-action-fg: #10192B;
  --color-sunken: #141E33;
  --color-divider: #223049;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 4px 12px rgba(0,0,0,.35);
  --shadow-raised: 0 1px 2px rgba(0,0,0,.35), 0 10px 28px -14px rgba(0,0,0,.6);
  --shadow-overlay: 0 2px 6px rgba(0,0,0,.4), 0 24px 48px -16px rgba(0,0,0,.7);
  --color-on-ink: #F6F4EF;
  --color-on-ink-muted: #C9CED8;
  --color-on-ink-faint: #8E97A8;
  --color-success-tint: #133A2C;  --color-success-text: #6FCFA0;
  --color-warning-tint: #3A2F12;  --color-warning-text: #E8BE5C;
  --color-danger-tint:  #3E1D1E;  --color-danger-text:  #F2958B;
  --color-info-tint:    #172C4A;  --color-info-text:    #8DB8F0;
  --focus-ring: 0 0 0 3px rgba(60,196,163,.45);
}

body { font-family: var(--font-sans); color: var(--color-ink); background: var(--color-paper); }

/* ==========================================================================
   Vakeon UI v2: expressive layer
   Teal = brand + "completed". Everything else gets its own colour family.
   ========================================================================== */
:root {
  /* core extensions */
  --k-night: #132036;          /* sidebar, tab FAB, segmented "on" state */
  --k-mint:  #3CC4A3;          /* active nav indicator, highlights on night */
  --k-coral: #FF6B4A;          /* accent: overdue, badges, avatars. Use sparingly */
  --k-aurora: linear-gradient(120deg, #0E6E5A 0%, #14957A 45%, #2FBF9B 80%, #7FD8B6 100%);

  /* answer / signal colours (solid · tint · text) */
  --k-pass: #22A06B;  --k-pass-tint: #E3F6EC;  --k-pass-text: #13784A;
  --k-fail: #E5484D;  --k-fail-tint: #FDEBEC;  --k-fail-text: #B4262C;
  --k-warn: #F5A524;  --k-warn-tint: #FEF3DC;  --k-warn-text: #93620A;
  --k-na:   #8A93A3;  --k-na-tint:   #EEF0F3;  --k-na-text:   #5B6474;
  --k-prog: #3B7BF6;  --k-prog-tint: #E8F0FF;  --k-prog-text: #2554B8;

  /* score scale */
  --k-score-0:  #E5484D;   /* 0–59 */
  --k-score-60: #F5A524;   /* 60–74 */
  --k-score-75: #9CC23B;   /* 75–89 */
  --k-score-90: #14957A;   /* 90–100 */

  /* department colours (solid · tint · text). Users may pick any of these per department */
  --k-dept-technical: #4169E1; --k-dept-technical-tint: #E8EEFF; --k-dept-technical-text: #2E55C7;
  --k-dept-security:  #E5484D; --k-dept-security-tint:  #FDEBEC; --k-dept-security-text:  #B4262C;
  --k-dept-cleaning:  #13A9C9; --k-dept-cleaning-tint:  #DEF5FA; --k-dept-cleaning-text:  #0B7891;
  --k-dept-ticketing: #F0A41B; --k-dept-ticketing-tint: #FEF3DC; --k-dept-ticketing-text: #93620A;
  --k-dept-retail:    #8B5CF6; --k-dept-retail-tint:    #F1EAFE; --k-dept-retail-text:    #6B3FD1;
  --k-dept-cafe:      #E2558C; --k-dept-cafe-tint:      #FCE8F1; --k-dept-cafe-text:      #B02D63;
  --k-dept-visitor:   #14957A; --k-dept-visitor-tint:   #E2F4EF; --k-dept-visitor-text:   #0E6E5A;
  --k-dept-admin:     #6B7487; --k-dept-admin-tint:     #EEF0F3; --k-dept-admin-text:     #4A5262;
}
