body {
  font-family: Arial, sans-serif;
  padding: 30px 20px;
  background: #f8f9fa;
}

.form-container {
  background: #fff;
  padding: 30px;
  max-width: 480px;
  margin: 0 auto 50px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

input[type='text'], input[type='password'] {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.error {
  color: red;
  font-weight: bold;
  text-align: center;
}

.success {
  color: green;
  font-weight: bold;
  text-align: center;
}

button {
  background: #007bff;
  color: white;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background: #0056b3;
}

.generator {
  text-align: center;
  margin-top: 10px;
}

.generator input {
  margin-top: 10px;
}

.logo {
  display: block;
  width: 150px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,.1);
}

label {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

input[type='text'], input[type='number'], input[type='file'] {
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 16px;
  box-sizing: border-box;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.slider-container input[type='range'] {
  flex: 1;
}

.strength {
  font-weight: bold;
  margin-top: 5px;
}

.strength.strong {
  color: green;
}

.strength.verystrong {
  color: darkorange;
}

.strength.extreme {
  color: red;
}

button {
  display: block;
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  font-size: 16px;
  border: none;
  border-radius: 4px;
  background: #007bff;
  color: white;
  cursor: pointer;
}

button:hover {
  background: #0056b3;
}

@media (max-width: 600px) {
  .slider-container {
    flex-direction: column;
    align-items: stretch;
  }
}

input[type='text'], input[type='password'], input[type='email'], input[type='number'], input[type='file'] {
  width: 100%;
  max-width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  box-sizing: border-box;
}
