* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #253f72;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 500px;
}

.password-box {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

h1 {
  text-align: center;
  margin-bottom: 24px;
  color: #111827;
}

.output-group {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.output-group input {
  flex: 1;
}

.input-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-weight: bold;
}

input[type="text"],
input[type="number"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 16px;
}

input[type="text"]:focus,
input[type="number"]:focus {
  outline: none;
  border-color: #111827;
}

.options {
  margin-bottom: 24px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  margin-bottom: 12px;
  cursor: pointer;
}

.options input[type="checkbox"] {
  width: 16px;
  height: 16px;
}

#copyBtn,
#generateBtn {
  border: none;
  border-radius: 10px;
  background: #275493;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

#copyBtn {
  padding: 12px 16px;
  white-space: nowrap;
}

#generateBtn {
  width: 100%;
  padding: 12px;
}

#copyBtn:hover,
#generateBtn:hover {
  background: #0a3082;
}

#message {
  min-height: 24px;
  margin-top: 18px;
  text-align: center;
  font-weight: bold;
  color: #dc2626;
}

.success {
  color: #15803d;
}

@media (max-width: 600px) {
  .output-group {
    flex-direction: column;
  }

  #copyBtn {
    width: 100%;
  }
}
