/* 🌌 BACKGROUND */
body{
  margin:0;
  font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height:100vh;
  background: linear-gradient(180deg,#7ec8ff 0%, #a6e3ff 40%, #e0f7ff 100%);
  overflow:hidden;
  position:relative;
}

/* ⭐ STARS */
.stars{
  position:fixed;
  width:100%;
  height:100%;
  top:0;
  left:0;
  pointer-events:none;
}

.star{
  position:absolute;
  width:3px;
  height:3px;
  background:white;
  border-radius:50%;
  animation: twinkle 2s infinite ease-in-out;
}

@keyframes twinkle{
  0%,100%{opacity:0.2; transform:scale(1);}
  50%{opacity:1; transform:scale(1.8);}
}

/* 🪐 PLANET */
.planet{
  position:fixed;
  top:60px;
  right:60px;
  width:80px;
  height:80px;
  background: radial-gradient(circle at 30% 30%, #fff, #6ec6ff);
  border-radius:50%;
  box-shadow:0 0 25px rgba(0,150,255,0.5);
  animation: floatPlanet 6s ease-in-out infinite;
  pointer-events:none;
}

@keyframes floatPlanet{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-20px);}
}

/* container */
.auth-container{
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  padding:20px;
  position:relative;
  z-index:2;
}

/* card */
.auth-box{
  width:100%;
  max-width:380px;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(14px);
  border-radius:24px;
  padding:36px 30px;
  box-shadow:0 20px 45px rgba(0,80,150,0.25);
  text-align:center;
  color:#0b3c5d;
  border:1px solid rgba(255,255,255,0.4);
}

.auth-box h2{
  margin-bottom:20px;
  font-weight:700;
}

.auth-box form{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.auth-box input{
  padding:12px 14px;
  border-radius:12px;
  border:1px solid rgba(0,0,0,0.08);
  outline:none;
  font-size:14px;
  background:#ffffffee;
  transition:0.2s;
}

.auth-box input:focus{
  border-color:#4da6ff;
  box-shadow:0 0 0 3px rgba(77,166,255,0.2);
}

.auth-box button{
  margin-top:10px;
  padding:12px;
  border:none;
  border-radius:12px;
  background: linear-gradient(135deg,#4da6ff,#6fd3ff);
  color:white;
  font-weight:600;
  cursor:pointer;
  transition:0.25s;
}

.auth-box button:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(0,120,255,0.35);
}

.auth-box a{
  display:block;
  margin-top:15px;
  color:#0b3c5d;
  text-decoration:none;
  font-size:14px;
}

.msg-error{
  color:#d60000;
  font-size:14px;
  margin-bottom:10px;
  font-weight:600;
}