
body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  background-color: #1e1e2f;
  background-image: url('https://i.pinimg.com/1200x/a4/50/bc/a450bcb4ad32e7f5b9e7db259b0bea61.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); 
  backdrop-filter: blur(3px); 
  z-index: 0;
}

.login-box {
  position: relative;
  z-index: 1;
  width: 340px;
  padding: 40px 35px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(15px); 
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: white;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-box h2 {
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 26px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

.input-box {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.input-box input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: none;
  border-radius: 25px;
  outline: none;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  font-size: 14px;
  transition: 0.3s;
  box-sizing: border-box; 
}

.input-box input::placeholder {
  color: #e5e5e5;
}

.input-box input:focus {
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.input-box i {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #eee;
  font-size: 16px;
}

button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 10px;
}

button:hover {
  background: #63c6f3;
  color: #fff;
  box-shadow: 0 0 15px rgba(127, 234, 241, 0.6);
}

p {
  font-size: 14px;
  margin-top: 15px;
  color: #ddd;
}

p a {
  color: #6ba4ee;
  font-weight: bold;
  text-decoration: none;
}

p a:hover {
  text-decoration: underline;
}

.error {
  color: #ff5555;
  font-size: 13px;
  margin-top: 10px;
}

#success-msg {
  color: #9effa3;
  font-size: 13px;
  margin-top: 10px;
}
