=== Random Password Generator ===
Contributors: yourname
Tags: password, generator, security, shortcode
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.5.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Cryptographically secure password generator. No password data is ever sent to the server. Simply add the shortcode [random_password_generator] wherever you want to embed the password generator.

== Description ==

Drop `[random_password_generator]` into any post or page to render a password
generator card. Passwords are generated entirely in the visitor's browser
using the Web Crypto API (`crypto.getRandomValues`) — nothing is ever sent
to, logged by, or stored on the server.

Shortcode attributes:

* `length` — default password length, clamped to 8-24 (default: 12).

Example:

`[random_password_generator length="20"]`

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install the zip via
   Plugins → Add New → Upload Plugin.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Add the `[random_password_generator]` shortcode to any post or page.

== Changelog ==

= 1.5.3 =
* Character Options now expanded by default instead of collapsed.

= 1.5.2 =
* Raised the minimum "Number of Passwords" to 2, removing the
  single-password layout entirely. This eliminates the layout jump/jitter
  at the 1-to-2 boundary by construction (simpler and more reliable than
  animating the transition).

= 1.5.1 =
* Fixed a layout jump/jitter when the number-of-passwords slider crosses
  from 1 to 2 (or back) — the output area now animates smoothly to its new
  height instead of snapping instantly.

= 1.5.0 =
* Added an option to generate multiple passwords at once (1-20), shown in
  a scrollable list with per-row copy buttons.
* Added "Copy All" and "Export CSV" actions for the multi-password list.
  Export CSV builds the file entirely client-side (Blob download) — no
  password data is ever sent to or generated by the server.
* Renamed the generate button to "ReGenerate Password(s)" and moved it to
  sit directly below the password field/list, in both single and
  multi-password views.

= 1.4.2 =
* Updated the plugin description text.

= 1.4.1 =
* Reduced the padding above the footer link from 80px to 60px.

= 1.4.0 =
* Added the Waterfront Computer Company Inc. logo, centered at the bottom
  of the widget, capped at 200px wide, linking to https://waterfrontpc.ca.

= 1.3.3 =
* Changed footer text to "Add this free password generator to your site",
  linking to https://waterfrontpc.ca/password-generator/.

= 1.3.2 =
* Added extra letter-spacing to the generated password field for readability.

= 1.3.1 =
* Added a light gray divider with 1.5em of padding above the footer text.

= 1.3.0 =
* Hardened the widget's CSS against theme bleed-through: many themes apply
  global styles to bare `button`/`input` selectors (uppercase text,
  letter-spacing, gradients, box-shadows, pill border-radius) that were
  overriding this plugin's own button/input colors and shapes. Added a
  scoped reset plus targeted `!important` overrides so the widget renders
  consistently regardless of the active theme.

= 1.2.1 =
* Inverted Copy button colors: dark text/icon on a light gray background.
* Added extra spacing above the footer text.

= 1.2.0 =
* Default length changed to 8-24 range, default 12 (was 4-64, default 16).
* All character-type checkboxes, including "Exclude ambiguous", now checked by default.
* "Character Options" panel now collapsed by default.
* Added plugin author/URI: Waterfront Computer Company Inc. (https://waterfrontpc.ca/password-generator/).
* Added a small "Courtesy of Waterfront Computer Company Inc." footer link.

= 1.1.0 =
* Removed the heading above the generator.
* Moved the "Generate Password" button above the output field.
* Added a copy icon to the Copy button.
* Added a collapsible "Character Options" panel for the checkbox options.
* Removed the now-unused `title` shortcode attribute.

= 1.0.0 =
* Initial release.
