/* Only for the app's own standalone base template (jobtrends/base.html). A host base template does not link
   this file; inside a host the .jobtrends root styles itself (see jobtrends.css). */
html,
body {
  margin: 0;
  padding: 0;
  background: #f4f4f4;
}

@media (prefers-color-scheme: dark) {
  html,
  body {
    background: #161616;
  }
}

body > main {
  display: block;
  min-height: 100vh;
}

body > main > .jobtrends {
  min-height: 100vh;
}

/* a theme forced by the Dark switch (prefs.js stamps <html> before the first paint) */
html[data-jt-theme="dark"],
html[data-jt-theme="dark"] body {
  background: #161616;
}

html[data-jt-theme="light"],
html[data-jt-theme="light"] body {
  background: #f4f4f4;
}
