/* Popup overall container */
.vendor-modal {
  display: flex;
  align-items: stretch;
  background: none !important; 
  border-radius: 0;
  overflow: hidden;
  max-width: 780px;
  margin: auto;
  height: auto;
  box-shadow: none;
}


/* Left image section */
.vendor-modal .vendor-img-container {
  flex: 0 0 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 20px;
}

.vendor-modal .vendor-img-container img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 8px;
}

/* vendor info section */
.vendor-modal .vendor-info-container {
  flex: 0 0 80%;                                
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 30px 40px;

  background-color: rgba(0, 0, 0, 0.03);
  height: 100%;         
  align-self: stretch; /* makes sure it matches left side’s height */
  box-sizing: border-box;              
}

/* Vendor name */
.vendor-modal .vendor-info-container h2 {
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 10px;
  position: relative;
}

.vendor-modal .vendor-info-container h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #d4af37;
  margin-top: 6px;
  margin-bottom: 10px;
}

/* Contact info */
.vendor-modal .vendor-info-container .cellNum {
  color: #009b77;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

/* Website and email links */
.vendor-modal .vendor-info-container .vendor-link {
  color: #000;
  font-size: 15px;
  margin-bottom: 5px;
  text-decoration: none;
  transition: color 0.2s;
}
.vendor-modal .vendor-info-container .vendor-link:hover {
  color: #009b77;
}

/* Copy link button */
#copyVendorLink {
  background-color: #009b77;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  margin-top: 14px;
  align-self: flex-start;
  transition: 0.3s ease;
}

#copyVendorLink:hover {
  opacity: 0.9;
  transform: scale(1.05);
}

.modal-content {
  background: #fff; /* only popup content white */
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

/* Force equal column height inside popup */
.modal-body {
  display: flex !important;
  align-items: stretch !important;
  padding: 0 !important;
}

.vendor-modal {
  display: flex;
  width: 100%;
}

.vendor-modal .vendor-img-container,
.vendor-modal .vendor-info-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vendor-modal .vendor-info-container {
  background-color: rgba(0, 0, 0, 0.03);
  padding: 25px 35px;
}


.whatsapp-share {
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  margin-left: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.whatsapp-share:hover {
  background-color: #1EBE57;
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  margin-right: 6px;
}

