/* Canvas bleibt Hintergrund */
#particleCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;          /* ok, darf -1 bleiben, da Box vorne liegt */
  pointer-events: none;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}


.auth-box {
  position: relative;
  overflow: hidden;          /* wichtig für die Kantenmaske */
  border-radius: 18px;

  /* klares Glas: sehr wenig Blur, kaum Weißschleier */
  background: rgba(255, 255, 255, 0.24);
  -webkit-backdrop-filter: blur(1.5px) saturate(120%) contrast(108%);
  backdrop-filter: blur(1.5px) saturate(120%) contrast(108%);

  /* „dickes“ Glas: schmale helle Kante + sanfter Außenschatten */
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),  /* obere Lichtkante */
    inset 0 -1px 0 rgba(255,255,255,0.10), /* untere Kante */
    0 12px 36px rgba(0,0,0,0.18);

  padding: 40px;
  max-width: 420px;
  width: 100%;
  margin: auto;
}

/* dezenter Glanzschleier */
.auth-box::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg,
      rgba(255,255,255,0.35) 0%,
      rgba(255,255,255,0.10) 30%,
      rgba(255,255,255,0.00) 60%);
  mix-blend-mode: screen;
}

/* leichter Innenschein für „Volumen“ */
.auth-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 24px 60px rgba(255,255,255,0.05),
    inset 0 -16px 40px rgba(0,0,0,0.06);
}

/* Inputs leicht opak, damit gut lesbar */
.form-floating > input {
  background: rgba(255,255,255,0.92);
  border-radius: 12px;
}
