/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.single-property-featured-img{
    margin-top: -90px;
    border-radius: 0px 0px 48px 48px;
}
function custom_enqueue_scripts() {
    wp_add_inline_script('jquery', '
        document.getElementById("chatwithme").addEventListener("click", function() {
            // Assuming Chatway's method to open the bot is 'Chatway.open()'
            Chatway.open(); // Adjust this based on Chatway's specific method
        });
    ');
}
add_action('wp_enqueue_scripts', 'custom_enqueue_scripts');
add_filter('wp_mail_from', function($email) {
    return 'info@pure.voyage'; // Replace with your email address
});

add_filter('wp_mail_from_name', function($name) {
    return 'Pure Voyage'; // Replace with your desired name
});
function custom_notice_inline_styles() {
    echo '<style>
        .notice {
            background-color: black !important;
            color: white !important;
        }
        .notice-success {
            background-color: black !important;
            color: green !important;
        }
        .notice-warning {
            background-color: black !important;
            color: yellow !important;
        }
        .notice-error {
            background-color: black !important;
            color: red !important;
        }
        .notice-info {
            background-color: black !important;
            color: cyan !important;
        }
    </style>';
}
add_action('admin_head', 'custom_notice_inline_styles');
