/* YorNid — Qadeem Agent shell (match agent.qadeem.solutions) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --qd-bg: #111111;
  --qd-bg-2: #171717;
  --qd-sidebar: #0d0d0d;
  --qd-surface: #1e1e1e;
  --qd-ink: #ececec;
  --qd-ink-2: #d4d4d4;
  --qd-muted: #737373;
  --qd-accent: #ffffff;
  --qd-accent-on: #0a0a0a;
  --qd-border: rgba(255, 255, 255, 0.08);

  --color-brand: #ffffff !important;
  --color-brand-light: #ffffff !important;
  --color-brand-dark: #e5e5e5 !important;
  --color-brandnew: #a3a3a3 !important;
  --color-focus: #ffffff !important;
  --color-primary: #ffffff !important;
  --color-primary-foreground: #0a0a0a !important;
  --color-secondary: #1e1e1e !important;
  --color-secondary-foreground: #ececec !important;
  --color-accent: #1e1e1e !important;
  --color-accent-foreground: #ececec !important;
  --formbricks-brand: #ffffff !important;
  --formbricks-focus: #ffffff !important;
}

html, body {
  background-color: var(--qd-bg) !important;
  color: var(--qd-ink) !important;
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  letter-spacing: -0.01em;
}

body, .min-h-screen, .bg-slate-50, .bg-slate-100, .bg-zinc-50 {
  background-color: var(--qd-bg) !important;
}

.bg-white, [class*="bg-white"] {
  background-color: var(--qd-surface) !important;
  color: var(--qd-ink) !important;
}

.bg-slate-100, .bg-slate-200, .bg-zinc-100, .bg-zinc-200 {
  background-color: var(--qd-bg-2) !important;
}

.text-slate-900, .text-slate-800, .text-zinc-900, .text-black, .text-primary {
  color: var(--qd-ink) !important;
}

.text-slate-700, .text-slate-600, .text-zinc-600, .text-zinc-500, .text-slate-500, .text-muted-foreground {
  color: var(--qd-muted) !important;
}

.text-slate-400, .text-slate-300 {
  color: var(--qd-ink-2) !important;
}

.border-slate-200, .border-slate-300, .border-zinc-200, .border-zinc-300, .border-input {
  border-color: var(--qd-border) !important;
}

.bg-slate-900, .bg-zinc-900, .bg-primary, button.bg-slate-800, [class*="bg-brand"] {
  background-color: var(--qd-accent) !important;
  color: var(--qd-accent-on) !important;
}

input, textarea, select, [role="combobox"] {
  background-color: var(--qd-bg-2) !important;
  color: var(--qd-ink) !important;
  border-color: var(--qd-border) !important;
}

input::placeholder, textarea::placeholder {
  color: var(--qd-muted) !important;
}

aside, nav[class*="sidebar"], [class*="Sidebar"], [data-sidebar] {
  background-color: var(--qd-sidebar) !important;
  color: var(--qd-ink) !important;
  border-color: var(--qd-border) !important;
}

.shadow, .shadow-md, .shadow-lg, .shadow-xl, .shadow-2xl {
  box-shadow: none !important;
  border: 1px solid var(--qd-border) !important;
}

.mx-auto.w-full.max-w-sm.rounded-xl,
.rounded-xl.bg-white,
.shadow-2xl {
  background-color: #1e1e1e !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

/* Hide any leftover Formbricks SVG wordmarks (697×150) */
svg[viewBox="0 0 697 150"] {
  display: none !important;
}

/* Auth logo link → YorNid wordmark */
a[href*="utm_source=ce"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}
a[href*="utm_source=ce"] svg {
  display: none !important;
}
a[href*="utm_source=ce"]::after {
  content: "YorNid";
  display: inline-block;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.85rem;
  letter-spacing: -0.04em;
  color: #ececec;
  line-height: 1;
}

/* Setup mark box */
div.size-20.rounded-lg {
  background: #111111 !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
}

/* Scrub any visible Formbricks text that slipped through */
body {
  /* theme loaded */
}
