body {
  font-family: sans-serif;
  background: #f5f7fa;
  margin: 0;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 500px;
  width: 100%;
}

label {
  display: block;
  margin-top: 15px;
  margin-bottom: 5px;
  font-weight: bold;
}

input, select, textarea, button {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-bottom: 10px;
}

button {
  background-color: #007BFF;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #0056b3;
}

textarea {
  resize: none;
}

.back-button {
  text-decoration: none;
  color: white;
  background-color: #007BFF;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 20px;
  width: auto;
  max-width: none;
  box-sizing: content-box;
  white-space: nowrap;
}

button:hover {
  background-color: #0056b3;
}

/* Flottant sur desktop */
@media (min-width: 481px) {
  .back-button {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
  }
}

/* Fixe en haut du container sur mobile */
@media (max-width: 480px) {
  .back-button {
    position: static;
    display: inline-block;
    margin: 0 0 10px 0;
  }
}

h1 {
  text-align: center;
}


.copier-container {
  margin-top: 10px;
  text-align: right;
}

#btn-copier {
  background-color: #007BFF; /* bleu comme les autres boutons */
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: background-color 0.3s;
}

#btn-copier:hover {
  background-color: #0056b3;
}


