/* Logbuch Verlag - Farben fuer die Authelia-Anmeldeseite (Authelia 4.39).
   Eingebunden vom nginx-Sidecar (infra/authelia/brand.nginx.conf) per sub_filter als /authelia/brand.css.
   Uebernommen aus dem frueheren Nginx-Setup (Logbuch Unit Economics/_tool/server/authelia-brand.css).
   Authelia nutzt Tailwind mit Cascade Layers; diese Datei ist ungelayert und hat daher Vorrang (deshalb !important).
   Farben: --brand #03526D (Logbuch-Petrol), dunkler #023E53 (Hover/aktiv), Akzent #82A5A5 (Fokusring, Logo-Wasser). */
:root{--lbv-brand:#03526D;--lbv-brand-dark:#023E53;--lbv-accent:#82A5A5}

/* Anmelde-Button */
#form-login button[type="submit"],#first-factor-stage button.bg-primary{background-color:var(--lbv-brand)!important;color:#fff!important;border-color:var(--lbv-brand)!important}
#form-login button[type="submit"]:hover,#first-factor-stage button.bg-primary:hover,
#form-login button[type="submit"]:active{background-color:var(--lbv-brand-dark)!important}
#form-login button[type="submit"]:focus-visible{outline:2px solid var(--lbv-accent)!important;outline-offset:2px}

/* Eingabefelder: Fokus */
#form-login input:focus,#form-login input:focus-visible{border-color:var(--lbv-brand)!important;box-shadow:0 0 0 1px var(--lbv-brand)!important;outline:none!important}

/* "Angemeldet bleiben" */
#form-login input[type="checkbox"]{accent-color:var(--lbv-brand)}
#form-login [role="checkbox"][data-state="checked"],#form-login [role="checkbox"][aria-checked="true"]{background-color:var(--lbv-brand)!important;border-color:var(--lbv-brand)!important;color:#fff!important}

/* Links (z. B. "Passwort vergessen", Hilfe) */
#first-factor-stage a,#first-factor-stage a:visited{color:var(--lbv-brand)}
#first-factor-stage a:hover{color:var(--lbv-brand-dark)}
#first-factor-stage a:focus-visible{outline:2px solid var(--lbv-accent);outline-offset:2px}

/* Logo (Segelboot, /config/assets/logo.png) groesser darstellen */
#first-factor-stage img{width:170px!important;max-width:60%!important;height:auto!important}

/* Fallback fuer aeltere MUI-Versionen */
.MuiButton-contained.MuiButton-colorPrimary,.MuiButton-containedPrimary{background-color:var(--lbv-brand)!important;color:#fff!important}
