/* MEKISAN-Branding für Postiz (social.mekisan.at)
   Wird vom Vorschalt-nginx in jede HTML-Seite eingehängt. Postiz selbst bleibt unverändert.
   Farben/Schriften: Brandbook v2.0 (design/tokens.json). Kein Orange, Gold nur als Akzent. */

@font-face{font-family:"Outfit";font-weight:400;font-display:swap;src:url(fonts/outfit-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Outfit";font-weight:600;font-display:swap;src:url(fonts/outfit-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Outfit";font-weight:700;font-display:swap;src:url(fonts/outfit-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Outfit";font-weight:800;font-display:swap;src:url(fonts/outfit-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:400;font-display:swap;src:url(fonts/inter-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:500;font-display:swap;src:url(fonts/inter-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:600;font-display:swap;src:url(fonts/inter-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Inter";font-weight:700;font-display:swap;src:url(fonts/inter-latin-700-normal.woff2) format("woff2")}

:root{
  --mk-blue:#0033CC; --mk-blue-light:#1A56FF; --mk-blue-dark:#002299;
  --mk-gold:#D4AF37; --mk-gold-dark:#9A7B2C;
  --mk-ink:#111827; --mk-body:#4B5563; --mk-grey:#64748B;
  --mk-navy:#0A0F1F; --mk-navy-2:#111831; --mk-navy-3:#1B2440;
}

/* ---------- Helles Design ---------- */
:root .light{
  --new-bgColor:#F3F5FA; --new-bgColorInner:#FFFFFF; --new-bgLineColor:#E5E9F2;
  --new-border:#E5E9F2; --new-sep:#D5DCE8; --new-blockSeparator:#EEF1F7;
  --new-settings:#EAEEF6; --new-btn-simple:#EAEEF6; --new-box-hover:#F0F3FA;
  --new-table-header:#F5F7FB; --new-table-border:#E5E9F2; --new-big-strips:#F5F7FB; --new-col-color:#EEF2F8;
  --new-textColor:17 24 39; --new-btn-text:#111827;
  --new-textItemBlur:#64748B; --new-table-text:#64748B;
  --new-btn-primary:#0033CC; --new-textItemFocused:#0033CC; --new-boxFocused:#E6ECFB;
  --new-table-text-focused:#0033CC; --new-ai-btn:#002299; --new-back-drop:#0A0F1F;
  --popup-color:#0A0F1F33;
  --color-primary:#F3F5FA; --color-text:#111827;
  --color-forth:#0033CC; --color-seventh:#1A56FF;
  --color-custom4:#1A56FF; --color-custom7:#0033CC; --color-custom11:#1A56FF; --color-custom12:#B8C8F5;
  --color-custom28:#8FA8EE; --color-custom29:#0A0F1F; --color-custom41:#C9D6F7; --color-custom45:#0033CC;
  --color-custom50:#002299; --color-custom51:#0033CC;
}

/* ---------- Dunkles Design (Navy statt Schwarz) ---------- */
:root .dark{
  --new-bgColor:#0A0F1F; --new-bgColorInner:#111831; --new-bgLineColor:#1B2440;
  --new-border:#1E2847; --new-sep:#2E3A5E; --new-blockSeparator:#1B2440;
  --new-settings:#1B2440; --new-btn-simple:#1E2847; --new-box-hover:#172042;
  --new-table-header:#141C38; --new-table-border:#1E2847; --new-big-strips:#10172E; --new-col-color:#172042;
  --new-small-strips:#10172E; --new-textItemBlur:#94A3B8; --new-table-text:#94A3B8;
  --new-btn-primary:#1A56FF; --new-table-text-focused:#D4AF37; --new-ai-btn:#002299;
  --popup-color:#0A0F1F66;
  --color-primary:#0A0F1F; --color-secondary:#0A0F1F; --color-third:#080C19;
  --color-forth:#1A56FF; --color-seventh:#1A56FF;
  --color-custom2:#111831; --color-custom3:#0A0F1F; --color-custom4:#1A56FF; --color-custom7:#1A56FF;
  --color-custom11:#6E93FF; --color-custom12:#B8C8F5; --color-custom20:#111831; --color-custom28:#8FA8EE;
  --color-custom29:#0A0F1F; --color-custom30:#1A56FF; --color-custom31:#111831; --color-custom40:#0A0F1F;
  --color-custom41:#C9D6F7; --color-custom45:#1A56FF; --color-custom48:#080C19; --color-custom50:#002299;
  --color-custom51:#1A56FF; --color-custom55:#1B2440;
}

/* ---------- Schriften: Inter für Text, Outfit für Überschriften ---------- */
body, body[class], input, textarea, select, button{font-family:"Inter",system-ui,-apple-system,sans-serif !important}
h1, h2, h3, .text-\[32px\], .text-\[36px\], .text-\[40px\], .text-\[42px\]{font-family:"Outfit","Inter",sans-serif !important;letter-spacing:-.01em}
::selection{background:#0033CC33}

/* ---------- Fest verdrahtete Postiz-Lilatöne ersetzen ---------- */
.bg-\[\#612BD3\], .bg-\[\#612bd3\], .hover\:bg-\[\#612BD3\]:hover, .bg-purple-700, .bg-\[\#9333ea\]{background-color:var(--mk-blue) !important}
.hover\:bg-\[\#612BD3\]\/80:hover{background-color:#0033CCcc !important}
.bg-\[\#612bd3\]\/10{background-color:#0033CC1a !important}
.text-\[\#612BD3\], .text-\[\#612bd3\]{color:var(--mk-blue) !important}
.dark .text-\[\#612BD3\], .dark .text-\[\#612bd3\]{color:#6E93FF !important}
.border-\[\#612BD3\], .focus\:border-\[\#612BD3\]:focus{border-color:var(--mk-blue) !important}
.hover\:border-\[\#612BD3\]\/40:hover{border-color:#0033CC66 !important}
.hover\:border-\[\#612bd3\]\/50:hover{border-color:#0033CC80 !important}
.scrollbar-thumb-\[\#612AD5\]{--scrollbar-thumb:#0033CC !important}
/* Pink/Magenta: Text/Rahmen -> Gold-Akzent, Flächen -> Blau-Dunkel */
.text-\[\#FC69FF\]{color:var(--mk-gold) !important}
.border-\[\#FC69FF\]{border-color:var(--mk-gold) !important}
.bg-\[\#FC69FF\]{background-color:var(--mk-gold) !important}
.bg-\[\#D82D7E\]{background-color:var(--mk-blue-dark) !important}
.to-\[\#8b5cf6\]{--tw-gradient-to:var(--mk-blue-light) var(--tw-gradient-to-position) !important}
.shadow-purple-500\/25, .hover\:shadow-purple-500\/40:hover{--tw-shadow-color:#0033CC40 !important}

/* ---------- Logo: Postiz-Logo durch MEKISAN-Wortmarke ersetzen (Klasse setzt mekisan.js) ---------- */
svg.mk-logo > *{display:none !important}
svg.mk-logo{background:url(mekisan-wortmarke-weiss-ohne-tagline.svg) left center/contain no-repeat}
.light svg.mk-logo{background-image:url(mekisan-wortmarke-blau-ohne-tagline.svg)}
svg.mk-logo.mk-logo-icon{background:#0033CC url(mekisan-wortmarke-weiss-ohne-tagline.svg) center/80% auto no-repeat;border-radius:10px}

/* ---------- Login-Seite ---------- */
.bg-\[\#0E0E0E\].min-h-screen{background:linear-gradient(135deg,#002299 0%,#0033CC 55%,#1A56FF 100%) !important}
.bg-\[\#1A1919\]{background-color:var(--mk-navy) !important}
/* Rechte Spalte: fremde Kundenstimmen ausblenden, MEKISAN-Wortmarke mit Tagline zeigen */
.bg-\[\#0E0E0E\].min-h-screen > .pt-\[88px\] > *{display:none !important}
.bg-\[\#0E0E0E\].min-h-screen > .pt-\[88px\]{justify-content:center;padding-top:0 !important;position:relative}
.bg-\[\#0E0E0E\].min-h-screen > .pt-\[88px\]::before{
  content:"";display:block;width:min(420px,70%);aspect-ratio:4558/1243;
  background:url(mekisan-wortmarke-weiss.svg) center/contain no-repeat}
.bg-\[\#0E0E0E\].min-h-screen > .pt-\[88px\]::after{
  content:"Redaktionsplanung Social Media";margin-top:28px;
  font:500 16px/1.4 "Inter",sans-serif;letter-spacing:.08em;text-transform:uppercase;color:#FFFFFFB3;
  border-top:2px solid var(--mk-gold);padding-top:14px}
/* Registrierung ist gesperrt (DISABLE_REGISTRATION), Link darauf ausblenden */
p:has(> a[href="/auth"]){display:none !important}
/* Lila in übrigen Postiz-Icons */
svg:not(.mk-logo) [fill="#612BD3"], svg:not(.mk-logo) [fill="#612bd3"]{fill:var(--mk-blue-light)}
svg:not(.mk-logo) [stroke="#612BD3"], svg:not(.mk-logo) [stroke="#612bd3"]{stroke:var(--mk-blue-light)}
/* Lila Verläufe in SVGs (z. B. aktiver Menübalken in den Einstellungen) */
stop[stop-color="#662FDA"], stop[stop-color="#612BD3"], stop[stop-color="#7236F1"], stop[stop-color="#8155DD"]{stop-color:var(--mk-blue-light)}
stop[stop-color="#5720CB"], stop[stop-color="#612AD5"]{stop-color:var(--mk-blue)}
