.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    flex: 1;
    padding-right: 40px;
}

/* Disable Safari's autofill icons that cover our toggle */
.password-input-wrapper input::-webkit-credentials-auto-fill-button,
.password-input-wrapper input::-webkit-textfield-decoration-container {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    right: 0;
}

.password-toggle {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #6a6a6a;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.password-toggle:hover {
    color: #1a9b96;
}

.help-text.password-weak,
.password-requirements.password-weak {
    color: #c0392b;
}
