.hw-password-field {
    position: relative;
    display: inline-block;
    max-width: 100%;
    vertical-align: middle;
}

.hw-password-field--full {
    display: block;
    width: 100%;
    max-width: 271px;
}

.hw-auth .hw-password-field--full,
.identity-page .hw-password-field--full,
body#guest-tracking .hw-password-field--full {
    max-width: none;
}

.hw-password-field > input {
    box-sizing: border-box;
    padding-right: 46px !important;
}

.hw-password-field--full > input {
    display: block;
    width: 100%;
}

.hw-password-toggle {
    position: absolute;
    top: 50%;
    right: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    color: #77808a;
    background: transparent;
    cursor: pointer;
}

.hw-password-toggle:hover,
.hw-password-toggle:focus {
    color: #0a4b84;
    background: #eaf2f9;
}

.hw-password-toggle:focus {
    outline: 2px solid #428bca;
    outline-offset: 1px;
}

.hw-password-toggle svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
