<x-admin.layout :guest="true" title="Admin Login">
    <div class="nc-login">
        <div class="nc-login-card">
            <div class="nc-login-logo brand-mark">N</div>
            <h1>NusaClouds API Center</h1>
            <p class="muted">Masuk memakai admin API key.</p>
            @if ($errors->any())
                <div class="errors">{{ $errors->first() }}</div>
            @endif
            <form method="post" action="{{ route('admin.login.store') }}">
                @csrf
                <label for="api_key">Admin API Key</label>
                <input id="api_key" name="api_key" type="password" autofocus required>
                <button type="submit">Login</button>
            </form>
        </div>
    </div>
</x-admin.layout>
