/* =========================
    VALIDATION DU CSS
========================= */
body::after {
    content: "CSS Mobile";
    display: none;
}
/* =========================
    STYLES GÉNÉRAUX
========================= */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    height: 92vh;
    display: flex;
    align-items: center;      
    justify-content: center;  
    background-size: cover;
    background-image: url("../../img/fd_conn.jpg");
}

.error {
    color: red;
    margin-bottom: 20px;
}

input[type="text"] {
    padding: 8px;
    font-size: 16px;
    width: 200px;
}

button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50px;
}

.container {
    position: relative;
    text-align: center;
    width: 250px;
    padding: 10px;
    background-color: #1d1d1d;
    border-radius: 50px;
    margin-bottom: 10px;
}

.container h1 {
  color: #42f5b3;
}

.container input[type="text"],
.container input[type="password"],
.container input[type="email"] {
  width: 70%;
  padding: 10px;
  margin-bottom: 10px;
  border: none;
  background-color: #282828;
  color: #ffffff;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
}

.container input::placeholder {
  color: #888888;
}

/* =========================
    ZONE DE SAISIE
========================= */
.container {
  text-align: center;
  width: 75%;
  max-width: 400px;
  padding: 20px;
  background-color: #1d1d1d;
  border-radius: 30px;
  box-sizing: border-box;
}

.container h1 {
  color: #42f5b3;
  font-size: 1.8em;
}

.container input[type="text"],
.container input[type="password"],
.container input[type="email"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: none;
  background-color: #282828;
  color: #ffffff;
  border-radius: 4px;
  box-sizing: border-box;
  box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.3);
  font-size: 1em;
}

.container input::placeholder {
  color: #888888;
}

/* =========================
    BOUTONS
========================= */
.container button {
  color: #0d0d0d;
  font-weight: bold;
  padding: 10px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin: 10px auto;
  width: 100%;
  font-size: 1em;
}

.container button[type="submit"] {
    background-color: #42f5b3;
    font-size: 1em;
    width: 80%;
}

.container button[type="missedpassword"] {
  background-color: #ff0000;
}

.container button[type="NewUsr"] {
  background-color: #0077ff;
  color: black;
}