/*
 * PasswordStrengthBundle base styles.
 * Shipped as public/password-strength.css: link it from your layout and password-strength.js
 * no longer injects a <style> element (nothing for a nonce-based style-src to block).
 * The --nowo-password-strength-css marker lets the script detect a bundled copy.
 */
:root{--nowo-password-strength-css:1}
.password-strength-input-row{display:flex;gap:.5rem;align-items:stretch;width:100%}
.password-strength-input-grow{flex:1 1 auto;min-width:0}
.password-strength-input-row--toggle .input-group,
.password-strength-input-row--toggle nowo-password-toggle{width:100%}
.password-strength-input-row .password-strength-widget,.password-strength-input-row input{flex:1 1 auto;min-width:0}
.password-strength-generate-btn{flex:0 0 auto;white-space:nowrap}
.password-strength-modal-overlay{position:fixed;inset:0;z-index:1050;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.45);padding:1rem}
.password-strength-modal{background:#fff;border-radius:.5rem;max-width:32rem;width:100%;box-shadow:0 .5rem 1rem rgba(0,0,0,.15);padding:1.25rem}
.password-strength-modal h2{font-size:1.125rem;margin:0 0 .5rem}
.password-strength-modal-hint{margin:0 0 .5rem;color:#6c757d;font-size:.9rem}
.password-strength-modal-list{list-style:none;margin:1rem 0;padding:0}
.password-strength-modal-item{display:flex;gap:.5rem;align-items:center;margin-bottom:.5rem;flex-wrap:wrap}
.password-strength-modal-item code{flex:1 1 12rem;word-break:break-all;padding:.35rem .5rem;background:#f8f9fa;border-radius:.25rem;font-size:.95rem}
.password-strength-modal-actions{display:flex;gap:.5rem;justify-content:flex-end;flex-wrap:wrap;margin-top:1rem}
nowo-password-strength{display:block}
