@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* ---- Pizza Oven Hire palette (from the site's own theme variables) ---- */
:root {
  --poh-primary: #e63946;   /* brand red: buttons, highlights, active items */
  --poh-deep:    #a12831;   /* darker red: backdrops, pressed states */
  --poh-soft:    #fce7e9;   /* pale red tint: selected items in light mode */
  --poh-accent:  #f4a261;   /* brand orange: secondary accent */
  --poh-cream:   #faf7f2;   /* page background (site: --color-bg-soft) */
  --poh-white:   #ffffff;   /* panels (site: --color-bg) */
  --poh-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body { font-family: var(--poh-font) !important; }

/* ---- Map Postiz's purple variables onto the palette ---- */
:root .dark, :root .light {
  --new-btn-primary: var(--poh-primary);
  --new-table-text-focused: var(--poh-accent);
  --new-ai-btn: var(--poh-accent);
  --color-forth: var(--poh-primary);
  --color-seventh: var(--poh-primary);
  --color-custom4: var(--poh-primary);
  --color-custom7: var(--poh-primary);
  --color-custom45: var(--poh-primary);
  --color-custom28: var(--poh-soft);
  --color-custom29: var(--poh-deep);
  --color-custom41: var(--poh-soft);
}
:root .dark  { --color-custom30: var(--poh-deep); }
:root .light {
  --new-textItemFocused: var(--poh-primary);
  --new-boxFocused: var(--poh-soft);
  --new-back-drop: var(--poh-deep);
  --new-bgColor: var(--poh-cream);
  --new-bgColorInner: var(--poh-white);
  --new-textColor: 51 51 51;
  --color-text: #333333;
}

/* ---- Catch the places where Postiz hard-codes its purple ---- */
[fill="#612BD3" i], [fill="#612AD5" i] { fill: var(--poh-primary); }
[class*="bg-[#612bd3]" i], [class*="bg-[#612ad5]" i] { background-color: var(--poh-primary) !important; }
[class*="text-[#612bd3]" i], [class*="text-[#612ad5]" i] { color: var(--poh-primary) !important; }
[class*="border-[#612bd3]" i], [class*="border-[#612ad5]" i] { border-color: var(--poh-primary) !important; }

/* ---- Sidebar logo: hide Postiz's drawing, paint ours in its place ---- */
#left-menu > div > svg:first-child {
  background: url("/_brand/logo.png") center / contain no-repeat;
}
#left-menu > div > svg:first-child > * { display: none; }

/* ---- Login / sign-up page ---- */
div[class*="lg:flex"]:has(.blackGradTopBg) { display: none !important; }
div[class*="lg:w-[600px]"] { flex: 1 1 auto !important; width: auto !important; }
svg[viewBox="0 0 101 33"] {
  width: 180px !important;
  height: 90px !important;
  background: url("/_brand/logo.png") left center / contain no-repeat;
}
svg[viewBox="0 0 101 33"] > * { display: none; }

/* ---- Hide "Continue With Google" and the OR divider ---- */
div[class*="h-[52px]"][class*="bg-white"] { display: none !important; }
div[class*="mt-[32px]"]:has(+ div [class*="h-[52px]"][class*="bg-white"]) { display: none !important; }
div.relative:has(> div.bg-fifth.absolute) { display: none !important; }
