/* Password Generator - WordPress Plugin */
.pg-container{max-width:560px;margin:0 auto 2rem;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:1.75rem;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;font-size:15px;color:#1a1a1a;box-sizing:border-box}
.pg-header{margin-bottom:1.25rem}
.pg-title{font-size:20px!important;font-weight:600!important;color:#111827!important;margin:0 0 4px!important;padding:0!important;border:none!important;display:flex;align-items:center}
.pg-subtitle{font-size:13px;color:#6b7280;margin:0!important}
/* Length */
.pg-length-section{margin-bottom:1.25rem}
.pg-length-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.pg-label{font-size:11px;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.05em}
.pg-length-val{font-size:22px;font-weight:700;color:#2563eb;min-width:36px;text-align:right}
.pg-length-slider{width:100%;accent-color:#2563eb;height:6px;cursor:pointer}
.pg-length-marks{display:flex;justify-content:space-between;font-size:10px;color:#9ca3af;margin-top:4px}
/* Options */
.pg-options-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:1.25rem}
.pg-option-card{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:all .15s;user-select:none}
.pg-option-card:hover{background:#f9fafb}
.pg-opt-checked{border-color:#bfdbfe;background:#eff6ff}
.pg-option-card input[type=checkbox]{width:15px;height:15px;accent-color:#2563eb;cursor:pointer;flex-shrink:0}
.pg-opt-text{display:flex;flex-direction:column;gap:2px}
.pg-opt-name{font-size:13px;font-weight:600;color:#111827}
.pg-opt-checked .pg-opt-name{color:#1d4ed8}
.pg-opt-chars{font-size:11px;color:#9ca3af;font-family:'Courier New',monospace}
/* Quantity */
.pg-qty-row{margin-bottom:1.25rem}
.pg-qty-row .pg-label{display:block;margin-bottom:8px}
.pg-qty-btns{display:flex;gap:6px}
.pg-qty-btn{padding:7px 18px;border:1px solid #d1d5db;border-radius:7px;background:transparent;font-size:13px;font-weight:600;cursor:pointer;color:#6b7280;transition:all .15s}
.pg-qty-btn.active{background:#2563eb;color:#fff;border-color:#2563eb}
/* Generate button */
.pg-generate-btn{width:100%;padding:12px;background:#2563eb;color:#fff;border:none;border-radius:8px;font-size:15px;font-weight:600;cursor:pointer;margin-bottom:1.25rem;display:flex;align-items:center;justify-content:center;transition:background .15s}
.pg-generate-btn:hover{background:#1d4ed8}
/* Error */
.pg-error{background:#fef2f2;color:#991b1b;border:1px solid #fca5a5;border-radius:8px;padding:10px 14px;font-size:13px;display:flex;align-items:center;margin-bottom:1rem}
/* Results */
.pg-results{margin-bottom:1rem}
.pg-passwords-list{margin-bottom:1rem}
.pg-pwd-row{display:flex;align-items:center;gap:8px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;margin-bottom:8px}
.pg-pwd-row:last-child{margin-bottom:0}
.pg-pwd-text{flex:1;font-family:'Courier New','Consolas',monospace;font-size:14px;color:#111827;word-break:break-all;line-height:1.5}
.pg-pwd-copy{padding:5px 11px;border:1px solid #d1d5db;border-radius:6px;background:#fff;color:#6b7280;font-size:12px;font-weight:600;cursor:pointer;flex-shrink:0;display:flex;align-items:center;gap:4px;transition:all .15s;white-space:nowrap}
.pg-pwd-copy:hover{background:#f3f4f6}
.pg-pwd-copy.copied{color:#065f46;border-color:#6ee7b7;background:#ecfdf5}
/* Strength */
.pg-strength-section{background:#f9fafb;border-radius:8px;padding:12px}
.pg-strength-bar-wrap{height:7px;background:#e5e7eb;border-radius:4px;overflow:hidden;margin-bottom:7px}
.pg-strength-fill{height:100%;border-radius:4px;transition:width .35s,background .35s}
.pg-strength-info{display:flex;justify-content:space-between;align-items:center}
.pg-strength-label{font-size:13px;font-weight:700}
.pg-strength-bits{font-size:12px;color:#9ca3af}
/* History */
.pg-history{background:#f9fafb;border-radius:8px;padding:12px;margin-top:1rem}
.pg-history-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.pg-history-head span{font-size:11px;font-weight:700;color:#374151;text-transform:uppercase;letter-spacing:.05em}
.pg-clear-hist{font-size:11px;background:none;border:none;cursor:pointer;color:#dc2626;font-weight:600}
.pg-clear-hist:hover{text-decoration:underline}
.pg-hist-pwd{font-family:'Courier New',monospace;font-size:12px;color:#6b7280;padding:5px 0;border-bottom:1px solid #e5e7eb;word-break:break-all}
.pg-hist-pwd:last-child{border-bottom:none}
@media(max-width:480px){.pg-container{padding:1.25rem}.pg-options-grid{grid-template-columns:1fr}.pg-pwd-copy span{display:none}}
