<?php
/**
 * Create Fundraiser Form — post-creation step.
 *
 * Shown after a sub-fundraiser has been successfully created.
 * Lets the creator choose what to do next: join personally or start a group.
 * Both options reuse the existing individual / team flows.
 *
 * @package AmbassadorHub\Fundraisers\Blocks\CreateFundraiserForm
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>

<div class="ambh-cff-created-banner" role="status">
	<span class="ambh-cff-created-banner__icon" aria-hidden="true">✓</span>
	<span class="ambh-cff-created-banner__text">
		<?php esc_html_e( 'Your fundraiser has been created!', 'ambassadorhub' ); ?>
		<strong class="ambh-cff-created-banner__name" data-created-fundraiser-name></strong>
	</span>
</div>

<h3 class="ambh-cff-step-title"><?php esc_html_e( 'What would you like to do next?', 'ambassadorhub' ); ?></h3>

<ul class="ambh-cff-type-list" role="list">

	<li class="ambh-cff-type-item">
		<button type="button" class="ambh-cff-type-option ambh-cff-join-fundraiser">
			<span class="ambh-cff-type-option__icon" aria-hidden="true">👤</span>
			<span class="ambh-cff-type-option__body">
				<strong class="ambh-cff-type-option__label"><?php esc_html_e( 'Join this fundraiser', 'ambassadorhub' ); ?></strong>
				<span class="ambh-cff-type-option__description">
					<?php esc_html_e( 'Create your personal fundraising page under this fundraiser.', 'ambassadorhub' ); ?>
				</span>
			</span>
		</button>
	</li>

	<li class="ambh-cff-type-item ambh-cff-type-item--create-team-after" hidden>
		<button type="button" class="ambh-cff-type-option ambh-cff-create-team-after">
			<span class="ambh-cff-type-option__icon" aria-hidden="true">👥</span>
			<span class="ambh-cff-type-option__body">
				<strong class="ambh-cff-type-option__label"><?php esc_html_e( 'Create a group', 'ambassadorhub' ); ?></strong>
				<span class="ambh-cff-type-option__description">
					<?php esc_html_e( 'Start a team under this fundraiser and invite others to join.', 'ambassadorhub' ); ?>
				</span>
			</span>
		</button>
	</li>

</ul>

<button type="button" class="ambh-cff-skip-fundraiser ambh-button ambh-button--link">
	<?php esc_html_e( 'Skip — go to fundraiser page', 'ambassadorhub' ); ?>
</button>
