@import url('https://fonts.googleapis.com/css?family=Muli&display=swap');

* {
  box-sizing: border-box;
}

body {
  background-color: #2c3e50; /* Dark blue-grey */
  color: #ecf0f1; /* Light grey */
  font-family: 'Muli', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  padding: 10px;
  margin: 0;
}

h2 {
  margin: 10px 0 20px;
  text-align: center;
  color: #ecf0f1;
}

.container {
  background-color: #34495e; /* Slightly lighter blue-grey */
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.25); /* More prominent shadow */
  padding: 25px; /* Increased padding */
  width: 400px; /* Wider container */
  max-width: 100%;
  border-radius: 8px;
}

.result-container {
  background-color: rgba(0, 0, 0, 0.2); /* More transparent */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 12px 10px;
  height: 50px;
  width: 100%;
  border-radius: 5px;
  margin-bottom: 20px;
}

.result-container #generatedPassword {
  word-wrap: break-word;
  max-width: calc(100% - 50px); /* Adjusted width for button */
  overflow-y: auto;
  height: 100%;
  display: flex;
  align-items: center;
}

.result-container .copy-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  font-size: 20px;
  background-color: #2ecc71; /* Green button */
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.result-container .copy-btn:hover {
  background-color: #27ae60; /* Darker green on hover */
}

.copy-btn svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
}

.generate-btn {
  border: none;
  background-color: #3498db; /* Blue button */
  color: #fff;
  font-size: 18px; /* Larger font */
  padding: 12px 15px; /* Increased padding */
  cursor: pointer;
  display: block;
  width: 100%;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.generate-btn:hover {
  background-color: #2980b9; /* Darker blue on hover */
}

.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 15px 0;
}

.setting label {
  cursor: pointer;
}

.setting input[type="number"] {
  width: 60px;
  padding: 5px;
  border-radius: 3px;
  border: 1px solid #bdc3c7;
  background-color: #ecf0f1;
  color: #333;
}

.setting input[type="checkbox"] {
  cursor: pointer;
}