* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Courier New', monospace;
}

body {
  background: #0f0f13;
  color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.container {
  background: #1c1c22;
  padding: 2rem;
  border-radius: 10px;
  width: 350px;
}

h1 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #888;
}

.password-display {
  display: flex;
  justify-content: space-between;
  background: #111;
  padding: 0.5rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.password-display input {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  flex: 1;
  outline: none;
}

.password-display button {
  background: none;
  border: none;
  color: #8aff8a;
  cursor: pointer;
  font-size: 1.2rem;
}

.settings .setting {
  display: flex;
  justify-content: space-between;
  margin: 0.6rem 0;
  align-items: center;
}

input[type="range"] {
  width: 100%;
  margin: 0.5rem 0;
  accent-color: #8aff8a;
}

input[type="checkbox"] {
  accent-color: #8aff8a;
  transform: scale(1.1);
}

.strength-meter {
  background: #111;
  padding: 0.8rem;
  margin: 1rem 0;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.strength-meter .bars {
  display: flex;
  gap: 4px;
}

.strength-meter .bar {
  width: 10px;
  height: 20px;
  background: #333;
  border-radius: 2px;
}

.strength-meter .bar.filled {
  background: #ffcc00;
}

#generate-btn {
  background: #a5ff9c;
  border: none;
  padding: 0.8rem;
  width: 100%;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  color: #111;
  margin-top: 0.5rem;
}
