/**
 * Share modal styles
 */

#share-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

#share-modal.visible {
  display: flex;
}

#share-modal .share-card {
  background: linear-gradient(145deg, #0f0f0f 0%, #1a1a1a 50%, #0a0a0a 100%);
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8);
  position: relative;
}

#share-modal .share-card .close-modal {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #666;
  font-size: 24px;
  cursor: pointer;
}

#share-modal .share-card .close-modal:hover {
  color: #fff;
}

#share-modal .share-card .brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

#share-modal .share-card .brand .name {
  font-size: 11px;
  color: #4ade80;
  text-transform: uppercase;
  letter-spacing: 2px;
}

#share-modal .share-card .brand .link {
  font-size: 11px;
  color: #666;
  text-decoration: none;
}

#share-modal .share-card .brand .link:hover {
  color: #4ade80;
}

#share-modal .share-card .quote {
  font-size: 18px;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 16px;
}

#share-modal .share-card .attribution {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

#share-modal .share-card .attribution .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

#share-modal .share-card .attribution .names {
  font-size: 14px;
  color: #aaa;
}

#share-modal .share-card .actions {
  display: flex;
  gap: 8px;
}

#share-modal .share-card .actions a,
#share-modal .share-card .actions button {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

#share-modal .share-card .actions a:hover,
#share-modal .share-card .actions button:hover {
  opacity: 0.85;
}

#share-modal .share-card .actions .twitter-btn {
  background: #000;
  color: #fff;
  border: 1px solid #333;
}

#share-modal .share-card .actions .linkedin-btn {
  background: #0a66c2;
  color: #fff;
}

#share-modal .share-card .actions .whatsapp-btn {
  background: #25d366;
  color: #fff;
}

#share-modal .share-card .actions .insta-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

#share-modal .share-card .actions .download-btn {
  background: #333;
  color: #fff;
}

#share-modal .share-card .copied-toast {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #4ade80;
  color: #000;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
}

#share-modal .share-card .copied-toast.visible {
  opacity: 1;
}
