/* SPARKS — Authelia portal branding (login page).
 * Isolated SPARKS-own portal, so this styling is SPARKS-only and never touches
 * WallStranger's or Odin's login. Mirrors the app design system:
 * monochrome ladder + single gold accent #C5A47E, Cormorant Garamond + Montserrat.
 * Loaded via server.asset_path (/config/assets). Drop a logo.png beside this file
 * to replace the portal logo. */


:root {
  --sparks-gold: #C5A47E;
  --sparks-black: #1a1a1a;
  --sparks-gray: #6b6b6b;
  --sparks-border: #e6e6e6;
  --sparks-bg: #fbfafa;
}

/* Page canvas */
body,
#root {
  background: var(--sparks-bg) !important;
  font-family: 'Montserrat', system-ui, sans-serif !important;
  color: var(--sparks-black) !important;
}

/* Login card — flat, no rounded/soft-shadow, single hairline border + gold rule */
.MuiPaper-root {
  border: 1px solid var(--sparks-border) !important;
  border-top: 3px solid var(--sparks-gold) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Headings (portal title / "Sign in") in the serif display face */
h1, h2,
.MuiTypography-h5,
.MuiTypography-h6 {
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  letter-spacing: 0.5px;
  color: var(--sparks-black) !important;
}

/* Primary action button → gold */
.MuiButton-containedPrimary {
  background-color: var(--sparks-gold) !important;
  color: #fff !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-transform: none !important;
  font-weight: 600 !important;
}
.MuiButton-containedPrimary:hover {
  background-color: #b3926c !important;
}

/* Text fields — gold focus underline */
.MuiInput-underline:after,
.MuiFilledInput-underline:after,
.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
  border-color: var(--sparks-gold) !important;
}

/* Links + checkbox accent */
a { color: var(--sparks-gold) !important; }
.MuiCheckbox-colorPrimary.Mui-checked { color: var(--sparks-gold) !important; }

/* Tone down the "Powered by" footer */
.MuiTypography-caption { color: var(--sparks-gray) !important; }
