* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  background-color: #1d66e5;
}

.container {
  background-color:rgba(135, 207, 235, 0.432);
  padding: 25px 20px;
  width: 420px;
  max-width: 95%;
  border-radius: 16px;
  box-shadow: 0 6px 20px;
  animation:0.5s ease;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 25px;
  color:#fff;
  font-weight: 600;
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.input-box {
  display: flex;
  align-items: center;
  border: 2px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  background-color: #fafafa;
  transition: border 0.3s;
}

.input-box input {
  flex: 1;
  border: none;
  padding: 12px;
  outline: none;
  font-size: 15px;
  background-color: transparent;
}

.input-box span {
  background-color: #2575fc;
  color: white;
  padding: 12px 15px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  transition:0.3s;
}

.input-box span:hover {
  background-color: #3b96d7;
}
.pass-length .details {
  display: flex;
  justify-content: space-between;
  margin-bottom:5px;
  font-size: 20px;
  font-weight: 500;
  color:whitesmoke;
}

.pass-length input[type="range"] {
  width: 20%;
  cursor: pointer;
}
.pass-settings label.title {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
  color: whitesmoke;
}
.pass-settings ul {
  list-style: none;
  padding-left: 0;
}

.pass-settings .option {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.pass-settings input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.pass-settings label {
  margin-left: 10px;
  font-size: 14px;
  color: whitesmoke;
  cursor: pointer;
}
.generate-btn {
  background:linear-gradient(135deg, #6a11cb, #2575fc); 
  color: white;
  border: none;
  padding: 14px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  transition:0.2s,0.3s;
  box-shadow: 1px 1px 1px ;
}
.generate-btn:hover {
  transform: translateY(-2px);
  background-color:#3b96d7;
}
/* Responsiveness */
@media (max-width: 500px) {
  .container {
    width: 100%;
    padding: 20px;
  }

  h2 {
    font-size: 20px;
  }

  .generate-btn {
    font-size: 14px;
    padding: 12px;
  }
}
