<?php
/**
 * Access Not Allowed Template
 *
 * Displays a message for administrators who cannot access affiliate features.
 *
 * @since 2.15.0
 * @package wc-affiliate
 */
?>

<div class="bg-white p-8 rounded-xl mb-6">
	<div class="text-center">
		<div class="mb-6">
			<div class="mx-auto flex items-center justify-center h-16 w-16 rounded-full bg-errorBG mb-4">
				<svg class="h-8 w-8 text-error" fill="none" viewBox="0 0 24 24" stroke="currentColor">
					<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
							d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z"/>
				</svg>
			</div>
			<h3 class="text-2xl font-inter font-semibold text-wca-title mb-2">
				<?php esc_html_e( 'Access Not Allowed', 'wc-affiliate' ); ?>
			</h3>
			<p class="text-base font-inter text-wca-body-desc">
				<?php esc_html_e( 'Administrator accounts are not permitted to participate in the affiliate program.', 'wc-affiliate' ); ?>
			</p>
		</div>
	</div>
</div>
