<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="dark">
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta name="csrf-token" content="{{ csrf_token() }}">

        <title>{{ config('app.name', 'Aquila-System') }}</title>

        <link rel="preconnect" href="https://fonts.bunny.net">
        <link href="https://fonts.bunny.net/css?family=figtree:400,500,600&display=swap" rel="stylesheet" />

        @vite(['resources/css/app.css', 'resources/js/app.js'])
    </head>
    <body class="font-sans antialiased">
        <div
            class="relative flex min-h-screen flex-col items-center justify-center overflow-hidden bg-slate-950 px-4 py-10"
            style="background-image: linear-gradient(115deg, rgba(2, 6, 23, 0.90) 0%, rgba(2, 6, 23, 0.68) 44%, rgba(2, 6, 23, 0.78) 100%), url('{{ asset('images/login-background.jpg') }}'); background-size: cover; background-position: center;"
        >
            <div class="absolute inset-0 bg-[radial-gradient(circle_at_32%_24%,rgba(190,211,41,0.20),transparent_28%),linear-gradient(180deg,rgba(2,6,23,0.04),rgba(2,6,23,0.42))]"></div>

            <div class="relative z-10">
                <a href="/" class="flex flex-col items-center gap-3">
                    <x-brand-logo :chrome="false" class="h-28 w-80 max-w-[84vw]" imageClass="h-full w-full object-contain" />
                </a>
            </div>

            <div class="relative z-10 mt-8 w-full max-w-md overflow-hidden rounded-lg border border-white/10 bg-slate-950/78 p-6 shadow-2xl shadow-slate-950/40 backdrop-blur-md">
                {{ $slot }}
            </div>
        </div>
    </body>
</html>
