/* Import Lexend font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&display=swap");

.purchase-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 15px;
  max-width: 340px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease-in-out;
  font-family: "Lexend", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    "Helvetica Neue", sans-serif;
}

.purchase-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.purchase-notification-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 3px;
}

.purchase-notification-product-image {
  width: 60px;
  height: 60px;
  margin-right: 12px;
  border-radius: 5px;
  overflow: hidden;
  flex-shrink: 0;
}

.purchase-notification-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.purchase-notification-product-image a:hover img {
  transform: scale(1.05);
}

.purchase-notification-info {
  flex: 1;
}

.purchase-notification-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.purchase-notification-icon svg {
  width: 20px;
  height: 20px;
  fill: #4caf50;
}

.purchase-notification-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
  margin-bottom: 4px;
}

.purchase-notification-content {
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.purchase-notification-time {
  font-size: 12px;
  color: #999;
  margin-top: 6px;
}

.purchase-notification-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
}

.purchase-notification-close:hover {
  opacity: 1;
}

.purchase-notification-close:before,
.purchase-notification-close:after {
  position: absolute;
  left: 8px;
  content: " ";
  height: 16px;
  width: 2px;
  background-color: #333;
}

.purchase-notification-close:before {
  transform: rotate(45deg);
}

.purchase-notification-close:after {
  transform: rotate(-45deg);
}

/* Product link styles */
.product-link {
  color: #1d61e6;
  text-decoration: none;
  transition: color 0.2s;
}

.product-link:hover {
  color: #0e89f7;
  text-decoration: underline;
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

@media (max-width: 480px) {
  .purchase-notification {
    left: 10px;
    right: 10px;
    bottom: 60px;
    max-width: calc(100% - 20px);
  }
}

/* Add styles for the admin product rows */
.product-row {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.product-row input[type="text"] {
  margin-right: 5px;
}

.product-image-url,
.product-url {
  width: 250px;
}

