/**
 * 分享详情模态框样式 - 优化版
 */

/* 遮罩层 */
.share-detail-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.share-detail-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

/* 模态框主体 */
.share-detail-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  width: 90%;
  max-width: 640px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.share-detail-modal.open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* 模态框头部 */
.share-detail-modal-header {
  position: relative;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  background: linear-gradient(to bottom, #ffffff, #fafafa);
  flex-shrink: 0;
}

.share-detail-modal-close {
  position: absolute;
  top: 14px;
  right: 20px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(243, 244, 246, 0.8);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.share-detail-modal-close:hover {
  background: rgba(229, 231, 235, 1);
  color: #111827;
  transform: rotate(90deg) scale(1.1);
}

.share-detail-modal-close:active {
  transform: rotate(90deg) scale(0.95);
}

/* 模态框内容 */
.share-detail-modal-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #ffffff;
}

/* 模态框内消息提示 */
.share-detail-modal .modal-message-container {
  padding: 0 20px;
  margin: 12px 0;
}

.share-detail-modal .modal-message {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-detail-modal .modal-message.show {
  opacity: 1;
  transform: translateY(0);
}

.share-detail-modal .modal-message-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.share-detail-modal .modal-message-text {
  flex: 1;
}

.share-detail-modal .modal-message-success {
  background: #D1FAE5;
  border: 1px solid #10B981;
  color: #065F46;
}

.share-detail-modal .modal-message-success .modal-message-icon {
  color: #10B981;
}

.share-detail-modal .modal-message-error {
  background: #FEE2E2;
  border: 1px solid #EF4444;
  color: #991B1B;
}

.share-detail-modal .modal-message-error .modal-message-icon {
  color: #EF4444;
}

.share-detail-modal .modal-message-warning {
  background: #FEF3C7;
  border: 1px solid #F59E0B;
  color: #92400E;
}

.share-detail-modal .modal-message-warning .modal-message-icon {
  color: #F59E0B;
}

.share-detail-modal .modal-message-info {
  background: #DBEAFE;
  border: 1px solid #3B82F6;
  color: #1E40AF;
}

.share-detail-modal .modal-message-info .modal-message-icon {
  color: #3B82F6;
}

/* 加载状态 */
.modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  color: #6B7280;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(59, 130, 246, 0.1);
  border-top-color: #3B82F6;
  border-right-color: #2563EB;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.modal-loading p {
  font-size: 15px;
  margin: 0;
  font-weight: 500;
  color: #6B7280;
}

/* 详情头部 */
.share-detail-header {
  text-align: center;
  margin-bottom: 16px;
}

/* 分享邀请横幅 */
.share-invite-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FEF3C7 100%);
  border: 2px solid #F59E0B;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  animation: slideDown 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.share-invite-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-25%, -25%) rotate(180deg);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.invite-banner-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  border-radius: 12px;
  color: #ffffff;
  animation: pulse 2.5s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  position: relative;
  z-index: 1;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  }
}

.invite-banner-content {
  flex: 1;
  text-align: left;
  position: relative;
  z-index: 1;
}

.invite-banner-title {
  margin: 0 0 4px 0;
  font-size: 18px;
  font-weight: 700;
  color: #92400E;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.invite-banner-subtitle {
  margin: 0;
  font-size: 14px;
  color: #78350F;
  line-height: 1.4;
  opacity: 0.9;
}

.share-detail-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.share-detail-badge.status-pending {
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  color: #1E40AF;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.share-detail-badge.status-success {
  background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
  color: #065F46;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.share-detail-badge.status-fail {
  background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
  color: #991B1B;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.share-detail-badge.status-close {
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  color: #6B7280;
  border: 1px solid rgba(107, 114, 128, 0.2);
}

.share-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 10px 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.share-detail-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-radius: 10px;
  color: #92400E;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.share-detail-countdown svg {
  flex-shrink: 0;
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* 详情主体 */
.share-detail-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.share-detail-section-title {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
}

/* 规格信息 */
.share-detail-specs {
  background: linear-gradient(to bottom, #F9FAFB, #FFFFFF);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  transition: all 0.2s ease;
}

.spec-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  transform: translateY(-1px);
}

.spec-label {
  font-size: 13px;
  color: #6B7280;
  font-weight: 500;
}

.spec-value {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

/* 价格信息 */
.share-detail-pricing {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.share-detail-pricing::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  animation: shimmer 4s ease-in-out infinite;
}

.pricing-card {
  text-align: center;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.pricing-label {
  font-size: 13px;
  opacity: 0.95;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-value {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
}

.price-symbol {
  font-size: 20px;
  font-weight: 600;
  opacity: 0.95;
}

.price-amount {
  font-size: 40px;
  font-weight: 800;
  margin: 0;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.price-period {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 500;
}

.pricing-original {
  font-size: 14px;
  opacity: 0.85;
  text-decoration: line-through;
  margin-bottom: 6px;
  font-weight: 500;
}

.pricing-save {
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 拼团进度 */
.share-detail-progress {
  background: linear-gradient(to bottom, #F9FAFB, #FFFFFF);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.progress-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.progress-current {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
}

.progress-remaining {
  font-size: 14px;
  color: #6B7280;
  font-weight: 500;
}

.progress-bar-container {
  height: 12px;
  background: #E5E7EB;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3B82F6 0%, #2563EB 50%, #1D4ED8 100%);
  border-radius: 10px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* 参与成员 */
.share-detail-participants {
  background: linear-gradient(to bottom, #F9FAFB, #FFFFFF);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.participants-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 200px;
  overflow-y: auto;
}

.participant-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(229, 231, 235, 0.6);
  transition: all 0.2s ease;
}

.participant-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
  transform: translateX(4px);
}

.participant-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.participant-info {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.participant-name {
  font-size: 14px;
  font-weight: 600;
  color: #111827;
  letter-spacing: -0.01em;
}

.participant-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  color: #92400E;
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 1px 3px rgba(245, 158, 11, 0.2);
}

.participant-badge.member {
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  color: #6B7280;
  border-color: rgba(107, 114, 128, 0.2);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.participant-time {
  font-size: 12px;
  color: #9CA3AF;
  flex-shrink: 0;
  font-weight: 500;
}

/* 安全提示 */
.share-detail-security {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-radius: 10px;
  color: #92400E;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.share-detail-security svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* 详情底部 */
.share-detail-modal .share-detail-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(229, 231, 235, 0.8);
  background: linear-gradient(to top, #ffffff, #fafafa);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}

/* 加入操作区域 */
.join-action-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.join-action-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 50%, #A7F3D0 100%);
  border: 2px solid #10B981;
  border-radius: 12px;
  color: #065F46;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.join-action-tip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.join-action-tip svg {
  flex-shrink: 0;
  color: #10B981;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 1;
}

.btn-join-highlight {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 50%, #B45309 100%) !important;
  color: #ffffff !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  padding: 14px 28px !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
  border-radius: 12px !important;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
}

.btn-join-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s;
}

.btn-join-highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn-join-highlight:hover::before {
  left: 100%;
}

.btn-join-highlight:hover::after {
  opacity: 1;
}

.btn-join-highlight:hover {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.6), 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.btn-join-highlight:active {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.4) !important;
}

.btn-join-highlight svg {
  margin-right: 10px;
  animation: bounce 2.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  position: relative;
  z-index: 1;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

/* 加入确认框 */
.share-detail-modal .join-confirmation-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-detail-modal .confirmation-warning {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border-radius: 12px;
  color: #92400E;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid rgba(245, 158, 11, 0.3);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.share-detail-modal .confirmation-warning svg {
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.share-detail-modal .confirmation-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-detail-modal .btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.share-detail-modal .btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.share-detail-modal .btn-primary:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.share-detail-modal .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.share-detail-modal .btn-secondary {
  background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 100%);
  color: #374151;
  border: 1px solid rgba(209, 213, 219, 0.5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.share-detail-modal .btn-secondary:hover {
  background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-detail-modal .btn-secondary:active {
  transform: translateY(0);
}

.share-detail-modal .btn-text {
  background: transparent;
  color: #6B7280;
  padding: 10px 20px;
  font-weight: 500;
}

.share-detail-modal .btn-text:hover {
  color: #374151;
  background: rgba(249, 250, 251, 0.8);
  transform: translateY(-1px);
}

.share-detail-modal .btn-large {
  padding: 14px 28px;
  font-size: 16px;
}

.share-detail-modal .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.share-detail-modal .btn-loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
}

/* 错误状态 */
.share-detail-error {
  text-align: center;
  padding: 60px 20px;
}

.error-icon {
  margin-bottom: 24px;
  opacity: 0.8;
}

.error-icon svg {
  filter: drop-shadow(0 4px 8px rgba(239, 68, 68, 0.2));
}

.error-title {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
}

.error-message {
  font-size: 15px;
  color: #6B7280;
  margin: 0 0 32px 0;
  line-height: 1.6;
  font-weight: 500;
}

.share-detail-error .btn {
  margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .share-detail-modal {
    width: 95%;
    max-height: 92vh;
    border-radius: 20px;
  }
  
  .share-detail-modal-header {
    padding: 18px 20px;
  }
  
  .share-detail-modal-close {
    top: 18px;
    right: 20px;
    width: 34px;
    height: 34px;
  }
  
  .share-detail-modal-content {
    padding: 24px 20px;
  }
  
  .share-detail-title {
    font-size: 22px;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .price-amount {
    font-size: 36px;
  }
  
  .price-symbol {
    font-size: 20px;
  }
  
  .share-detail-modal .share-detail-footer {
    padding: 20px;
  }
  
  .share-detail-modal .confirmation-buttons {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .share-detail-modal .confirmation-warning {
    font-size: 14px;
    padding: 14px 16px;
  }
  
  .btn-join-highlight {
    font-size: 17px !important;
    padding: 16px 28px !important;
  }
}

/* 滚动条样式 */
.share-detail-modal-content::-webkit-scrollbar,
.participants-list::-webkit-scrollbar {
  width: 8px;
}

.share-detail-modal-content::-webkit-scrollbar-track,
.participants-list::-webkit-scrollbar-track {
  background: #F9FAFB;
  border-radius: 4px;
}

.share-detail-modal-content::-webkit-scrollbar-thumb,
.participants-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D1D5DB 0%, #9CA3AF 100%);
  border-radius: 4px;
  border: 2px solid #F9FAFB;
}

.share-detail-modal-content::-webkit-scrollbar-thumb:hover,
.participants-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #9CA3AF 0%, #6B7280 100%);
}

/* 团长提示框样式 */
.leader-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 50%, #A7F3D0 100%);
  border: 2px solid #10B981;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.leader-tip-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  animation: shimmer 3s ease-in-out infinite;
}

.leader-tip-box svg {
  flex-shrink: 0;
  margin-top: 2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  position: relative;
  z-index: 1;
}

.leader-tip-content {
  flex: 1;
  position: relative;
  z-index: 1;
}

.leader-tip-content h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 700;
  color: #065F46;
  letter-spacing: -0.01em;
}

.leader-tip-content p {
  margin: 0;
  font-size: 14px;
  color: #047857;
  line-height: 1.5;
  font-weight: 500;
}

/* 状态消息框样式 */
.status-message-box {
  padding: 14px 16px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 2px solid #F59E0B;
  border-radius: 12px;
  margin-bottom: 12px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.status-message-box p {
  margin: 0;
  font-size: 14px;
  color: #92400E;
  font-weight: 600;
  line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .leader-tip-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px;
  }
  
  .leader-tip-content h4 {
    font-size: 15px;
  }
  
  .leader-tip-content p {
    font-size: 13px;
  }
  
  .status-message-box {
    padding: 12px;
  }
  
  .status-message-box p {
    font-size: 13px;
  }
  
  .share-invite-banner {
    flex-direction: column;
    text-align: center;
    padding: 16px;
    gap: 12px;
  }
  
  .invite-banner-content {
    text-align: center;
  }
  
  .invite-banner-title {
    font-size: 16px;
  }
  
  .invite-banner-subtitle {
    font-size: 13px;
  }
  
  .invite-banner-icon {
    width: 40px;
    height: 40px;
  }
  
  .btn-join-highlight {
    font-size: 16px !important;
    padding: 14px 24px !important;
  }
  
  .join-action-tip {
    font-size: 13px;
    padding: 10px 12px;
  }
}
