<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Register</title>
    <!-- Include Bootstrap CSS -->
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
    <style>
        /* Your custom CSS starts here */
        body {
            margin: 0;
            padding: 0;
            font-family: Roboto;
            background-repeat: no-repeat;
            background-size: cover;
            background: linear-gradient(120deg, #007bff, #d0314c);
        }

        .container {
            height: 100vh;
            overflow-y: auto; /* Enable vertical scrolling */
        }

        .center {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 29vw;
            background: white;
            border-radius: 10px;
        }

        .center h1 {
            text-align: center;
            padding: 10px 0 10px 0;
            border-bottom: 1px solid silver;
        }

        .center form {
            padding: 0 40px;
            box-sizing: border-box;
        }

        .txt_field {
            position: relative;
            border-bottom: 2px solid #adadad;
            margin: 15px 0;
        }

        .txt_field input {
            width: 100%;
            padding: 0 5px;
            height: 40px;
            font-size: 16px;
            border: none;
            background: none;
            outline: none;
        }

        .txt_field label {
            position: absolute;
            top: 50%;
            left: 5px;
            color: #adadad;
            transform: translateY(-50%);
            font-size: 16px;
            pointer-events: none;
        }

        .txt_field span::before {
            content: '';
            position: absolute;
            top: 40px;
            left: 0;
            width: 0px;
            height: 2px;
            background: #2691d9;
            transition: .5s;
        }

        .txt_field input:focus ~ label,
        .txt_field input:valid ~ label {
            top: -5px;
            color: #2691d9;
        }

        .txt_field input:focus ~ span::before,
        .txt_field input:valid ~ span::before {
            width: 100%;
        }

        .pass {
            margin: -5px 0 20px 5px;
            color: #a6a6a6;
            cursor: pointer;
        }
        .form-group{
        margin-bottom: 0!important!;
        }
        .pass:hover {
            text-decoration: underline;
        }

        input[type="submit"] {
            width: 100%;
            height: 50px;
            border: 1px solid;
            border-radius: 25px;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background: #2691d9;
            color: #e9f4fb;
            transition: .5s;
        }

        .signup_link {
            margin: 20px 0;
            text-align: center;
            font-size: 16px;
            color: #666666;
        }

        .signup_link a {
            color: #2691d9;
            text-decoration: none;
        }

        .signup_link a:hover {
            text-decoration: underline;
        }

        .HomeAbout {
            width: 100vw;
            height: 25vh;
        }

        /* Custom toggle switch */
        .toggle-switch {
            display: inline-block;
            height: 34px;
            position: relative;
            width: 60px;
        }

        .toggle-switch input {
            display: none;
        }

        .slider {
            background-color: #ccc;
            bottom: 0;
            cursor: pointer;
            left: 0;
            position: absolute;
            right: 0;
            top: 0;
            transition: .4s;
        }

        .slider:before {
            background-color: white;
            bottom: 4px;
            content: "";
            height: 26px;
            left: 4px;
            position: absolute;
            transition: .4s;
            width: 26px;
        }

        input:checked + .slider {
            background-color: #2691d9;
        }

        input:focus + .slider {
            box-shadow: 0 0 1px #2196F3;
        }

        input:checked + .slider:before {
            transform: translateX(26px);
        }

        .slider.round {
            border-radius: 34px;
        }

        .slider.round:before {
            border-radius: 50%;
        }

        /* Custom role buttons */
        .role-button {
            display: inline-block;
            width: 150px; /* Adjust width as needed */
            height: 40px; /* Adjust height as needed */
            margin-right: 10px; /* Adjust spacing between buttons */
            cursor: pointer;
            border: none;
            border-radius: 20px;
            text-align: center;
            background-color: #007bff;
            color: #ffffff;
            transition: background-color 0.3s ease;
        }

        .role-button:hover {
            background-color: #0056b3; /* Adjust hover color as needed */
        }

        /* Hide the actual role input */
        #role {
            display: none;
        }

    </style>
</head>
<body>
    <div class="container">
        <div class="center">
            <h1>Register</h1>
            <form method="POST" action="<?php echo e(route('registers')); ?>">
                <?php echo csrf_field(); ?>

                <div class="txt_field">
                    <input id="name" type="text" class="form-control" name="name" required autocomplete="name" autofocus>
                    <span></span>
                    <label>Name</label>
                </div>

                <div class="txt_field">
                    <input id="email" type="email" class="form-control" name="email" required autocomplete="email">
                    <span></span>
                    <label>Email Address</label>
                </div>

                <div class="txt_field">
                    <input id="phone" type="text" class="form-control" name="phone" required>
                    <span></span>
                    <label>Phone Number</label>
                </div>

              


                <div class="txt_field">
                    <input id="password" type="password" class="form-control" name="password" required autocomplete="new-password">
                    <span></span>
                    <label>Password</label>
                </div>

                <div class="txt_field">
                    <input id="password-confirm" type="password" class="form-control" name="password_confirmation" required autocomplete="new-password">
                    <span></span>
                    <label>Confirm Password</label>
                </div>

                <input type="checkbox" class="pass">Show Password

                <input type="submit" value="Register">

                <div class="signup_link">
                    Already have an account? <a href="<?php echo e(route('login')); ?>">Sign in</a>
                </div>

            </form>
        </div>
    </div>
</body>
</html>
<?php /**PATH C:\Users\91638\VB150\VB150\resources\views/auth/register.blade.php ENDPATH**/ ?>