@extends('layouts.app')

@section('title', 'Settings')

@section('content')
<div class="container my-4">
    <h1 class="fw-bold">Settings</h1>
    
    <div class="card border-0 shadow-sm">
        <div class="card-header bg-primary text-white">
            <h5 class="mb-0">WhatsApp Settings</h5>
        </div>
        <div class="card-body">
            <form action="{{ route('admin.settings.update') }}" method="POST">
                @csrf
                <div class="mb-3">
                    <label class="form-label">WhatsApp Number</label>
                    <input type="text" 
                           name="whatsapp_number" 
                           class="form-control" 
                           value="{{ $whatsappNumber }}"
                           placeholder="Contoh: 6281234567890">
                </div>
                <button type="submit" class="btn btn-primary">Save Changes</button>
            </form>
        </div>
    </div>
</div>
@endsection