/* ===== Royal Copy Button ===== */
.copyInput {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.35s ease;
}

.copyInput:hover {
  background: linear-gradient(135deg, #d4af37, #ffeb9c);
  color: #1a1a1a;
  transform: scale(1.08);
}

/* ===== Royal Copied Badge ===== */
.copied::after {
  content: "Copied ✨";
  position: absolute;
  top: -12px;
  right: 110%;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  background: linear-gradient(135deg, #d4af37, #fff3b0);
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45);
  animation: royalCopied 1.6s ease forwards;
}

/* ===== Animation ===== */
@keyframes royalCopied {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(0.9);
  }
  40% {
    opacity: 1;
    transform: translateX(0) scale(1.05);
  }
  70% {
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* ===== Royal Tooltip ===== */
.hover-input-popup .input-popup {
  background: linear-gradient(145deg, #1b1b1b, #0f0f0f);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  animation: fadeLift 0.4s ease;
}

/* Arrow */
.input-popup::after {
  border-color: transparent transparent #1b1b1b transparent;
}

/* Text */
.input-popup p {
  color: #f5f5f5;
  font-size: 14px;
}

/* Success & Error */
.input-popup p.success::before {
  content: "✔";
  color: #d4af37;
}

.input-popup p.error::before {
  content: "✖";
  color: #ff6b6b;
}

@keyframes fadeLift {
  from {
    opacity: 0;
    transform: translate(-50%, 10px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.cookies-card {
  background: linear-gradient(135deg, #ffffff, #fff8e1);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
}

.cookies-card__icon {
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #1a1a1a;
}

.cookies-btn {
  background: linear-gradient(135deg, #d4af37, #ffeb9c);
  color: #1a1a1a;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cookies-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
}