/* ===================== Base Popup Styles ===================== */

.purchase-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: #221b17;
  color: #fff;
  padding: 12px 18px; /* Reduced padding */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  max-width: 400px; /* Reduced max-width */
  display: flex;
  align-items: center;
  gap: 12px; /* Reduced gap */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.purchase-notification.show {
  opacity: 1;
  transform: translateY(0);
}

/* Image container */
.purchase-notification .image_container {
  flex-shrink: 0;
  width: 50px; /* Reduced width */
  height: 50px; /* Reduced height */
}

.purchase-notification .image_container img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Text container */
.purchase-notification .text-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 14px; /* Reduced text size */
}

.purchase-notification .text-container > p {
  margin: 2px 0;
}

/* ===================== Mobile Overrides ===================== */
@media (max-width: 768px) {
  .purchase-notification {
    bottom: 20px;
    left: 20px;
    max-width: 60%; /* Adjusted width for mobile */
    padding: 8px 12px; /* Reduced mobile padding */
    font-size: 0.85rem; /* Slightly smaller font-size for mobile */
  }
}

/* ===================== Link Style (Underline Only) ===================== */
.purchase-notification .notification-message a.cypherock-link,
.purchase-notification .notification-message a.cypherock-cover-link {
  background-color: transparent !important;
  color: inherit !important; /* Inherit the parent's text color */
  text-decoration: underline !important;
  text-decoration-thickness: 1px !important;
  text-decoration-color: currentColor !important;
  text-underline-offset: 2px !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-weight: normal !important;
}
