/* --- Leitlitz Design Variablen --- */
:root {
  --main-color: #12963c; 
  --bg-color: #f8fafc;
  --card-bg: #ffffff;
  --text-color: #334155;
  --font-stack: 'Segoe UI', Arial, sans-serif;
}

/* --- Grundlayout --- */
body {
  font-family: var(--font-stack);
  background-color: var(--bg-color);
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden; /* Verhindert seitliches Scrollen */
}

/* --- KILL-SWITCH V3 (Die nukleare Option) --- */
/* Das hier sagt: "Nimm JEDES Element, das nach dem .container kommt, und lösche es." */
.container ~ * {
  display: none !important;
}

/* Sicherheitshalber auch direkte Angriffe auf bekannte Listmonk-Footer */
.powered-by, .footer, .tiny, a[href*="listmonk"] {
  display: none !important;
}

/* --- Die weiße Haupt-Box --- */
.container {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  max-width: 400px;
  width: 90%;
  text-align: center;
  margin: 0 auto; 
  position: relative; /* Stellt sicher, dass die Box über allem liegt */
  z-index: 10;
}

/* --- Logo Anpassung (Zentriert) --- */
.logo {
  display: block; 
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  max-width: 150px;
  height: auto;
}

/* --- Überschriften --- */
h3, h4 {
  margin-top: 0;
  font-weight: 700;
  color: #111;
}

/* --- Eingabefelder --- */
input[type="text"], 
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
  color: var(--text-color);
  box-sizing: border-box;
}

input:focus {
  border-color: var(--main-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(18, 150, 60, 0.2);
}

/* --- Der Button --- */
button, 
input[type="submit"] {
  background-color: var(--main-color);
  color: white;
  border: none;
  padding: 12px 35px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  margin-top: 20px;
  transition: background 0.3s ease;
}

button:hover, 
input[type="submit"]:hover {
  background-color: #11ba46;
}

/* --- Links innerhalb der Box --- */
a {
  color: var(--main-color);
  text-decoration: none;
  font-size: 14px;
}