/* VallKai – barvy pro Coder Community (vklada nginx do kazde HTML stranky dashboardu) */
:root {
  --devhub-primary: #dc2626;
  --devhub-primary-hover: #ef4444;
  --devhub-bg: #0b0707;
  --devhub-surface: #140d0e;
}
body { background-color: var(--devhub-bg) !important; }

/* Loga */
img.devhub-icon { width: 34px; height: 34px; display: block; }
img.devhub-wordmark { width: min(440px, 80vw) !important; height: auto !important; display: block; margin: 0 auto 8px; filter: drop-shadow(0 6px 20px rgba(0,0,0,.8)); }

/* Prihlasovaci / uvodni stranka s pozadim VallKai */
body.vallkai-auth {
  background-image: linear-gradient(180deg, rgba(5,3,3,.35) 0%, rgba(5,3,3,.6) 60%, rgba(5,3,3,.92) 100%), url(/devhub-brand/vallkai-bg.jpg) !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
}
body.vallkai-auth #root, body.vallkai-auth #root > div { background: transparent !important; }

/* Primarni tlacitka (MUI i Tailwind varianty Coderu) */
.MuiButton-containedPrimary,
button[class*="bg-surface-invert-primary"],
a[class*="bg-surface-invert-primary"] {
  background-color: var(--devhub-primary) !important;
  border-color: var(--devhub-primary) !important;
  color: #fff !important;
}
.MuiButton-containedPrimary:hover,
button[class*="bg-surface-invert-primary"]:hover,
a[class*="bg-surface-invert-primary"]:hover { background-color: var(--devhub-primary-hover) !important; }
a { accent-color: var(--devhub-primary); }
::selection { background: #dc262666; }
