.easy-live-elements-wrapper {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  z-index: 99;
  background: linear-gradient(135deg, #7455FF, #9E7BFF);
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
}


[data-element_type="container"]:hover > .easy-live-elements-wrapper,
[data-element_type="section"]:hover > .easy-live-elements-wrapper,
.elementor-section.elementor-top-section:hover > .easy-live-elements-wrapper {
  opacity: 1;
  visibility: visible;
  right: 20px;
}

.easy-live-copy-button,
.easy-elements-json-download {
  background: none !important;
  border: none!important;
  padding: 6px;
  color: #fff;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
}

.easy-live-copy-button:hover,
.easy-elements-json-download:hover {
  color: #fff;
  transform: scale(1.2);
}

.easy-live-separator {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
}

.easy-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 15px);
  transform: translateY(-50%);
  background: #222;
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 8px;
  width: 190px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 10000;
  white-space: normal;
  pointer-events: none;
}

.easy-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px; 
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 6px solid #222; 
}

.easy-live-copy-button:hover .easy-tooltip-live-copy,
.easy-elements-json-download:hover .easy-tooltip-download {
  opacity: 1;
  visibility: visible;
}

.easy-tooltip a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.easy-tooltip a:hover {
  opacity: 0.8;
}

.easy-live-copy-button.is-copying svg.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
