/* TEMU合规助手 - 内容样式 */

/* 浮动工具栏 */
.temu-compliance-toolbar {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  padding: 12px;
  width: 280px;
}

.temu-compliance-toolbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.temu-compliance-toolbar-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.temu-compliance-toolbar-close {
  cursor: pointer;
  color: #999;
  font-size: 18px;
}

.temu-compliance-toolbar-close:hover {
  color: #333;
}

/* 进度条 */
.temu-compliance-progress {
  margin-top: 8px;
}

.temu-compliance-progress-bar {
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.temu-compliance-progress-fill {
  height: 100%;
  background: #2196f3;
  transition: width 0.3s;
}

.temu-compliance-progress-text {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
  text-align: center;
}

/* 按钮 */
.temu-compliance-btn {
  width: 100%;
  padding: 8px 12px;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.temu-compliance-btn-primary {
  background: #2196f3;
  color: white;
}

.temu-compliance-btn-primary:hover {
  background: #1976d2;
}

.temu-compliance-btn-primary:disabled {
  background: #bdbdbd;
  cursor: not-allowed;
}

/* 状态提示 */
.temu-compliance-status {
  padding: 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 8px;
}

.temu-compliance-status-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.temu-compliance-status-error {
  background: #ffebee;
  color: #c62828;
}

.temu-compliance-status-info {
  background: #e3f2fd;
  color: #1565c0;
}
