<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>incription</title>
</head>
<body>
    <form action="index.php?action=inscription" method="POST">
        <label for="login">Votre Login</label>
        <input type="text" id="login" name="login" placeholder="entrez votre login" required>
        <label for="mdp">Votre Mot de passe</label>
        <input type="password" id="mdp" name="mdp" placeholder="entrez votre mot de passe" required>
        <input type="submit" value="Validez" name="inscription">
    </form>

<style>
    body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}


    form {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
}

/* Style des labels */
form label {
    font-size: 16px;
    color: #333333;
    margin-top: 10px;
    display: block;
}

/* Style des champs de texte */
form input[type="text"],
form input[type="mail"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #dddddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Style du bouton de soumission */
form input[type="submit"] {
    background-color: #3498db;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 15px;
}

form input[type="submit"]:hover {
    background-color: #2980b9;
}

/* Style pour le champ en cas de focus */
form input[type="text"]:focus,
form input[type="mail"]:focus,
form input[type="password"]:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
</style>
</body>
</html>

