
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
  color: #0e5e9c;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
  max-width: 960px;
  margin: auto;
  overflow: hidden;
}

.form-left, .form-right {
  flex: 1;
  padding: 30px;
}

label {
  font-weight: 600;
  margin-top: 15px;
  display: block;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

input[type="file"] {
  display: none;
}

.drop-zone {
  border: 2px dashed #0e5e9c;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: #666;
  background: #fefefe;
  cursor: pointer;
  margin-top: 10px;
}

.preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.preview .img-wrapper {
  position: relative;
}

.preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.remove-img {
  position: absolute;
  top: -8px;
  right: -8px;
  background: red;
  color: white;
  border-radius: 50%;
  border: none;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
}

.g-recaptcha {
  margin-top: 20px;
}

button {
  background: #0e5e9c;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
  font-size: 16px;
}

.add-btn {
  margin-top: 10px;
  background: #2ecc71;
}

@media screen and (max-width: 768px) {
  .form-container {
    flex-direction: column;
  }
}

.main-header {
  background: #0e5e9c;
  color: white;
  padding: 10px 0;
}


.mini-footer {
  background: #f0f0f0;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  color: #555;
}


.dropdown-menu {
  display: none;
}

.dropdown-menu.active {
  display: block;
}
select,
input,
textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px; /* 🔁 C'est ça qui assure l'espacement */
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background-color: white;
  color: #333;
  box-sizing: border-box;
}

/* Focus style cohérent */
select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: #0e5e9c;
  box-shadow: 0 0 3px rgba(14, 94, 156, 0.4);
}
