/**
 * SEO Checker Top Lite Styles
 * Simplified top section with checks moved to preview panel tabs
 */

/* 1. Subtitle line clamp (SEO Checker only) */
.tool-page:has(.seo-checker-empty-state) .tool-header .tool-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .tool-page:has(.seo-checker-empty-state) .tool-header .tool-description {
    -webkit-line-clamp: 3;
  }
}

/* 2. Preview panel tabs */
.seo-checker-preview-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.seo-checker-preview-tab {
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-text);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
  font-weight: 500;
}

.seo-checker-preview-tab:hover {
  opacity: 1;
  background: var(--color-soft);
  border-color: var(--color-border);
}

.seo-checker-preview-tab.is-active {
  opacity: 1;
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* 3. Tab content panels */
.seo-checker-tab-content {
  display: none;
}

.seo-checker-tab-content.is-active {
  display: block;
}

/* 4. Checks included list (compact, 2 columns on desktop) */
.seo-checker-checks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 768px) {
  .seo-checker-checks-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.seo-checker-checks-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--color-soft);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.seo-checker-checks-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 12px;
}

.seo-checker-checks-content {
  flex: 1;
}

.seo-checker-checks-title {
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--color-text);
}

.seo-checker-checks-desc {
  font-size: 13px;
  opacity: 0.8;
  color: var(--color-text);
  line-height: 1.4;
}

/* 5. Hide feature grid from top (if it still exists in HTML) */
.seo-checker-features {
  display: none !important;
}

.seo-checker-features__toggle {
  display: none !important;
}
