/* Shared password entry treatment matching the profile settings fields. */
.htws-password-input-wrap{position:relative;width:100%;min-width:0}
.htws-password-input-wrap>input{width:100%;padding-right:48px!important}
.hp-password-entry{display:grid;gap:8px;max-width:460px}
.htws-password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;min-height:40px!important;padding:0!important;border:0;border-radius:6px;background:transparent;color:#64748b;cursor:pointer;transition:color .15s ease,background-color .15s ease;box-shadow:none!important}
.htws-password-toggle:hover{color:#334155;background:#f5f5f5;transform:translateY(-50%) scale(1.05)!important;box-shadow:none!important}
.htws-password-toggle:active{transform:translateY(-50%) scale(.98)!important;box-shadow:none!important}
.htws-password-toggle:focus-visible{outline:2px solid #2875d4;outline-offset:1px}
.htws-password-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.htws-password-generate{display:inline-flex;align-items:center;justify-content:center;min-height:34px!important;height:34px;padding:0 10px!important;border-radius:6px;font-size:12px!important;line-height:1.2}
.htws-password-strength{display:flex;align-items:center;gap:8px;font-size:12px;color:#64748b}
.htws-password-strength__bars{display:flex;gap:3px;flex:0 0 72px}
.htws-password-strength__bars span{height:4px;flex:1;border-radius:999px;background:#e2e8f0;transition:background-color .15s ease}
.htws-password-strength[data-level="weak"] .htws-password-strength__bars span:nth-child(-n+1){background:#dc6b65}
.htws-password-strength[data-level="medium"] .htws-password-strength__bars span:nth-child(-n+2){background:#d6a83f}
.htws-password-strength[data-level="strong"] .htws-password-strength__bars span{background:#2875d4}
.htws-password-strength[data-level="weak"] .htws-password-strength__label{color:#b54740}
.htws-password-strength[data-level="medium"] .htws-password-strength__label{color:#9b7418}
.htws-password-strength[data-level="strong"] .htws-password-strength__label{color:#2468b8}
.htws-password-match-message{display:block;margin-top:5px;color:#b54740;font-size:12px;line-height:1.4}
.htws-password-match-message[hidden]{display:none!important}
.htws-password-context[hidden]{display:none!important}
@media(max-width:640px){.htws-password-generate{min-height:40px!important;height:40px}}
@media(prefers-reduced-motion:reduce){.htws-password-toggle,.htws-password-strength__bars span{transition:none}}
