#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
}

.auth-wrapper {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20;
  background: radial-gradient(circle at center, rgba(17, 19, 34, 0.4) 0%, rgba(5, 6, 11, 0.94) 100%);
}

.auth-card {
  position: relative;
  background: rgba(16, 18, 30, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(250, 204, 21, 0.35);
  border-radius: 16px;
  padding: 40px 34px;
  width: 100%;
  max-width: 410px;
  box-shadow: 0 0 50px rgba(79, 70, 229, 0.3), 0 16px 40px rgba(0, 0, 0, 0.9);
  animation: authEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  text-align: center;
}

.crystal-badge {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, rgba(250, 204, 21, 0.2) 0%, rgba(79, 70, 229, 0.25) 100%);
  border: 2px solid #facc15;
  border-radius: 14px;
  transform: rotate(45deg);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 25px rgba(250, 204, 21, 0.6), inset 0 0 15px rgba(250, 204, 21, 0.4);
  animation: crystalPulse 3s infinite alternate ease-in-out;
}

.crystal-inner {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 0 14px #ffffff, 0 0 22px #facc15;
}

.order-title-anim {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 12px #facc15, 0 0 32px rgba(250, 204, 21, 0.8);
  margin: 0 0 4px 0;
}

.order-subtitle-anim {
  font-size: 11px;
  letter-spacing: 3px;
  color: #9aa0c2;
  text-transform: uppercase;
  margin-bottom: 24px;
}

@keyframes crystalPulse {
  0% { transform: rotate(45deg) scale(0.95); box-shadow: 0 0 15px rgba(250, 204, 21, 0.4); }
  100% { transform: rotate(45deg) scale(1.05); box-shadow: 0 0 35px rgba(250, 204, 21, 0.85); }
}

@keyframes authEntrance {
  0% { opacity: 0; transform: translateY(25px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-input-group {
  margin-bottom: 14px;
  text-align: left;
}

.auth-input-group input {
  width: 100%;
  padding: 12px 14px;
  background: rgba(11, 13, 21, 0.9);
  border: 1px solid #383c54;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.auth-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.45);
  transition: all 0.25s ease;
}