/* PosteAí: marca EcomSmart v2.4 por cima do Postiz. Injetado no <head> do app pelo nginx interno (sub_filter).
   Só troca variáveis, fonte, logo e alguns blocos; não muda o layout do Postiz. */
@font-face{font-family:"Figtree";font-style:normal;font-weight:300 900;font-display:swap;src:url("/lp/figtree-latin.woff2") format("woff2")}
html body{font-family:"Figtree",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;--mantine-font-family:"Figtree",system-ui,sans-serif}
html body input,html body textarea,html body select,html body button{font-family:inherit}

/* ---------- tema escuro: azul-noite (nunca roxo) ---------- */
html:root .dark{
  --new-back-drop:#05081A; --new-settings:#182238; --new-border:#1E2A44; --new-bgColor:#0A0F1F; --new-bgColorInner:#101729;
  --new-sep:#2A3858; --new-bgLineColor:#162036; --new-textItemFocused:#101729; --new-textItemBlur:#8A97B3; --new-boxFocused:#EEF2FA;
  --new-textColor:238 242 250; --new-blockSeparator:#1E2A44; --new-btn-simple:#1B2740; --new-btn-text:#EEF2FA; --new-btn-primary:#0A5BF0;
  --new-ai-btn:#0A5BF0; --new-box-hover:#14203A; --new-table-border:#1E2A44; --new-table-header:#131C30; --new-table-text:#8A97B3;
  --new-table-text-focused:#8DB0FF; --new-small-strips:#0E1527; --new-big-strips:#0D1426; --new-col-color:#1A2540; --new-menu-dots:#6B7790;
  --popup-color:rgba(10,15,31,.55);
  --color-primary:#0A0F1F; --color-secondary:#0A0F1F; --color-third:#0A0F1F; --color-forth:#0A5BF0; --color-seventh:#2F70F5;
  --color-custom4:#5A8CFA; --color-custom7:#5A8CFA; --color-custom11:#8DB0FF; --color-custom12:#B9CEFF;
}
/* ---------- tema claro (padrão) ---------- */
html:root .light{
  --new-back-drop:#0B1033; --new-settings:#EEF1F7; --new-sep:#E1E6F0; --new-border:#E1E6F0; --new-bgColor:#F6F8FC; --new-bgColorInner:#FFFFFF;
  --new-bgLineColor:#EEF1F7; --new-textItemFocused:#0A5BF0; --new-textItemBlur:#6B7790; --new-boxFocused:#EEF4FF; --new-textColor:11 16 51;
  --new-blockSeparator:#EEF1F7; --new-btn-simple:#EEF1F7; --new-btn-text:#0B1033; --new-btn-primary:#0A5BF0; --new-ai-btn:#0A5BF0;
  --new-box-hover:#F6F8FC; --new-table-border:#E1E6F0; --new-table-header:#F6F8FC; --new-table-text:#6B7790; --new-table-text-focused:#0A5BF0;
  --new-big-strips:#F6F8FC; --new-col-color:#EEF1F7; --popup-color:rgba(11,16,51,.25);
  --color-forth:#0A5BF0; --color-seventh:#2F70F5; --color-custom4:#2F70F5; --color-custom7:#2F70F5; --color-custom11:#5A8CFA; --color-custom12:#B9CEFF;
}

/* ---------- cores fixas do Postiz (roxo e rosa) -> azul da marca ---------- */
.bg-\[\#612BD3\],.bg-\[\#612bd3\],.bg-\[\#D82D7E\],.bg-\[\#d82d7e\]{background-color:#0A5BF0!important}
.bg-\[\#5520CB\],.hover\:bg-\[\#5520CB\]:hover,.hover\:bg-\[\#612BD3\]:hover{background-color:#0849C4!important}
.border-\[\#612BD3\],.border-\[\#612bd3\]{border-color:#0A5BF0!important}
.bg-\[\#FC69FF\]{background-color:#5A8CFA!important}
.text-\[\#FC69FF\],.text-\[\#fc69ff\]{color:#5A8CFA!important}
.text-\[\#612BD3\],.text-\[\#612bd3\]{color:#0A5BF0!important}
[fill="#612BD3"],[fill="#612bd3"]{fill:#0A5BF0}
[stroke="#612BD3"],[stroke="#612bd3"]{stroke:#0A5BF0}
::selection{background:#B9CEFF;color:#0B1033}

/* ---------- logo do menu lateral ---------- */
svg.min-w-\[60px\].min-h-\[60px\]{display:none!important}
:has(> svg.min-w-\[60px\].min-h-\[60px\])::before{
  content:"";display:block;width:52px;height:52px;margin:8px auto 0;border-radius:14px;
  background:#fff url("/lp/simbolo-e.svg") center/22px auto no-repeat;border:1px solid #E1E6F0}

/* ---------- telas de entrar/cadastrar ---------- */
svg[viewBox="0 0 101 33"]{display:none!important}
:has(> svg[viewBox="0 0 101 33"])::before{
  content:"PosteAí";display:flex;align-items:center;gap:10px;height:33px;padding-left:30px;font-size:24px;font-weight:700;letter-spacing:-.02em;
  background:url("/lp/simbolo-e.svg") left center/20px auto no-repeat;filter:none}
/* fundo azul-noite em vez de preto */
.bg-\[\#0E0E0E\].min-h-screen{background-color:#0A0F1F!important}
.bg-\[\#0E0E0E\].min-h-screen .bg-\[\#1A1919\]{background-color:#101729!important}
/* lateral com depoimentos do Postiz -> banner Profundo do PosteAí */
.text-\[36px\].flex-1.pt-\[88px\]{
  border-radius:12px;padding:0 64px!important;justify-content:center;align-items:flex-start!important;position:relative;overflow:hidden;
  background:radial-gradient(ellipse 70% 90% at 85% 115%,rgba(90,140,250,.55),transparent 60%),radial-gradient(ellipse 60% 70% at 0% -10%,rgba(141,176,255,.22),transparent 55%),linear-gradient(135deg,#070B1E 0%,#0B1033 38%,#0A3FB0 76%,#0A5BF0 100%)}
.text-\[36px\].flex-1.pt-\[88px\] > *{display:none!important}
.text-\[36px\].flex-1.pt-\[88px\]::before{
  content:"Seus posts no ar, no horário certo.";display:block;max-width:13ch;font-size:52px;line-height:1.06;font-weight:700;letter-spacing:-.03em;color:#fff}
.text-\[36px\].flex-1.pt-\[88px\]::after{
  content:"Instagram, Reels, Stories e mais 25 redes num calendário só. Um espaço por cliente, com equipe e aprovação.";
  display:block;max-width:40ch;margin-top:20px;font-size:18px;line-height:1.5;color:rgba(255,255,255,.75)}
/* login com Google não está configurado: esconde o bloco "Continuar com" e o separador "ou" */
.bg-\[\#0E0E0E\].min-h-screen .text-\[14px\].mt-\[32px\].mb-\[12px\],
.bg-\[\#0E0E0E\].min-h-screen .gap-\[8px\].flex:has(> .h-\[52px\].bg-white),
.bg-\[\#0E0E0E\].min-h-screen .h-\[20px\].mb-\[24px\].mt-\[24px\].relative{display:none!important}
.bg-\[\#0E0E0E\].min-h-screen h1.text-\[40px\]{margin-bottom:24px}

/* ---------- itens que dependem de IA sem chave configurada ---------- */
a[href="/agents"],a[href^="/agents/"]{display:none!important}

/* bandeira do idioma: pt usa a do Brasil */
img[src*="flags/4x3/pt.svg"]{content:url("https://cdn.jsdelivr.net/gh/lipis/flag-icons/flags/4x3/br.svg")}
