body {
  background: linear-gradient(135deg, #8E005E 0%, #2e001f 100%);
}

.login-wrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: rgba(255,255,255,0.97);
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 25px 50px rgba(0,0,0,0.35);
  padding: 28px 22px;
}

.login-head {
  text-align: center;
  margin-bottom: 16px;
}
.login-head h1 {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #2b2b2b;
}
.login-head p {
  margin: 8px 0 0 0;
  font-size: 13px;
  color: #6b7280;
}

.login-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(87,6,140,0.08);
  color: var(--evonik-purple);
  font-weight: 800;
  font-size: 12px;
}

/* Legal consent (v32) */
.legal-consent{
  margin-top:14px;
  padding:12px;
  border:1px solid rgba(153,29,133,.25);
  border-radius:12px;
  background: rgba(153,29,133,.04);
}
.legal-consent .chk{
  display:flex;
  align-items:center;
  gap:10px;
  margin:8px 0;
  position:relative;
  flex-wrap:wrap;
}
.legal-consent input[type="checkbox"]{ width:18px;height:18px; }
.legal-link{
  margin-left:auto;
  color: var(--accent, #991D85);
  text-decoration: underline;
  cursor:pointer;
  font-weight:600;
}
.legal-popover{
  display:none;
  position:absolute;
  right:0;
  top:28px;
  max-width:320px;
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:10px;
  padding:10px 12px;
  box-shadow:0 10px 26px rgba(0,0,0,.12);
  font-size:12.5px;
  color:#222;
  z-index:50;
}
.chk:hover .legal-popover,
.chk:focus-within .legal-popover{ display:block; }
.muted{ color:#666; }
