* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Comfortaa', cursive;
}

body {
  background-color: #f0f8e1;
  color: #333;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 20px;
}

header h1 {
  font-size: 2.5rem;
  color: #4CAF50;
}

header p {
  font-size: 1.2rem;
  color: #666;
}

.controls {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 100;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.input-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-group label {
  display: block;
  margin-bottom: 10px;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  background-color: #4CAF50;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

button:hover {
  background-color: #45a049;
}

.results {
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.results h2 {
  margin-bottom: 15px;
  color: #4CAF50;
}

#password-list {
  max-height: 300px;
  overflow-y: auto;
}

.password-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.password-item:last-child {
  border-bottom: none;
}

.copy-btn {
  background-color: #4CAF50;
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.copy-btn i {
  font-size: 16px;
}

.copy-btn:hover {
  background-color: #45a049;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #4CAF50;
  color: #fff;
  text-align: center;
  padding: 10px 0;
  font-size: 0.9rem;
  z-index: 1000;
}

footer a {
  color: #fff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }

  .controls {
    padding: 15px;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
  }

  button {
    width: 100%;
    margin-bottom: 10px;
  }

  .copy-btn {
    padding: 6px;
    width: 36px;
    height: 36px;
  }

  .copy-btn i {
    font-size: 14px;
  }
}
