@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rubik', sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #8cccff;

}
.div__box {
    position: relative;
    width: 300px;
}
.box-input {
    position: relative;
    width: 100%;
    background-color: #fff;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .15);

}
.password {
    position: relative;
    width: 100%;
    border: none;
    outline: none;
    padding: 10px 5px;
}
.toggleBtn {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 34px;
    height: 34px;
    background-color: rgba(0, 0, 0, .05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.toggleBtn::before {
    content: '\f06e';
    font-family: fontAwesome;

}
.toggleBtn.hide::before {
    content: '\f070';
}
.validation {
    background-color: #375488;
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, .15);
}
ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
li {
    position: relative;
    list-style: none;
    color: #fff;
    font-size: 0.85em;
    transition: .5s;
}
li.valid {
    color: rgba(255, 255, 255, .5);
}
li::before {
    content: '\f192';
    font-family: fontAwesome;
    width: 20px;
    height: 10px;
    display: inline-flex;
}
li.valid::before {
    content: '\f00c';
    color: #0f0;
}