<?php

/**
 * The template for the retrieve password mail.
 * The contents are displayed within the standard mail template of the mail.php file.
 * The usage of this template is in the admin/class-wedima-site-admin.php file.
 *
 * @since      1.0.2
 * @package    Wedima_Site
 * @subpackage Wedima_Site/utils/mail/templates
 * @author     Jitendra Bodmann <jitendra.bodmann@wedima.de>
 */
?>

<div style="padding: 80px 90px; text-align: center;">
    <div style="font-size: 28px; font-weight: 700; line-height: 30px; margin-bottom: 30px;">
        <?= /* translators: %s: First and last name */ sprintf(__('Hi %s,', 'wedima-site'), $user_data->user_firstname . ' ' . $user_data->user_lastname) ?>
    </div>
    <div style="color: #666666; font-size: 18px; margin-bottom: 45px;">
        <?= sprintf(
            /* translators: 1: Username 2: Domain of Homepage */
            __('It looks like you want to reset your password for your account username: <b>%1$s</b> at <b>%2$s</b>. In order to reset your password, click the following button:', 'wedima-site'),
            $user_data->user_login,
            $_SERVER['HTTP_HOST']
        ) ?></div>
    <table align="center" bgcolor="#FF4556" cellpadding="0" cellspacing="0" style="margin: 0 auto;">
        <tr>
            <th>
                <a href="<?= sprintf('%s?action=rp&amp;key=%s&amp;login=%s', wp_login_url(), $key, $user_login); ?>" style="border: 0 solid #FF4556; color: #FFFFFF; display: inline-block; font-size: 14px; padding: 13px 25px; text-decoration: none;">
                    RESET PASSWORD
                </a>
            </th>
        </tr>
    </table>
    <br>
    <div style="color: #666666; font-size: 18px;">
        <?= __('If you did not requested a password reset please ignore this email.', 'wedima-site') ?>
    </div>
    <div style="font-size: 14px; margin-top: 45px;">
        <?= __('Regards,', 'wedima-site') ?><br>
        <strong><?= ($client_name === null || $client_name === '') ? 'Wedima' : $client_name ?></strong>
    </div>
</div>