/* ── Gita Creative Share Module Styles ───────────────────────────────────────
   Single CSS source for the share modal and event-card share buttons. */

/* Event card share button (moved from v3-design.css) */
.gita-event-card__share {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.62);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.gita-event-card__share:hover {
  transform: scale(1.12);
  color: var(--gita-rose);
  border-color: rgba(220,38,38,0.35);
}

/* Share modal overlay & card */
.rdm-share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.rdm-share-modal.open {
  opacity: 1;
  visibility: visible;
}
.rdm-share-modal__card {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  overflow: hidden;
  background: #0f0f13;
  box-shadow: 0 24px 70px rgba(0,0,0,0.7);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.rdm-share-modal.open .rdm-share-modal__card {
  transform: translateY(0) scale(1);
}
.rdm-share-modal__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 500;
  object-fit: cover;
}
.rdm-share-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}
.rdm-share-modal__close:hover { background: rgba(0,0,0,0.75); }
.rdm-share-modal__actions {
  position: absolute;
  bottom: 0.6rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.rdm-share-modal__btn {
  width: auto;
  min-width: 0;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  border-radius: 8px;
  border: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
  transition: filter 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}
.rdm-share-modal__btn:hover { filter: brightness(1.08); }
.rdm-share-modal__btn--share {
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  box-shadow: 0 2px 8px rgba(225,29,72,0.35);
}
.rdm-share-modal__btn--save {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

@media (max-width: 480px) {
  .rdm-share-modal { padding: 0.75rem; }
  .rdm-share-modal__card { max-width: 100%; }
}
