<!DOCTYPE html>
<html lang="lv">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Lietotāja reģistrācija</title>
    <style>
        body {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100vh;
            margin: 0;
        }

        form {
            text-align: center;
            max-width: 400px;
            width: 100%;
        }

        label {
            display: block;
            margin-bottom: 5px;
            text-align: left;
        }

        input {
            width: 100%;
            padding: 8px;
            margin-bottom: 10px;
            box-sizing: border-box;
            text-align: center;
        }

        button {
            background-color: #4caf50;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        button:hover {
            background-color: #45a049;
        }
    </style>
</head>
<body>

<form action="{{ url('/registration') }}" method="post">
    @csrf
    <label for="lietotajvards">
        <input type="text" id="lietotajvards" name="username" placeholder="Lietotājvārds" required>
    </label>

    <br>

    <label for="epasts">
        <input type="email" id="epasts" name="email" placeholder="E-pasts" required>
    </label>

    <br>

    <label for="parole">
        <input type="password" id="parole" name="password" placeholder="Parole" required>
    </label>

    <br>

    <button type="submit">Izveidot kontu</button>
</form>

</body>
</html>
