/**
 * LotBoy Jewelry — Share Panel Styles
 *
 * Matches the dark/silver aesthetic of lotboyjewelry.com.
 * Add this CSS to your main stylesheet or include as a separate file.
 */

/* ============================================================
   SHARE PANEL CONTAINER
   ============================================================ */

.lotboy-share-panel {
  margin-top: 18px;
  padding: 16px 0 8px;
  border-top: 1px solid rgba(192, 192, 192, 0.15);
}

.share-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.share-label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(192, 192, 192, 0.7);
}

/* ============================================================
   SHARE BUTTONS GRID
   ============================================================ */

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(192, 192, 192, 0.15);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.share-btn:hover {
  background: rgba(192, 192, 192, 0.12);
  border-color: rgba(192, 192, 192, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.share-btn:active {
  transform: translateY(0);
}

.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.share-icon svg {
  width: 16px;
  height: 16px;
}

.share-name {
  font-weight: 500;
}

/* ============================================================
   COPY LINK — special highlight
   ============================================================ */

.share-btn[data-name="Copy Link"] {
  background: rgba(192, 192, 192, 0.1);
  border-color: rgba(192, 192, 192, 0.3);
}

.share-btn[data-name="Copy Link"]:hover {
  background: rgba(192, 192, 192, 0.2);
  border-color: rgba(192, 192, 192, 0.5);
}

/* ============================================================
   TOAST NOTIFICATION
   ============================================================ */

.share-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #c0c0c0;
  color: #1a1a2e;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 10000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.share-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================================
   MOBILE — responsive share buttons
   ============================================================ */

@media (max-width: 480px) {
  .share-buttons {
    gap: 6px;
  }

  .share-btn {
    padding: 7px 10px;
    font-size: 11px;
  }
}

/* ============================================================
   COMPACT MODE — add class "compact" to .lotboy-share-panel
   if space is tight in your modal
   ============================================================ */

.lotboy-share-panel.compact .share-btn {
  padding: 6px 10px;
  font-size: 11px;
}

.lotboy-share-panel.compact .share-name {
  display: none;
}

.lotboy-share-panel.compact .share-icon svg {
  width: 20px;
  height: 20px;
}
