/* ==========================================================================
   WeChat Download Modal Styles
   ========================================================================== */

.wechat-download-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.wechat-download-modal.show {
  opacity: 1;
}

.wechat-modal-content {
  background: white;
  border-radius: 16px;
  max-width: 400px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.wechat-download-modal.show .wechat-modal-content {
  transform: translateY(0);
}

.wechat-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.wechat-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.wechat-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.wechat-modal-close:hover {
  background: #f5f5f5;
  color: #666;
}

.wechat-modal-body {
  padding: 24px;
}

.wechat-tip-icon {
  text-align: center;
  margin-bottom: 16px;
}

.wechat-tip-icon i {
  font-size: 48px;
  color: #4dabf7;
}

.wechat-tip-text {
  text-align: center;
  color: #666;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.5;
}

.wechat-steps {
  margin-bottom: 24px;
}

.wechat-step {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #4dabf7;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  margin-right: 12px;
  flex-shrink: 0;
}

.step-text {
  color: #333;
  font-size: 14px;
  line-height: 1.4;
}

.wechat-copy-section {
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.copy-tip {
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  text-align: center;
}

.copy-link-container {
  display: flex;
  gap: 8px;
}

.copy-link-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 12px;
  color: #666;
  background: #f8f9fa;
}

.copy-link-btn {
  padding: 8px 16px;
  background: #4dabf7;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.copy-link-btn:hover {
  background: #339af0;
}

/* 移动端优化 */
@media (max-width: 480px) {
  .wechat-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .wechat-modal-header,
  .wechat-modal-body {
    padding: 16px;
  }
  
  .wechat-tip-icon i {
    font-size: 40px;
  }
  
  .copy-link-container {
    flex-direction: column;
  }
  
  .copy-link-btn {
    width: 100%;
    padding: 12px;
  }
}
