=== SoftWin Toast Message ===
Contributors: SoftWin
Tags: toast, contact form 7, elementor, notification, forms
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.4.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Configurable toast notifications for successful Contact Form 7 and Elementor Pro form submissions.

== Description ==

SoftWin Toast Message shows a customizable toast notification after successful form submissions.

Features:

* Contact Form 7 support.
* Elementor Pro Forms support.
* Desktop and mobile position settings.
* Light and dark toast styles.
* Custom title, message, button text, icons, radius, and font sizes.
* Optional short confetti animation when the toast appears.
* Optional hiding of the default Contact Form 7 success message.
* Debug logging for form events.

== Installation ==

1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
2. Activate the plugin.
3. Open Settings > SoftWin Toast.
4. Enable the form integrations you need and save the settings.

== Frequently Asked Questions ==

= Does this work with Contact Form 7? =

Yes. Enable the Contact Form 7 integration in the plugin settings.

= Does this work with Elementor forms? =

Yes. Elementor Pro with the Form widget is required.

= Can I disable the automatic timeout? =

Yes. Set the duration to 0 and users will close the toast with the button.

= Can I use a custom icon? =

Yes. Choose Custom icon in the icon setting and upload an image.

== Changelog ==

= 1.4.5 =
* Corrected the contributor name casing.

= 1.4.4 =
* Updated the contributors value.

= 1.4.3 =
* Moved all remaining inline style tags to WordPress enqueue APIs.
* Updated the WordPress.org contributors list.

= 1.4.2 =
* Updated the SoftWin website URL.

= 1.4.1 =
* Restored WordPress 5.8 compatibility for the edge offset lock field.

= 1.4.0 =
* Fixed the edge offset lock field helper.
* Fixed the settings page rendering issue caused by the deprecated helper.

= 1.3.9 =
* Extended the confetti animation duration.
* Added a valid GPL license header to the main plugin file.
* Fixed escaping issues reported by Plugin Check.
* Replaced the readme with standard English content.
* Removed the discouraged manual textdomain loading call.
* Normalized file line endings.

= 1.3.8 =
* Added an optional short confetti animation when the toast appears.
* Added a setting to enable or disable confetti.

= 1.3.7 =
* Removed the deprecated visual effect setting and related frontend code.
* Split toast position into Position on Desktop and Position on Mobile.
* Removed the Mobile settings section.

= 1.3.6 =
* Updated the toast visual layer handling.

= 1.3.5 =
* Updated the mobile layout.
* Removed the old mobile layout setting.
* Regenerated English and Ukrainian localization files.

= 1.3.4 =
* Improved the theme switcher alignment.

= 1.3.3 =
* Rebuilt the installation ZIP with a version bump for cache refresh.

= 1.3.2 =
* Added a dark and light theme switcher.
* Improved custom icon card sizing.

= 1.3.1 =
* Added updated SVG icons and icon previews.
* Improved the settings order.

= 1.3.0 =
* Added title and description font size settings.
* Added icon corner radius settings.

= 1.2.1 =
* Improved toast hide animation.
* Removed background opacity settings.

= 1.2.0 =
* Added mobile-specific layout behavior.
* Added standard icon choices and custom icon support.

= 1.1.2 =
* Fixed the edge offset lock field.
* Rebuilt the WordPress admin installation archive.

= 1.1.1 =
* Added center-screen positioning.
* Split settings into style and functional sections.
* Removed the bounce at the end of the entrance animation.

= 1.1.0 =
* Added light and dark toast themes.
* Added background and corner radius settings.

= 1.0.3 =
* Improved ZIP packaging for WordPress admin upload.

= 1.0.2 =
* Fixed ZIP structure for WordPress installation.

= 1.0.1 =
* Improved Elementor form event handling.

= 1.0.0 =
* Initial release.
