/* ====== Onglets multi-pages (client) ====== */
.idp-page-tabs {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.idp-tab-btn {
  font-size: 16px;
  font-weight: 600;
  padding: 8px 18px;
  border: 1px solid #ccc;
  border-radius: 20px;
  background: #f9f9f9;
  cursor: pointer;
  transition: all .2s ease;
}

.idp-tab-btn:hover {
  background: #eee;
}

.idp-tab-btn.active {
  background: #baf7cf;
  color: #08290d;
  border-color: #baf7cf;
  box-shadow: 0 0 6px rgba(34,197,94,.4);
}

/* ====== Wrapper Fabric autour du canvas ====== */
.canvas-container {
  border: 1px solid #ccc;
  background: #fff;
  margin: 0 auto;
  box-shadow: none;
}

.babou-canvas-container {
  position: relative;
}

/* ====== Panneau flottant calques ====== */
#idp-layer-float {
  position: absolute;
  z-index: 1000;
}
/* Animation "fade-in" */
.fade-in {
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
#idp-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  visibility: hidden;
}
/* Croix grise pour les créations */
.creation-delete-grey {
    background: transparent;
    border: none;
    color: #888;
    font-size: 26px;
    cursor: pointer;
    position: absolute;
    top: 8px;
    right: 8px;
    line-height: 1;
}

.creation-delete-grey:hover {
    color: #555;
}
.no-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    background: #f5f5f5;
}
