* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea, #764ba2);
  overflow: hidden;
}

/* Glass Effect Container */
.container {
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 15px;
  width: 320px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  animation: fadeIn 1s ease;
}

/* Form Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

/* Inputs */
input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  outline: none;
  transition: 0.3s;
}

/* Focus Glow */
input:focus {
  box-shadow: 0 0 8px #fff;
}

/* Button */
button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #ffffff;
  color: #333;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

/* Hover animation */
button:hover {
  transform: scale(1.05);
  background: #ddd;
}

/* Password Eye */
.password-box {
  position: relative;
}

.password-box span {
  position: absolute;
  right: 10px;
  top: 12px;
  cursor: pointer;
}

/* Text */
p {
  color: white;
  text-align: center;
  margin-top: 10px;
}

span {
  color: #ffd700;
  cursor: pointer;
}

/* Dark Mode */
.dark {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
}

.dark .container {
  background: rgba(0, 0, 0, 0.3);
}

/* Toggle Button */
.toggle-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.2);
  color: white;
  font-size: 18px;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.bg-circle, .bg-circle2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}

.bg-circle {
  width: 200px;
  height: 200px;
  background: #ff6ec4;
  top: 10%;
  left: 20%;
}

.bg-circle2 {
  width: 300px;
  height: 300px;
  background: #7873f5;
  bottom: 10%;
  right: 20%;
}