@extends('dashboard.app')

@section('title', 'Profile')
@section('page_title', 'Profile')
@section('page_subtitle', 'Update your account details and security settings.')

@section('dashboard_content')
    @if (session('status') === 'profile-updated')
        <div class="mb-6 rounded-2xl border border-emerald-200 bg-emerald-50 px-4 py-3 text-sm text-emerald-700 dark:border-emerald-500/30 dark:bg-emerald-500/15 dark:text-emerald-200">
            Profile updated.
        </div>
    @endif

    <div class="grid gap-6">
        <div class="rounded-3xl glass-card p-6">
            @include('profile.partials.update-profile-information-form')
        </div>
        <div class="rounded-3xl glass-card p-6">
            @include('profile.partials.update-password-form')
        </div>
        <div class="rounded-3xl glass-card p-6">
            @include('profile.partials.delete-user-form')
        </div>
    </div>
@endsection
