.page-message {
  position: fixed;
  top: 120px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 500px;
  width: auto;
  padding: 16px 24px;
  border-radius: 8px;
  font-size: 16px;
  color: #fff;
  background: rgba(22, 93, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-align: center;
  z-index: 9999;
  font-weight: 500;
}

.page-message.error-message {
  background: rgba(245, 63, 63, 0.9);
}

.page-message.success-message {
  background: rgba(34, 197, 94, 0.9);
}

.page-message.info-message {
  background: rgba(59, 130, 246, 0.9);
}

.page-message.warning-message {
  background: rgba(245, 158, 11, 0.9);
}

/* 登录注册模态框左右排列样式 */
.login-register-container {
  display: flex !important;
  gap: 32px !important;
  align-items: stretch !important;
}

/* 确保在移动端也保持左右排列，除非屏幕太小 */
@media (max-width: 768px) {
  .login-register-container {
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .modal-content {
    max-width: 95% !important;
    padding: 20px !important;
  }
}

@media (max-width: 480px) {
  .login-register-container {
    flex-direction: column !important;
    gap: 16px !important;
  }
  
  .modal-content {
    max-width: 95% !important;
    padding: 16px !important;
  }
}
.history-loader,
.history-empty,
.history-error {
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--bg-light);
}

.history-loader {
  color: var(--primary-color);
}

.history-error {
  color: var(--danger-color);
  background: rgba(245, 63, 63, 0.1);
}
/* 全局样式重置与基础设置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #165DFF;
  --primary-light: #4080FF;
  --primary-dark: #0E42D2;
  --success-color: #00B42A;
  --warning-color: #FF7D00;
  --danger-color: #F53F3F;
  --text-primary: #1D2129;
  --text-secondary: #4E5969;
  --text-tertiary: #86909C;
  --border-color: #E5E6EB;
  --bg-light: #F2F3F5;
  --bg-white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 50%;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --placeholder-color: var(--text-tertiary);
  --blue-bg-text-color: white;
  --blue-bg-placeholder-color: rgba(255, 255, 255, 0.8);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.4;
  color: var(--text-primary);
  background-color: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 容器和布局 */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 头部导航 */
.header {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding-top: env(safe-area-inset-top, 0);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

/* 通用媒体元素自适应 */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* 移动端菜单按钮（默认隐藏，小屏显示） */
.menu-toggle-wrapper {
  display: none;
}

.menu-toggle-label {
  display: none;
}

.menu-toggle {
  display: none;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.nav-item {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 15px;
  padding: 8px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-item:hover {
  color: var(--primary-color);
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* 为蓝色背景的导航标签添加白色文字 */
.nav-item[style*="background-color: #165DFF"],
.nav-item[style*="background: #165DFF"],
.nav-item[style*="background-color: blue"],
.nav-item[style*="background: blue"],
.nav-item.blue-bg {
  color: white !important;
}

.nav-item[style*="background-color: #165DFF"]:hover,
.nav-item[style*="background: #165DFF"]:hover,
.nav-item[style*="background-color: blue"]:hover,
.nav-item[style*="background: blue"]:hover,
.nav-item.blue-bg:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

.user-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-shrink: 0;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info .user-name {
  color: var(--text-primary);
  font-weight: 500;
}

.btn-logout {
  padding: 8px 16px;
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.btn-logout:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(22, 93, 255, 0.04);
}

/* 按钮样式 */
.btn {
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  transition: all var(--transition-normal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-width: 80px;
  line-height: 1.5;
}

/* 确保导航栏注册按钮正确显示 */
.header .user-actions #registerBtn.btn-secondary {
  background: #FFFFFF;
  color: #4E5969;
  border: 1px solid #E5E6EB;
  display: inline-block;
  visibility: visible;
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(22, 93, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 93, 255, 0.3);
}

.btn-primary:active {
  transform: translateY(0);
  background: var(--primary-dark);
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color) 0%, #00A024 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 180, 42, 0.3);
}

.btn-success:hover {
  background: #00D42A;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 180, 42, 0.3);
}

.btn-success:active {
  transform: translateY(0);
  background: #00A024;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(22, 93, 255, 0.04);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(22, 93, 255, 0.04);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
  min-width: 160px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 主内容区域 */
.main {
  margin-top: 84px;
}

/* 通用区块样式 */
.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-align: center;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-tertiary);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

/* 英雄区域 */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  padding: 80px 0 60px 0;
  margin-top: 70px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 20px;
  opacity: 0.9;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* 搜索区域 */
.search-section {
  background: var(--bg-light);
  position: relative;
  margin-top: -80px;
}

.search-content {
  /* 这个包装器确保内容与容器对齐 */
  width: 100%;
  max-width: 100%;
}

.search-form {
  background: var(--bg-white);
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  transform: translateY(40px);
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.search-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  letter-spacing: 0.5px;
}

.form-input,
.form-select {
  padding: 8px 16px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: all var(--transition-normal);
  background: var(--bg-white);
  font-weight: 500;
}

.form-textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: all var(--transition-normal);
  min-height: 64px;
  background: var(--bg-white);
  font-weight: 500;
  color: var(--text-primary); /* 确保文字颜色明确 */
}

/* textarea的额外属性 */
.form-textarea {
  resize: vertical;
  font-family: inherit;
}

/* 修复选择下拉在白底时文字不可见（白字白底）的问题 */
.form-select option,
.register-form .form-select option,
.company-info-form .form-select option {
  color: #1f2937 !important; /* 深色文字 */
  background: #ffffff !important; /* 白色底 */
}

/* 选中/悬停高亮状态 */
.form-select option:checked,
.form-select option:hover {
  background: #165DFF !important;
  color: #ffffff !important;
}

/* 占位项“请选择地区”等显示为次要色 */
.form-select option[value=""] {
  color: var(--placeholder-color) !important;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
}

.form-input::placeholder {
  color: var(--placeholder-color);
}

/* 为蓝色背景的输入框添加白色文字 */
.form-input[style*="background-color: #165DFF"],
.form-input[style*="background: #165DFF"],
.form-input.blue-bg {
  color: var(--blue-bg-text-color) !important;
}

.form-input[style*="background-color: #165DFF"]::placeholder,
.form-input[style*="background: #165DFF"]::placeholder,
.form-input.blue-bg::placeholder {
  color: var(--blue-bg-placeholder-color) !important;
}

.search-actions {
  text-align: center;
  margin-top: 40px;
  display: flex;
  gap: 0;
  justify-content: center;
}

/* 搜索结果区域 */
.search-results {
  margin-top: 32px;
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.search-results h3 {
  margin-bottom: 24px;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
}

.results-list {
  display: grid;
  gap: 20px;
}

.search-result-item {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 24px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.search-result-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.search-result-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.search-result-item h4 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.search-result-item p {
  margin: 12px 0;
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.6;
}

.search-result-item p strong {
  color: var(--text-primary);
  font-weight: 600;
  min-width: 100px;
  flex-shrink: 0;
}

.search-result-item p:not(:has(strong)) {
  color: var(--text-secondary);
  font-style: italic;
}

/* 搜索结果中的特殊字段样式 */
.search-result-item .company-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
}

.search-result-item .company-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}

.search-result-item .company-info-grid p {
  margin: 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.search-result-item .company-info-grid p:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.search-result-item .company-info-grid p strong {
  color: var(--text-primary);
  font-weight: 600;
  min-width: 80px;
  flex-shrink: 0;
  display: inline-block;
  margin-right: 8px;
}

.search-result-item .company-status {
  display: inline-block;
  padding: 4px 12px;
  background: var(--success-color);
  color: white;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.search-result-item .company-status.inactive {
  background: var(--danger-color);
}

.search-result-item .company-status.pending {
  background: var(--warning-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .menu-toggle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-left: auto;
  }
  
  .menu-toggle-label {
    display: block;
    font-size: 12px;
    color: #4E5969;
    font-weight: 500;
    white-space: nowrap;
    visibility: visible;
    opacity: 1;
  }
  
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    min-width: 44px;
    min-height: 44px;
    z-index: 1001;
    position: relative;
    color: #4E5969 !important;
    background: transparent !important;
    border: 1px solid #e5e7eb !important;
    font-size: 24px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  .menu-toggle:hover {
    background: #f8f9fa !important;
    border-color: #165DFF !important;
    color: #165DFF !important;
  }

  /* 折叠导航为纵向菜单，点击按钮展开 */
  .nav {
    display: none !important;
    flex-direction: column !important;
    gap: 0 !important;
    width: 100% !important;
    margin-top: 12px !important;
    background: #ffffff !important;
    border-top: 1px solid #e5e7eb !important;
    padding: 0 !important;
    position: relative !important;
    z-index: 999 !important;
    overflow: visible !important;
  }

  .nav.open {
    display: flex !important;
    padding: 8px 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* 确保展开时导航项可见 */
  .nav.open .nav-item {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-item {
    padding: 12px 16px !important;
    color: #4E5969 !important;
    font-size: 14px !important;
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    background-color: transparent !important;
  }
  
  .nav-item.active {
    color: #165DFF !important;
    font-weight: 600 !important;
    background-color: #f0f9ff !important;
  }
  
  .nav-item:hover {
    color: #165DFF !important;
    background-color: #f8f9fa !important;
  }

  .search-result-item .company-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .search-result-item .company-info-grid p {
    padding: 10px 12px;
  }
  
  .search-result-item .company-info-grid p strong {
    min-width: 70px;
    font-size: 13px;
  }
}

/* 经营范围容器样式 */
.business-scope-container {
  margin-top: 16px;
  width: 100%;
}

.business-scope-container p {
  margin: 0;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
  line-height: 1.6;
}

/* 企业搜索历史记录样式 */
.company-info-section {
    margin: 16px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.company-info-section h6 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
}

.info-item {
    padding: 8px 12px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
    font-size: 14px;
}

.info-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.analysis-section-history {
    margin: 16px 0;
    padding: 16px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.analysis-section-history h6 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    padding: 12px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.analysis-content-history {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.analysis-item-history {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.analysis-item-history:hover {
    border-left-color: var(--primary-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateX(2px);
}

.analysis-item-history strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.analysis-item-history p {
    margin: 0;
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.company-detail-error {
    color: #dc3545;
    text-align: center;
    padding: 20px;
    font-style: italic;
}

.company-detail-loading {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-style: italic;
}

/* 企业搜索结果优化样式 */
.company-item {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.company-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--primary-color);
}

.company-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f0f0f0;
}

.company-name {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.company-industry {
  background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.company-info {
  margin-bottom: 16px;
}

.company-basic-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.company-basic-info p {
  margin: 8px 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  border-left: 3px solid var(--primary-color);
}

.company-address {
  margin-top: 12px;
}

.company-address p {
  margin: 8px 0;
  padding: 12px;
  background: rgba(248, 249, 250, 0.8);
  border-radius: 8px;
  line-height: 1.5;
}

.analysis-section {
  margin-top: 20px;
  padding: 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.analysis-section h4 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  padding: 12px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 8px;
  border: 2px solid var(--primary-color);
}

.analysis-content {
  display: grid;
  gap: 12px;
}

.analysis-item {
  background: white;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  border-left: 4px solid var(--primary-color);
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.analysis-item:hover {
  border-left-color: var(--primary-light);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(2px);
}

.analysis-item strong {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 16px;
  display: block;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}

.analysis-item p {
  margin: 0;
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 14px;
  white-space: pre-wrap;
  word-wrap: break-word;
}


/* 移动端适配 */
@media (max-width: 768px) {
  .company-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .company-basic-info {
    grid-template-columns: 1fr;
  }
  
  .company-item {
    padding: 16px;
  }
  
}

.business-scope-container p:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

.business-scope-container p strong {
  color: var(--text-primary);
  font-weight: 600;
  min-width: 80px;
  display: inline-block;
  margin-right: 8px;
  vertical-align: top;
}

/* 智能客户匹配清单区域 */
.report-section {
  background: var(--bg-light);
  padding: 80px 0;
}

.report-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.report-form {
  background: var(--bg-white);
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.report-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
}

.report-form .search-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

/* PC端：第一行特殊布局 - 当前企业占2列，目标区域占1列 */
.report-form .search-row:first-of-type {
  display: grid !important;
  grid-template-columns: 2fr 1fr !important;
  gap: 24px !important;
  margin-bottom: 32px;
}

/* 确保当前企业占满第一列（2fr） */
.report-form .search-row:first-of-type .form-group-wide {
  width: 100%;
}

/* 确保目标区域占满第二列（1fr） */
.report-form .search-row:first-of-type .form-group:not(.form-group-wide) {
  width: 100%;
}

/* 移除空的CSS规则 */

.report-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.report-form .form-group label {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.report-form .form-input,
.report-form .form-select,
.report-form .form-textarea {
  padding: 12px 16px;
  border: 2px solid var(--border-color);
  border-radius: 12px;
  font-size: 16px;
  transition: all var(--transition-normal);
  min-height: 64px;
  background: var(--bg-white);
  font-weight: 500;
}

.report-form .form-textarea {
  min-height: 120px;
  resize: vertical;
}

.report-form .form-input:focus,
.report-form .form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(22, 93, 255, 0.1);
  transform: translateY(-1px);
}

.report-form .search-actions {
  text-align: center;
  margin-top: 40px;
}

.report-form .btn-primary {
  padding: 18px 40px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.5px;
  min-width: 200px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 24px rgba(22, 93, 255, 0.3);
  transition: all 0.3s ease;
}

.report-form .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(22, 93, 255, 0.4);
}

.report-form .btn-primary:active {
  transform: translateY(0);
}

/* 企业信息显示样式优化 */
.report-form .current-company-display {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.3s ease;
}

.report-form .current-company-display:hover {
  border-color: rgba(76, 175, 80, 0.5);
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.08) 100%);
  transform: translateY(-1px);
}

.report-form .company-name {
  font-weight: 600;
  font-size: 16px;
  color: #2e7d32;
}

.report-form .company-details {
  font-size: 14px;
  color: #4caf50;
  font-weight: 500;
}

.report-info {
  text-align: center;
  padding: 60px;
  background: linear-gradient(135deg, #F0F7FF 0%, #E0F2FF 100%);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.report-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
}

.report-info h3 {
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.report-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 16px;
}

/* 关于我们区域 */
.about-section {
  background: var(--bg-light);
}

.about-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  background: var(--bg-white);
  padding: 48px 64px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 100%;
  text-align: left;
}

.about-text h3 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 24px;
  text-align: center;
}

.about-text h4 {
  font-size: 24px;
  margin: 32px 0 16px;
  color: var(--text-secondary);
  border-left: 4px solid var(--primary-color);
  padding-left: 16px;
  text-align: left;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 17px;
  line-height: 1.6;
  text-align: left;
  max-width: 100%;
}

.company-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 16px 0 32px 16px;
  list-style: none;
  padding: 0;
  justify-content: flex-start;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--text-primary);
  font-weight: 500;
  padding: 8px 0;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateX(5px);
}

.feature-icon {
  width: 20px;
  height: 20px;
  background: var(--primary-color);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.about-highlight {
  font-weight: 600;
  font-size: 18px;
  color: var(--primary-color);
  margin: 32px 0 16px;
}

/* 企业信息显示样式 */
.current-company-display {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 24px 28px;
  min-height: 64px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.company-name {
  font-weight: 600;
  font-size: 16px;
  color: white;
}

.company-name.has-info {
  color: #4caf50;
  animation: pulse 2s ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.company-name.no-info {
  color: #ff9800;
}

.company-details {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

/* 通用模态框样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* 默认隐藏 */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

/* 显示模态框 */
.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  position: relative;
  margin: auto;
  overflow-y: auto;
}

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

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: #111827;
}

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

.close-btn:hover {
  background: #f3f4f6;
  color: #374151;
}

.modal .form-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.modal .form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.modal .form-group {
  margin-bottom: 16px;
}

.modal .form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 500;
  font-size: 14px;
}

.modal .form-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #111827;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  height: 42px;
}

.modal .form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 记住密码样式 */
.remember-password-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  user-select: none;
  margin: 0;
}

.remember-password-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  cursor: pointer;
  accent-color: #3b82f6;
}

.remember-password-label:hover {
  color: #3b82f6;
}

.modal .form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

.modal .btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  min-width: 90px;
  height: 42px;
}

.modal .btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
}

.modal .btn-secondary:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.modal .btn-primary {
  background: #3b82f6;
  color: white;
}

.modal .btn-primary:hover {
  background: #2563eb;
}

/* 中等屏幕响应式设计 */
@media (max-width: 1200px) {
  .nav {
    gap: 24px;
  }
  
  .nav-item {
    font-size: 14px;
  }
}

/* 小屏幕响应式设计 */
@media (max-width: 600px) {
  .modal {
    padding: 10px;
  }
  
  .modal-content {
    padding: 24px;
    max-width: 100%;
  }
  
  .modal .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .modal .form-row .form-group {
    margin-bottom: 16px;
  }
}

/* 二维码支付模态框样式 */
.qr-payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.qr-payment-content {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.qr-payment-content h3 {
  margin-bottom: 15px;
  color: var(--text-primary);
}

.qr-payment-content p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.qr-code {
  margin: 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
}

.qr-code img {
  max-width: 200px;
  height: auto;
}

.qr-tip {
  font-size: 14px;
  color: var(--text-tertiary);
  margin-top: 15px;
}

/* 支付状态样式 */
.payment-status {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: var(--radius-md);
  border: 1px solid;
}

.payment-status-info {
  background: #e3f2fd;
  border-color: #2196f3;
  color: #1976d2;
}

.payment-status-success {
  background: #e8f5e8;
  border-color: #4caf50;
  color: #2e7d32;
}

.payment-status-error {
  background: #ffebee;
  border-color: #f44336;
  color: #c62828;
}

.payment-status-processing {
  background: #fff3e0;
  border-color: #ff9800;
  color: #ef6c00;
}

.payment-status-waiting {
  background: #f3e5f5;
  border-color: #9c27b0;
  color: #7b1fa2;
}

.status-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.status-icon.info::before {
  content: "i";
}

.status-icon.success::before {
  content: "✓";
}

.status-icon.error::before {
  content: "✗";
}

.status-icon.processing::before {
  content: "⏳";
}

.status-icon.waiting::before {
  content: "⏰";
}

.status-message {
  font-size: 14px;
  font-weight: 500;
}

/* 支付管理按钮样式 */
.payment-management-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}

.payment-management-buttons .btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* 支付历史样式 */
.payment-history-section,
.refund-management-section {
  background: rgba(248, 249, 250, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-top: 20px;
}

.payment-history-section h3 {
  color: #333 !important;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}

/* 确保支付历史区域的所有文字都是黑色 */
.payment-history-section {
  color: #333 !important;
}

.payment-history-section * {
  color: #333 !important;
}

.payment-history-section h3 {
  color: #333 !important;
}

.payment-history-section .payment-item,
.payment-history-section .refund-item {
  background: white !important;
  border: 1px solid var(--border-color) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
  margin-bottom: 15px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.3s ease !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.payment-history-section .payment-info {
  flex: 1 !important;
  min-width: 0 !important;
}

.payment-history-section .payment-item:hover,
.payment-history-section .refund-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.payment-header,
.refund-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.order-no,
.refund-order-no {
  font-weight: 600;
  color: var(--text-primary);
}

.payment-status,
.refund-status {
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.status-待支付 {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-已支付 {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-支付失败 {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status-已取消 {
  background: #e2e3e5;
  color: #383d41;
  border: 1px solid #d6d8db;
}

.status-待处理 {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

.status-处理中 {
  background: #cce5ff;
  color: #004085;
  border: 1px solid #b3d7ff;
}

.status-已退款 {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status-退款失败 {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status-已拒绝 {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.payment-history-section .payment-details,
.payment-history-section .refund-details {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr 2fr !important;
  gap: 15px 15px !important;
  flex: 1 !important;
  margin-top: 15px !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 强制4列占满宽度 */
.payment-history-section .payment-details {
  grid-template-columns: 1fr 1fr 1fr 2fr !important;
  width: calc(100% - 120px) !important;
}

/* 简单的横向排列样式 */
.payment-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  padding: 10px 0;
}

.payment-field {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
}

.payment-field strong {
  color: #007bff;
  margin-right: 4px;
}

/* 移动端响应式 */
@media (max-width: 768px) {
  .payment-info-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .payment-field {
    width: 100%;
  }
}

.payment-history-section .detail-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 15px 10px !important;
  border: 1px solid #f0f0f0 !important;
  border-radius: 8px !important;
  background: #fafafa !important;
  min-height: 80px !important;
  text-align: center !important;
}

.payment-history-section .detail-item .label {
  color: var(--text-secondary) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
  text-align: center !important;
}

.payment-history-section .detail-item .value {
  color: var(--text-primary) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-align: center !important;
  word-break: break-all !important;
}

.payment-actions {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin: 20px 0 0 0; /* 上边距20px，其他边距为0 */
  width: 100%; /* 占满容器宽度 */
  justify-content: center; /* 居中对齐 */
  align-items: center;
  padding: 0 20px; /* 左右内边距，防止超出边界 */
  box-sizing: border-box;
}

.btn-danger {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s ease;
}

.btn-danger:hover {
  background-color: #c82333;
}

.btn-sm {
  padding: 4px 8px;
  font-size: 11px;
}

.btn-small {
  padding: 6px 12px;
  font-size: 12px;
  min-width: 80px;
}

/* 目标客户操作按钮样式 */
.btn-view {
  background: #007bff;
  color: white;
  border: 1px solid #007bff;
}

.btn-view:hover {
  background: #0056b3;
  border-color: #004085;
}

.btn-progress {
  background: #28a745;
  color: white;
  border: 1px solid #28a745;
}

.btn-progress:hover {
  background: #1e7e34;
  border-color: #1c7430;
}

.btn-test {
  background: #FF9800;
  color: white;
  border: 1px solid #FF9800;
}

.btn-test:hover {
  background: #F57C00;
  border-color: #E65100;
}

.btn-delete {
  background: #dc3545;
  color: white;
  border: 1px solid #dc3545;
}

.btn-delete:hover {
  background: #c82333;
  border-color: #bd2130;
}

.btn-email {
  background: #4CAF50;
  color: white;
  border: 1px solid #4CAF50;
}

.btn-email:hover {
  background: #45a049;
  border-color: #3d8b40;
}

/* 确保邮件联系按钮样式不被通用样式覆盖 */
.btn-small.btn-email {
  background: #4CAF50 !important;
  color: white !important;
  border: 1px solid #4CAF50 !important;
}

.btn-small.btn-email:hover {
  background: #45a049 !important;
  border-color: #3d8b40 !important;
  color: white !important;
}

.btn-danger {
  background: #dc3545;
  color: white;
  border: 1px solid #dc3545;
}

.btn-danger:hover {
  background: #c82333;
  border-color: #bd2130;
}

.no-data {
  text-align: center;
  color: var(--text-tertiary);
  padding: 40px 20px;
  font-style: italic;
}

/* 分页控件样式 */
.pagination-controls {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
}

.pagination-controls .btn {
  padding: 6px 12px;
  font-size: 14px;
  min-width: 40px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .payment-history-section .payment-details,
  .payment-history-section .refund-details {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 15px !important;
  }
}

@media (max-width: 1000px) {
  .payment-history-section .payment-details,
  .payment-history-section .refund-details {
    grid-template-columns: 1fr 1fr 1fr 1.8fr !important;
    gap: 10px 12px !important;
  }
}

@media (max-width: 768px) {
  .payment-history-section .payment-details,
  .payment-history-section .refund-details {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .payment-history-section .payment-item,
  .payment-history-section .refund-item {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .payment-actions {
    margin-left: 0;
    margin-top: 15px;
    flex-direction: row;
    justify-content: center;
  }
  
  .payment-management-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .about-text h3 {
    font-size: 28px;
  }
  
  .about-text h4 {
    font-size: 20px;
  }
  
  .about-text p {
    font-size: 16px;
  }
}

/* 售后服务区域 */
.service-section {
  background: var(--bg-white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #F0F7FF 0%, #E0F2FF 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card h3 {
  font-size: 18px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.4;
}

/* 页脚 */
.footer {
  background: #1D2129;
  color: white;
  padding: 80px 0 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-section p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 40px;
  }
  
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .nav {
    gap: 24px;
  }
  
  .nav.open {
    gap: 12px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .search-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .search-form {
    padding: 24px;
  }
  
  .hero-actions,
  .search-actions {
    flex-direction: column;
  }
  
  .btn-large {
    width: 100%;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    padding: 32px 24px;
  }
  
  /* 智能客户匹配清单响应式 */
  .report-section {
    padding: 40px 0;
  }
  
  .report-form {
    padding: 32px 24px;
    border-radius: 16px;
  }
  
  .report-form .search-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }
  
  /* 移动端：第一行改为单列垂直布局 */
  .report-form .search-row:first-of-type {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* 移动端企业信息框样式优化 */
  .report-form .current-company-display {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.08) 0%, rgba(76, 175, 80, 0.03) 100%);
    border: 1px solid rgba(76, 175, 80, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    min-height: 48px;
  }
  
  .report-form .company-name {
    font-size: 14px;
    line-height: 1.3;
    color: #2e7d32;
  }
  
  .report-form .company-details {
    font-size: 12px;
    color: #4caf50;
    margin-top: 2px;
  }
  
  /* 移动端目标区域选择框样式 */
  .report-form .form-select {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 14px;
  }
  
  /* 移动端第二行布局优化 */
  .report-form .search-row:nth-child(2) {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  /* 移动端左侧表单组布局 */
  .report-form .search-row:nth-child(2) > div:first-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  /* 移动端行业关键词区域样式 */
  .report-form .search-row:nth-child(2) > div:last-child {
    margin-top: 8px;
  }
  
  /* 移动端复选框样式 */
  .report-form .search-row:nth-child(2) label {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .report-form .search-row:nth-child(2) input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
  }
  
  .report-form .btn-primary {
    width: 100%;
    min-width: auto;
    padding: 16px 32px;
  }
}

/* 超小屏幕优化 (480px以下) */
@media (max-width: 480px) {
  .report-form {
    padding: 20px 16px;
    margin: 0 8px;
    border-radius: 12px;
  }
  
  /* 超小屏幕：第一行单列垂直布局 */
  .report-form .search-row:first-of-type {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  
  /* 超小屏幕企业信息框进一步优化 */
  .report-form .current-company-display {
    padding: 10px 12px;
    min-height: 44px;
  }
  
  .report-form .company-name {
    font-size: 13px;
  }
  
  .report-form .company-details {
    font-size: 11px;
  }
  
  /* 超小屏幕左侧表单组改为单列 */
  .report-form .search-row:nth-child(2) > div:first-child {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  /* 超小屏幕表单元素样式 */
  .report-form .form-select,
  .report-form .form-input {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }
  
  /* 超小屏幕标签样式 */
  .report-form .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  /* 超小屏幕按钮样式 */
  .report-form .btn-primary {
    padding: 14px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  .nav {
    gap: 20px;
  }
  
  .nav-item {
    font-size: 14px;
  }
  
  .user-actions {
    width: 100%;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 24px;
  }
}

/* 我的页面样式 */
.my-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* 我的页面导航菜单样式 */
.my-nav-menu {
  margin: 20px 0 30px 0;
  display: flex;
  justify-content: center;
}

.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-dropdown-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  font-size: 12px;
}

.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 280px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 8px;
  overflow: hidden;
}

.nav-dropdown.active .nav-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.nav-dropdown-item:last-child {
  border-bottom: none;
}

.nav-dropdown-item:hover {
  background: #f8f9fa;
  color: #165dff;
  transform: translateX(4px);
}

.nav-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.nav-dropdown-item span:last-child {
  font-weight: 500;
  font-size: 14px;
}

/* 我的区域标题在蓝底上使用白色文字 */
.my-section .section-title {
  color: #fff !important;
}

.my-content {
  max-width: 1200px;
  margin: 0 auto;
}

.company-info-form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 1200px;
  margin: 0 auto 24px auto;
}

/* 注册表单卡片样式，沿用企业信息样式，文字白色 */
.register-form-wrapper {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin: 0 auto 0 auto;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.register-form-wrapper h3,
.register-form-wrapper p,
.register-form-wrapper label {
  color: white !important;
}
.register-form-wrapper h3 { font-size: 22px; margin-bottom: 8px; }
.register-form-wrapper p { opacity: .9; margin-bottom: 20px; }
.register-form-wrapper .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 768px) { .register-form-wrapper .form-grid { grid-template-columns: 1fr; } }
.register-form .form-input,
.register-form .form-select,
.register-form .form-textarea {
  width: 100%;
  padding: 18px 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 16px;
  min-height: 96px;
}
.register-form .form-input::placeholder,
.register-form .form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.register-form .form-input:focus,
.register-form .form-select:focus,
.register-form .form-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
.register-form .form-actions { display: flex; gap: 12px; margin-top: 16px; }

.company-info-form h3 {
  margin-bottom: 16px;
  font-size: 24px;
  color: white;
}

.company-info-form p {
  margin-bottom: 32px;
  opacity: 0.9;
  line-height: 1.4;
}

.company-info-form .form-group {
  margin-bottom: 24px;
}

.company-info-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: white;
}

.company-info-form .form-input,
.company-info-form .form-select {
  width: 100%;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
}

.company-info-form .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
}

/* 只为textarea设置最小高度 */
.company-info-form .form-textarea {
  min-height: 100px;
}

.company-info-form .form-input::placeholder,
.company-info-form .form-textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.company-info-form .form-input:focus,
.company-info-form .form-select:focus,
.company-info-form .form-textarea:focus {
  outline: none;
  border-color: #007bff;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* 已填充字段的样式 */
.company-info-form .form-input:not(:placeholder-shown),
.company-info-form .form-select:not([value=""]),
.company-info-form .form-textarea:not(:placeholder-shown) {
  border-color: rgba(76, 175, 80, 0.8);
  background: rgba(255, 255, 255, 0.98);
}

/* textarea的resize属性 */
.company-info-form .form-textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.form-actions .btn {
  flex: 1;
}

.status-message {
  margin-top: 24px;
  padding: 16px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
}

.status-message.success {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.status-message.error {
  background: rgba(244, 67, 54, 0.2);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.3);
}



/* 报告状态显示样式 */
.report-status {
  margin-top: 20px;
  padding: 16px;
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.3);
  border-radius: 8px;
  text-align: center;
}

.report-status-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.status-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(33, 150, 243, 0.3);
  border-top: 2px solid #2196F3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.status-text {
  color: #2196F3;
  font-weight: 500;
  font-size: 14px;
}

/* 按钮禁用状态样式 */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* 智能客户匹配清单查询历史样式 */
.query-history-section {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.1) 0%, rgba(64, 128, 255, 0.05) 100%);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 40px;
  border: 2px solid rgba(22, 93, 255, 0.2);
  box-shadow: 0 8px 32px rgba(22, 93, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.query-history-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 50%, var(--primary-dark) 100%);
}

.query-history-section:hover {
  border-color: rgba(22, 93, 255, 0.4);
  box-shadow: 0 12px 40px rgba(22, 93, 255, 0.15);
  transform: translateY(-2px);
}

.query-history-section h3 {
  margin-bottom: 20px;
  font-size: 28px;
  color: white;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.query-history-section p {
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 16px;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.history-controls {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.query-history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.history-item {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 24px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.history-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.history-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 24px rgba(22, 93, 255, 0.15);
  transform: translateY(-2px);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.history-info h4 {
  color: var(--text-primary);
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.history-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 14px;
}

.history-meta span {
  background: var(--bg-light);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  font-weight: 500;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.history-meta span:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

.history-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.delete-history-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
  min-width: 70px;
}

.delete-history-btn:hover {
  background-color: #c82333;
}

.delete-history-btn:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

.btn-small {
  padding: 8px 16px;
  font-size: 14px;
  min-width: 70px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  background: var(--bg-white);
  color: var(--text-secondary);
}

/* 历史控制按钮特殊样式 - 统一为蓝色字体 */
.history-controls .btn-small,
.history-controls .btn-outline,
.history-controls .btn-secondary {
  background: white !important;
  color: var(--primary-color) !important;
  border-color: white !important;
  font-weight: 600 !important;
}

.history-controls .btn-small:hover,
.history-controls .btn-outline:hover,
.history-controls .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  transform: translateY(-1px);
}

/* 强制覆盖通用按钮样式 */
.history-controls .btn-outline,
.history-controls .btn-outline:hover,
.history-controls .btn-secondary,
.history-controls .btn-secondary:hover {
  background: white !important;
  color: var(--primary-color) !important;
  border-color: white !important;
  font-weight: 600 !important;
}

.history-controls .btn-outline:hover,
.history-controls .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

.btn-small:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background: rgba(22, 93, 255, 0.04);
  transform: translateY(-1px);
}

.history-content {
  margin-top: 8px !important;
  padding-top: 4px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  min-height: 100px;
  overflow: visible;
}

/* 确保历史内容可见性 - 最高优先级 */
.history-content-visible,
.history-content[data-visible="true"],
/* 覆盖所有可能的父容器选择器 */
.query-history-list .history-content-visible,
.query-history-list .history-content[data-visible="true"],
.company-search-history-list .history-content-visible,
.company-search-history-list .history-content[data-visible="true"],
/* 通用覆盖规则 - 最高优先级 */
div.history-content-visible,
div.history-content[data-visible="true"] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 100px !important;
  width: 100% !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 999 !important;
}

/* 确保隐藏状态 - 最高优先级 */
.history-content[data-visible="false"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.report-preview h5 {
  color: var(--text-primary);
  font-size: 18px;
  margin-bottom: 4px !important;
  font-weight: 600;
  position: relative;
  z-index: 1;
}

.report-text {
  color: var(--text-secondary);
  line-height: 1.6;
  background: var(--bg-light);
  padding: 0px !important;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.report-note {
  margin-top: 4px !important;
  padding: 8px 12px !important;
  background: linear-gradient(135deg, rgba(22, 93, 255, 0.1) 0%, rgba(64, 128, 255, 0.05) 100%);
  border-radius: 8px;
  color: var(--primary-dark);
  font-size: 13px;
  font-style: italic;
  border-left: 4px solid var(--primary-color);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.no-history {
  text-align: center;
  color: var(--text-tertiary);
  padding: 60px 40px;
  font-style: italic;
  font-size: 16px;
  background: var(--bg-light);
  border-radius: 16px;
  border: 2px dashed var(--border-color);
  margin: 20px 0;
}

/* 响应式设计 - 我的页面 */
@media (max-width: 768px) {
  .company-info-form {
    padding: 24px;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
  }
  
  .query-history-section {
    padding: 24px;
  }
  
  .history-header {
    flex-direction: column;
    gap: 16px;
  }
  
  .history-actions {
    width: 100%;
    justify-content: center;
  }
  
  .history-meta {
    flex-direction: column;
    gap: 8px;
  }
}

/* 报告格式化样式 */
.report-text {
  color: var(--text-primary);
  line-height: 1.8;
  background: var(--bg-light);
  padding: 0px !important;
  border-radius: var(--radius-md);
  max-height: none;
  overflow-y: visible;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

/* 强制显示格式化后的报告内容 */
.history-content .chapter-title,
.history-content .report-paragraph,
.history-content .section-title,
.history-content .subsection-title,
.history-content .company-title,
.history-content .report-list,
.history-content .list-item {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  color: var(--text-primary) !important;
  background: transparent !important;
  position: relative !important;
  z-index: 10 !important;
}

/* 为整个报告内容添加统一的卡片样式 */
.history-content {
  background: var(--bg-white) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border-color) !important;
  padding: 0px !important;
  margin: 20px 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 为每个章节创建独立的紧凑卡片 */
.history-content .chapter-title {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 12px !important;
  padding: 20px 24px !important;
  margin: 0 0 20px 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

/* 章节内容容器 - 紧凑布局 */
.history-content .chapter-content {
  background: #f8f9fa !important;
  border: 1px solid #e9ecef !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 段落样式 - 紧凑间距 */
.history-content .report-paragraph {
  margin: 8px 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important;
  color: var(--text-primary) !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: left !important;
  text-indent: 2em !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 章节标题样式调整 */
.history-content .chapter-title {
  color: #2c3e50 !important;
  font-size: 22px !important;
  font-weight: bold !important;
  margin: 0 0 20px 0 !important;
  padding: 20px 24px !important;
  border-bottom: 3px solid #3498db !important;
  text-align: center !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border-radius: 12px 12px 0 0 !important;
  border-bottom: 3px solid #3498db !important;
}

/* 确保内容容器内的所有元素都可见 */
.history-content * {
  visibility: visible !important;
  opacity: 1 !important;
}

/* 强制显示所有段落和标题 */
.history-content p,
.history-content h1,
.history-content h2,
.history-content h3,
.history-content h4,
.history-content h5,
.history-content h6 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: var(--text-primary) !important;
  background: transparent !important;
  text-align: left !important;
}

/* 表格容器样式 - 强制应用 */
.table-container {
  background: var(--bg-white) !important;
  padding: 16px !important;
  border-radius: var(--radius-md) !important;
  margin: 16px 0 !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border-color) !important;
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 1 !important;
}

/* 章节标题样式 */
.chapter-title {
  color: #2c3e50;
  font-size: 24px;
  font-weight: bold;
  margin: 30px 0 20px 0;
  padding: 15px 0;
  border-bottom: 3px solid #3498db;
  text-align: center;
}

.section-title {
  color: #34495e;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 20px 0;
  padding: 0 0 10px 0;
  border-left: 4px solid #e74c3c;
  padding-left: 15px;
  text-align: left;
}

.subsection-title {
  color: #7f8c8d;
  font-size: 18px;
  font-weight: 500;
  margin: 20px 0 10px 0;
  padding: 8px 0;
  border-left: 3px solid #f39c12;
  padding-left: 12px;
}

.company-title {
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 600;
  margin: 20px 0 12px 0;
  padding: 12px 16px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* 段落样式 */
.report-paragraph {
  margin: 8px 0;
  text-indent: 2em;
  line-height: 1.8;
  color: var(--text-primary);
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* 列表样式 */
.report-list {
  margin: 16px 0;
  padding: 16px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.list-item {
  margin: 8px 0;
  line-height: 1.6;
  color: var(--text-primary);
}

/* 企业信息表格样式 */
.company-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.company-info-table thead th {
  background: var(--primary-color);
  color: white;
  padding: 16px;
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.company-info-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary) !important;
}

.company-info-table tbody tr:nth-child(even) {
  background: var(--bg-light);
}

.company-info-table .label {
  background: var(--bg-light);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  width: 30%;
}

.company-info-table .value {
  color: var(--text-secondary);
  text-align: left;
}

/* 数据分析表格样式 - 强制应用 */
.data-analysis-table {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden !important;
  box-shadow: var(--shadow-sm) !important;
  border: 1px solid var(--border-color) !important;
  font-size: 13px !important;
  color: var(--text-primary) !important;
  background: var(--bg-white) !important;
  display: table !important;
  table-layout: fixed !important;
}

.data-analysis-table thead {
  display: table-header-group !important;
}

.data-analysis-table tbody {
  display: table-row-group !important;
}

.data-analysis-table tr {
  display: table-row !important;
}

.data-analysis-table thead th {
  background: var(--primary-color) !important;
  color: white !important;
  padding: 12px 8px !important;
  text-align: center !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  border: none !important;
  display: table-cell !important;
  vertical-align: middle !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 表头列宽控制，与内容列保持一致 */
.data-analysis-table thead th:nth-child(1) {
  min-width: 80px !important;
  max-width: 100px !important;
}

.data-analysis-table thead th:nth-child(2) {
  min-width: 180px !important;
  max-width: 250px !important;
}

.data-analysis-table thead th:nth-child(3) {
  min-width: 180px !important;
  max-width: 280px !important;
}

.data-analysis-table thead th:nth-child(4) {
  min-width: 160px !important;
  max-width: 300px !important;
}

.data-analysis-table thead th:nth-child(5) {
  min-width: 180px !important;
  max-width: 280px !important;
}

.data-analysis-table thead th:nth-child(6) {
  min-width: 120px !important;
  max-width: 160px !important;
}

.data-analysis-table thead th:nth-child(7) {
  min-width: 140px !important;
  max-width: 200px !important;
}

.data-analysis-table thead th:nth-child(8) {
  min-width: 140px !important;
  max-width: 200px !important;
}

.data-analysis-table tbody td {
  padding: 10px 8px !important;
  border-bottom: 1px solid var(--border-color) !important;
  text-align: left !important;
  vertical-align: top !important;
  color: var(--text-primary) !important;
  font-weight: normal !important;
  background: var(--bg-white) !important;
  display: table-cell !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
  white-space: normal !important;
  min-width: 100px !important;
  max-width: 200px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.data-analysis-table tbody tr:nth-child(even) {
  background: var(--bg-light) !important;
}

.data-analysis-table tbody tr:hover {
  background: rgba(22, 93, 255, 0.05) !important;
}

/* 特定列的宽度控制 */
.data-analysis-table tbody td:nth-child(1) {
  /* 序号列 */
  min-width: 80px !important;
  max-width: 100px !important;
  text-align: center !important;
}

.data-analysis-table tbody td:nth-child(2) {
  /* 企业名称列 */
  min-width: 180px !important;
  max-width: 250px !important;
  font-weight: 600 !important;
}

.data-analysis-table tbody td:nth-child(3) {
  /* 合作机会列 */
  min-width: 180px !important;
  max-width: 280px !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.data-analysis-table tbody td:nth-child(4) {
  /* 核心优势列 */
  min-width: 160px !important;
  max-width: 300px !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
}

.data-analysis-table tbody td:nth-child(5) {
  /* 合作建议列 */
  min-width: 180px !important;
  max-width: 280px !important;
  overflow: visible !important;
  text-overflow: clip !important;
}

.data-analysis-table tbody td:nth-child(6) {
  /* 合作类型列 */
  min-width: 120px !important;
  max-width: 160px !important;
  text-align: center !important;
}

.data-analysis-table tbody td:nth-child(7) {
  /* 预期收益列 */
  min-width: 140px !important;
  max-width: 200px !important;
}

.data-analysis-table tbody td:nth-child(8) {
  /* 风险提示列 */
  min-width: 140px !important;
  max-width: 200px !important;
}

/* 响应式表格 */
@media (max-width: 768px) {
  .company-info-table,
  .data-analysis-table {
    font-size: 12px;
  }
  
  .company-info-table thead th,
  .company-info-table tbody td,
  .data-analysis-table thead th,
  .data-analysis-table tbody td {
    padding: 8px 6px;
  }
  
  .data-analysis-table {
    overflow-x: auto;
    display: block;
  }
}

/* 表格内容悬停提示 */
.data-analysis-table tbody td {
  position: relative !important;
}

.data-analysis-table tbody td:hover::after {
  content: attr(title) !important;
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  background: rgba(0, 0, 0, 0.9) !important;
  color: white !important;
  padding: 8px 12px !important;
  border-radius: 6px !important;
  font-size: 12px !important;
  white-space: normal !important;
  max-width: 300px !important;
  z-index: 1000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  pointer-events: none !important;
  opacity: 0 !important;
  animation: fadeIn 0.3s ease forwards !important;
}

@keyframes fadeIn {
  to {
    opacity: 1 !important;
  }
}

/* 新格式表格样式（2列：项目|内容） */
.data-analysis-table.new-format {
  table-layout: fixed !important;
}

.data-analysis-table.new-format thead th:nth-child(1),
.data-analysis-table.new-format tbody td:nth-child(1) {
  /* 项目列 - 缩小一半宽度 */
  width: 20% !important;
  min-width: 80px !important;
  max-width: 120px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
}

.data-analysis-table.new-format thead th:nth-child(2),
.data-analysis-table.new-format tbody td:nth-child(2) {
  /* 内容列 - 占据剩余空间 */
  width: 80% !important;
  min-width: 200px !important;
  max-width: none !important;
  font-weight: normal !important;
  font-size: 13px !important;
}

/* 表格整体优化 */
.data-analysis-table {
  border-spacing: 0 !important;
  empty-cells: show !important;
}

/* 确保表格在小屏幕上也能正常显示 */
@media (max-width: 1200px) {
  .data-analysis-table {
    font-size: 12px !important;
  }
  
  .data-analysis-table thead th,
  .data-analysis-table tbody td {
    padding: 8px 6px !important;
  }
}

@media (max-width: 768px) {
  .data-analysis-table {
    font-size: 11px !important;
  }
  
  .data-analysis-table thead th,
  .data-analysis-table tbody td {
    padding: 6px 4px !important;
  }
  
  /* 移动端列宽调整 */
  .data-analysis-table tbody td:nth-child(1) {
    min-width: 50px !important;
    max-width: 60px !important;
  }
  
  .data-analysis-table tbody td:nth-child(2) {
    min-width: 120px !important;
    max-width: 150px !important;
  }
  
  .data-analysis-table tbody td:nth-child(3),
  .data-analysis-table tbody td:nth-child(4),
  .data-analysis-table tbody td:nth-child(5),
  .data-analysis-table tbody td:nth-child(6),
  .data-analysis-table tbody td:nth-child(7),
  .data-analysis-table tbody td:nth-child(8) {
    min-width: 80px !important;
    max-width: 120px !important;
  }
}

/* 新增首页内容样式 */
.hero-description {
  margin-top: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

.features-section,
.technology-section,
.why-choose-section,
.cta-section {
  padding: 40px 0;
}

/* 网格布局 */
.features-grid,
.tech-grid,
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.feature-item,
.tech-item,
.advantage-item {
  margin-bottom: 0;
  padding: 25px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid var(--border-color);
  height: fit-content;
}

.feature-item:hover,
.tech-item:hover,
.advantage-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

.feature-item h3,
.tech-item h3,
.advantage-item h3 {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  border-left: 3px solid var(--primary-color);
  padding-left: 12px;
}

.feature-item p,
.tech-item p,
.advantage-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.feature-item ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item ul li {
  margin-bottom: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.feature-item ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.feature-item ul li strong {
  color: var(--primary-color);
  font-weight: 600;
}



/* 响应式调整 */
@media (max-width: 768px) {
  .features-section,
  .technology-section,
  .why-choose-section,
  .cta-section {
    padding: 15px 0;
  }
  
  .cta-content {
    padding: 24px;
    margin: 0 16px;
  }
  
  .features-grid,
  .tech-grid,
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
  }
  
  .feature-item,
  .tech-item,
  .advantage-item {
    padding: 20px;
  }
  
  .feature-item h3,
  .tech-item h3,
  .advantage-item h3 {
    font-size: 18px;
  }
  
  .hero-description p {
    font-size: 15px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
  
  .cta-content p:last-child {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .features-grid,
  .tech-grid,
  .advantages-grid {
    gap: 15px;
  }
  
  .feature-item,
  .tech-item,
  .advantage-item {
    padding: 18px;
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .hero-section {
    padding: 80px 0 40px 0; /* 增加顶部内边距，避免被固定头部遮挡 */
    margin-top: 100px; /* 提高与固定头部的间距，适配两行导航/欢迎按钮 */
  }
  
  .hero-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .hero-description p {
    font-size: 15px;
  }
}

/* 会员模块样式 */
.membership-section {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}

/* 使用情况信息样式 */
.current-usage-info {
  background: rgba(248, 249, 250, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 25px;
}

.current-usage-info h4 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
}

.usage-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.usage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.usage-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--primary-color);
}

.usage-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.usage-value {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 600;
}

.membership-section h3 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.membership-section > p {
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 30px;
  font-size: 16px;
}

/* 当前使用情况显示 */
.current-usage-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 25px;
}

.current-usage-info h4 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

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

.usage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.usage-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.usage-value {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
}

.refresh-btn {
  background: #165DFF;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  margin-top: 12px;
  transition: background-color 0.3s;
}

.refresh-btn:hover {
  background: #0E42D2;
}

.refresh-btn:active {
  background: #0A2E8F;
}

/* 当前会员等级说明 */
.current-plan-info {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 25px;
}

.plan-description h4 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.plan-description ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-description li {
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid rgba(33, 150, 243, 0.2);
  position: relative;
  padding-left: 20px;
}

.plan-description li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.plan-description li:last-child {
  border-bottom: none;
}

/* 会员到期时间样式 */
.membership-expiry {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 15px;
  margin: 15px 0;
}

.membership-expiry.expired {
  background: #fff5f5;
  border-color: #fed7d7;
}

.membership-expiry.permanent {
  background: #f0fff4;
  border-color: #c6f6d5;
}

.expiry-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.expiry-label {
  font-weight: 600;
  color: var(--text-primary);
}

.expiry-time {
  color: #28a745;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 16px;
}

.days-remaining {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.days-label {
  font-weight: 500;
  color: var(--text-primary);
}

.days-count {
  font-weight: 700;
  font-size: 16px;
  color: #28a745;
}

.days-count.warning {
  color: #dc3545;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* 会员卡片网格 */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

/* 上两列：基础、银牌；下两列：金牌、白金（按DOM顺序排列） */
/* 无需特别处理第4个，全局为两列自然排版成两行两列 */

.membership-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.membership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border-color);
}

.membership-card.basic::before {
  background: linear-gradient(90deg, #6c757d, #adb5bd);
}

.membership-card.silver::before {
  background: linear-gradient(90deg, #c0c0c0, #d3d3d3);
}

.membership-card.gold::before {
  background: linear-gradient(90deg, #ffd700, #ffed4e);
}

.membership-card.platinum::before {
  background: linear-gradient(90deg, #e5e4e2, #bcc6cc);
}

.membership-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.membership-card.current {
  border-color: var(--success-color);
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
}

.membership-card.current::before {
  background: var(--success-color);
}

.membership-header {
  margin-bottom: 20px;
}

.membership-header h4 {
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.price {
  color: var(--primary-color);
  font-size: 28px;
  font-weight: 800;
}

.membership-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
  text-align: left;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.feature-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.upgrade-btn {
  width: 100%;
  padding: 12px 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.upgrade-btn:hover:not(:disabled) {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.upgrade-btn:disabled {
  background: var(--text-tertiary);
  cursor: not-allowed;
  transform: none;
}

.upgrade-btn.current-plan {
  background: var(--success-color);
  cursor: default;
}

/* 支付区域样式 */
.payment-section {
  background: rgba(248, 249, 250, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 25px;
  margin-top: 25px;
}

.payment-section h4 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.payment-methods {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  justify-content: center;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.payment-method input[type="radio"] {
  margin: 0;
}

.payment-method input[type="radio"]:checked + .payment-icon + span {
  color: var(--primary-color);
  font-weight: 600;
}

.payment-icon {
  font-size: 24px;
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* 支付宝图标样式 */
.alipay-icon {
  background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%);
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 微信支付图标样式 */
.wechat-icon {
  background: linear-gradient(135deg, #07c160 0%, #38d9a9 100%);
  color: white;
  font-size: 16px;
  font-weight: 600;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 支付方式选中状态 */
.payment-method input[type="radio"]:checked + .payment-icon {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.payment-method input[type="radio"]:checked + .alipay-icon {
  background: linear-gradient(135deg, #0050b3 0%, #1677ff 100%);
}

.payment-method input[type="radio"]:checked + .wechat-icon {
  background: linear-gradient(135deg, #059669 0%, #07c160 100%);
}

/* 购买数量选择样式 */
.quantity-selection {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

.quantity-selection h5 {
  margin: 0 0 15px 0;
  color: var(--text-primary);
  font-size: 16px;
}

.quantity-controls,
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-direction: row;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border-color);
  background: white;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.quantity-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.quantity-input,
#quantityInput {
  width: 60px;
  height: 32px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary) !important;
  background: white !important;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(33, 150, 243, 0.2);
}

.quantity-unit {
  font-size: 14px;
  color: var(--text-primary) !important;
  font-weight: 500;
}

.quantity-tips {
  color: var(--text-secondary);
  font-size: 12px;
}

.payment-summary {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
}

.payment-summary h5 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
  border-bottom: none;
}

.summary-item span:first-child {
  color: var(--text-primary) !important;
  font-weight: 500;
}

.summary-item span:last-child {
  color: var(--text-primary) !important;
  font-weight: 600;
}

.payment-summary .btn {
  width: 100%;
  margin-top: 20px;
}

/* 支付条款样式 */
.payment-terms {
  margin: 20px 0;
  padding: 15px;
  background: #f8f9fa;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-color);
}

.terms-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary) !important;
}

.terms-checkbox input[type="checkbox"] {
  margin: 0;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.terms-checkbox .checkmark {
  display: none;
}

.terms-checkbox strong {
  color: #e74c3c;
  font-weight: 600;
}

/* 不退款提醒样式 */
.no-refund-notice {
  background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
  border: 2px solid #f39c12;
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  box-shadow: 0 2px 8px rgba(243, 156, 18, 0.1);
}

.notice-icon {
  font-size: 24px;
  color: #f39c12;
  flex-shrink: 0;
  margin-top: 2px;
}

.notice-content h5 {
  color: #d68910;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.notice-content p {
  color: #8b4513;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

.notice-content strong {
  color: #e67e22;
  font-weight: 700;
}

/* 支付模态框内的样式强制应用 */
.qr-payment-modal .quantity-controls,
.qr-payment-modal .quantity-selector,
.qr-code-modal .quantity-controls,
.qr-code-modal .quantity-selector {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
}

.qr-payment-modal .quantity-unit,
.qr-code-modal .quantity-unit {
  color: #1D2129 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.qr-payment-modal .quantity-input,
.qr-payment-modal #quantityInput,
.qr-code-modal .quantity-input,
.qr-code-modal #quantityInput {
  color: #1D2129 !important;
  background: white !important;
}

.qr-payment-modal .summary-item span,
.qr-code-modal .summary-item span {
  color: #1D2129 !important;
}

.qr-payment-modal .terms-checkbox,
.qr-code-modal .terms-checkbox {
  color: #1D2129 !important;
}

/* 更强制的文字颜色规则 */
.quantity-controls * {
  color: #1D2129 !important;
}

.quantity-selector * {
  color: #1D2129 !important;
}

.purchase-quantity * {
  color: #1D2129 !important;
}

/* 针对具体元素的强制样式 */
span.quantity-unit {
  color: #1D2129 !important;
}

input#quantityInput {
  color: #1D2129 !important;
  background: white !important;
}

/* 支付内容区域强制黑色文字 */
.qr-payment-content,
.qr-payment-content * {
  color: #1D2129 !important;
}

.qr-payment-content .quantity-unit,
.qr-payment-content span {
  color: #1D2129 !important;
}

.qr-payment-content input {
  color: #1D2129 !important;
  background: white !important;
}

/* 复选框文字强制黑色 */
.terms-checkbox,
.terms-checkbox *,
.confirmation-checkbox,
.confirmation-checkbox * {
  color: #1D2129 !important;
}

.payment-terms,
.payment-terms * {
  color: #1D2129 !important;
}

.payment-confirmation {
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  margin-top: 20px;
}

.payment-confirmation * {
  color: #1D2129 !important;
}

.confirmation-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0; /* 移除底部边距，让按钮区域控制间距 */
  font-size: 14px;
  line-height: 1.5;
}

/* 按钮文字颜色和样式 */
.payment-actions .btn {
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1; /* 按钮等宽分布 */
  max-width: 140px; /* 限制最大宽度 */
}

.payment-actions .btn-primary {
  color: white !important;
  background: #007bff;
  white-space: nowrap; /* 防止换行 */
}

.payment-actions .btn-primary:hover {
  background: #0056b3;
  transform: translateY(-1px);
}

.payment-actions .btn-secondary {
  color: white !important;
  background: #6c757d;
}

.payment-actions .btn-secondary:hover {
  background: #545b62;
  transform: translateY(-1px);
}

/* 禁用状态的支付按钮 */
.btn:disabled {
  background: var(--text-tertiary);
  color: white;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* 二维码支付弹窗样式 */
.qr-payment-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.qr-payment-content {
  background: white;
  border-radius: var(--radius-lg);
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

.qr-payment-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.qr-payment-header .payment-icon {
  font-size: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #666;
  font-weight: 600;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.qr-payment-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
}

.qr-instruction {
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-size: 14px;
}

.qr-code {
  margin: 20px 0;
  padding: 20px;
  background: #f8f9fa;
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
}

.qr-code img {
  width: 250px;
  height: 250px;
  border-radius: var(--radius-sm);
}

.qr-tips {
  margin: 20px 0;
  text-align: left;
}

.qr-tip {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qr-actions {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.qr-actions .btn {
  flex: 1;
  padding: 12px 20px;
  font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .qr-payment-content {
    padding: 20px;
    margin: 20px;
  }
  
  .qr-code img {
    width: 200px;
    height: 200px;
  }
  
  .qr-actions {
    flex-direction: row;
  }
}

/* 响应式调整 */
@media (max-width: 768px) {
  .membership-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .payment-methods {
    flex-direction: column;
    gap: 12px;
  }
  
  .payment-method {
    justify-content: center;
  }
  
  .usage-info {
    gap: 8px;
  }
  
  .usage-item {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* 支付状态显示样式 */
.payment-status {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 20px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.payment-status::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border-color);
}

.payment-status.processing::before {
  background: var(--primary-color);
}

.payment-status.success::before {
  background: var(--success-color);
}

.payment-status.error::before {
  background: var(--danger-color);
}

.payment-status.waiting::before {
  background: var(--warning-color);
}

.status-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.status-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-icon.processing {
  background: var(--primary-color);
  animation: pulse 1.5s infinite;
}

.status-icon.success {
  background: var(--success-color);
}

.status-icon.error {
  background: var(--danger-color);
}

.status-icon.waiting {
  background: var(--warning-color);
  animation: pulse 2s infinite;
}

.status-message {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

/* 微信支付二维码样式 */
.wechat-qr-code {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.wechat-qr-code h5 {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.wechat-qr-code img {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
}

.wechat-qr-code p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* 脉冲动画 */
@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

/* 支付处理中状态 */
.payment-status.processing .status-message {
  color: var(--primary-color);
}

/* 支付成功状态 */
.payment-status.success .status-message {
  color: var(--success-color);
}

/* 支付失败状态 */
.payment-status.error .status-message {
  color: var(--danger-color);
}

/* 等待支付状态 */
.payment-status.waiting .status-message {
  color: var(--warning-color);
}

/* 旧的模态框进度指示器样式 - 保留以防其他地方使用 */
.progress-indicator {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.progress-indicator.show {
  opacity: 1;
  visibility: visible;
}

/* 新的非阻塞进度显示区域样式 */
.report-progress-area {
  margin-top: 20px;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.2);
  animation: slideDown 0.3s ease-out;
}

.progress-container {
  padding: 20px;
  color: white;
}

.progress-header {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
}

.progress-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.progress-spinner-inline {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.progress-info {
  flex: 1;
}

.progress-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.progress-message {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.progress-time {
  font-size: 12px;
  opacity: 0.8;
  font-family: monospace;
}

.progress-actions {
  flex-shrink: 0;
}

.btn-link {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.btn-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.progress-tips {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
}

.progress-tips p {
  margin: 0 0 8px 0;
  font-size: 13px;
  opacity: 0.9;
}

.progress-tips p:last-child {
  margin-bottom: 0;
}

.progress-content {
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 300px;
}

.progress-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.progress-text {
  color: #d93025; /* 红色提高可见性：AI分析中 文案按偏好显示为红色 */
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 通用样式：任何蓝色背景的输入框都应该有白色文字 */
input[style*="background-color: #165DFF"],
input[style*="background: #165DFF"],
input[style*="background: blue"],
input[style*="background-color: blue"],
textarea[style*="background-color: #165DFF"],
textarea[style*="background: #165DFF"],
textarea[style*="background: blue"],
textarea[style*="background-color: blue"] {
  color: white !important;
}

input[style*="background-color: #165DFF"]::placeholder,
input[style*="background: #165DFF"]::placeholder,
input[style*="background: blue"]::placeholder,
input[style*="background-color: blue"]::placeholder,
textarea[style*="background-color: #165DFF"]::placeholder,
textarea[style*="background: #165DFF"]::placeholder,
textarea[style*="background: blue"]::placeholder,
textarea[style*="background-color: blue"]::placeholder {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* 特定针对蓝色背景的强制样式 */
input[style*="#165DFF"],
input[style*="#4080FF"],
input[style*="#0E42D2"],
input[style*="blue"],
input[style*="rgb(22, 93, 255)"],
input[style*="rgb(64, 128, 255)"],
textarea[style*="#165DFF"],
textarea[style*="#4080FF"],
textarea[style*="#0E42D2"],
textarea[style*="blue"],
textarea[style*="rgb(22, 93, 255)"],
textarea[style*="rgb(64, 128, 255)"] {
  color: white !important;
}

/* 通用样式：任何蓝色背景的元素都应该有白色文字 */
*[style*="background-color: #165DFF"],
*[style*="background: #165DFF"],
*[style*="background-color: blue"],
*[style*="background: blue"],
*[style*="background-color: rgb(22, 93, 255)"],
*[style*="background-color: rgb(64, 128, 255)"],
*[style*="background-color: rgb(14, 66, 210)"] {
  color: white !important;
}

/* 为蓝色背景的元素添加悬停效果 */
*[style*="background-color: #165DFF"]:hover,
*[style*="background: #165DFF"]:hover,
*[style*="background-color: blue"]:hover,
*[style*="background: blue"]:hover,
*[style*="background-color: rgb(22, 93, 255)"]:hover,
*[style*="background-color: rgb(64, 128, 255)"]:hover,
*[style*="background-color: rgb(14, 66, 210)"]:hover {
  color: rgba(255, 255, 255, 0.8) !important;
}

/* 企业搜索历史区域样式 */
.company-search-history-section {
    background: #fff !important;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e6eb;
    color: #1d2129 !important;
}

.company-search-history-section h3 {
    color: #1d2129 !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    border-left: 3px solid #165dff;
    padding-left: 12px;
}

.company-search-history-section p {
    color: #4e5969 !important;
    font-size: 14px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.company-search-history-list {
    max-height: 400px;
    overflow-y: auto;
}

.company-search-history-list .history-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-search-history-list .history-item:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.company-search-history-list .history-company {
    font-weight: bold;
    color: #333;
    font-size: 20px;
    flex: 1;
}

.company-search-history-list .history-time {
    color: #666;
    font-size: 16px;
    margin-left: 10px;
    white-space: nowrap;
}

.company-search-history-list .history-type {
    color: #007bff;
    font-size: 16px;
    margin-left: 10px;
    white-space: nowrap;
    background: #e7f3ff;
    padding: 2px 8px;
    border-radius: 12px;
}

.company-search-history-list .no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.company-search-history-list .no-results p {
    margin: 0;
    font-size: 14px;
}

/* 搜索历史样式 */
.search-history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.search-history-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.history-list {
    max-height: 500px;
    overflow-y: auto;
}

.history-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-item:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.history-company {
    font-weight: bold;
    color: #333;
    font-size: 16px;
    flex: 1;
}

.history-time {
    color: #666;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
}

.history-type {
    color: #007bff;
    font-size: 12px;
    margin-left: 10px;
    white-space: nowrap;
    background: #e7f3ff;
    padding: 2px 8px;
    border-radius: 12px;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-results h3 {
    margin-bottom: 10px;
    color: #333;
}

/* 历史详情样式 */
.history-detail-container {
    margin-top: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa !important;
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 强制紧凑布局 - 覆盖所有可能的垂直居中 */
.history-detail-container * {
    vertical-align: top !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.history-detail-content {
    padding: 0;
}

.history-detail-header {
    background: #007bff;
    color: white;
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.history-detail-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.history-detail-body {
    padding: 4px !important;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px !important;
    align-items: start !important;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    padding: 1px 2px !important;
    border-bottom: 1px solid #e9ecef;
    line-height: 1.8 !important;
    margin: 0 !important;
    min-height: auto !important;
    height: auto !important;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #495057;
    min-width: 60px;
    margin-right: 2px;
    flex-shrink: 0;
    font-size: 9px !important;
    line-height: 1.0 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
}

.detail-value {
    color: #212529;
    flex: 1;
    word-break: break-all;
    font-size: 9px !important;
    line-height: 1.0 !important;
    padding: 0 !important;
    margin: 0 !important;
    height: auto !important;
    vertical-align: top !important;
}

/* 历史列表响应式设计 */
@media (max-width: 768px) {
    .search-history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .history-time,
    .history-type {
        margin-left: 0;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0px !important;
        padding: 1px 2px !important;
        height: auto !important;
    }
    
    .detail-label {
        min-width: auto;
        margin-right: 0;
        font-size: 9px !important;
        line-height: 1.0 !important;
        margin: 0 !important;
        height: auto !important;
    }
    
    .detail-value {
        font-size: 9px !important;
        line-height: 1.0 !important;
        margin: 0 !important;
        height: auto !important;
    }
    
    .history-detail-body {
        padding: 2px !important;
    }
    
    .detail-grid {
        gap: 0px !important;
    }
}

/* 多选行业标签样式 */
.selected-industry-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 2px;
    border: 1px solid #bbdefb;
}

.selected-industry-tag .remove-btn {
    cursor: pointer;
    color: #666;
    font-weight: bold;
    font-size: 14px;
    line-height: 1;
    padding: 0 2px;
}

.selected-industry-tag .remove-btn:hover {
    color: #d32f2f;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 多选容器样式 */
#industryKeywordsContainer {
    min-height: 40px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    background: white;
    cursor: text;
    transition: border-color 0.3s ease;
}

#industryKeywordsContainer:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(22, 93, 255, 0.1);
}

#selectedIndustries {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
    min-height: 20px;
}

#industryKeywords {
    border: none !important;
    outline: none !important;
    width: 100%;
    padding: 0 !important;
    background: transparent !important;
    font-size: 14px;
}

#industryKeywords::placeholder {
    color: #999;
    font-style: italic;
}

/* 新格式表格样式 */
.company-table-wrapper {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
}

.company-table-wrapper h4 {
    background: var(--primary-color);
    color: white;
    padding: 12px 16px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.data-analysis-table.new-format {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.data-analysis-table.new-format thead th {
    background: var(--bg-light);
    color: var(--text-primary);
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    font-size: 14px;
}

.data-analysis-table.new-format tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
    font-size: 14px;
    line-height: 1.5;
}

.data-analysis-table.new-format tbody td:first-child {
    font-weight: 600;
    color: var(--text-primary);
    width: 120px;
    background: var(--bg-light);
}

.data-analysis-table.new-format tbody td:last-child {
    color: var(--text-secondary);
}

.data-analysis-table.new-format tbody tr:hover {
    background: var(--bg-light);
}

.data-analysis-table.new-format tbody tr:last-child td {
    border-bottom: none;
}

/* 周期匹配结果样式 */
.periodic-result {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.periodic-result h4 {
    margin: 0 0 12px 0;
    color: #495057;
    font-size: 16px;
    font-weight: 600;
}

.periodic-result h5 {
    margin: 12px 0 8px 0;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.result-info {
    margin-bottom: 12px;
}

.result-info p {
    margin: 4px 0;
    font-size: 14px;
    color: #6c757d;
}

.result-info strong {
    color: #495057;
}

.result-content {
    border-top: 1px solid #e9ecef;
    padding-top: 12px;
}

.content-preview {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #495057;
    max-height: 120px;
    overflow-y: auto;
}

.periodic-result.no-data {
    background: #fff3cd;
    border-color: #ffeaa7;
}

.no-data-message {
    text-align: center;
    padding: 20px;
}

.no-data-message p {
    margin: 8px 0;
    color: #856404;
    font-size: 14px;
}

.no-data-message .help-text {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

.loading-message {
    text-align: center;
    padding: 20px;
    color: #6c757d;
    font-size: 14px;
}