/* Style général */
body {
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  background-color: #f6f8fa;
  margin: 0;
  padding: 0;
  color: #333;
}

.form-container {
  max-width: 800px;
  margin: 40px auto;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1, h2, legend {
  color: #1a73e8;
  font-weight: 500;
  margin-bottom: 15px;
}

fieldset {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #444;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="number"],
input[type="password"],
select,
textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  margin-bottom: 15px;
  background-color: #fafafa;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
  outline: none;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

input[type="checkbox"] {
  margin-right: 6px;
  vertical-align: middle;
}

input[type="submit"],
button {
  background-color: #1a73e8;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

input[type="submit"]:hover,
button:hover {
  background-color: #0d5ecd;
}

a.button-link {
  display: inline-block;
  background-color: #e0e0e0;
  color: #333;
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 8px;
  margin-top: 10px;
  transition: background-color 0.2s;
}

a.button-link:hover {
  background-color: #c7c7c7;
}

/* Responsive */
@media (max-width: 600px) {
  .form-container {
    padding: 20px;
  }
}
