/* SPP 1.4.28 — Password-eye action, compact and keyboard/touch accessible. */
.spp-password-field {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.spp-password-field > input {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    padding-right: 51px !important;
    padding-inline-end: 51px !important;
}
.spp-password-field > .spp-password-toggle {
    appearance: none;
    position: absolute;
    top: 50%;
    right: 3px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    padding: 8px;
    margin: 0;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #385872;
    cursor: pointer;
    box-shadow: none;
    line-height: 1;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
}
.spp-password-field > .spp-password-toggle svg { display: block; width: 21px; height: 21px; flex: none; }
.spp-password-field > .spp-password-toggle:hover { background: rgba(16,44,69,.07); color: #102c45; }
.spp-password-field > .spp-password-toggle:focus-visible { outline: 2px solid #b48a40; outline-offset: -2px; }
.spp-password-field > .spp-password-toggle:active { background: rgba(16,44,69,.12); }
/* SPP setting rows use WordPress regular-text inputs, which have an implicit width. */
.wp-admin .spp-password-field { max-width: 25em; }
@media (max-width: 600px) { .wp-admin .spp-password-field { max-width: 100%; } }

/* The access labels remain separate from the icon button for valid markup. */
.spp-access-page .spp-access-password-row { display:grid;gap:6px;font-size:14px;font-weight:700;color:#34465c;min-width:0; }
.spp-access-page .spp-access-password-row > label { display:block;font-size:14px;font-weight:700;color:#34465c; }
#spp-access .spp-password-field > input { padding-right:51px!important; padding-inline-end:51px!important; }
