/* ============================================================
   AI Content Assistant — SEO Meta Generator Styles
   ============================================================ */

.seo-layout {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.seo-input-panel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.seo-results-panel {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-8);
  animation: fadeIn 0.3s ease-out;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.required {
  color: var(--color-error);
}

.optional {
  font-weight: var(--weight-regular);
  color: var(--color-text-light);
  font-size: var(--text-xs);
}

/* Score Tab */
.score-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6) 0;
}

.score-label {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
}

.score-dimensions {
  margin-top: var(--space-6);
}

.score-dim-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
}

.score-dim-item:last-child {
  border-bottom: none;
}

.score-dim-name {
  flex: 1;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
}

.score-dim-bar {
  width: 120px;
  height: 6px;
  background: var(--color-bg-tertiary);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.score-dim-fill {
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.4s ease-out;
}

.score-dim-fill.pass { background: var(--color-accent); }
.score-dim-fill.warn { background: var(--color-warning); }
.score-dim-fill.fail { background: var(--color-error); }

.score-dim-value {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  width: 32px;
  text-align: right;
}

.score-dim-message {
  font-size: var(--text-xs);
  color: var(--color-text-light);
  max-width: 200px;
}

/* Responsive */
@media (max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .seo-results-panel {
    padding: var(--space-4);
  }
  .tabs {
    gap: 0;
  }
  .tab-btn {
    padding: var(--space-3) var(--space-3);
    font-size: 12px;
  }
}
