@extends('merchbay_main')

@section('main-content')
<style>
	.error {
		color: red;
	}

	.form-wrapper {
		margin-top: 20%;
	}
</style>
<div class="wrapper pb-5">
	<div class="main__content">
		<div class="container">
			<div class="row justify-content-center">
				<div class="col col-lg-5 pt-5 text-center text-lg-start">
					<h4>Sign in</h4>
					<hr class="custom-hr" />
				</div>
			</div>
			<div class="row justify-content-center">
				<div class="col col-lg-5">
					<div id="login-response-msg"></div>
					<form role="form" id="frm-login">
						<input type="hidden" name="redirect" value="{{ Request::get('redirectUrl')  }}">
						<input type="hidden" name="_token" value="{{ csrf_token() }}">
						<div class="mb-3">
							<label for="exampleInputEmail1" class="form-label">Email address</label>
							<input type="email" class="form-control" name="email" value="{{ old('email') }}" title="Please enter your email address" placeholder="example@gmail.com">
							<!-- <div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div> -->
						</div>
						<div class="mb-3">
							<label for="exampleInputPassword1" class="form-label">Password</label>
							<input type="password" class="form-control" name="password" placeholder="Password" title="Please enter your password">
						</div>
						<button type="submit" class="btn btn-green btn-sm w-100">
							Submit
						</button>
					</form>

					<div class="text-center py-3">
						<a href="{{ url('/password/email') }}">Forgot your password?</a>
					</div>
					<hr class="custom-hr" />
					<div class="text-center py-3">
						Don't have an account?
						<a href="{{ url('./auth/register')}}" class="btn btn-black btn-sm w-100">Register</a>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
@endsection