h1 {
  color: white;
  margin-top: 100px;
  margin-bottom: 10px;
  padding: 20px; /* espace avec les bords */
}

.page-layout {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  padding: 20px; /* espace avec les bords */
}

.container {
  flex: 1 1 420px;
  text-align: left;
  background: white;
  padding: 24px 30px;
  border-radius: 14px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  margin-bottom: 20px;
  min-width: 280px;

  margin-left: auto;
  margin-right: auto;
}

.container div {
  font-size: 1.1em;
  margin: 10px 0;
}

.container h2 {
  margin-top: 0;
}

.container input,
.container button {
  max-width: 100%;
  font-family: inherit;
}

.container input[type="number"],
.container input[type="email"] {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-top: 4px;
}

.container button {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  background-color: #4b6ef5;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.container button:hover {
  background-color: #3656d6;
}

/* Popup non bloquante */
#popupAlert {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  border-left: 5px solid orange;
  z-index: 9999;
  font-size: 1em;
  max-width: 300px;
}

#popupAlertZone {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99999;
}

.popupAlert {
  background: white;
  padding: 12px 18px;
  border-left: 5px solid orange;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  font-size: 1em;
  min-width: 260px;
  max-width: 320px;
}

/* Responsive tablette */
@media (max-width: 900px) {
  .page-layout {
    gap: 24px;
  }

  .container {
    flex: 1 1 100%;
  }
}

/* Responsive téléphone */
@media (max-width: 600px) {
  h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .container {
    padding: 18px;
    min-width: 0;
  }

  .container div {
    font-size: 1em;
  }

  .container input[type="number"],
  .container input[type="email"] {
    width: 100%;
    margin-left: 0 !important;
  }

  .container button {
    width: 100%;
  }

  .popupAlert {
    min-width: auto;
    width: calc(100vw - 40px);
  }
}