/* Auth panel — left hero (Login, Code, Invitation) */

.auth-panel-left {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 100vh;
  background-color: #1152d4;
}

/* ── Vanta.js backgrounds (rotating) ── */

.auth-panel-vanta {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  transition: opacity 0.6s ease;
}

.auth-panel-vanta.is-transitioning {
  opacity: 0.15;
}

.auth-panel-vanta canvas {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* ── Overlay layers ── */

.auth-flow-dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
  background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.85) 1px, transparent 0);
  background-size: 28px 28px;
}

.auth-flow-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(17, 82, 212, 0.4) 0%,
    rgba(17, 82, 212, 0.08) 45%,
    rgba(10, 36, 99, 0.55) 100%
  );
}

.auth-panel-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .auth-panel-vanta {
    display: none;
  }
}
