<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="format-detection" content="telephone=no">
    <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
    <title>Simprosys InfoMedia</title>
    <link rel="icon" href="images/favicon.png" type="image/x-icon" /> <!-- Favicon Icon -->
    
    <link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700" rel="stylesheet"> <!-- Google Font -->
    
    <link href="css/bootstrap.css" rel="stylesheet" type="text/css"/> <!-- Bootstrap -->
    <link href="css/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css"/> <!-- DataTables Bootstrap -->
    <link href="css/responsive.bootstrap.min.css" rel="stylesheet" type="text/css"/> <!-- Responsive Bootstrap  -->
    <link href="css/bootstrap-datepicker.css" rel="stylesheet" type="text/css"/> <!-- Bootstrap Datepicker  -->
    <link href="css/font-awesome.css" rel="stylesheet" type="text/css"/> <!-- Font Awesome -->
    <link href="css/style.css" rel="stylesheet" type="text/css"/> <!-- Custom css -->
    <link href="css/responsive.css" rel="stylesheet" type="text/css"/> <!-- Custom css -->

</head>
<body>
    
    <!-- Login -->
    <div class="login-page">
        <div class="table">
            <div class="table-cell">
                <div class="login-wrapper">
                    <div class="login-logo">
                        <img src="images/login-logo.png" alt="">
                    </div>
                    <div class="login-bx">                      
                        <form method="POST" action="{{ route('login') }}" aria-label="{{ __('Login') }}">
                            @csrf
                            <div class="form-group">
                                <input type="email" id="email" placeholder="Email Address" class="form-control{{ $errors->has('email') ? ' is-invalid' : '' }}" name="email" value="{{ old('email') }}" required autofocus>
                                @if ($errors->has('email'))
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $errors->first('email') }}</strong>
                                    </span>
                                @endif
                            </div>
                            <div class="form-group">
                                <input id="password" placeholder="Password" type="password" class="form-control{{ $errors->has('password') ? ' is-invalid' : '' }}" name="password" required>
                                @if ($errors->has('password'))
                                    <span class="invalid-feedback" role="alert">
                                        <strong>{{ $errors->first('password') }}</strong>
                                    </span>
                                @endif
                            </div>
                            <div class="form-group">
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="check-bx">
                                        <label>
                                            <input type="checkbox" name="remember" id="remember" {{ old('remember') ? 'checked' : '' }}>
                                            <span></span>
                                            Remember me
                                        </label>
                                    </div>
                                </div>
                                <div class="col-md-6 text-right">
                                    <a href="javascript:void(0);">Forgot Paddword</a>
                                </div>
                            </div>                      
                            </div>                          
                            <div class="form-group">
                                <button class="btn" type="submit">Login</button>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!-- End Script -->
    
</body>
</html>