*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

body{
    max-width: 100vw;
    min-height: 100vh;:root {
  --bg: #f4f6fb;
  --box: #ffffff;
  --text: #333;
  --btn: #667eea;
}

body.dark {
  --bg: #121212;
  --box: #1e1e1e;
  --text: #f1f1f1;
  --btn: #9f7aea;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text);
}

.container {
  background: var(--box);
  width: 360px;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.toggle {
  cursor: pointer;
}

.inputBox {
  position: relative;
  margin-bottom: 10px;
}

#passBox {
  width: 100%;
  padding: 12px 40px 12px 10px;
  font-size: 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.material-icons {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.strength {
  height: 6px;
  background: #ddd;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px 0;
}

#strengthBar {
  height: 100%;
  width: 0;
  transition: 0.3s;
}

#strengthText {
  font-size: 13px;
  margin-bottom: 10px;
}

#inputSlider {
  width: 100%;
}

.row {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 14px;
}

button {
  width: 100%;
  padding: 12px;
  margin-top: 15px;
  border: none;
  border-radius: 6px;
  background: var(--btn);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to right bottom, #ffa585, #45c5d8);
    color: #fff;
    font-weight: 600;
}

.container{
    border: 0.5px solid #fff;
    border-radius: 10px;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    background: transparent;
    box-shadow: 8px 8px 4px #909090, 8px 8px 0px #575757;
}

.container h1{
    font-size: 1.4rem;
    margin-block: 8px;
}
.inputBox{
    position: relative;
}

.inputBox span{
    position: absolute;
    top: 16px;
    right: 6px;
    color: #000;
    font-size: 28px;
    cursor: pointer;
    z-index: 2;
}
.passBox{
    background-color: #fff;
    border: none;
    outline: none;
    padding: 10px;
    width: 300px;
    border-radius: 4px;
    font-size: 20px;
    margin-block: 8px;
    text-overflow: ellipsis;
}

.row{
    display: flex;
    margin-block: 8px;
}

.row p, .row label{
    flex-basis: 100%;
    font-size: 18px;
}

.row input[type="checkbox"]{
    width: 20px;
    height: 20px;
}

.genBtn{
    border: none;
    outline: none;
    background-color: #2c619e;
    padding: 12px 24px;
    color: #fff;
    font-size: 18px;
    margin-block: 8px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
}

.genBtn:hover{
    background-color: #0066ff;
}

