/* Beule-GmbH-Design für die Authelia-Anmeldeseite (per Caddy eingespielt).
   Authelia 4.39 nutzt Tailwind/shadcn: Farben laufen über CSS-Variablen. */
@font-face {
  font-family: "Inter";
  src: url("/login-design/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root, html, body, .dark, [data-theme] {
  --background: #050D2B !important;
  --foreground: #FFFFFF !important;
  --card: #0E1B42 !important;
  --card-foreground: #FFFFFF !important;
  --popover: #0E1B42 !important;
  --popover-foreground: #FFFFFF !important;
  --primary: #F5C518 !important;
  --primary-foreground: #050D2B !important;
  --secondary: #1B2A55 !important;
  --secondary-foreground: #FFFFFF !important;
  --muted: #0A1538 !important;
  --muted-foreground: #8290B0 !important;
  --accent: #1B2A55 !important;
  --accent-foreground: #FFFFFF !important;
  --destructive: #EF4444 !important;
  --border: #1B2A55 !important;
  --input: #1B2A55 !important;
  --ring: #F5C518 !important;
  --radius: 10px !important;
  --font-sans: "Inter", system-ui, sans-serif !important;
}
html, body, #root {
  background: #050D2B !important;
  color: #FFFFFF;
  font-family: "Inter", system-ui, sans-serif !important;
}
/* Eingabefelder etwas abgesetzt */
input:not([type=checkbox]) {
  background: #0A1538 !important;
  color: #FFFFFF !important;
}
input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #0A1538 inset !important;
  -webkit-text-fill-color: #FFFFFF !important;
}
/* Anmelden-Knopf: Gelb, Navy-Schrift (nie Weiß auf Gelb) */
#sign-in-button {
  background: #F5C518 !important;
  color: #050D2B !important;
  font-weight: 700 !important;
  text-transform: none !important;
  height: 44px !important;
}
#sign-in-button:hover { background: #FFD43B !important; }
#reset-password-button, a { color: #F5C518 !important; }
/* Logo: Mindestbreite 120 px, proportional, mit Schutzraum */
img[alt="Logo"] {
  width: 240px !important;
  height: auto !important;
  margin: 0 auto 28px !important;
}
/* Authelia-Hinweis ausblenden */
a[href*="authelia.com"] { display: none !important; }
/* Häkchen-Feld sichtbar machen */
#remember-checkbox { border-color: #8290B0 !important; }
#remember-checkbox[data-state=checked] { background: #F5C518 !important; border-color: #F5C518 !important; color: #050D2B !important; }
/* Kein Mailversand angebunden: Zurücksetzen läuft über Christian */
#reset-password-button { display: none !important; }
