<?php
include 'header.php';
// ... (PHP logic to fetch messages for a specific booking and to handle sending a new message)
?>
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
    <h1 class="h2">Messages for Booking #...</h1>
</div>
<div class="card shadow-sm">
    <div class="card-body" style="height: 400px; overflow-y: auto;">
        <div class="d-flex justify-content-end mb-2"><div class="bg-primary text-white p-2 rounded">Your message...</div></div>
        <div class="d-flex justify-content-start mb-2"><div class="bg-light p-2 rounded">Admin's reply...</div></div>
    </div>
    <div class="card-footer">
        <form method="POST">
            <div class="input-group">
                <textarea name="message_text" class="form-control" placeholder="Type your message..." required></textarea>
                <button type="submit" class="btn btn-primary">Send</button>
            </div>
        </form>
    </div>
</div>
<?php include 'footer.php'; ?>
