/* Etiquette offre prix */
.item_label
 {
    top: 0px;
    right: 30px;
    max-width: 30px;
    position: absolute;
    display: inline-block;
}

 .item_label {
    right: 20px;
    max-width: 25px;
  }


/* TinyMCE */
#dropzone{
border:2px dashed #ccc;
padding:30px;
text-align:center;
border-radius:10px;
cursor:pointer;
margin-top:20px;
}

#dropzone.dragover{
border-color:#4CAF50;
background:#f5f5f5;
}

.fileItem{
margin-top:10px;
}

progress{
width:200px;
margin-left:10px;
}


/* Tooltips */
.tooltip-container {
  position: relative;
  display: inline-block;
}

.help-button {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.help-button:hover,
.help-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.tooltip {
  position: absolute;
  bottom: calc(100% + 15px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 12px 20px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  color: #1f2937;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(229, 231, 235, 1);
}

/* Tooltip arrow */
.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.tooltip-container:hover .tooltip,
.help-button:focus + .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@keyframes glow {
  0% {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.7);
  }
  100% {
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
  }
}

.tooltip strong {
  animation: glow 2s infinite;
  font-weight: 600;
}

.tooltip i {
  margin-right: 6px;
  color: #6366f1;
}

@media (max-width: 768px) {
  .tooltip {
    font-size: 13px;
    padding: 10px 16px;
  }

  .help-button {
    padding: 10px 20px;
    font-size: 14px;
  }
}


/* MODEL AJAX - AJOUT CONTACT */ 
.modal{
    display:none;
    position:fixed;
    z-index:999;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
}

.modal-content{
    background:white;
    margin:10% auto;
    padding:20px;
    width:400px;
    border-radius:10px;
    position:relative;
}

.close{
    position:absolute;
    right:15px;
    top:10px;
    font-size:20px;
    cursor:pointer;
}

.modal-content{
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn{
    from{ transform:scale(0.9); opacity:0; }
    to{ transform:scale(1); opacity:1; }
}

