<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dealer Sign Up</title>
    <!-- Bootstrap CSS -->
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #f8f9fa;
        }
        .signup-form {
            max-width: 400px;
            margin: 50px auto;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, .1);
        }
    </style>
</head>
<body>

<div class="signup-form">
    <h2 class="text-center">Dealer Sign Up</h2>
    @include('commons.notifications')
    <form action="{{ url('dealer/register') }}" id="dealderRegisterForm" method="POST">
                            {{csrf_field()}}
        <div class="form-group">
            <label for="username">Name</label>
            <input type="text" name="name" class="form-control" id="name" required>
        </div>
        <div class="form-group">
            <label for="email">Email address</label>
            <input type="email" name="email" class="form-control" id="email" required>
        </div>
        <div class="form-group">
            <label for="email">Phone Number</label>
            <input type="text" name="phone" class="form-control" id="phone" required>
        </div>
        <!-- <div class="form-group">
            <label for="password">Password</label>
            <input type="password" name="" class="form-control" id="password" required>
        </div>
        <div class="form-group">
            <label for="confirm-password">Confirm Password</label>
            <input type="password" name="" class="form-control" id="confirm-password" required>
        </div> -->
        <button type="submit" class="btn btn-primary btn-block">Submit</button>
    </form>
    <p class="text-center mt-3">Already have an account? <a href="{{ url('dealer/login') }}">Login here</a></p>
</div>

<!-- Bootstrap JS and dependencies -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.10.2/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>
