/* Show/hide button that web/js/password-toggle.js renders inside a password
   field. The wrapper is only a positioning context, so it must not add any
   spacing of its own or the auth forms shift. */
.password-toggle-wrap {
    position: relative;
    display: block;
}

/* Room for the icon so a long password never runs underneath it. */
.password-toggle-input {
    padding-right: 38px !important;
}

/* Edge and IE draw their own reveal control; without this there are two eyes. */
.password-toggle-input::-ms-reveal,
.password-toggle-input::-ms-clear {
    display: none;
}

/* Gentelella styles bare buttons inside .login_content as full width submit
   buttons, hence the resets. */
.password-toggle-btn {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 26px !important;
    min-width: 0 !important;
    height: 26px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 3px;
    background: none !important;
    box-shadow: none !important;
    color: #888 !important;
    line-height: 1;
    cursor: pointer;
}

.password-toggle-btn:hover,
.password-toggle-btn:focus {
    color: #3067CD !important;
    background: none !important;
    text-decoration: none;
}

.password-toggle-btn:focus {
    outline: 1px dotted #3067CD;
    outline-offset: 1px;
}

.password-toggle-btn svg {
    display: block;
    pointer-events: none;
}
