/* Copy to clipboard button styling */
.copy-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  /* border: 1px solid rgba(7, 6, 4, 0.4); */
  border-radius: 4px;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
  pointer-events: auto !important;
  z-index: 5;
  border: none;
}



.copy-btn:hover {
  background-color: rgba(255, 215, 0, 0.4);
  transform: scale(1.05);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
  border-color: rgba(255, 215, 0, 0.6);
}

.copy-btn:active {
  transform: scale(0.95);
  background-color: rgba(255, 215, 0, 0.5);
}

.copy-btn i {
  font-size: 20px;
}

.payment-info p {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  position: relative;
  font-size: 16px;
  padding: 4px 0;
  justify-content: space-between;
}

.copy-tooltip {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 5px;
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.copy-btn:hover .copy-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-3px);
}

/* Animation for copy success */
@keyframes copySuccess {
  0% { 
    background-color: rgba(0, 200, 83, 0.6);
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.8);
    border-color: rgba(0, 200, 83, 0.8);
  }
  50% {
    background-color: rgba(0, 200, 83, 0.4);
    box-shadow: 0 0 15px rgba(0, 200, 83, 0.6);
  }
  100% { 
    background-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.4);
  }
}

.copy-success {
  animation: copySuccess 1s ease;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .copy-btn {
    width: 22px;
    height: 22px;
  }
  
  .copy-btn i {
    font-size: 10px;
  }
}
