/* ─────────────────────────────────────────────────────────────────────────
 * Zyron CRM — SEO Sağlık & İndeksleme paneli
 *
 * Vitrin admin > Ayarlar > SEO bölümünde gösterilir.
 * Skoru, check listesini ve indexleme araçlarını içerir.
 * ───────────────────────────────────────────────────────────────────────── */

.seo-health {
  --sh-border: rgba(255,255,255,0.08);
  --sh-surface: rgba(255,255,255,0.025);
  display: flex; flex-direction: column; gap: 16px;
  margin-top: 4px;
}
[data-theme="light"] .seo-health {
  --sh-border: rgba(15,23,42,0.1);
  --sh-surface: rgba(15,23,42,0.025);
}

.seo-health__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: 12px;
  flex-wrap: wrap;
}
.seo-health__score {
  display: flex; align-items: center; gap: 14px;
}
.seo-health__score-ring {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: conic-gradient(#10b981 0deg, rgba(255,255,255,0.08) 0deg);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.seo-health__score-ring::before {
  content: '';
  position: absolute;
  inset: 5px;
  background: var(--color-surface-1, #141415);
  border-radius: 50%;
}
.seo-health__score-ring span {
  position: relative; z-index: 1;
  font-size: 16px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.seo-health__title {
  font-size: 14px; font-weight: 700;
}
.seo-health__actions {
  display: flex; gap: 8px;
}

/* Check list */
.seo-health__list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.seo-health__item {
  padding: 10px 14px;
  background: var(--sh-surface);
  border: 1px solid var(--sh-border);
  border-radius: 8px;
}
.seo-health__item--error { border-left: 3px solid #ef4444; }
.seo-health__item--warn  { border-left: 3px solid #f59e0b; }
.seo-health__item--ok    { border-left: 3px solid #10b981; }
.seo-health__item--info  { border-left: 3px solid #60a5fa; }

.seo-health__item-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}
.seo-health__item-head i { font-size: 16px; }
.seo-health__item-name {
  font-weight: 600;
  font-size: 13px;
}
.seo-health__item-msg {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.seo-health__item-sug {
  margin-top: 6px;
  padding-left: 26px;
  font-size: 11.5px;
}
.seo-health__item-sug i { font-size: 14px; opacity: 0.7; }

/* Tools */
.seo-health__tools {
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(66,133,244,0.04), rgba(16,185,129,0.04));
  border: 1px dashed var(--sh-border);
  border-radius: 12px;
  margin-top: 4px;
}
.seo-health__tools-title {
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.seo-health__tools-title i {
  background: linear-gradient(135deg, #4285F4, #34A853, #EA4335);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 18px;
}
.seo-health__btn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.seo-health__btn-grid .btn {
  justify-content: flex-start;
  text-align: left;
}
.seo-health__status {
  margin-top: 10px;
  min-height: 18px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
