.nfd-msg {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.95rem;
}
.nfd-msg--status {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #b7e0c2;
}
.nfd-msg--warning {
  background: #fff8e1;
  color: #8a6d1a;
  border: 1px solid #ffe08a;
}
.nfd-msg--error {
  background: #fdecea;
  color: #b3261e;
  border: 1px solid #f5c2c0;
}


.nfd-form {
  max-width: 793px;
  margin: 40px auto;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 36px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.nfd-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #215685;
}

.nfd-intro {
  color: #555;
  margin-bottom: 24px;
}

.nfd-form .form-item-mail {
  margin-bottom: 24px;
}

.nfd-form .form-item-mail input {
  width: 100%;
  padding: 10px 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.nfd-rubrique {
  border: 1px solid #e0e0e0 !important;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 12px;
  background: #fafafa;
  transition: border-color 0.2s ease;
}

.nfd-rubrique:hover {
  border-color: #999 !important;
}

.nfd-rubrique legend {
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: #222 !important;
  padding: 0 6px;
}

.nfd-rubrique .form-item {
  margin: 8px 0;
}

.nfd-rubrique select {
  padding: 6px 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.nfd-form .form-actions {
  margin-top: 24px;
  text-align: center;
}

.nfd-form .form-actions input[type="submit"] {
  padding: 10px 28px;
  font-size: 1rem;
  border-radius: 6px;
  border: none;
  background: #2563eb;
  color: #fff;
  cursor: pointer;
}

.nfd-form .form-actions input[type="submit"]:hover {
  background: #1d4ed8;
}