<?php
use Livewire\Component;
use Illuminate\Support\Facades\Auth;
use Illuminate\Validation\ValidationException;
?>

<div class="w-full max-w-[400px]">
    <div class="mb-10 text-center">
        <div class="w-12 h-12 bg-sage rounded-lg flex items-center justify-center text-white font-bold text-xl mx-auto mb-6" style="background-color: #99BC85;">P</div>
        <h1 class="text-xl font-semibold tracking-tight text-gray-900">Sign in to Admin</h1>
        <p class="text-sm text-gray-500 mt-2">Enter your credentials to access the dashboard</p>
    </div>

    <form wire:submit.prevent="login" class="login-card p-8 bg-white border border-gray-200 rounded-lg shadow-sm">
        <div class="space-y-6">
            <div>
                <label class="block text-[11px] font-bold text-gray-500 uppercase tracking-widest mb-2">Email address</label>
                <input type="email" wire:model="email" class="input-field w-full" placeholder="name@foundation.org" required autofocus>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['email'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-500 text-xs mt-1"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>
            <div>
                <div class="flex justify-between items-center mb-2">
                    <label class="block text-[11px] font-bold text-gray-500 uppercase tracking-widest">Password</label>
                    <a href="#" class="text-[11px] font-semibold text-sage hover:underline" style="color: #99BC85;">Forgot password?</a>
                </div>
                <input type="password" wire:model="password" class="input-field w-full" placeholder="••••••••" required>
                <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?> <span class="text-red-500 text-xs mt-1"><?php echo e($message); ?></span> <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
            </div>
            
            <div class="flex items-center gap-2">
                <input type="checkbox" wire:model="remember" id="remember" class="w-4 h-4 rounded border-gray-300 text-sage focus:ring-sage" style="--tw-ring-color: #99BC85; color: #99BC85;">
                <label for="remember" class="text-xs font-medium text-gray-600">Stay signed in for 30 days</label>
            </div>

            <button type="submit" class="btn-primary w-full py-2.5 flex justify-center items-center gap-2" style="background-color: #99BC85; color: white; border-radius: 6px; font-weight: 500;">
                <span wire:loading.remove wire:target="login">Sign in</span>
                <span wire:loading wire:target="login">Signing in...</span>
            </button>
        </div>
    </form>

    <p class="text-center text-xs text-gray-500 mt-8">
        Dr. Padhi Foundation • Internal Access Only
    </p>
</div><?php /**PATH D:\02-my freelance\00-DR_Padhi\DR_PADHI\storage\framework/views/livewire/views/26d44023.blade.php ENDPATH**/ ?>