@charset "UTF-8";
/* BasinLens Category Insights Details Common Styles */

.report-content h1,
.report-content h2,
.report-content h3,
.report-content h4,
.report-content h5,
.report-content h6 {
  font-weight: 600;
  line-height: 1.5;
}
.report-content h1 {
  font-size: 1.875rem; /* text-3xl */
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom-width: 1px;
  border-color: #e5e7eb; /* gray-200 */
}
.report-content h2 {
  font-size: 1.5rem; /* text-2xl */
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.report-content h3 {
  font-size: 1.25rem; /* text-xl */
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}
.report-content h4 {
  font-size: 1.125rem; /* text-lg */
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}
.report-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}
.report-content ul {
  list-style-type: disc;
  /* list-style-position: inside; */
  list-style-position: outside;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}
.report-content li {
  padding-left: 0.5rem;
  margin-bottom: 0.5rem;
}
.report-content li::marker {
  color: #f97316;/* orange-400 */
}
.report-content strong {
  font-weight: 600;
}

.hightlight-block-red {
  background-color: #fef2f2; /* red-50 */
  padding: 1rem;
  border: 1px solid #fecaca; /* red-300 */
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.hightlight-block-orange {
  background-color: #fff7ed; /* orange-50 */
  padding: 1rem;
  border: 1px solid #fdba74; /* orange-300 */
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.hightlight-block-green {
  background-color: #f0fdf4; /* green-50 */
  padding: 1rem;
  border: 1px solid #bbf7d0; /* green-300 */
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.hightlight-block-blue {
  background-color: #eff6ff; /* blue-50 */
  padding: 1rem;
  border: 1px solid #bfdbfe; /* blue-300 */
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.hightlight-block-purple {
  background-color: #f3e8ff; /* purple-50 */
  padding: 1rem;
  border: 1px solid #c4b5fd; /* purple-300 */
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* TOC 样式 */
.toc-item {
  display: block;
  padding: 0.25rem 0.5rem;
  color: #64748b;
  text-decoration: none;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  /* line-clamp 样式 */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}
.toc-item:hover {
  color: #fb923c;
}
.toc-item.active {
  color: #fb923c; /* orange-400 */
  font-weight: 500;
}
.toc-item.h1-item {
  font-weight: 500;
  margin-top: 0.375rem;
}
.toc-item.h2-item {
  margin-left: 0.75rem;
  font-size: 0.75rem;
}


/* 反馈文本框动画 */
#detailedFeedback {
  animation-duration: 0.3s;
  animation-fill-mode: both;
}
#detailedFeedback.show {
  display: block;
  animation-name: slideDown;
}
#detailedFeedback.hide {
  animation-name: slideUp;
}

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

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

/* Login Required Content Styles */
.report-content.login-required-content section {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none;    /* Firefox */
  -ms-user-select: none;     /* IE 10+ */
  user-select: none;         /* Standard */
  cursor: default;
}
.paywall-area {
  position: relative;
}
#paywall-wrapper {
  max-height: 400px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
#paywall-container {
  position: relative;
  text-align: center;
  margin-top: -120px; /* 将按钮和文字上移到渐变区域 */
  padding-top: 6rem;
  padding-bottom: 6rem;
  background: linear-gradient(to top, white 30%, rgba(255, 255, 255, 0.9) 60%, transparent 100%);
  pointer-events: none; /* 允许点击穿透背景 */
}
#paywall-container > div {
    pointer-events: auto; /* 确保内部的 div 和按钮可以点击 */
}
.toc-disabled .toc-item {
    color: #9ca3af; /* gray-400 */
    cursor: not-allowed;
    pointer-events: none; /* 禁用所有鼠标事件 */
}
.toc-disabled .toc-item.active {
    color: #9ca3af; /* 确保激活状态也是灰色 */
    border-left-color: transparent; /* 移除激活状态的边框 */
}

/* Paywall Content */
#paywall-container h3 {
  font-size: 1.875rem !important; /* !text-3xl */
  line-height: 2.25rem !important;
  font-weight: 400 !important; /* !font-normal */
  letter-spacing: 0.1em; /* tracking-widest */
  color: #f97316; /* text-orange-500 */
  margin-bottom: 0.5rem; /* mb-2 */
}
#paywall-container p {
  color: #4b5563; /* text-gray-600 */
  margin-bottom: 1.5rem; /* mb-6 */
}
#paywall-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* gap-2 */
  margin: 0 auto;
  background-color: #f97316; /* bg-orange-500 */
  color: #ffffff; /* text-white */
  font-weight: 500; /* font-medium */
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  border-radius: 0.375rem; /* rounded-md */
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* shadow-md */
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
#paywall-login-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.5s ease-in-out;
  pointer-events: none;
  z-index: 1;
}
#paywall-login-btn:hover::after {
  left: 100%;
}
#paywall-login-btn:hover {
  background-color: #ea580c; /* hover:bg-orange-600 */
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); /* shadow-xl */
  transform: translateY(-0.125rem);
}
#paywall-login-btn svg {
  width: 1.25rem; /* size-5 */
  height: 1.25rem; /* size-5 */
}

/* Footer Feedback Section */
#reportFeedback {
  background-image: linear-gradient(to right, #fff7ed, #faf5ff); /* from-orange-50 to-purple-50 */
  border-radius: 0.375rem; /* rounded-md */
  padding: 1.5rem; /* p-6 */
  margin-top: 4rem; /* my-16 */
  margin-bottom: 4rem; /* my-16 */
  border: 1px solid #ffedd5; /* border-orange-100 */
}
#reportFeedback .feedback-title {
  text-align: center;
  margin-bottom: 1rem; /* mb-4 */
}
#reportFeedback .feedback-title h3 {
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem;
  font-weight: 400; /* !font-normal */
  color: #f97316; /* text-orange-500 */
  margin-bottom: 0.5rem; /* mb-2 */
}
#feedbackRatingWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem; /* mb-6 */
}
#feedbackRating {
  display: flex;
  gap: 2rem; /* space-x-8 */
}

/* 反馈按钮样式 */
.feedback-btn {
  min-width: 90px;
  font-size: 0.875rem;
  font-weight: 500;
  background-color: #ffffff;
  border: 1px solid #e5e7eb; /* border-gray-200 */
  color: #57534e; /* text-stone-600 */
  padding: 0.5rem 1rem; /* px-4 py-2 */
  border-radius: 0.375rem; /* rounded-md */
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem; /* space-x-2 */
  transition: all 0.3s ease;
  cursor: pointer;
}
.feedback-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #f9fafb; /* hover:bg-gray-50 */
  border-color: #d1d5db; /* hover:border-gray-300 */
}
.feedback-btn.selected {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-color: #f97316 !important; /* orange-500 */
  color: #f97316 !important; /* orange-500 */
}
.feedback-btn:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fed7aa; /* ring-2 ring-orange-200 */
}
.feedback-btn svg {
  width: 1.5rem; /* size-6 */
  height: 1.5rem; /* size-6 */
}

#feedbackComment > div {
  background-color: #ffffff;
  border-radius: 0.375rem; /* rounded-md */
  padding: 1.5rem; /* p-6 */
  border: 1px solid #e5e7eb; /* border-gray-200 */
}
#feedbackText {
  width: 100%;
  padding: 0.75rem; /* p-3 */
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.375rem; /* rounded-md */
  resize: none;
  transition: all 0.3s ease;
}
#feedbackText:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fed7aa; /* ring-2 ring-orange-200 */
  border-color: #fb923c; /* border-orange-400 */
}
#feedbackComment .actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem; /* space-x-3 */
  margin-top: 0.75rem; /* mt-3 */
}
#cancelFeedback {
  width: 5rem; /* w-20 */
  height: 2.25rem; /* h-9 */
  color: #6b7280; /* text-gray-500 */
  transition: color 0.3s ease;
  background: none;
  border: none;
  cursor: pointer;
}
#cancelFeedback:hover {
  color: #4b5563; /* hover:text-gray-600 */
}
#submitFeedback {
  width: 5rem; /* w-20 */
  height: 2.25rem; /* h-9 */
  background-color: #f97316; /* bg-orange-500 */
  color: #ffffff;
  border: none;
  border-radius: 0.375rem; /* rounded-md */
  transition: all 0.3s ease;
  cursor: pointer;
}
#submitFeedback:hover {
  background-color: #ea580c; /* hover:bg-orange-600 */
}
#submitFeedback:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fed7aa; /* ring-2 ring-orange-200 */
}
#feedbackThanks {
  background-color: #f0fdf4; /* bg-green-50 */
  border: 1px solid #bbf7d0; /* border-green-200 */
  border-radius: 0.375rem; /* rounded-md */
  padding: 1.5rem; /* p-6 */
  margin: 4rem 0; /* my-16 */
  text-align: center;
}
#feedbackThanks > div {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem; /* mb-2 */
  padding-top: 1rem; /* pt-4 */
  gap: 0.25rem; /* space-x-1 */
}
#feedbackThanks svg {
  width: 1.5rem; /* size-6 */
  height: 1.5rem; /* size-6 */
  color: #166534; /* text-green-700 */
}
#feedbackThanks .thanks-title {
  color: #14532d; /* text-green-800 */
  font-size: 1.125rem; /* text-lg */
  line-height: 1.75rem;
  font-weight: 500; /* font-medium */
}
#feedbackThanks .thanks-subtitle {
  color: #15803d; /* text-green-700 */
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem;
}
footer .disclaimer {
  color: #6b7280; /* text-gray-500 */
  font-size: 0.75rem; /* text-xs */
  line-height: 1.625; /* leading-relaxed */
  text-align: left;
}
