* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #f4f4f4;
  font-family: Arial, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  font-size: 26px;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
}

form {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 2px 2px 10px #ddd;
  padding: 40px 40px 36px;
  width: 100%;
  max-width: 380px;
}

form fieldset {
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

label {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
}

input[type="password"]:focus {
  border-color: #cc0000;
  box-shadow: 0 0 0 2px rgba(204, 0, 0, 0.1);
}

.boutonSubmit {
  width: 100%;
  padding: 12px;
  background: #cc0000;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.boutonSubmit:hover {
  background: #aa0000;
}

.boutonSubmit:active {
  background: #880000;
}

.erreur {
  background: #fff0f0;
  border: 1px solid #f5c0c0;
  color: #cc0000;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 4px;
  text-align: center;
}

footer {
  margin-top: 30px;
  font-size: 11px;
  color: #888;
  text-align: center;
}