<!DOCTYPE html>
<html lang="ko">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>@yield('title', '프레젠테이션') - {{ config('app.name') }}</title>
    @vite(['resources/css/app.css', 'resources/js/app.js'])
    @stack('styles')
</head>
<body class="bg-gradient-to-br from-blue-600 to-blue-800 min-h-screen overflow-x-hidden">
    <!-- 돌아가기 버튼 -->
    <a href="{{ url()->previous() }}"
       class="fixed top-4 left-4 z-50 bg-white/90 hover:bg-white text-gray-700 px-4 py-2 rounded-full shadow-lg flex items-center gap-2 transition-all hover:scale-105">
        <svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 19l-7-7m0 0l7-7m-7 7h18"/>
        </svg>
        <span class="text-sm font-medium">돌아가기</span>
    </a>

    @yield('content')

    @stack('scripts')
</body>
</html>