@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;600&display=swap');

/* 图像模块 */
.image-grid img {
  width: 35%;           /* 缩小比例 */
  max-width: 240px;     /* 限制最大宽度 */
  height: auto;
}

.image-group-card {
  width: 100%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-family: 'IBM Plex Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: box-shadow 0.3s ease;
}

.image-group-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}


.image-group-header {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.image-group-content {
  display: flex;
  justify-content: center; /* 或 center */
  gap: 16px;
  flex-wrap: wrap; /* 小屏时自动换行 */
  width: 100%;
}

.image-group-content img {
  flex: 1 1 45%;       /* 每张图占约 45%，可自动缩放 */
  max-width: 300px;    /* 限制最大宽度，防止太大 */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-group-content img:hover {
  transform: scale(1.02);
}

.generate-report-btn {
  background: linear-gradient(135deg, #d1d1d1, #2c2c2c); /* 银灰到深黑渐变 */
  color: #ffffff;
  border: 1px solid #888;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2), inset 0 0 6px rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.generate-report-btn:hover {
  background: linear-gradient(135deg, #2c2c2c, #d1d1d1);
  transform: translateY(-2px);
  color: #e0e0e0;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4), inset 0 0 8px rgba(255, 255, 255, 0.2);
}


/* 报告模块 */
.ai-report-section {
  padding: 40px 0;
  display: flex;
  justify-content: center;
}

.ai-report-container {
  width: 90%;
  max-width: 1100px;
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: flex-start;
}

.ai-image-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.ai-image-area img {
  width: 80%; /* 原来是 100%，现在缩小到 80% */
  max-width: 300px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.ai-image-area img:hover {
  transform: scale(1.03);
}

.ai-report-box {
  flex: 1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 1.05em;
  line-height: 1.7;
  color: #2c3e50;
  overflow: hidden;
  min-height: 300px;
  position: relative;
}

/* .report-placeholder {
  text-align: center;
  color: #888;
  font-style: italic;
} */
.report-placeholder {
  display: flex;
  align-items: center;
  gap: 8px;
}

.emoji-icon {
  font-family: system-ui, sans-serif; /* 使用系统默认字体，避免手写体影响 */
  font-size: 1.0em;
}

.placeholder-text {
  font-family: 'Patrick Hand', cursive; /* 手写体只作用于文字部分 */
  font-size: 1.0em;
  line-height: 1.8;
}

#report-box {
  font-family: 'Patrick Hand', cursive;
  font-size: 1.6em; /* 原来是 1.05em，你可以调到 1.2 或 1.3 */
  line-height: 1.8; /* 增加行距让手写体更舒展 */
}
