.share-page {
  max-width: 1140px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px 22px 34px;
}

.back-link {
  padding: 8px 14px;
  border: 2px solid var(--tile-border);
  border-radius: 999px;
  color: var(--navy);
  background: white;
  font-weight: 700;
  text-decoration: none;
}

.share-main {
  display: grid;
  gap: 20px;
}

.share-heading {
  padding: 28px;
  border: 2px solid var(--tile-border);
  border-radius: 18px;
  color: white;
  background:
    radial-gradient(circle at 88% 14%, rgba(246, 196, 83, 0.28), transparent 26%),
    linear-gradient(135deg, #0b543c, #16825d 55%, #0fa3b1);
  box-shadow: var(--tile-shadow);
}

.share-tag {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  font-weight: 700;
}

.share-heading h1 {
  margin: 12px 0 6px;
  font-family: "Sora", sans-serif;
  font-size: clamp(30px, 5vw, 48px);
}

.share-heading p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
}

.share-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.share-count-card,
.share-list-card {
  border: 2px solid var(--tile-border);
  border-radius: 16px;
  background: white;
  box-shadow: var(--tile-shadow);
}

.share-count-card {
  min-height: 160px;
  padding: 22px;
  display: grid;
  align-content: center;
  gap: 6px;
  background: linear-gradient(145deg, #ffffff, #edf9f3);
}

.share-count-card span {
  color: var(--muted);
  font-weight: 600;
}

.share-count-card strong {
  color: #116548;
  font-family: "Sora", sans-serif;
  font-size: 46px;
}

.share-count-card-total {
  background: linear-gradient(145deg, #ffffff, #eef2ff);
}

.share-count-card-total strong {
  color: var(--navy);
}

.share-count-card small {
  color: var(--muted);
}

.share-ambassador-card {
  border-color: rgba(17, 101, 72, 0.34);
  background: linear-gradient(145deg, #ffffff, #f2fbf6);
}

.share-ambassador-status {
  white-space: nowrap;
}

.share-ambassador-item {
  border-color: rgba(17, 101, 72, 0.22);
  background: #f4fbf7;
}

.share-item-badge-validated {
  color: #ffffff;
  background: #116548;
}

.share-list-card {
  padding: 22px;
}

.share-list-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.share-list-heading h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 22px;
}

.share-list-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.share-status {
  padding: 7px 10px;
  border-radius: 999px;
  color: #116548;
  background: #e8f6ef;
  font-size: 12px;
  font-weight: 700;
}

.share-status[data-tone="error"] {
  color: #a11212;
  background: #fdecec;
}

.share-list {
  display: grid;
  gap: 12px;
}

.share-item {
  padding: 16px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(17, 19, 33, 0.16);
  border-radius: 13px;
  background: #f8f9fc;
}

.share-item-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.share-item-heading strong {
  font-family: "Sora", sans-serif;
  font-size: 17px;
}

.share-item-badge {
  padding: 5px 9px;
  border-radius: 999px;
  color: #116548;
  background: #dff3e9;
  font-size: 11px;
  font-weight: 700;
}

.share-item-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.share-item-details-single {
  grid-template-columns: 1fr;
}

.share-detail {
  display: grid;
  gap: 3px;
}

.share-detail span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.share-detail strong {
  overflow-wrap: anywhere;
  font-size: 14px;
}

.share-empty {
  padding: 30px 18px;
  border: 2px dashed #c8ccda;
  border-radius: 12px;
  color: var(--muted);
  background: #f7f7fb;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 680px) {
  .share-list-heading,
  .share-item-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .share-item-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .share-page {
    padding: 18px 14px 26px;
  }

  .share-heading,
  .share-list-card {
    padding: 20px 18px;
  }

  .share-count-card {
    min-height: 140px;
    padding: 18px;
  }

  .share-count-card strong {
    font-size: 38px;
  }
}
