@extends('layouts.base') @section('title', __('Book an appointment').' — '.$tenant->name) @section('body')
@if($tenant->logo_path) @endif

{{ $tenant->name }}

{{ __('Book an appointment') }}

{{ app()->getLocale() === 'ar' ? 'EN' : 'عربي' }}
@if(session('status'))
{{ session('status') }}
@endif @if(session('error'))
{{ session('error') }}
@endif @if($dentists->isEmpty())
{{ __('Online booking is not available right now. Please contact the clinic.') }}
@else
@csrf

1 · {{ __('Choose your dentist') }}

@foreach($dentists as $d) @endforeach

2 · {{ __('Pick a date & time') }}

{{ __('Choose a dentist and date to see available times.') }}
@error('starts_at')
{{ $message }}
@enderror

3 · {{ __('Your details') }}

@error('full_name')
{{ $message }}
@enderror
@error('phone')
{{ $message }}
@enderror
@endif
{{-- v2.1: floating WhatsApp contact button --}} @if($tenant->whatsapp_number) 💬 @endif @push('scripts') @endpush @endsection