.password-input-wrap {
    position: relative;
    width: 100%;
}

.password-input-wrap .form-input {
    width: 100%;
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    border-radius: 999px;
    transition: color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.password-toggle:hover {
    color: #111827;
    background: rgba(15, 23, 42, 0.06);
}

.password-toggle:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.35);
    outline-offset: 2px;
}

.password-toggle.visible {
    color: #2563eb;
}

.password-toggle svg {
    display: block;
    width: 1.8rem;
    height: 1.8rem;
    pointer-events: none;
}