

<style>
.custom-alert {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}
.custom-alert.hide { opacity: 0; }
</style>

<script>
document.addEventListener("DOMContentLoaded", function() {
    const alerts = document.querySelectorAll('.custom-alert');
    alerts.forEach(alert => {
        setTimeout(() => {
            alert.classList.add('hide');
            if (window.history.replaceState) {
                const url = window.location.href.split('?')[0];
                window.history.replaceState(null, null, url);
            }
        }, 4000);
    });

    var toggleButton = document.querySelector('.wp-hide-pw');
    var passwordInput = document.getElementById('password');
    if (toggleButton && passwordInput) {
        toggleButton.addEventListener('click', function() {
            var type = passwordInput.getAttribute('type') === 'password' ? 'text' : 'password';
            passwordInput.setAttribute('type', type);
            var icon = this.querySelector('.dashicons');
            if (type === 'password') {
                icon.classList.remove('dashicons-hidden');
                icon.classList.add('dashicons-visibility');
                this.setAttribute('aria-label', 'نمایش رمز');
            } else {
                icon.classList.remove('dashicons-visibility');
                icon.classList.add('dashicons-hidden');
                this.setAttribute('aria-label', 'مخفی کردن رمز');
            }
        });
    }
});
</script><?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://t.seogam.ir/wp-sitemap.xsl" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url><loc>https://t.seogam.ir/author/admin/</loc></url></urlset>
