/* ===========================================================
   Workspace Platform arculat a Postizra (postiz.ai-protektor.com)
   Ugyanaz, mint a workspace-platform.hu: Manrope, #F05A28 narancs,
   #151829 éjkék, #FFF1EA halvány barack.
   Az nginx szúrja be minden oldalba (sub_filter), a Postiz-kép
   újrafordítása nélkül. Kivétel/visszavonás: a nginx.conf-ból a
   <link> és <script> sort kell kivenni.
   =========================================================== */

@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(/wsp-brand/manrope-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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Manrope';font-style:normal;font-weight:200 800;font-display:swap;src:url(/wsp-brand/manrope-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}

:root{
  --wsp-orange:#F05A28;
  --wsp-orange-lt:#FF7A45;
  --wsp-orange-dk:#C9461C;
  --wsp-navy:#151829;
  --wsp-navy-soft:#1B1E2E;
  --wsp-peach:#FFF1EA;
  --colors-primary:#F05A28;
  --typography-fonts-base:'Manrope',sans-serif;
  --purple-light:#FFE3D6;
}

/* ---------- betű: Manrope mindenhol (kód és ikonfont kivételével) ---------- */
html,body,
body *:not(code):not(pre):not(kbd):not(samp):not(.font-mono):not([class*="mono"]):not([class*="icon"]):not([class*="bp5-"]):not([class*="bp4-"]):not(i){
  font-family:'Manrope',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif !important;
}

/* ---------- világos téma ---------- */
.light.light,html.light,body.light{
  --new-back-drop:#151829;
  --new-textItemFocused:#C9461C;
  --new-boxFocused:#FFF1EA;
  --new-btn-primary:#F05A28;
  --new-ai-btn:#151829;
  --new-table-text-focused:#F05A28;
  --popup-color:#15182933;
  --color-forth:#F05A28;
  --color-seventh:#F05A28;
  --color-custom4:#F05A28;
  --color-custom7:#FF7A45;
  --color-custom11:#FF9466;
  --color-custom12:#FFC7B0;
  --color-custom28:#FFB08F;
  --color-custom29:#151829;
  --color-custom41:#FFD3C1;
  --color-custom45:#E04E1F;
  --color-custom50:#151829;
  --color-custom51:#F05A28;
}

/* ---------- sötét téma: éjkék alapok ---------- */
.dark.dark,html.dark,body.dark{
  --new-back-drop:#0B0D18;
  --new-settings:#22263A;
  --new-border:#2A2E44;
  --new-bgColor:#151829;
  --new-bgColorInner:#1B1E2E;
  --new-sep:#3A3F58;
  --new-bgLineColor:#23273B;
  --new-textItemFocused:#FFFFFF;
  --new-boxFocused:#F05A28;
  --new-blockSeparator:#23273B;
  --new-btn-simple:#2A2E44;
  --new-btn-primary:#F05A28;
  --new-ai-btn:#C9461C;
  --new-box-hover:#22263A;
  --new-table-border:#2A2E44;
  --new-table-header:#1F2236;
  --new-table-text-focused:#FF7A45;
  --new-small-strips:#1B1E2E;
  --new-big-strips:#191C2C;
  --new-col-color:#262A3F;
  --new-menu-dots:#8A8FA8;
  --popup-color:#0B0D1880;
  --color-primary:#151829;
  --color-secondary:#12152A;
  --color-third:#10131F;
  --color-forth:#F05A28;
  --color-seventh:#F05A28;
  --color-custom2:#1B1E2E;
  --color-custom3:#151829;
  --color-custom4:#F05A28;
  --color-custom7:#FF7A45;
  --color-custom11:#FF9466;
  --color-custom12:#FFC7B0;
  --color-custom28:#FFB08F;
  --color-custom29:#3A1A0E;
  --color-custom30:#C9461C;
  --color-custom41:#FFD3C1;
  --color-custom45:#E04E1F;
  --color-custom50:#2A2E44;
  --color-custom51:#F05A28;
  --color-modalCustom:#0B0D18;
}

/* ---------- a forráskódba égetett lila Tailwind-osztályok ---------- */
.bg-\[\#7c3aed\],.bg-\[\#9333ea\],.bg-\[\#AA0FA4\],.bg-\[\#FC69FF\],.hover\:bg-\[\#7c3aed\]:hover{background-color:#F05A28 !important}
.bg-\[\#7c3aed\]\/10,.bg-\[\#AA0FA4\]\/10{background-color:#F05A281a !important}
.hover\:bg-\[\#5023b8\]:hover,.hover\:bg-\[\#6d28d9\]:hover{background-color:#C9461C !important}
.hover\:bg-\[\#7c3aed\]\/80:hover{background-color:#F05A28cc !important}
.border-\[\#7c3aed\],.border-\[\#622FF6\],.border-\[\#FC69FF\],.focus\:border-\[\#7c3aed\]:focus{border-color:#F05A28 !important}
.border-\[\#AA0FA4\]\/30{border-color:#F05A284d !important}
.hover\:border-\[\#7c3aed\]\/40:hover{border-color:#F05A2866 !important}
.hover\:border-\[\#7c3aed\]\/50:hover{border-color:#F05A2880 !important}
.text-\[\#7c3aed\],.text-\[\#FC69FF\]{color:#F05A28 !important}
.text-\[\#B69DEC\]{color:#FFB08F !important}
.from-\[\#622aff\]{--tw-gradient-from:#F05A28 var(--tw-gradient-from-position) !important;--tw-gradient-to:#F05A2800 var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.to-\[\#8b5cf6\]{--tw-gradient-to:#FF7A45 var(--tw-gradient-to-position) !important}
.hover\:from-\[\#7c3aff\]:hover{--tw-gradient-from:#C9461C var(--tw-gradient-from-position) !important;--tw-gradient-to:#C9461C00 var(--tw-gradient-to-position) !important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to) !important}
.hover\:to-\[\#9d6eff\]:hover{--tw-gradient-to:#F05A28 var(--tw-gradient-to-position) !important}
.scrollbar-thumb-\[\#7c3aed\]{--scrollbar-thumb:#F05A28 !important}
.ProseMirror .mention,.tiptap .mention{color:#F05A28 !important}

/* ---------- logó- és ikoncsere (a JS is cseréli; ez az első festéstől látszik) ---------- */
img[src$="/cognitudo-icon.png"]{content:url(/wsp-brand/wsp-icon.png?v=1)}
img[src$="/cognitudo.png"]{content:url(/wsp-brand/wsp-logo.png?v=1);object-fit:contain}
.dark img[src$="/cognitudo.png"],.dark img[src*="/wsp-brand/wsp-logo.png"]{content:url(/wsp-brand/wsp-logo-light.png?v=1)}
img[src*="/wsp-brand/wsp-icon.png"]{border-radius:50%}

/* ---------- apró finomítások ---------- */
::selection{background:#F05A2840}
:focus-visible{outline-color:#F05A28}
input:focus,textarea:focus,select:focus{border-color:#F05A28 !important}
input[type="checkbox"],input[type="radio"],input[type="range"]{accent-color:#F05A28}

/* ---------- a programba égetett lila SVG-színek (ikonok, aktív fül jelölő) ---------- */
/* márka-logók (Solana, Farcaster stb.) saját színe szándékosan érintetlen */
[stop-color="#662FDA" i],[stop-color="#8C66FF" i]{stop-color:#F05A28}
[stop-color="#5720CB" i]{stop-color:#C9461C}
[fill="#7C3AED" i]{fill:#F05A28}
[stroke="#7C3AED" i]{stroke:#F05A28}
[stroke="#FC69FF" i]{stroke:#FF7A45}
[fill="#DACBFB" i]{fill:#FFD3C1}
[stroke="#DACBFB" i]{stroke:#FFD3C1}
[style*="color:#7c3aed" i],[style*="color: #7c3aed" i],[style*="color: rgb(124, 58, 237)"]{color:#F05A28 !important}

/* rózsaszín „Hozzászólás hozzáadása” gomb és a belépőoldal levendula paneljének cseréje */
.bg-\[\#D82D7E\]{background-color:#151829 !important}
.dark .bg-\[\#D82D7E\]{background-color:#C9461C !important}
.bg-\[\#f5f3ff\]{background-color:#FFF1EA !important}

/* a belépőoldali logó: az új logó arányával (469×140), nem a régi széles felirattal */
img[src$="/cognitudo.png"],img[src*="/wsp-brand/wsp-logo.png"]{height:52px !important;width:174px !important;max-width:100%;object-fit:contain}
