<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>NDRT Information System - Login</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: Arial, sans-serif;
            background-color: #d3d3d3;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

        .login-container {
            text-align: center;
        }

        .logo {
            background-color: white;
            padding: 30px;
            margin: 0 auto 30px;
            width: fit-content;
        }

        .logo-cross {
            width: 100px;
            height: 100px;
            background-color: #ED1C24;
            margin: 0 auto 10px;
            clip-path: polygon(
                40% 0%, 60% 0%, 60% 40%, 100% 40%, 
                100% 60%, 60% 60%, 60% 100%, 40% 100%, 
                40% 60%, 0% 60%, 0% 40%, 40% 40%
            );
        }

        .logo-text {
            font-size: 18px;
            font-weight: bold;
            color: #000;
        }

        .logo-subtext {
            font-size: 20px;
            font-weight: bold;
            color: #ED1C24;
        }

        .system-title {
            font-size: 14px;
            margin: 20px 0;
            color: #333;
        }

        .login-box {
            background-color: #f5f5f5;
            border: 2px solid #333;
            border-radius: 15px;
            padding: 40px;
            min-width: 350px;
        }

        .login-box h2 {
            margin-bottom: 30px;
            font-size: 18px;
            font-weight: normal;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group input {
            width: 100%;
            padding: 12px;
            border: 2px solid #333;
            border-radius: 8px;
            font-size: 14px;
            background-color: white;
        }

        .form-group input:focus {
            outline: none;
            border-color: #ED1C24;
        }

        .btn-login {
            padding: 12px 40px;
            background-color: white;
            border: 2px solid #333;
            border-radius: 8px;
            font-size: 14px;
            cursor: pointer;
            transition: all 0.3s;
        }

        .btn-login:hover {
            background-color: #ED1C24;
            color: white;
            border-color: #ED1C24;
        }

        .error-message {
            background-color: #f8d7da;
            color: #721c24;
            padding: 10px;
            border-radius: 5px;
            margin-bottom: 15px;
            border: 1px solid #f5c6cb;
        }
    </style>
</head>
<body>
    <div class="login-container">
        <div class="logo">
            <div class="logo-cross"></div>
            <div class="logo-text">South Sudan</div>
            <div class="logo-subtext">Red Cross</div>
        </div>

        <div class="system-title">National Disaster Response Team (NDRT) Information System</div>

        <div class="login-box">
            <h2>Login Please</h2>

            <?php if($errors->any()): ?>
                <div class="error-message">
                    <?php echo e($errors->first()); ?>

                </div>
            <?php endif; ?>

            <form method="POST" action="<?php echo e(route('login')); ?>">
                <?php echo csrf_field(); ?>
                
                <div class="form-group">
                    <input type="email" name="email" placeholder="Username" value="<?php echo e(old('email')); ?>" required autofocus>
                </div>

                <div class="form-group">
                    <input type="password" name="password" placeholder="Password" required>
                </div>

                <button type="submit" class="btn-login">Login</button>
            </form>
        </div>
    </div>
</body>
</html><?php /**PATH C:\wamp64\www\ndrt-system\resources\views/auth/login.blade.php ENDPATH**/ ?>