@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");

* {
  box-sizing: border-box;
}

body {
  background-color: #121212;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  margin: 0;
  min-height: 100vh;
  padding: 20px;
}

header {
  color: #e0e0e0;
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  font-size: 2rem;
  width: 100%;
}

h3 {
  text-align: center;
  color: #00e676;
}

hr {
  width: 100%;
  border: 0;
  border-top: 1px solid #444;
  margin: 20px 0;
}

.pw-header {
  padding: 1rem;
}

.pw {
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.5);
  display: flex;
  font-size: 1.25rem;
  align-items: center;
  height: 70px;
  width: 100%;
  position: relative;
  padding: 1rem;
  overflow: auto;
  margin-bottom: 20px;
}

.pw button {
  background-color: transparent;
  border: none;
  color: #00e676;
  cursor: pointer;
  font-family: inherit;
  font-weight: bold;
  padding: 0.25rem;
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  transition: color 0.2s ease, transform 0.2s ease;
  opacity: 0;
}

.pw:hover button {
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  color: #00c853;
}

.pw-body {
  padding: 1rem;
  background-color: #1e1e1e;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 230, 118, 0.5);
}

.form-control {
  color: #e0e0e0;
  display: flex;
  justify-content: space-between;
  margin: 0.75rem 0;
}

.generate {
  background-color: #00e676;
  border: none;
  color: #121212;
  cursor: pointer;
  display: block;
  font-size: 1.25rem;
  font-weight: bold;
  padding: 0.75rem;
  margin-top: 1rem;
  width: 100%;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.generate:hover {
  background-color: #00c853;
  transform: scale(1.05);
}

.generate:hover {
  background-color: #0056b3;
}

