.share-listing-card {
  width: min(100%, 520px);
  margin: 0 auto;
  overflow: hidden;
  color: #1a2a4a;
  background: #fff;
  border: 1px solid #e4eaf2;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(26, 42, 74, 0.2);
}

.share-listing-hero {
  position: relative;
  height: 210px;
  background-color: #dfe7ef;
  background-position: center;
  background-size: cover;
}

.share-listing-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.42));
}

.share-listing-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 0.35rem 0.8rem;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: #008000;
  border-radius: 999px;
}

.share-listing-price {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 0.55rem 0.75rem;
  text-align: right;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.share-listing-price .label {
  color: #6b7a90;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.share-listing-price .value {
  color: #008000;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
}

.share-route-map {
  position: relative;
  min-height: 128px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 28%, rgba(56, 161, 105, 0.18), transparent 24%),
    radial-gradient(circle at 78% 72%, rgba(229, 62, 62, 0.16), transparent 24%),
    linear-gradient(135deg, #eef4fb 0%, #f9fbfd 100%);
  border: 1px solid #e1e8f1;
  border-radius: 14px;
}

.share-size-panel::before {
  display: none;
}

.share-size-date {
  margin-top: 0.35rem;
  color: #6b7a90;
  font-size: 0.82rem;
  font-weight: 600;
}

.share-listing-modal .modal-content {
  overflow: hidden;
  background: #f6f8fc;
  border: 0;
  border-radius: 18px;
}

.share-listing-modal .modal-dialog {
  top: 0 !important;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.share-listing-modal .modal-dialog-centered {
  display: block;
  min-height: 0;
}

.share-listing-modal.fade .modal-dialog,
.share-listing-modal.show .modal-dialog {
  transform: none !important;
  transition: none;
}

.share-listing-modal .modal-footer {
  background: #fff;
}

.share-listing-copy-status {
  min-height: 1.25rem;
}

.share-listing-action {
  position: relative;
  z-index: 2;
}

@media (max-width: 575.98px) {
  .share-listing-modal .modal-body {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .share-listing-card .p-4 {
    padding: 1.15rem !important;
  }
}
