*{
  box-sizing:border-box;
  font-family: Arial, sans-serif;
}

body{
  background: linear-gradient(135deg,#4f46e5,#9333ea);
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}

.reset-container{
  background:#fff;
  padding:35px;
  width:420px;
  border-radius:14px;
  box-shadow:0 20px 40px rgba(0,0,0,.25);
  text-align:center;
  animation:fadeIn .6s ease;
}

.reset-container h2{
  margin-bottom:10px;
}

.reset-container p{
  color:#666;
  font-size:14px;
  margin-bottom:20px;
}

.reset-container input{
  width:100%;
  padding:12px;
  border:1px solid #ddd;
  border-radius:8px;
  font-size:15px;
  margin-bottom:15px;
}

.reset-container button{
  width:100%;
  padding:12px;
  background:#4f46e5;
  color:#fff;
  border:none;
  border-radius:8px;
  cursor:pointer;
  font-size:16px;
  transition:.3s;
}

.reset-container button:hover{
  background:#372fd8;
}

.back-login{
  display:block;
  margin-top:15px;
  text-decoration:none;
  color:#4f46e5;
  font-size:14px;
}

/* MESSAGE BOX */

.reset-msg{
  margin-top:15px;
  padding:10px;
  border-radius:8px;
  opacity:0;
  transform:translateY(10px);
  transition:.4s;
  font-size:14px;
}

.reset-msg.show{
  opacity:1;
  transform:translateY(0);
}

.reset-msg.success{
  background:#dcfce7;
  color:#166534;
}

.reset-msg.error{
  background:#fee2e2;
  color:#991b1b;
}

/* ANIMATION */

@keyframes fadeIn{
  from{
    opacity:0;
    transform:scale(.9);
  }
  to{
    opacity:1;
    transform:scale(1);
  }
}

/* 📱 MOBILE 451px */

@media(max-width:451px){

  .reset-container{
    width:92%;
    padding:25px;
  }

  .reset-container h2{
    font-size:22px;
  }

  .reset-container input,
  .reset-container button{
    font-size:14px;
  }
}
