
/* smart-password-text-box */

smart-password-text-box {
    display: block;
    width: var(--smart-text-box-default-width);
    height: var(--smart-text-box-default-height);
}

    smart-password-text-box.smart-element {
        border: none;
        background: transparent;
        overflow: visible;
    }

.smart-password-text-box > .smart-container {
    position: relative;
}

.smart-password-text-box .smart-content,
.smart-password-text-box .smart-content .smart-input {
    width: 100%;
    height: 100%;
    color: inherit;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}


.smart-password-text-box .smart-password-icon {
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    width: 30px;
    display: flex;
    justify-content: center;
    font-size: inherit;
    align-items: center;
    cursor: pointer;
    user-select: none;
    color: var(--smart-background-color);
    font-family: var(--smart-font-family-icon);
}

    .smart-password-text-box .smart-password-icon:after {
        content: var(--smart-icon-visibility);
    }

    .smart-password-text-box .smart-password-icon.smart-hidden {
        display: none;
    }

.smart-password-text-box[show-password-strength]:focus .smart-password-short input,
.smart-password-text-box[show-password-strength] .smart-password-short input:focus {
    border-color: var(--smart-error);
}

.smart-password-text-box[show-password-strength]:focus .smart-password-weak input,
.smart-password-text-box[show-password-strength] .smart-password-weak input:focus {
    border-color: orange;
}

.smart-password-text-box[show-password-strength]:focus .smart-password-far input,
.smart-password-text-box[show-password-strength] .smart-password-far input:focus {
    border-color: yellow;
}

.smart-password-text-box[show-password-strength]:focus .smart-password-good input,
.smart-password-text-box[show-password-strength] .smart-password-good input:focus {
    border-color: deepskyblue;
}

.smart-password-text-box[show-password-strength]:focus .smart-password-strong input,
.smart-password-text-box[show-password-strength] .smart-password-strong input:focus {
    border-color: var(--smart-success);
}


.smart-password-text-box smart-tooltip {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
}
