.pwt-card { padding: 28px; }
.pwt-title-bar { background: linear-gradient(135deg, var(--site-dark) 0%, var(--site-dark-2) 100%); border-radius: 10px 10px 0 0; padding: 18px 24px; margin: -28px -28px 24px; }
.pwt-title-bar h1 { color: #fff; margin: 0; font-size: 1.4em; text-align: center; }

/* ===== Privacy banner - always visible, not just in the FAQ ===== */
.pwt-privacy-banner { display: flex; align-items: flex-start; gap: 14px; background: linear-gradient(135deg, var(--site-success-bg), #ecfdf5); border: 1px solid var(--site-success-border); border-radius: 10px; padding: 14px 18px; margin-bottom: 22px; }
.pwt-privacy-banner i { color: var(--site-success); font-size: 1.25em; margin-top: 2px; flex-shrink: 0; }
.pwt-privacy-banner strong { display: block; color: #14532d; font-size: .95em; margin-bottom: 2px; }
.pwt-privacy-banner span { display: block; color: #2b6a44; font-size: .85em; line-height: 1.5; }

/* ===== Password input ===== */
.pwt-field { margin-bottom: 20px; }
.pwt-field label { display: block; font-weight: 600; font-size: .88em; color: #374151; margin-bottom: 8px; }
.pwt-input-wrap { position: relative; display: flex; align-items: center; }
.pwt-input { width: 100%; border: 1px solid #ddd; border-radius: 8px; padding: 12px 46px 12px 14px; font-size: 1em; font-family: "Courier New", monospace; outline: none; transition: border-color .15s ease; background: #fff; color: #23272f; }
.pwt-input:focus { border-color: var(--site-light); }
.pwt-visibility-btn { position: absolute; right: 6px; width: 34px; height: 34px; border: none; background: none; border-radius: 8px; color: #6b7280; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, color .2s ease; }
.pwt-visibility-btn:hover { background: #f3f4f6; color: var(--site-dark); }

/* ===== Strength meter ===== */
.pwt-meter-section { margin-bottom: 18px; }
.pwt-meter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pwt-meter-title { font-weight: 600; font-size: .88em; color: #374151; }
.pwt-meter-label { font-weight: 700; font-size: .9em; color: #6b7280; }
.pwt-meter { height: 10px; border-radius: 30px; background: #eef0f3; overflow: hidden; }
.pwt-meter-fill { height: 100%; width: 0%; border-radius: 30px; background: var(--site-danger); transition: width .25s ease, background-color .25s ease; }
.pwt-crack-time { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .85em; color: #6b7280; }
.pwt-crack-time i { color: var(--site-accent); }
.pwt-crack-time strong { color: #23272f; }

/* ===== Entropy / multi-scenario crack-time breakdown ===== */
.pwt-entropy-section { background: #f7f8fa; border: 1px solid #eee; border-radius: 10px; padding: 14px 16px; margin-bottom: 18px; }
.pwt-scenario-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .85em; padding: 6px 0; border-top: 1px solid #eceff1; }
.pwt-scenario-row:first-of-type { border-top: none; }
.pwt-scenario-label { display: flex; align-items: center; gap: 8px; color: #6b7280; }
.pwt-scenario-label i { width: 16px; text-align: center; color: var(--site-accent); }
.pwt-scenario-row strong { color: #23272f; white-space: nowrap; }

/* ===== Checklist ===== */
.pwt-checklist { list-style: none; margin: 0 0 4px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.pwt-check { display: flex; align-items: center; gap: 8px; font-size: .86em; color: #9aa0aa; padding: 7px 10px; border-radius: 8px; background: #f7f8fa; border: 1px solid #eee; }
.pwt-check i { font-size: .85em; width: 16px; text-align: center; color: var(--site-danger); flex-shrink: 0; }
.pwt-check.met { color: #14532d; background: var(--site-success-bg); border-color: var(--site-success-border); }
.pwt-check.met i { color: var(--site-success); }

.pwt-divider { border-top: 1px dashed #e5e7eb; margin: 22px 0 18px; }

/* ===== Generator ===== */
.pwt-generate-section { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pwt-generate-btn { display: inline-flex; align-items: center; gap: 8px; border: none; border-radius: 30px; padding: 11px 22px; font-weight: 600; font-size: .92em; cursor: pointer; background: var(--site-dark); color: #fff; transition: background .2s ease; }
.pwt-generate-btn:hover { background: var(--site-dark-2); }
.pwt-generated-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 460px; background: #f7f8fa; border: 1px solid #eee; border-radius: 8px; padding: 10px 14px; }
.pwt-generated-value { font-family: "Courier New", monospace; font-size: .95em; color: #23272f; word-break: break-all; user-select: all; }
.pwt-copy-btn { background: none; border: 1px solid var(--site-light); border-radius: 8px; width: 32px; height: 32px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--site-dark); cursor: pointer; transition: background .2s ease, color .2s ease; }
.pwt-copy-btn:hover { background: #f0fdfa; }
.pwt-copy-btn.copied { color: var(--site-success); border-color: var(--site-success); }
.pwt-copied-msg { font-size: .85em; font-weight: 600; color: var(--site-success); display: inline-flex; align-items: center; gap: 5px; }
.pwt-copied-msg.hide { display: none; }

@media (max-width: 600px) {
    .pwt-checklist { grid-template-columns: 1fr; }
    .pwt-generated-row { max-width: 100%; }
    .pwt-input { font-size: .92em; }
}
