/* Module Specific Styles for AI Detector */

#highlightViewer {
  white-space: pre-wrap;
  word-wrap: break-word;
}

#highlightViewer mark {
  background-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border-bottom: 2px solid #ef4444;
  padding: 0 2px;
  border-radius: 2px;
  font-weight: 500;
}

/* Metric Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.metric-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.metric-icon.blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.metric-icon.purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.metric-icon.orange { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.metric-icon.red { background: rgba(239, 68, 68, 0.15); color: #ef4444; }

.metric-info h3 {
  font-size: 0.95rem;
  color: var(--t2);
  font-weight: 500;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tooltip-icon {
  color: var(--t2);
  cursor: help;
  font-size: 0.8rem;
}
.metric-val {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--t);
  font-family: inherit;
}

/* ===== SEO SECTION & FAQ STYLE ===== */
.seo-section {
  margin-top: 60px;
  border-top: 1px solid var(--border);
  padding-top: 60px;
}
.seo-container {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  color: var(--t2);
}
.seo-container h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  margin-top: 35px;
  color: var(--t);
}
.seo-container h3 {
  font-size: 1.3rem;
  margin-top: 25px;
  margin-bottom: 10px;
  color: var(--t);
}
.seo-container p {
  margin-bottom: 20px;
}
.seo-container ul, .seo-container ol {
  margin-bottom: 30px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.seo-container li strong {
  color: var(--t);
}

/* FAQ Accordion */
.faq-sec {
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
  width: 100%;
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s;
}
.faq-item.active {
  border-color: var(--p);
  background: rgba(139, 92, 246, 0.03);
}
.faq-header {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--t);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}
.faq-header:hover {
  background: rgba(255, 255, 255, 0.04);
}
.faq-icon {
  font-size: 0.85rem;
  color: var(--p);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: var(--t2);
  font-size: 0.9rem;
  line-height: 1.6;
}
.faq-item.active .faq-body {
  padding-bottom: 20px;
}

