/* Gangtok Holidays - Trip page Share widget
   Scoped under .gh-share-wrap so it can't leak into / be broken by theme styles.
   No @import, no external fonts, no icon-font requests -> zero extra network calls. */

.gh-share-wrap {
  position: relative;
  display: inline-block;
}

.gh-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: 1px solid #2563eb;
  border-radius: 999px;
  background: #fff;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.gh-share-btn:hover,
.gh-share-btn:focus-visible {
  background: #eff6ff;
}

.gh-share-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
}

.gh-share-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 260px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 14px;
  z-index: 999;
  display: none;
}

.gh-share-panel.is-open {
  display: block;
}

.gh-share-title {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px;
}

.gh-share-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 0 12px;
}

.gh-share-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
}

.gh-share-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.gh-share-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.gh-share-item span {
  font-size: 10px;
  color: #374151;
}

.gh-share-facebook { background: #1877f2; }
.gh-share-twitter  { background: #1da1f2; }
.gh-share-whatsapp { background: #25d366; }
.gh-share-reddit   { background: #ff4500; }
.gh-share-telegram { background: #229ed9; }
.gh-share-linkedin { background: #0a66c2; }
.gh-share-email    { background: #ea4335; }
.gh-share-copy     { background: #6b7280; }

.gh-share-close {
  width: 100%;
  text-align: center;
  padding: 8px 0 0;
  border-top: 1px solid #f0f0f0;
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  color: #374151;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
}

.gh-share-toast {
  position: absolute;
  bottom: 100%;
  left: 0;
  margin-bottom: 8px;
  background: #111827;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.gh-share-toast.is-visible {
  opacity: 1;
}

@media (max-width: 480px) {
  .gh-share-panel {
    left: -10px;
    width: 240px;
  }
}
