<?php
declare(strict_types=1);

/** @var \App\View\AppView $this */
?>
<?php $this->assign('title', 'Booking cancelled · CandleCraft Academy'); ?>

<section class="cc-contact-band">
    <div class="cc-container" style="max-width: 600px;">
        <div class="cc-card cc-reveal" style="text-align: center; padding: 56px 32px;">
            <div class="cc-eyebrow" style="justify-content: center; margin-bottom: 16px;">Cancelled</div>
            <h1 style="font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -0.025em; margin-bottom: 12px;">No worries — nothing was charged.</h1>
            <p class="cc-muted" style="margin-bottom: 28px;">Your slot is still available if you'd like to come back.</p>
            <div style="display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;">
                <a class="cc-btn cc-btn--primary" href="<?= $this->Url->build(['_name' => 'booking_index']) ?>">Try again</a>
                <a class="cc-btn cc-btn--outline" href="<?= $this->Url->build(['_name' => 'home']) ?>">Back to home</a>
            </div>
        </div>
    </div>
</section>
