body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(to right, #a2d4f6, #c1e7ff);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  width: 400px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

.container::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(270deg, #ff0000, #ff9900, #33cc33, #3399ff, #6600cc, #ff0066, #ff0000);
  background-size: 1400% 1400%;
  border-radius: 16px;
  z-index: -1;
  animation: rainbow-border 8s linear infinite;
}

@keyframes rainbow-border {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

input, button {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  font-size: 16px;
}

button {
  background: #2980b9;
  color: white;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #1c5985;
}

h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.image-box {
  text-align: center;
  margin-bottom: 15px;
}

.image-box img {
  width: 80px;
  height: auto;
}

.toggle {
  text-align: center;
  color: #080808;
  cursor: pointer;
  margin-top: 10px;
}

.hidden {
  display: none;
}


.image-box {
    text-align: center;
    margin-bottom: 15px;
  }

.image-box img {
    width: 300px;
    height: auto;
  }
.password-container {
  position: relative;
  margin-bottom: 12px;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.progress-bar {
  width: 100%;
  height: 5px;
  background: #eee;
  border-radius: 4px;
  margin-top: 5px;
}

#password-strength {
  height: 100%;
  width: 0%;
  border-radius: 4px;
  transition: width 0.3s ease-in-out;
}
