.acces-refuse {
  max-width: 480px;
  margin: 100px auto;
  text-align: center;
  font-size: 1.1rem;
}

.page-gestion-lots {
  max-width: 720px;
  margin: 40px auto;
  padding: 0 20px 60px 20px;
}

.page-gestion-lots h1 {
  font-size: 1.3rem;
}

.lien-retour {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
}

.lien-retour:hover {
  text-decoration: underline;
}

#select-lot {
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
  margin-left: 8px;
  min-width: 220px;
}

.section-batiments {
  margin-top: 28px;
}

.section-batiments h2 {
  font-size: 1.05rem;
  border-bottom: 2px solid #1d3557;
  padding-bottom: 6px;
}

.bloc-batiment {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  background: #fafafa;
}

.ligne-editable {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 6px;
}

.ligne-editable input {
  flex: 1;
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.ligne-editable button {
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
  cursor: pointer;
  font-size: 0.82rem;
  white-space: nowrap;
}

.ligne-editable button:hover {
  background: #eef4ff;
}

.bouton-danger {
  border-color: #c0392b !important;
  color: #c0392b !important;
}

.bouton-danger:hover {
  background: #fdecea !important;
}

.sous-bloc-appartements {
  margin-top: 12px;
  margin-left: 16px;
  padding-left: 12px;
  border-left: 2px solid #dbe1e8;
}

.sous-bloc-appartements h3 {
  font-size: 0.9rem;
  margin: 0 0 8px 0;
}

.ajout-inline {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.ajout-inline input {
  flex: 1;
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.9rem;
}

.ajout-inline button {
  padding: 7px 14px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
}

.ajout-inline button:hover {
  background: #1d4ed8;
}
