/* Popup container at top-left of screen */
#popup-container {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Individual popup box */
.popup {
  display: flex;
  align-items: center;
  background: #fffbe6;
  border-left: 5px solid #f2a900; /* Bitcoin yellow */
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  min-width: 250px;
  max-width: 320px;
  animation: slideIn 0.4s ease-out;
}

/* Bitcoin icon */
.popup .icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  flex-shrink: 0;
}

/* Text content */
.popup .text-content {
  display: flex;
  flex-direction: column;
}

.popup .text-content .header {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 2px;
  color: #222;
}

.popup .text-content .message {
  font-size: 14px;
  color: #555;
}

/* Entry and exit animation */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.popup.exit {
  animation: slideOut 0.4s ease-in forwards;
}
