/* ===== SECTION WRAPPER ===== */
.auth-section{
  width:100%;
  padding:100px 0;
  background:#FFF;
  display:flex;
  justify-content:center;
  align-items:center;
}

/* ===== MAIN BOX ===== */
.auth-container{
  position:relative;
  width:400px;
  height:480px;
  background:#fff;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
  border-radius:8px;
  overflow:hidden;
}

/* ===== FORMS WRAPPER ===== */
.forms{
  display:flex;
  width:200%;
  height:100%;
  transition:transform 0.6s ease-in-out;
}

/* ===== EACH FORM ===== */
.form-box{
  width:50%;
  padding:40px;
  box-sizing:border-box;
}

.form-box h2{
  text-align:center;
  margin-bottom:25px;
  color:#a40000;
}

.form-box label{
  display:block;
  margin-bottom:5px;
  font-size:14px;
}

.form-box input{
  width:100%;
  padding:10px;
  margin-bottom:15px;
  border:1px solid #ddd;
  border-radius:4px;
  transition:0.3s;
}

.form-box input:focus{
  border-color:#f5b400;
  outline:none;
}

.form-box button{
  width:100%;
  padding:12px;
  background:#a40000;
  border:none;
  cursor:pointer;
  font-size:15px;
  transition:0.3s;
  color: #ffffff;
}

.form-box button:hover{
  background:#ffffff;
  color: #a40000;
}

.switch{
  text-align:center;
  margin-top:15px;
  font-size:14px;
}

.switch a{
  color:#a40000;
  font-weight:bold;
  text-decoration:none;
  cursor:pointer;
}

/* ===== ACTIVE STATE ===== */
.auth-container.active .forms{
  transform:translateX(-50%);
}
