/*
 | Infinite Marketing AI skin for MagicAI's sign-in pages and dashboard (v2, 2026-11-23).
 | Not part of the MagicAI package. Loaded through Admin > Settings > "Dashboard code before head".
 | To switch it off, remove the <link> line from that setting (or empty this file).
 | Only colors, fonts, spacing, radii and decoration change; no markup or behaviour.
 | Palette matches the public site: ivory #FAF8F3, ink #241D32, purple #7138C7, lavender #F1EAF5, line #E7E0EA, plum #2E1A47.
 */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

/* ================= Sign-in, sign-up and password pages ================= */
body.is-auth-page {
  --primary: 264 56% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 264 56% 50%;
  --secondary-foreground: 0 0% 100%;
  --background: 43 47% 97%;
  --foreground: 263 9% 36%;
  --heading-foreground: 260 27% 15%;
  --input-border: 282 15% 86%;
  --input-background: 0 0% 100%;
  --font-body: "Plus Jakarta Sans";
  --font-heading: "Plus Jakarta Sans";
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #FAF8F3;
}
body.is-auth-page h1, body.is-auth-page h2, body.is-auth-page h3 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -.02em;
  color: #241D32;
}
body.is-auth-page .lqd-auth-content h1 { font-size: 30px; margin-bottom: 28px; }
body.is-auth-page .lqd-auth-content h1::after {
  content: "Welcome back. Sign in to your AI workspace.";
  display: block;
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0;
  color: #645D6F;
}
body.page-register .lqd-auth-content h1::after,
body.page-forgot_password .lqd-auth-content h1::after,
body.page-reset-password .lqd-auth-content h1::after { content: none; }
body.is-auth-page img[src*="images/logo/"] { max-height: 38px !important; width: auto !important; height: auto; }

body.is-auth-page .lqd-input:not([type="checkbox"]):not([type="radio"]) {
  border-radius: 10px;
  border-color: #E1D8E6;
  background: #fff;
  min-height: 48px;
}
body.is-auth-page .lqd-input:focus {
  border-color: #7138C7;
  box-shadow: 0 0 0 4px rgba(113, 56, 199, .15);
}
body.is-auth-page .lqd-input-label { color: #241D32; font-weight: 600; }
body.is-auth-page input[type="checkbox"].lqd-input:checked { background-color: #7138C7; border-color: #7138C7; }

body.is-auth-page .lqd-auth-content form button[type="submit"],
body.is-auth-page #LoginFormButton,
body.is-auth-page #RegisterFormButton,
body.is-auth-page #PasswordResetFormButton {
  background: #7138C7;
  color: #fff;
  border: 0;
  border-radius: 10px;
  min-height: 50px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(113, 56, 199, .25);
}
body.is-auth-page .lqd-auth-content form button[type="submit"]:hover,
body.is-auth-page #LoginFormButton:hover { background: #5B2BA8; }
body.is-auth-page .lqd-auth-content a.lqd-btn {
  border-radius: 10px;
  border-color: #E1D8E6;
  background: #fff;
  font-weight: 600;
  color: #241D32;
}
body.is-auth-page .lqd-auth-content a:not(.lqd-btn) { color: #7138C7; font-weight: 600; }

/* Checkout (register) page: plum background behind the order summary */
body.page-register .lqd-auth-content > div:nth-child(2) {
  background: linear-gradient(160deg, #3A2259 0%, #2E1A47 100%) !important;
}
body.page-register .lqd-auth-content > div:nth-child(2) .rounded-3xl {
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}

/* Right-hand panel: brand panel instead of the stock MagicAI demo screenshot */
body.is-auth-page:not(.page-register) .lqd-auth-content > div:nth-child(2) {
  position: relative;
  background: linear-gradient(160deg, #3A2259 0%, #2E1A47 100%) !important;
  align-items: center;
  text-align: center;
  padding: 80px 48px;
}
body.is-auth-page:not(.page-register) .lqd-auth-content > div:nth-child(2) > img { display: none !important; }
body.is-auth-page:not(.page-register) .lqd-auth-content > div:nth-child(2)::before {
  content: "";
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 32px;
  background: url("/infinite-site/img/mark.svg") center / contain no-repeat;
}
body.is-auth-page:not(.page-register) .lqd-auth-content > div:nth-child(2)::after {
  content: "Create something worth sharing.";
  display: block;
  max-width: 420px;
  margin: 0 auto;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
}

/* ================= Signed-in dashboard (customer + admin) ================= */
body.is-auth:not(.is-auth-page) {
  --primary: 264 56% 50%;
  --primary-foreground: 0 0% 100%;
  --secondary: 264 56% 50%;
  --secondary-foreground: 0 0% 100%;
  --accent: 264 56% 50%;
  --accent-foreground: 0 0% 100%;
  --gradient-from: 264 56% 50%;
  --gradient-via: 268 52% 58%;
  --gradient-to: 264 56% 44%;
  --gradient-1: 264 56% 50%;
  --gradient-2: 272 55% 62%;
  --gradient-3: 264 56% 44%;
  --gradient-4: 272 55% 62%;
  --gradient-5: 264 56% 50%;
  --gradient-stops: hsl(264 56% 50%), hsl(272 55% 62%), hsl(264 56% 44%);
  --font-body: "Plus Jakarta Sans";
  --font-heading: "Plus Jakarta Sans";
  --headings-font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --headings-font-weight: 700;
  --h1-font-weight: 800;
  --h2-font-weight: 700;
  --h3-font-weight: 700;
  --card-rounded: 14px;
  --button-rounded: 10px;
  --input-rounded: 10px;
  --dropdown-rounded: 10px;
  --navbar-link-rounded: 10px;
  --livewire-progress-bar-color: #7138C7;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* Light mode: ivory canvas, white cards, fine lavender-grey lines */
body.is-auth.theme-light:not(.is-auth-page) {
  --background: 43 47% 97%;
  --foreground: 263 12% 30%;
  --heading-foreground: 260 27% 15%;
  --headings-color: hsl(260 27% 15%);
  --lqd-heading-color: #241D32;
  --label: 263 9% 40%;
  --border: 282 15% 89%;
  --card-background: 0 0% 100%;
  --card-foreground: 260 27% 15%;
  --card-border: 282 15% 89%;
  --card-shadow: 0 1px 2px rgb(36 29 50 / 4%), 0 6px 18px rgb(36 29 50 / 4%);
  --folder-background: 278 39% 96%;
  --folder-border: 282 15% 89%;
  --input-background: 0 0% 100%;
  --input-foreground: 260 27% 15%;
  --input-border: 282 15% 86%;
  --dropdown-background: 0 0% 100%;
  --dropdown-foreground: 260 27% 15%;
  --dropdown-border: 282 15% 89%;
  --surface: 278 39% 95%;
  --surface-light: 278 39% 98%;
  --surface-background: 43 47% 98%;
  --clay: 278 39% 95%;
  --button-border: 282 15% 86%;
  --navbar-background: 0 0% 100%;
  --navbar-foreground: 263 12% 30%;
  --navbar-border: 282 15% 89%;
  --navbar-divider: 282 15% 89%;
  --navbar-background-hover: 278 39% 96%;
  --navbar-foreground-hover: 264 56% 45%;
  --navbar-background-active: 278 39% 94%;
  --navbar-foreground-active: 264 56% 45%;
  --navbar-icon-background-hover: 278 39% 94%;
  --navbar-icon-background-active: 278 39% 92%;
  --lqd-header-search-bg: #fff;
  --lqd-vertical-nav-link-color: #4A4356;
  --scrollbar-thumb: 282 10% 75%;
}

body.is-auth:not(.is-auth-page) h1,
body.is-auth:not(.is-auth-page) h2,
body.is-auth:not(.is-auth-page) h3,
body.is-auth:not(.is-auth-page) h4 {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  letter-spacing: -.02em;
}

/* Sidebar: plain white rail with one fine line, purple active state */
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar,
body.is-auth.theme-light:not(.is-auth-page) .bg-navbar-background {
  background: #fff;
  border: 0;
  border-inline-end: 1px solid #E7E0EA;
  box-shadow: none;
}
body.is-auth:not(.is-auth-page) .lqd-navbar .lqd-nav-link.active,
body.is-auth:not(.is-auth-page) .lqd-navbar a.active {
  background: #F1EAF5;
  color: #5B2BA8 !important;
}
body.is-auth:not(.is-auth-page) .lqd-navbar .lqd-nav-link:hover,
body.is-auth:not(.is-auth-page) .lqd-navbar a:hover { color: #5B2BA8 !important; }
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar .lqd-nav-link.active::before { background: #7138C7; }

/* Sidebar menu: icon tiles, clear labels, solid purple for the current page */
body.is-auth:not(.is-auth-page) .lqd-navbar .lqd-nav-link-icon {
  border-radius: 12px;
  transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar .lqd-nav-link-icon {
  background: #F4EEF7;
  color: #7138C7 !important;
  border: 1px solid #ECE3F1;
}
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar .lqd-nav-link-icon svg { color: #7138C7 !important; }
body.is-auth:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link:hover .lqd-nav-link-icon {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(113, 56, 199, .18);
}
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link:hover .lqd-nav-link-icon { background: #EADFF3; }
body.is-auth:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link.active .lqd-nav-link-icon {
  background: #7138C7 !important;
  border-color: #7138C7;
  box-shadow: 0 8px 20px rgba(113, 56, 199, .32);
}
body.is-auth:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link.active .lqd-nav-link-icon,
body.is-auth:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link.active .lqd-nav-link-icon svg { color: #fff !important; }
body.is-auth.theme-light:not(.is-auth-page).navbar-shrinked .lqd-navbar a.lqd-navbar-link,
body.is-auth.theme-light:not(.is-auth-page).navbar-shrinked .lqd-navbar a.lqd-navbar-link.active { background: transparent; }
body.is-auth:not(.is-auth-page).navbar-shrinked .lqd-navbar .lqd-nav-link-label { font-size: 11px; font-weight: 600; letter-spacing: 0; }
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link .lqd-nav-link-label { color: #4A4356 !important; }
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link.active .lqd-nav-link-label,
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link:hover .lqd-nav-link-label { color: #5B2BA8 !important; }
body.is-auth:not(.is-auth-page) .lqd-navbar a.lqd-navbar-link.active .lqd-nav-link-label { font-weight: 700; }
/* Flyout / expanded sub-menus */
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar .lqd-navbar-dropdown a.lqd-navbar-link:hover,
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar ul ul a.lqd-navbar-link:hover { background: #F4EEF7; }
body.is-auth:not(.is-auth-page) .lqd-navbar ul ul a.lqd-navbar-link .lqd-nav-link-icon { background: transparent !important; border: 0 !important; box-shadow: none !important; transform: none !important; }
body.is-auth:not(.is-auth-page) .lqd-navbar ul ul a.lqd-navbar-link.active .lqd-nav-link-icon svg { color: #7138C7 !important; }
/* "Menu" expander */
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar-expander { color: #4A4356; font-weight: 700; }
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar-expander:hover { color: #7138C7; }
/* Dark mode tiles */
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar .lqd-nav-link-icon { background: rgba(167, 139, 250, .10); border: 1px solid rgba(167, 139, 250, .14); }

/* Full sidebar kept open on desktop (app-skin.js adds body.imai-nav-open) */
@media (min-width: 1024px) {
  body.is-auth.imai-nav-open:not(.is-auth-page) { --navbar-width: 256px; }
  body.is-auth.imai-nav-open:not(.is-auth-page) .lqd-page-wrapper { padding-inline-start: 256px !important; }
  body.is-auth.imai-nav-open:not(.is-auth-page) aside.lqd-navbar { width: 256px; box-shadow: none; }
  body.is-auth.imai-nav-open:not(.is-auth-page) .lqd-navbar-expander { flex-direction: row; gap: 8px; align-self: flex-end; margin: 14px 8px 4px 0; font-size: 12px; }
}
/* Menu group headings (Overview, Write, Chat ...): bigger, bold, brand colour, with breathing room */
body.is-auth:not(.is-auth-page) .lqd-navbar .lqd-navbar-label-wrap { padding-top: 18px; padding-bottom: 6px; }
body.is-auth:not(.is-auth-page) .lqd-navbar .lqd-navbar-label {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  line-height: 1.3;
}
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar .lqd-navbar-label { color: #5B2BA8 !important; }
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar .lqd-navbar-label { color: #C4B5FD !important; }
body.is-auth.theme-light:not(.is-auth-page) .lqd-navbar-ul a.lqd-navbar-link .lqd-nav-link-icon { width: 30px; height: 30px; border-radius: 8px; }
body.is-auth:not(.is-auth-page) .lqd-navbar-ul a.lqd-navbar-link:hover .lqd-nav-link-icon { transform: none; box-shadow: none; }

/* Sidebar footer: pinned Upgrade + Log out (added by app-skin.js) */
.imai-nav-foot { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 8px; width: 100%; padding: 12px 6px 16px; margin-top: 12px; background: inherit; }
body.is-auth.theme-light:not(.is-auth-page) .imai-nav-foot { background: linear-gradient(180deg, rgba(255,255,255,0) 0, #fff 14px); }
body.is-auth.theme-dark:not(.is-auth-page) .imai-nav-foot { background: linear-gradient(180deg, rgba(26,19,40,0) 0, #1A1328 14px); }
.imai-nav-foot svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.imai-nav-upgrade { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; border-radius: 10px; background: linear-gradient(135deg, #8B5CF6, #7138C7 55%, #5B2BA8); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 8px 20px rgba(113, 56, 199, .3); }
.imai-nav-upgrade svg { fill: currentColor; stroke: none; }
.imai-nav-upgrade:hover { filter: brightness(1.08); }
.imai-nav-logout-form { margin: 0; }
.imai-nav-logout { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 38px; border-radius: 10px; border: 1px solid #E7E0EA; background: transparent; color: #4A4356 !important; font-weight: 600; font-size: 13px; cursor: pointer; }
.imai-nav-logout * { color: inherit !important; }
.imai-nav-logout:hover { border-color: #E0B4BD; color: #B42335 !important; background: #FDF3F5; }
body.is-auth.theme-dark:not(.is-auth-page) .imai-nav-logout { border-color: rgba(255,255,255,.14); color: #DCD3EA !important; }
body.is-auth.theme-dark:not(.is-auth-page) .imai-nav-logout:hover { background: rgba(244, 114, 138, .12); color: #FBA4B4 !important; border-color: rgba(244,114,138,.4); }
/* Icon-rail mode: compact square buttons */
body.navbar-shrinked .imai-nav-foot { padding: 10px 0 14px; }
body.navbar-shrinked .imai-nav-upgrade, body.navbar-shrinked .imai-nav-logout { width: 44px; height: 44px; min-height: 0; padding: 0; margin: 0 auto; }
body.navbar-shrinked .imai-nav-foot span { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1023px) { .imai-nav-foot { position: static; } }

/* Header: logo sizing, calm background */
body.is-auth:not(.is-auth-page) .lqd-header img[src*="images/logo/"],
body.is-auth:not(.is-auth-page) .lqd-navbar img[src*="images/logo/"] { max-height: 30px; width: auto; object-fit: contain; }
body.is-auth.theme-light:not(.is-auth-page) .lqd-header { border-bottom: 1px solid #E7E0EA; background: rgba(250, 248, 243, .92); }

/* Dashboard hero: remove the large decorative arc and colour glow; keep the greeting and search */
body.is-auth:not(.is-auth-page) svg[class*="-top-24"][class*="-z-1"] { display: none !important; }
body.is-auth.theme-light:not(.is-auth-page) .lqd-page-content-wrap h1,
body.is-auth.theme-light:not(.is-auth-page) .lqd-titlebar h1 { color: #241D32; }

/* Decorative rainbow backdrops (tool lists, chat list) and blurred colour blobs: removed for a calmer look */
body.is-auth:not(.is-auth-page) [style*="generators-bg"],
body.is-auth:not(.is-auth-page) .lqd-image-generator { background-image: none !important; }
/* Image generator: one clear prompt bar with model pills, like a creative studio */
body.is-auth.theme-light:not(.is-auth-page) .lqd-image-generator { background-color: #fff !important; border: 1px solid #E7E0EA; }
body.is-auth.theme-dark:not(.is-auth-page) .lqd-image-generator { background-color: #1F1730 !important; border: 1px solid rgba(255,255,255,.08); }
/* Logos on pages with their own top bar (e.g. AI Realtime Image) */
body.is-auth:not(.is-auth-page) img[src*="images/logo/infinite-marketing-ai-"] { max-height: 32px; width: auto; }
body.is-auth.theme-light:not(.is-auth-page) [style*="generators-bg"] { background-color: #F1EAF5 !important; border: 1px solid #E9DEF1; }
body.is-auth:not(.is-auth-page) [class*="blur-[150px]"] { display: none !important; }
body.is-auth:not(.is-auth-page) { background-image: none !important; }

/* Search bar: white field, fine border, purple focus ring instead of the rainbow sweep */
body.is-auth:not(.is-auth-page) .header-search-border-play-inner {
  background: conic-gradient(rgba(0, 0, 0, 0) 0%, #7138C7, #A78BDA, #7138C7, rgba(0, 0, 0, 0) 40%) !important;
}
body.is-auth:not(.is-auth-page) [id^="paint0_linear_187_438"] stop { stop-color: #7138C7; }

/* Cards */
body.is-auth.theme-light:not(.is-auth-page) .lqd-card {
  border: 1px solid #E7E0EA;
  box-shadow: 0 1px 2px rgba(36, 29, 50, .04), 0 6px 18px rgba(36, 29, 50, .04);
}
body.is-auth.theme-light:not(.is-auth-page) .lqd-card-head,
body.is-auth.theme-light:not(.is-auth-page) .lqd-card .lqd-card-head { border-color: #EFE9F1; }
body.is-auth:not(.is-auth-page) .lqd-card-head h4,
body.is-auth:not(.is-auth-page) .lqd-card-head h3 { font-weight: 700; }

/* Buttons: solid purple primary, outlined secondary */
body.is-auth:not(.is-auth-page) .lqd-btn-primary,
body.is-auth:not(.is-auth-page) .lqd-btn.bg-primary {
  background: #7138C7;
  background-image: none;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(113, 56, 199, .22);
}
body.is-auth:not(.is-auth-page) .lqd-btn-primary:hover,
body.is-auth:not(.is-auth-page) .lqd-btn.bg-primary:hover { background: #5B2BA8; }
body.is-auth:not(.is-auth-page) .lqd-btn-outline,
body.is-auth:not(.is-auth-page) .lqd-btn-ghost-shadow { border-color: #E1D8E6; }

/* Template / tool tags: soft lavender instead of mint */
body.is-auth.theme-light:not(.is-auth-page) .lqd-card .bg-green-100,
body.is-auth.theme-light:not(.is-auth-page) .lqd-card [class*="bg-[#"][class*="rounded-full"] { background: #F1EAF5 !important; color: #5B2BA8 !important; }

/* Inputs */
body.is-auth.theme-light:not(.is-auth-page) .lqd-input:not([type="checkbox"]):not([type="radio"]) { border-color: #E1D8E6; background-color: #fff; }
body.is-auth:not(.is-auth-page) .lqd-input:focus { border-color: #7138C7; box-shadow: 0 0 0 3px rgba(113, 56, 199, .14); }
body.is-auth:not(.is-auth-page) input[type="checkbox"]:checked { background-color: #7138C7; border-color: #7138C7; }

/* Dark mode: deep plum surfaces with the same purple accent */
body.is-auth.theme-dark:not(.is-auth-page) {
  --background: 262 30% 9%;
  --card-background: 262 26% 13%;
  --card-border: 0 0% 100% / 8%;
  --border: 0 0% 100% / 8%;
  --navbar-background: 262 30% 11%;
  --navbar-foreground: 270 25% 86%;
  --navbar-foreground-hover: 0 0% 100%;
  --navbar-foreground-active: 0 0% 100%;
  --navbar-border: 0 0% 100% / 8%;
  --navbar-icon-background-active: 268 70% 66% / 18%;
  --navbar-icon-background-hover: 268 70% 66% / 12%;
  --input-background: 262 26% 15%;
  --dropdown-background: 262 26% 14%;
  --primary: 268 70% 66%;
  --secondary: 268 70% 66%;
  --accent: 268 70% 66%;
}
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar,
body.is-auth.theme-dark:not(.is-auth-page) .bg-navbar-background {
  background: #1A1328;
  border: 0;
  border-inline-end: 1px solid rgba(255, 255, 255, .08);
}
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar a,
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar span,
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar svg,
body.is-auth.theme-dark:not(.is-auth-page) .bg-navbar-background *,
body.is-auth.theme-dark:not(.is-auth-page) .bg-navbar-background a,
body.is-auth.theme-dark:not(.is-auth-page) .bg-navbar-background span { color: #DCD3EA !important; }
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar .lqd-nav-link.active,
body.is-auth.theme-dark:not(.is-auth-page) .lqd-navbar a.active { background: rgba(167, 139, 250, .14); color: #E9DDFF !important; }
body.is-auth.theme-dark:not(.is-auth-page) .lqd-btn-primary,
body.is-auth.theme-dark:not(.is-auth-page) .lqd-btn.bg-primary { background: #8B5CF6; }

/* ================= Infinite dashboard home (resources/views/infinite-site/dashboard/home.blade.php) ================= */
.imd { --imd-card: #fff; --imd-line: #E7E0EA; --imd-ink: #241D32; --imd-muted: #645D6F; --imd-soft: #F4EEF7; --imd-purple: #7138C7;
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; padding: 8px 0 40px; font-family: "Plus Jakarta Sans", system-ui, sans-serif; color: var(--imd-ink); }
body.theme-dark .imd { --imd-card: #1A1328; --imd-line: rgba(255,255,255,.08); --imd-ink: #F2EDF8; --imd-muted: #B5ABC4; --imd-soft: #241A3A; --imd-purple: #9B6BEB; }
.imd h1, .imd h2 { color: var(--imd-ink); margin: 0; letter-spacing: -.02em; }
.imd p { margin: 0; }
.imd-ic { width: 22px; height: 22px; } .imd-ic-sm { width: 16px; height: 16px; }
.imd-main, .imd-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-content: start; min-width: 0; }
.imd-welcome h1 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; }
.imd-welcome h1 span { background: linear-gradient(90deg, #C084FC, #8B5CF6 45%, #6366F1); -webkit-background-clip: text; background-clip: text; color: transparent; }
.imd-welcome .imd-hello { margin: 0 0 2px; color: var(--imd-muted); font-size: 15px; font-weight: 600; }
.imd-welcome p { margin-top: 6px; color: var(--imd-muted); font-size: 15px; }
.imd-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 20px; padding: 32px 36px; border-radius: 18px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(139,92,246,.55) 0%, rgba(139,92,246,0) 55%), linear-gradient(135deg, #2A1B47 0%, #1A1130 100%); border: 1px solid rgba(155,107,235,.35); }
.imd-hero h2 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); font-weight: 800; line-height: 1.12; }
.imd-hero p { color: #D9CDEB; margin-top: 10px; font-size: 15.5px; max-width: 30em; }
.imd-hero .imd-btn { margin-top: 20px; }
.imd-hero-art { display: grid; place-items: center; }
.imd-hero-art img { width: min(220px, 100%); filter: drop-shadow(0 0 28px rgba(139,92,246,.75)) drop-shadow(0 0 60px rgba(99,102,241,.45)); }
.imd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 1.5px solid transparent; transition: filter .15s, background .15s; }
.imd-btn-primary { background: linear-gradient(135deg, #8B5CF6, #7138C7 60%, #5B2BA8); color: #fff !important; box-shadow: 0 8px 20px rgba(113,56,199,.3); }
.imd-btn-primary:hover { filter: brightness(1.08); }
.imd-btn-outline { border-color: var(--imd-purple); color: var(--imd-purple) !important; background: transparent; }
.imd-btn-outline:hover { background: var(--imd-soft); }
.imd-btn-block { width: 100%; }
.imd-block-head, .imd-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.imd-block-head h2 { font-size: 20px; font-weight: 800; }
.imd-link { display: inline-flex; align-items: center; gap: 6px; color: var(--imd-purple) !important; font-weight: 700; font-size: 14px; text-decoration: none; }
.imd-tools { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.imd-tool { display: grid; gap: 6px; height: 100%; padding: 18px 16px; border-radius: 14px; background: var(--imd-card); border: 1px solid var(--imd-line); text-decoration: none; transition: transform .15s, border-color .15s, box-shadow .15s; }
.imd-tool:hover { transform: translateY(-2px); border-color: var(--c); box-shadow: 0 12px 26px color-mix(in srgb, var(--c) 22%, transparent); }
.imd-tool-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); margin-bottom: 4px; }
.imd-tool strong { color: var(--imd-ink); font-size: 15px; font-weight: 800; }
.imd-tool span:last-child { color: var(--imd-muted); font-size: 13px; line-height: 1.4; }
.imd-table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--imd-line); background: var(--imd-card); }
.imd-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.imd-table th { text-align: left; font-weight: 700; color: var(--imd-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; padding: 12px 16px; border-bottom: 1px solid var(--imd-line); }
.imd-table td { padding: 12px 16px; border-bottom: 1px solid var(--imd-line); color: var(--imd-ink); vertical-align: middle; }
.imd-table tr:last-child td { border-bottom: 0; }
.imd-td-title a { color: var(--imd-ink) !important; font-weight: 600; text-decoration: none; }
.imd-td-title a:hover { color: var(--imd-purple) !important; }
.imd-td-date { color: var(--imd-muted) !important; white-space: nowrap; }
.imd-td-act a { color: var(--imd-muted) !important; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; }
.imd-td-act a:hover { background: var(--imd-soft); color: var(--imd-purple) !important; }
.imd-tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--imd-soft); color: var(--imd-purple); white-space: nowrap; }
.imd-empty { padding: 26px; border-radius: 14px; border: 1px dashed var(--imd-line); background: var(--imd-card); display: grid; gap: 14px; justify-items: start; color: var(--imd-muted); }
.imd-card { padding: 20px; border-radius: 16px; background: var(--imd-card); border: 1px solid var(--imd-line); }
.imd-card-title, .imd-card-head h2 { font-size: 17px; font-weight: 800; }
.imd-card > .imd-card-title { margin-bottom: 12px; }
.imd-plan { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--imd-soft); color: var(--imd-purple); }
.imd-credit-list { margin: 0 0 14px; display: grid; gap: 10px; }
.imd-credit-list div { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: var(--imd-soft); }
.imd-credit-list dt { color: var(--imd-muted); font-size: 13.5px; font-weight: 600; }
.imd-credit-list dd { margin: 0; font-size: 20px; font-weight: 800; color: var(--imd-ink); }
.imd-note { color: var(--imd-muted); font-size: 13.5px; margin-bottom: 12px !important; }
.imd-quick { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.imd-quick a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--imd-line); color: var(--imd-ink) !important; text-decoration: none; font-weight: 600; font-size: 14px; }
.imd-quick a:hover { border-color: var(--imd-purple); background: var(--imd-soft); }
.imd-quick-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--imd-soft); color: var(--imd-purple); }
.imd-quick-ic .imd-ic { width: 18px; height: 18px; }
.imd-quick-chev { margin-left: auto; color: var(--imd-muted); }
.imd-activity { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.imd-activity li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.imd-dot { width: 8px; height: 8px; border-radius: 50%; background: #22C55E; flex: none; }
.imd-act-text { flex: 1; color: var(--imd-ink); }
.imd-activity time { color: var(--imd-muted); font-size: 12.5px; white-space: nowrap; }
.imd-upsell { background: linear-gradient(160deg, #2A1B47, #1A1130); border-color: rgba(155,107,235,.35); }
.imd-upsell h2 { color: #fff; font-size: 18px; font-weight: 800; margin: 10px 0 6px; }
.imd-upsell p { color: #D9CDEB; font-size: 13.5px; margin-bottom: 14px !important; }
.imd .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 1400px) { .imd-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) { .imd { grid-template-columns: minmax(0, 1fr); } .imd-side { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .imd-side { grid-template-columns: 1fr; } .imd-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); } .imd-hero { grid-template-columns: 1fr; padding: 24px; } .imd-hero-art { display: none; } .imd-td-date { display: none; } }

/* Phones: smaller header logo so it doesn't run into the account button */
@media (max-width: 1023px) { body.is-auth:not(.is-auth-page) .lqd-header img[src*="images/logo/"] { max-height: 22px !important; max-width: 52vw; } }

/* Black Friday card on the dashboard home */
.imd-promo { background: radial-gradient(120% 100% at 100% 0%, rgba(240,171,252,.35) 0%, rgba(240,171,252,0) 55%), linear-gradient(160deg, #241A3A, #120D1C); border-color: #7138C7; }
.imd-promo-kicker { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #000; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.imd-promo h2 { color: #fff; font-size: 19px; font-weight: 800; margin: 10px 0 6px; }
.imd-promo p { color: #D9CDEB; font-size: 13.5px; margin-bottom: 14px !important; }
.imd-promo code { color: #fff; font-weight: 800; padding: 1px 6px; border-radius: 5px; background: rgba(255,255,255,.14); }
