:root { color-scheme: light; }
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: #f0f0f0;
  color: #1a1a1a;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.login-shell {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom));
}
.login-card {
  background: white;
  border-radius: 16px;
  padding: 32px 32px 28px;
  width: 100%; max-width: 380px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  display: flex; flex-direction: column; gap: 16px;
}

.brand {
  display: flex; justify-content: center;
  margin-bottom: 4px;
}
.logo {
  height: 110px; width: auto; max-width: 100%;
}

.error {
  background: #fde7e7; color: #7a1f1f;
  border: 1px solid #f0b8b8;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 13px;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field span {
  font-size: 11.5px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}
.field input {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  background: #fafafa;
  font-size: 16px;   /* 16px = iOS zoomt nicht rein */
  font-family: inherit;
  color: inherit;
  transition: border-color .15s, background .15s;
}
.field input:focus {
  outline: none;
  border-color: #285F7A;
  background: white;
  box-shadow: 0 0 0 3px rgba(40, 95, 122, 0.12);
}

.submit {
  margin-top: 4px;
  padding: 13px 14px;
  border-radius: 10px;
  border: 0;
  background: #285F7A;    /* GieCon-Teal */
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
}
.submit:hover { background: #1e4b62; }
.submit:active { background: #163a4d; }

.foot {
  margin-top: 20px;
  font-size: 11px;
  color: #999;
}
