<?php

/**
 * The template for displaying admin payout request notification
 *
 * This template can be overridden by copying it to yourtheme/movie-engine/emails/admin-payout-request.php.
 *
 * HOWEVER, on occasion MovieEngine will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * NOTE: Inline styles in email templates are intentional for email client compatibility.
 *
 * @note Please do not delete our CSS classes when you customize, as it may break functionality.
 * @package Movie_Engine
 * @subpackage Movie_Engine/templates
 * @version 1.0.0
 * @since 1.0.0
 */

if (! defined("ABSPATH")) {
    exit; // Exit if accessed directly
}
?>
<p><?php esc_html_e('Hello Admin', 'cine-movie-engine'); ?></p>
<p>
    <?php printf(
        /* translators: 1: user display name, 2: payout amount */
        esc_html__('User %1$s has requested a payout of %2$s.', 'cine-movie-engine'),
        '<strong>' . esc_html($movie_engine_user_name) . '</strong>',
        '<strong>' . esc_html(sprintf('$%s', number_format($movie_engine_amount, 2))) . '</strong>'
    ); ?>
</p>
<div style="background: #fef9c3; border-left: 4px solid #eab308; padding: 15px; margin: 20px 0;">
    <p style="margin: 0; font-size: 16px; color: #854d0e;">
        <strong><?php esc_html_e('Request Amount:', 'cine-movie-engine'); ?> $<?php echo esc_html(number_format($movie_engine_amount, 2)); ?></strong>
    </p>
</div>
<p><?php esc_html_e('Please review and process this request in the MovieEngine Dashboard.', 'cine-movie-engine'); ?></p>
<p>
    <a href="<?php echo esc_url($movie_engine_admin_dashboard_link); ?>" style="background-color: #2563eb; color: #ffffff; padding: 10px 20px; text-decoration: none; border-radius: 4px; display: inline-block;">
        <?php esc_html_e('Manage Payouts', 'cine-movie-engine'); ?>
    </a>
</p>