body {
  margin: 0;
  height: 100vh;
  background: radial-gradient(circle, rgba(0,0,139,0.9), rgba(0,100,0,0.9));
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
}

div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.5);
  padding: 20px;
  width: 40%;
  height: 30vh;
  text-align: center;
  color: white;
  border-radius: 8px;
  border: 1px solid white;
  gap: 10px;
}

.btn_generate {
  background: linear-gradient(270deg, #3b82f6, #9333ea, #3b82f6);
  border: none;
  font-size: 16px;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  background-size: 200% 200%;
  animation: gradientMove 5s ease infinite;
  transition: transform 0.2s ease;
  color: white;
}

.btn_generate:hover {
  transform: translateY(-2px);
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

#passwordDisplay {
  background: #9333ea;
  border-radius: 5px;
  padding: 6px 12px;
  max-width: 80%;
  color: white;
  word-wrap: break-word;
}
