=== Enhanceo Login Designer ===
Contributors: hassanraza
Tags: login, login page, custom login, login designer, login customizer
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 1.2.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Customize the WordPress login page with templates, live preview, and full RGBA color controls.

== Description ==

Enhanceo Login Designer lets you customize the default WordPress login page without writing code.

**Key Features**

* 10 built-in templates, including color-only and image-style layouts
* Live preview in the admin panel
* Full RGBA transparency support for color fields
* Controls for background, form card, logo, typography, input fields, button, and links
* Accordion-style settings panel for easier navigation
* Translation-ready POT file included
* Bundled local template artwork, with no default third-party image requests

**Template List**

1. Custom - clean white card on light gray
2. Corporate - white card on dark navy
3. Dark Mode - dark card with light text
4. Gradient - purple-to-violet CSS gradient
5. Nature - green illustrated background
6. Mountains - mountain illustrated background
7. Ocean - blue illustrated background
8. City Night - city illustrated background
9. Abstract - colorful abstract illustrated background
10. Office - workspace illustrated background

== Installation ==

1. Upload the `enhanceo-login-designer` folder to `/wp-content/plugins/`.
2. Activate the plugin through **Plugins > Installed Plugins**.
3. Go to **Settings > Login Designer** to start customizing.

== Frequently Asked Questions ==

= Does this work with any theme? =

Yes. The plugin only modifies the WordPress login page (`/wp-login.php`), which is independent of your active theme.

= Can I use my own background image? =

Yes. In the **Background** section, paste an image URL or choose one from your Media Library.

= Will my settings be lost if I deactivate the plugin? =

Settings are stored in the WordPress options table (`eld_settings`). They persist across deactivations. Uninstalling the plugin removes them.

= Does the plugin load remote images by default? =

No. The included templates use bundled local artwork. If you manually add an external image URL, the visitor's browser will request that image from the external host.

== Screenshots ==

1. Settings panel with live preview on the right.
2. Template picker with bundled template previews.
3. Color picker with alpha/transparency support.
4. Dark Mode template on the login page.
5. Nature template on the login page.

== Changelog ==

= 1.2.0 =
* Removed: Custom CSS field has been removed in line with WordPress.org review guidelines.

= 1.1.0 =
* Fixed: Dark mode input and label text contrast.
* Fixed: City Night and Ocean templates now use a white card for readability.
* Fixed: Live preview now correctly clears background images when switching to color-only templates.
* Changed: Default logo width increased to 200 px.
* Changed: Image-style templates now use bundled local artwork by default.

= 1.0.9 =
* Fixed: City Night form text contrast.
* Fixed: Ocean form text contrast.
* Changed: Default logo width set to 200 px on all applicable templates.

= 1.0.8 =
* Added: Template picker previews for image-style templates.

= 1.0.7 =
* Added: Accordion-style sections in settings panel.
* Added: Template thumbnail images using SVG previews.
* Fixed: Live preview not updating when switching templates.

= 1.0.6 =
* Added: 6 new image-style templates.
* Total templates: 10.

= 1.0.5 =
* Fixed: Preview pane now fills full viewport height.

= 1.0.4 =
* Fixed: Admin CSS file was empty after a write failure; rebuilt correctly.
* Replaced wp-color-picker with Spectrum.js for full RGBA transparency support.

= 1.0.3 =
* Fixed: Switched to Spectrum.js color picker with alpha support.
* Fixed: Color field layout with label left and swatch right.

= 1.0.2 =
* Added: Form top spacing control.
* Added: Form max-width control.
* Added: Input fields section for background, focus ring, placeholder color, padding, and font size.
* Added: Button hover color, padding, and font size.
* Fixed: Live preview now injects CSS directly into iframe without saving first.

= 1.0.1 =
* Fixed: Elementor widget file loads only when Elementor is active, preventing a fatal error.

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.2.0 =
Removes the Custom CSS field. Upgrade to maintain compatibility with the WordPress.org hosted version.

= 1.1.0 =
Fixes text contrast issues and changes image-style templates to bundled local artwork by default.

== Third-Party Libraries ==

This plugin includes the following third-party library:

**Spectrum Colorpicker v1.8.1**
* URL: https://github.com/bgrins/spectrum
* Author: Brian Grinstead
* License: MIT - https://github.com/bgrins/spectrum/blob/master/LICENSE

Template preview artwork is bundled with this plugin and distributed under the plugin's GPL-2.0-or-later license.
