.BPPasswordStrength {
    border: none;
    box-sizing: border-box;
    color: #090809;
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1;
    position: relative;
}

.BPPasswordStrength-input {
    border: 1px solid #c6c6c6;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
    padding: 0 1em;
    height: 44px;
    color: #4A4A4A;
    width: 100%;
    // width: calc(85% - 28px);
}

.BPPasswordStrength-input:not(:focus).is-password-invalid { color: #E84E2C; }
.BPPasswordStrength-input:focus { outline: none; }

.BPPasswordStrength-strength-desc {
    color: transparent;
    // font-style: italic;
    padding-top: 5px;
    // position: absolute; top: 1px; right: 0;
    // text-align: right;
    transition: color 250ms ease-in-out;
    width: 70px;
    vertical-align: middle;
}

.BPPasswordStrength.is-strength-0 .BPPasswordStrength-strength-desc {
    color: #E84E2C;
    background: rgba(232, 78, 44, .1);
    margin-top: 4px;
    white-space: nowrap;
    border-radius: 4px;
    display: block;
    width: min-content;
    padding: 4px 8px;
    font-size: 14px;
}
.BPPasswordStrength.is-strength-1 .BPPasswordStrength-strength-desc {
    color: #E84E2C;
    background: rgba(232, 78, 44, .1);
    margin-top: 4px;
    white-space: nowrap;
    border-radius: 4px;
    display: block;
    width: min-content;
    padding: 4px 8px;
    font-size: 14px;
}
.BPPasswordStrength.is-strength-2 .BPPasswordStrength-strength-desc {
    color: #E84E2C;
    background: rgba(232, 78, 44, .1);
    margin-top: 4px;
    white-space: nowrap;
    border-radius: 4px;
    display: block;
    width: min-content;
    padding: 4px 8px;
    font-size: 14px;
}
.BPPasswordStrength.is-strength-3 .BPPasswordStrength-strength-desc {
    color: #2FBF71;
    background: #FFFFFF;
    margin-top: 4px;
    white-space: nowrap;
    border-radius: 4px;
    display: block;
    width: min-content;
    padding: 4px 8px;
    font-size: 14px;
}
.BPPasswordStrength.is-strength-4 .BPPasswordStrength-strength-desc {
    color: #2FBF71;
    background: #FFFFFF;
    margin-top: 4px;
    white-space: nowrap;
    border-radius: 4px;
    display: block;
    width: min-content;
    padding: 4px 8px;
    font-size: 14px;
}

.BPPasswordStrength-strength-bar {
    box-sizing: border-box;
    height: 2px;
    position: relative; top: 1px; right: 1px;
    transition: width 300ms ease-out;
    width: 0;
}

.BPPasswordStrength.is-strength-0 .BPPasswordStrength-strength-bar {
    background: #E84E2C;
    width: 20%;
}

.BPPasswordStrength.is-strength-1 .BPPasswordStrength-strength-bar {
    background: #EF8632;
    width: 40%;
}

.BPPasswordStrength.is-strength-2 .BPPasswordStrength-strength-bar {
    background: #EF8632;
    width: 60%;
}

.BPPasswordStrength.is-strength-3 .BPPasswordStrength-strength-bar {
    background: #2FBF71;
    width: 80%;
}

.BPPasswordStrength.is-strength-4 .BPPasswordStrength-strength-bar {
    background: #2FBF71;
    width: calc(100% + 2px);
}
