/* 地图商家采集WebPC端原型 - 自定义样式 */

/* 基础样式 */
body {
  font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
  background-color: #f9fafb;
  color: #333;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, #2c5282, #1a365d);
  color: white;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 卡片样式 */
.card {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  background: white;
  transition: all 0.3s ease;
  border: 1px solid #edf2f7;
}

.card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* 按钮样式 */
.btn-primary {
  background: #3182ce;
  border-color: #3182ce;
  font-weight: 500;
}

.btn-primary:hover {
  background: #2b6cb0;
  border-color: #2b6cb0;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(43, 108, 176, 0.3);
}

.btn-success {
  background: #38a169;
  border-color: #38a169;
  font-weight: 500;
}

.btn-success:hover {
  background: #2f855a;
  border-color: #2f855a;
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(47, 133, 90, 0.3);
}

/* 采集区域样式 */
.collection-area {
  background: rgba(49, 130, 206, 0.05);
  border-left: 4px solid #3182ce;
}

/* 结果表格样式 */
.result-table th {
  background-color: #ebf8ff;
  font-weight: 600;
  color: #2c5282;
  border-bottom: 2px solid #bee3f8;
}

.result-table tr:hover {
  background-color: #f7fafc;
}

/* iframe容器样式 */
.iframe-container {
  margin-bottom: 2rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
  .iframe-container {
    height: auto;
  }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f8f8f8;
}

::-webkit-scrollbar-thumb {
  background: #a0aec0;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #718096;
}

/* 电商风格特殊元素 */
.price-tag {
  color: #e53e3e;
  font-weight: bold;
}

.discount-badge {
  background: #3182ce;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: bold;
}

.section-title {
  font-size: 1.5rem;
  color: #2d3748;
  position: relative;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.section-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #3182ce;
} 