body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(270deg, #0f2027, #203a43, #2c5364, #0f2027);
  background-size: 800% 800%;
  animation: gradientBG 15s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin: 0;
}

@keyframes gradientBG {
  0% {background-position:0% 50%;}
  50% {background-position:100% 50%;}
  100% {background-position:0% 50%;}
}

.container {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  padding: 1.5rem;
  width: 350px;
  max-width: 90%;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  animation: fadeIn 1s ease;
  box-sizing: border-box;
}

h2 {
  text-align: center;
  margin-bottom: 0.6rem;
  font-size: 22px;
  text-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.form-group {
  margin-bottom: 0.8rem;
  position: relative; 
}

.form-group label {
  margin-bottom: 0.4rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  cursor: pointer;
  display: block;
}

.input-icon {
  position: relative;
}

.input-icon input {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 0.4rem;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  padding: 0.5rem 0.5rem 0.5rem 35px; 
  height: 45px;
  outline: none;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.input-icon i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #00ffff;
  font-size: 18px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.input-icon input:focus {
  border-color: #00ffff;
}

.input-icon input:focus ~ i {
  color: #a0ffff;
  text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff;
}

.btn {
  width: 100%;
  height: 38px;
  border: none;
  border-radius: 0.4rem;
  background: rgba(0,255,255,0.25);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top:1.2rem;
}

.btn:hover {
  background: rgba(0,255,255,0.45);
  box-shadow: 0 0 20px rgba(0,255,255,0.8);
  transform: scale(1.02);
}

p {
  text-align: center;
  margin-top: 0.8rem;
  font-size: 14px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

p a {
  color: #00ffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

p a:hover { color: #a0ffff; }

.error {
  color: #ff4d4d;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
  text-shadow: 0 0 3px rgba(255,0,0,0.6);
}

.success-message {
  color: #00ffcc;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: center;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-15px);}
  to {opacity: 1; transform: translateY(0);}
}

@media (max-width: 600px) {
  .container { width: 90%; padding: 1rem; }
  h2 { font-size: 20px; margin-bottom: 1rem; }
  .input-icon input { height: 40px; font-size: 13px; padding-left: 32px; }
  .btn { height: 36px; font-size: 14px; }
  p { font-size: 13px; }
}

p,a{
    margin-top: 1rem;
    margin-bottom: 10px;
}
.animated-text{
    margin-top: 0px;
}
