/* 🎨 Base */
body {
  font-family: Arial, sans-serif;
  text-align: center;
  padding: 2rem;
  background-color: #f5f5f5;
}

/* 🏷️ Titres */
h1 {
  color: #2196f3;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

h2 {
  color: #2196f3;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

/* 📋 Formulaire */
.form, .menu {
  margin-top: 2rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 1rem;
}

.form-row input,
.form-row select,
.field-wrapper input {
  flex: 1 1 240px;
  max-width: 260px;
  height: 45px;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}

input::placeholder {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 📱 Responsive mobile */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    align-items: center;
  }

  .form-row input,
  .form-row select,
  .field-wrapper input {
    flex: unset;
    width: 100%;
    max-width: 260px;
  }
}

/* ✅ Bouton validation */
.form-submit {
  margin-top: 20px;
}

.form-submit button {
  font-size: 1.5rem;
  padding: 1rem 2rem;
}

/* 🔘 Boutons */
button {
  background-color: #2196f3;
  color: white;
  border: none;
  padding: 1rem 2rem;
  margin: 1rem;
  font-size: 1.5rem;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  background-color: #1976d2;
}

.edit-button,
.delete-button,
.pdf-button,
.send-button {
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.edit-button {
  background-color: #2196f3;
  color: white;
}

.edit-button:hover {
  background-color: #1976d2;
}

.delete-button {
  background-color: #f44336;
  color: white;
}

.delete-button:hover {
  background-color: #d32f2f;
}

.pdf-button {
  background-color: #2196f3;
  color: white;
  margin-left: 10px;
}

.pdf-button:hover {
  background-color: #1976d2;
}

.send-button {
  background-color: #4caf50;
  color: white;
  margin-left: 10px;
}

.send-button:hover {
  background-color: #388e3c;
}

/* 🧾 Liste */
ul {
  list-style-type: none;
  padding: 0;
}

ul li {
  background: white;
  margin: 0.5rem auto;
  padding: 1rem;
  width: 80%;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  font-size: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.button-row {
  margin-top: 1rem;
  display: flex;
  gap: 10px;
}

/* 🍔 Menu Burger */
.hamburger-menu button {
  font-size: 2rem;
  background: none;
  border: none;
  color: #333;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 500;
}

.menu-content {
  display: none;
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: white;
  border: 1px solid #ccc;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

.menu-content a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #eee;
}

.menu-content a:hover {
  background-color: #f0f0f0;
}

/* 🏠 Bouton retour Accueil */
.retour-accueil {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 600;
}

.retour-accueil button {
  background-color: #2196f3;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.retour-accueil button:hover {
  background-color: #1976d2;
}

/* 🔔 Notification */
.notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notification.show {
  opacity: 1;
}

.hidden {
  display: none;
}

/* 👤 Utilisateur */
.user-info {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
