@import url(https://fonts.googleapis.com/css?family=Signika:400,700|Courgette);

* {
    box-sizing: border-box;
}

.pwstrength section {
    margin: 0em auto 0;
    width: 100%;
    max-width: 800px;
}

.pwstrength #user-form input {
    display: block;
    margin: .5em auto 0em;
    padding: 0.5em 1em 0.5em 0.7em;
    width: 400px;
    border: none;
    background: rgba(0,0,0,0.05);
    color: rgba(0,0,0,0.8);
    font-size: 2em;
    line-height: 0;
        transition: all .5s linear;
}

.pwstrength input:hover, input:focus {
    outline: 0;
    transition: all .5s linear;
    box-shadow: inset 0px 0px 10px #ccc;
}

.pwstrength meter {
    /* Reset the default appearance */
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
            
    margin: 0 auto 1em;
    width: 100%;
    height: .5em;
    
    /* Applicable only to Firefox */
    background: none;
    background-color: rgba(0,0,0,0.1);
}

.pwstrength meter::-webkit-meter-bar {
    background: none;
    background-color: rgba(0,0,0,0.1);
}

.pwstrength meter[value="1"]::-webkit-meter-optimum-value { background: red; }
.pwstrength meter[value="2"]::-webkit-meter-optimum-value { background: yellow; }
.pwstrength meter[value="3"]::-webkit-meter-optimum-value { background: orange; }
.pwstrength meter[value="4"]::-webkit-meter-optimum-value { background: green; }

.pwstrength meter[value="1"]::-moz-meter-bar { background: red; }
.pwstrength meter[value="2"]::-moz-meter-bar { background: yellow; }
.pwstrength meter[value="3"]::-moz-meter-bar { background: orange; }
.pwstrength meter[value="4"]::-moz-meter-bar { background: green; }

.pwstrength .feedback {
    color: #9ab;
    font-size: 90%;
    padding: 0 .25em;
    font-family: Courgette, cursive;
    margin-top: 1em;
}
