@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #2f364f;
}

.box {
    position: relative;
    width: 300px;
}

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

.box .inputBox input {
    position: relative;
    width: 100%;
    outline: none;
    border: none;
    padding: 10px 5px;
}

.box .inputBox #toggleBtn {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 34px;
    height: 34px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.box .inputBox #toggleBtn::before {
    content: '\f06e';
    font-family: fontAwesome;
}

.box .inputBox #toggleBtn.hide::before {
    content: '\f070';
}

.validation {
    background: #376488;
    padding: 10px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.validation ul {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.validation ul li {
    position: relative;
    list-style: none;
    color: #fff;
    font-size: .85em;
    transition: .5s;
}

.validation ul li.valid {
    color: rgba(255, 255, 255, 0.5);
}

.validation ul li::before {
    content: '\f192';
    font-family: fontAwesome;
    width: 20px;
    height: 10px;
    display: inline-flex;
}

.validation ul li.valid::before {
    content: '\f058';
    color: #0f0;
}