/* Securea white-label pre Klapius DEV — podla Securea Brand Guidelines (2025-12-18).
   Softver je podla manualu (s. 14) sadzany vylucne v Mulish. Farby palety sa menia v nginx
   (nahrada hodnot v CSS bundli, dev/nginx-lxc-securea-app.conf); tu je pismo, logo
   a miesta, kde samotna nahrada farieb nestaci. Kazdy hex v tomto subore je z palety manualu. */

@font-face {
  font-family: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/securea-theme/fonts/mulish-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: "Mulish";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/securea-theme/fonts/mulish-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;
}

html,
:host {
  font-family: "Mulish", ui-sans-serif, system-ui, sans-serif;
}

/* Logo namiesto textu produktu: login karta a lavy horny roh menu.
   Primary Black na bielom podklade je schvaleny variant (manual s. 5), proporcie sa nemenia. */
.max-w-sm > .mb-6 > p.text-brand-600.text-lg,
aside > div:first-child > span.text-lg.font-semibold.text-brand-600 {
  display: block;
  flex-shrink: 0;
  color: transparent;
  font-size: 0;
  line-height: 0;
  background: url("/securea-theme/logo-black.png") left center / contain no-repeat;
}
.max-w-sm > .mb-6 > p.text-brand-600.text-lg {
  width: 176px;
  height: 30px;
  margin-bottom: 20px;
}
aside > div:first-child > span.text-lg.font-semibold.text-brand-600 {
  width: 128px;
  height: 22px;
}

/* Aktivna polozka menu na Periwinkle; bg-brand-50 je inde v aplikacii len jemne zvyraznenie. */
aside nav .bg-brand-50 {
  background-color: #c5d1fc;
}

/* Pouzivatelska prirucka (/manual/) ma vlastny inline <style> s premennymi pre svetlu aj tmavu
   temu. Prekryvaju sa rovnakymi selektormi (tento subor je vlozeny az za nim). SPA tieto
   premenne nepouziva. Zelena a jantarova (--good, --warn) su semanticke a ostavaju. */
:root,
:root[data-theme="light"] {
  --paper: #f0f4ff;
  --surface: #ffffff;
  --surface-2: #e9eef0;
  --ink: #252d41;
  --body: #443e63;
  --muted: #616184;
  --line: #c5d1fc;
  --line-strong: #c5d1fc;
  --brass: #303076;
  --brass-bright: #303076;
  --brass-soft: #c5d1fc;
  --font-serif: "Mulish", ui-sans-serif, system-ui, sans-serif;
  --font-sans: "Mulish", ui-sans-serif, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #100d26;
    --surface: #252d41;
    --surface-2: #252d41;
    --ink: #f0f4ff;
    --body: #e9eef0;
    --muted: #c5d1fc;
    --line: #303076;
    --line-strong: #443e63;
    --brass: #c5d1fc;
    --brass-bright: #c5d1fc;
    --brass-soft: #303076;
  }
}
:root[data-theme="dark"] {
  --paper: #100d26;
  --surface: #252d41;
  --surface-2: #252d41;
  --ink: #f0f4ff;
  --body: #e9eef0;
  --muted: #c5d1fc;
  --line: #303076;
  --line-strong: #443e63;
  --brass: #c5d1fc;
  --brass-bright: #c5d1fc;
  --brass-soft: #303076;
}
