<?php
/**
 * Footer template for the plugin
 *
 * @package PageVisitCounter
 */
defined( 'ABSPATH' ) || exit;
?>

<!-- Footer -->
<footer class="pagevico-footer">
	<div class="pagevico-footer-content">
		<p>
			<?php
			// translators: %1$s: Plugin version, %2$s: Heart icon, %3$s: WordPress link
			printf(
				esc_html__( 'Page Visit Counter Analytics v%1$s - Made with %2$s by %3$s', 'page-visit-counter-analytics' ),
				esc_html( PageVICO_VERSION ),
				'<span class="dashicons dashicons-heart"></span>',
				'<a href="https://wordpress.org" target="_blank">WordPress</a>'
			);
			?>
		</p>
	</div>
</footer>

<style>
.pagevico-footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
    padding: 20px;
    margin-top: 20px;
}

.pagevico-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pagevico-footer p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.pagevico-footer a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pagevico-footer a:hover {
    color: #1d4ed8;
}

.pagevico-footer .dashicons {
    color: #2563eb;
    font-size: 16px;
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
</style>