<?php
/**
 * Confirmation shown after a declaration is recorded.
 *
 * @package SkyServers\Retragere
 *
 * @var array<string,mixed> $args
 */

declare(strict_types=1);

if (!defined('ABSPATH')) {
    exit;
}
?>
<div class="ssrc-wrap ssrc-success">
    <h2><?php esc_html_e('Your request has been recorded', 'skyservers-retragere-contract'); ?></h2>

    <p>
        <?php esc_html_e('Reference code:', 'skyservers-retragere-contract'); ?>
        <strong><?php echo esc_html((string) ($args['reference'] ?? '')); ?></strong>
    </p>

    <p><?php esc_html_e('You will receive the acknowledgement by email, containing the content of your declaration together with the date and time of submission. If it does not arrive within a few minutes, check your spam folder too.', 'skyservers-retragere-contract'); ?></p>
</div>
