* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Outfit", Inter, Arial, sans-serif;
  background: radial-gradient(circle at 20% 20%, #162450, #080d1f 55%);
  color: #eef3ff;
  min-height: 100vh;
}
.auth-bg-3d {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.auth-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.6;
  animation: authFloat 11s ease-in-out infinite;
}
.auth-orb.one { width: 320px; height: 320px; background: #2d6cff; top: -70px; left: -70px; }
.auth-orb.two { width: 380px; height: 380px; background: #6f4cff; right: -120px; top: 20%; animation-delay: -3s; }
.auth-orb.three { width: 280px; height: 280px; background: #0dbccf; left: 18%; bottom: -100px; animation-delay: -6s; }
@keyframes authFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-22px) scale(1.04); }
}
.auth-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  backdrop-filter: blur(10px);
  background: rgba(9, 16, 38, 0.8);
  border-bottom: 1px solid rgba(115, 145, 245, 0.25);
}
.auth-logo {
  color: #f3f7ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}
.auth-logo span { color: #56a1ff; }
.auth-nav-actions { display: flex; gap: 10px; }
.auth-btn {
  border: 1px solid #3b56a2;
  border-radius: 11px;
  padding: 9px 14px;
  background: #12214b;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 20px rgba(0,0,0,0.28); }
.auth-btn.primary { background: linear-gradient(135deg,#2d6cff,#7d4bff); border: 0; }
.auth-wrap {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 28px 16px;
}
.auth-card {
  width: 100%;
  max-width: 510px;
  background: rgba(15, 23, 48, 0.9);
  border: 1px solid rgba(120, 150, 255, 0.28);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 30px 70px rgba(5, 7, 18, 0.48);
  transform-style: preserve-3d;
}
.auth-card:hover { transform: rotateX(2deg) rotateY(-2deg); transition: transform .35s ease; }
h1 { margin: 0 0 8px; font-size: 28px; }
p { margin: 0 0 18px; color: #b0c1ef; }
label { display: block; font-size: 13px; margin-bottom: 6px; }
input,select {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #2c447f;
  background: #101a37;
  color: #fff;
}
button {
  width: 100%;
  border: 0;
  border-radius: 11px;
  padding: 12px;
  background: linear-gradient(135deg, #2d6cff, #834bff);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.links {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
  margin-top: 14px;
  flex-wrap: wrap;
}
a { color: #9dc0ff; text-decoration: none; }
#toast-root {
  position: fixed;
  right: 14px;
  top: 92px;
  display: grid;
  gap: 8px;
  z-index: 2000;
}
.toast {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #141d3d;
}
.toast.success { border-color: #2ecb8e; }
.toast.error { border-color: #ff6289; }
