* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    height: 100vh;
    background-color: #091a20;
    color: #fff;
    display: grid;
    place-content: center;
}

.input-container {
    width: 300px;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group input {
    padding: 15px 3rem 15px 15px;
    width: 100%;
    background-color: #112d37;
    outline: none;
    border: 1px solid #215164;
    border-radius: 4px;
    color: #fff;
    transition: width 0.9s, height 0.9s, border-radius 0.9s;
    font-size: 16px;
}

.input-group input::placeholder {
    color: #346a80;
}

.input-group input:focus {
    border: 1px solid #55b7dd;
    box-shadow: 0px 0px 2px 2px #55b7dd34;
}

.input-group .toggle {
    position: absolute;
    right: 10px;
    font-size: 25px;
    cursor: pointer;
    user-select: none;
    z-index: 99;

}

.input-group .ripple {
    background-color: #fff;
    display: block;
    position: absolute;
    height: 35px;
    width: 35px;
    border-radius: 50%;
    right: 10px;
    transition: all 0.2s;
    z-index: 1;  
}

.pass-strength {
    display: flex;
    align-items: center;
    margin-top: 3px;
}

.strength-label {
    font-size: 12px;
    margin-left: 10px;
}

.strength-percent {
    flex: 1;
    height: 5px;
    border-radius: 10px;
    display: block;
    background-color: #eee;
}

.strength-percent span {
    display: block;
    height: 100%;
    transition: all 0.4s;
    border-radius: 10px;
}

.weak {
    background-color: red;
    width: 33%;
}

.average {
    background: #ffd000;
    width: 66%;
}

.strong {
    background-color: green;
    width: 100%;
}







