.tp-password-input-wrap {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
}

.tp-password-input-wrap > input {
    width: 100%;
    padding-inline-end: 52px !important;
}

/* One exact eye control everywhere. Loaded after the application design system. */
.tp-password-eye-button,
.wrap .tp-password-eye-button,
.main .tp-password-eye-button,
.tp-secure-confirm .tp-password-eye-button {
    all: unset !important;
    box-sizing: border-box !important;
    position: absolute !important;
    top: 50% !important;
    inset-inline-end: 10px !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: var(--tp-muted, #60738a) !important;
    box-shadow: none !important;
    filter: none !important;
    cursor: pointer !important;
    user-select: none !important;
    z-index: 2 !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

.tp-password-eye-button:hover,
.tp-password-eye-button:focus-visible,
.wrap .tp-password-eye-button:hover,
.wrap .tp-password-eye-button:focus-visible,
.main .tp-password-eye-button:hover,
.main .tp-password-eye-button:focus-visible {
    transform: translateY(-50%) !important;
    background: var(--tp-surface-3, #eef4f8) !important;
    color: var(--tp-navy-950, #0b2948) !important;
    box-shadow: none !important;
    outline: none !important;
}

.tp-password-eye-button:focus-visible {
    box-shadow: 0 0 0 3px rgba(221, 172, 36, .34) !important;
}

.tp-password-eye-icon {
    display: block;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    min-height: 20px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    pointer-events: none !important;
    overflow: visible !important;
}

.tp-password-eye-icon--hide {
    display: none;
}

.tp-password-eye-button[aria-pressed="true"] .tp-password-eye-icon--show {
    display: none;
}

.tp-password-eye-button[aria-pressed="true"] .tp-password-eye-icon--hide {
    display: block;
}

.tp-password-input-wrap > input:disabled + .tp-password-eye-button,
.tp-password-input-wrap > input[readonly] + .tp-password-eye-button {
    opacity: .5 !important;
    cursor: not-allowed !important;
}

@media (max-width: 480px) {
    .tp-password-input-wrap > input {
        padding-inline-end: 50px !important;
    }

    .tp-password-eye-button {
        inset-inline-end: 8px !important;
    }
}
