@extends('layouts.app')

@section('title', 'TVKu - Login Admin')

@section('content')
<div class="login-form">
    <h2 style="text-align: center; margin-bottom: 30px; color: #333;">🔐 Login Admin</h2>

    @if(session('login_error'))
        <div class="error">{{ session('login_error') }}</div>
    @endif

    <form method="POST" action="{{ route('admin.login') }}">
        @csrf
        <div class="form-group">
            <label for="password">Password Admin:</label>
            <input type="password" name="password" required>
        </div>
        <button type="submit" name="login" class="btn" style="width: 100%;">Login</button>
    </form>
</div>
@endsection
