.download-popup {
  position: absolute;
  background: rgba(30, 30, 30, 0.95);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  padding: 16px 20px;
  color: white;
  z-index: 9999;
  animation: fadeIn 0.2s ease;
  white-space: nowrap;
}

.download-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.download-popup-buttons {
  display: flex;
  gap: 10px;
}

.download-popup button {
  background: var(--accent, #28a745);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.download-popup button:hover {
  background: var(--accent-hover, #2cc553);
}

.download-popup button:last-child {
  background: #444;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


.download-image-container {
    display: flex;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    gap: 7px;
    justify-content: center;
    align-items: center;
    padding: 7px;
}

.download-image-container img {
    object-fit: contain;
    width: auto;
    height: 24px;
    opacity: .85;
    transform: translateY(0);
    transition: transform 0.1s ease, opacity 0.1s ease;
    pointer-events: auto;
}
.download-image-container img.push {
    opacity: 1;
    pointer-events: none;
    transform: translateY(-12px);
}