/********************************************
 * 1. Wrapper: password field + Show on same line
 ********************************************/
.pw-wrapper {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 15px !important; /* horizontal spacing between field and Show */
    margin: 0 !important;
    padding: 0 !important;
}

/********************************************
 * 2. Password field styling (your styling only)
 ********************************************/
.pw-wrapper input[type="password"],
.pw-wrapper input[type="text"] {
    width: 175px !important;
    border-color: maroon !important;
    border-width: 2px !important;
    padding-right: 0 !important;
    margin: 0 !important;
    display: inline-block !important;
}

/********************************************
 * 3. Show button (theme-style gray)
 ********************************************/
.pw-toggle {
    display: inline-block !important;
    background: #e0e0e0 !important;
    border: 1px solid #ccc !important;
    padding: 6px 12px !important;
    font-size: 0.8rem !important;
    border-radius: 4px !important;
    cursor: pointer !important;
    color: #333 !important;
    margin: 0 !important;
}

/********************************************
 * 4. Enter button BELOW the wrapper
 ********************************************/
.post-password-form input[type="submit"] {
    display: block !important;
    margin-top: 15px !important; /* vertical spacing below password+Show */
    width: 100px !important; /* your styling */
}

/********************************************
 * 5. Hide toggle in Edge (native icon)
 ********************************************/
@supports (-ms-ime-align:auto) {
    .pw-toggle {
        display: none !important;
    }
}
