/*Poppins*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
  background: #36D1DC;  
  background: -webkit-linear-gradient(to right, #5B86E5, #36D1DC);  
  background: linear-gradient(to right, #5B86E5, #36D1DC); 
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 450px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.container h2 {
  font-weight: 600;
  font-size: 1.31rem;
  padding: 1rem 1rem 0.3rem 1rem; 
  margin: 0;
}

.container p {
  font-weight: 300;
  font-size: 1rem;
  padding: 0.3rem 1rem 1rem 1rem;
  margin: 0;
  border-bottom: 1px solid #d4bde5;
}

.wrapper {
  margin: 1.25rem 1.75rem;
}

.wrapper .input-box {
  position: relative;
}

.input-box input {
  width: 100%;
  height: 53px;
  color: #000;
  background: none;
  font-size: 1.06rem;
  font-weight: 500;
  border-radius: 4px;
  letter-spacing: 1.4px;
  border: 1px solid #aaa;
  padding: 0 2.85rem 0 1rem;
}

.input-box span {
  position: absolute;
  right: 13px;
  cursor: pointer;
  line-height: 53px;
  color: #707070;
}

.input-box span:hover {
  color: #4285F4!important;
}

.wrapper .pass-indicator {
  width: 100%;
  height: 4px;
  position: relative;
  background: #dfdfdf;
  margin-top: 0.75rem;
  border-radius: 25px;
}

.pass-indicator::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 50%;
  border-radius: inherit;
  transition: width 0.3s ease;
}

.pass-indicator#weak::before {
  width: 20%;
  background: #E64A4A;
}

.pass-indicator#medium::before {
  width: 50%;
  background: #f1c80b;
}

.pass-indicator#strong::before {
  width: 100%;
  background: #24b93d;
}

.wrapper .pass-length {
  margin: 1.56rem 0 1.25rem;
}

.pass-length .details {
  display: flex;
  justify-content: space-between;
}

.pass-length input {
  width: 100%;
  height: 5px;
}

.pass-settings .options {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.pass-settings .options .option {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  width: calc(100% / 2);
}

.options .option:first-child {
  pointer-events: none;
}

.options .option:first-child input {
  opacity: 0.7;
}

.options .option input {
  height: 16px;
  width: 16px;
  cursor: pointer;
}

.options .option label {
  cursor: pointer;
  color: #4f4f4f;
  padding-left: 0.63rem;
  font-size: 0.9rem;
}

.wrapper .generate-btn {
  width: 100%;
  color: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  background: #4285F4;
  font-size: 1.06rem;
  font-weight: 500;
  padding: 0.94rem 0;
  border-radius: 5px;
  text-transform: uppercase;
  margin: 0.94rem 0 1.3rem;
  transition: 0.3s ease;
}

.wrapper .generate-btn:hover {
  background: #053e9b;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    max-width: 400px;
  }
  
  .wrapper {
    margin: 1.25rem 1.25rem;
  }
  
  .pass-settings .options .option {
    width: 100%;
  }
  
  .options .option label {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .container {
    max-width: 350px;
  }
  
  .wrapper {
    margin: 1rem;
  }
  
  .container h2 {
    font-size: 1.2rem;
    padding: 0.8rem 0.8rem 0.2rem 0.8rem;
  }
  
  .container p {
    font-size: 0.9rem;
    padding: 0.2rem 0.8rem 0.8rem 0.8rem;
  }
  
  .input-box input {
    height: 48px;
    font-size: 1rem;
  }
  
  .input-box span {
    line-height: 48px;
  }
  
  .generate-btn {
    font-size: 1rem;
    padding: 0.8rem 0;
  }
}

@media (max-width: 360px) {
  .container {
    max-width: 300px;
  }
  
  .wrapper {
    margin: 0.8rem;
  }
  
  .options .option label {
    font-size: 0.85rem;
  }
}