body {
  background: #f5f3ff;
  color: #4b006e;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  margin: 0;
}
.container {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(75,0,110,0.08);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 340px;
}
.options {
  width: 100%;
  margin-bottom: 18px;
  background: #f3e8ff;
  border-radius: 10px;
  padding: 18px 16px 10px 16px;
  box-sizing: border-box;
}
.options label {
  color: #4b006e;
  font-weight: 500;
  font-size: 1rem;
}
#length {
  width: 100%;
  margin: 8px 0 12px 0;
  accent-color: #7c3aed;
}
#lengthValue {
  color: #7c3aed;
  font-weight: bold;
  margin-left: 4px;
}
.checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 2px;
}
.checkboxes label {
  font-size: 0.98rem;
  color: #6d28d9;
  user-select: none;
}
input[type="checkbox"] {
  accent-color: #7c3aed;
  margin-right: 4px;
}
h1 {
  color: #7c3aed;
  margin-bottom: 24px;
  font-size: 2rem;
}
#password {
  font-size: 1.3rem;
  letter-spacing: 0.1em;
  background: #ede9fe;
  color: #4b006e;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  outline: none;
}
.btns {
  display: flex;
  gap: 12px;
}
button {
  background: #7c3aed;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
button:hover {
  background: #4b006e;
}
.copied {
  color: #7c3aed;
  margin-top: 12px;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s;
} 