/* ===== AUTH SYSTEM SHARED CSS ===== */

/* Scoped reset */
.auth-page *{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: Arial, Helvetica, sans-serif;
}

/* Background */
.auth-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  /* background:linear-gradient(135deg,#0f172a,#1e293b); */
}

/* Card */
.auth-wrapper{
  width:100%;
  max-width:1000px;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:white;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 20px 50px rgba(0,0,0,0.2);
  animation:fadeIn .4s ease;
}

@keyframes fadeIn{
  from{opacity:0; transform:translateY(20px);}
  to{opacity:1; transform:translateY(0);}
}

/* Left side */
.auth-left{
  background:linear-gradient(135deg,#2563eb,#1d4ed8);
  color:white;
  padding:60px 40px;
  display:flex;
  flex-direction:column;
  justify-content:center;

}

/* Right side */
.auth-right{
  padding:60px 40px;
  line-height:1.8;
}

/* Form */
.form-group{
  margin-bottom:18px;
  position:relative;

}

.form-group input{
  width:100%;
  padding:14px;
  border:1px solid #ddd;
  border-radius:8px;
}

/* Password toggle */
.toggle-password{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  cursor:pointer;
  font-size:14px;
  color:#2563eb;
}

/* Button */
.auth-btn{
  width:100%;
  padding:14px;
  border:none;
  background:#2563eb;
  color:white;
  border-radius:8px;
  cursor:pointer;
}

/* Password strength bar */
.strength-bar{
  height:6px;
  border-radius:5px;
  margin-top:8px;
  background:#eee;
}

.strength-fill{
  height:100%;
  width:0;
  border-radius:5px;
  transition:.3s;
}

/* Success popup */
.success-popup{
  position:fixed;
  top:20px;
  right:20px;
  background:#16a34a;
  color:white;
  padding:15px 25px;
  border-radius:8px;
  display:none;
  animation:slide .4s ease;
}

@keyframes slide{
  from{transform:translateX(100%);}
  to{transform:translateX(0);}
}

/* Mobile */
@media(max-width:768px){
  .auth-wrapper{
    grid-template-columns:1fr;
    margin:20px;
  }
}
