/* 分享页 - 简化版 */
.share-container {
  padding: 15px;
  background: #f5f7fa;
  min-height: calc(100vh - 60px);
}

.share-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #333;
  font-size: 18px;
}

/* 图片墙 - 横向滑动卡片 */
.photo-wall-container {
  margin-bottom: 20px;
  padding: 10px 5px;
}

.photo-slider-card {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 10px 15px;
}

.photo-slider-card::-webkit-scrollbar {
  display: none;
}

.photo-card {
  flex: 0 0 200px;
  scroll-snap-align: center;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  background: #fff;
  border: 3px solid #e5e7eb;
  transition: all 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #f9fafb;
}

.photo-card.selected-card {
  border-color: #10b981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  border-radius: 8px;
}

.photo-card .checkmark {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  background: #10b981;
  color: white;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
  pointer-events: none;
}

.photo-card.selected-card .checkmark {
  opacity: 1;
}

/* 分享文案区域 */
.share-text-section {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.share-text-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.share-text-title {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

.refresh-btn {
  background: linear-gradient(135deg, #4d94ff, #63a4ff);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s;
}

.refresh-btn:active {
  transform: scale(0.95);
}

.share-text-content {
  background: #f5f7fa;
  border-radius: 12px;
  padding: 14px;
  max-height: 120px;
  overflow-y: auto;
}

.share-text-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.share-text-content::-webkit-scrollbar {
  width: 4px;
}

.share-text-content::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}

/* 提示标签 */
.select-hint {
  text-align: center;
  font-size: 13px;
  color: #666;
  margin: 10px 0 15px;
  padding: 8px 15px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.select-hint .count {
  color: #10b981;
  font-weight: 600;
}

/* 去分享按钮 */
.share-main-btn {
  width: 100%;
  background: linear-gradient(135deg, #4d94ff, #63a4ff);
  color: white;
  border: none;
  border-radius: 24px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(77, 148, 255, 0.4);
  transition: all 0.3s;
}

.share-main-btn:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(77, 148, 255, 0.3);
}