/* Shared sign-in gate for inline SEO AI Fix panels */
.seo-ai-fix-signin {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: rgba(14, 165, 233, 0.08);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.seo-ai-fix-signin p {
  margin: 0 0 0.625rem;
}
.seo-ai-fix-signin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.seo-ai-fix-signin-link {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: #0ea5e9;
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
}
.seo-ai-fix-signin-link:hover {
  filter: brightness(1.08);
}
.seo-ai-fix-dismiss {
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 0.75rem;
  cursor: pointer;
}
.seo-ai-fix-error-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.seo-ai-fix-error-msg {
  margin: 0;
}
.seo-ai-fix-error-sub {
  margin: 0;
  font-size: 0.75rem;
  opacity: 0.85;
}
.seo-ai-fix-upgrade-btn {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  font-family: inherit;
}
.seo-ai-fix-upgrade-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}
.seo-ai-fix-upgrade-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* SEO Pro pricing strip — compact single-row bar */
.seo-pro-banner {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  margin: 0.5rem auto 0.25rem;
  max-width: 920px;
}

.seo-pro-banner[hidden] {
  display: none !important;
}

.seo-pro-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem 1rem;
  padding: 0.5rem 0.75rem 0.5rem 0.875rem;
  border-radius: 10px;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.12);
}

.seo-pro-banner-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.625rem;
  min-width: 0;
  flex: 1 1 12rem;
}

.seo-pro-banner-badge {
  flex-shrink: 0;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.5625rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.seo-pro-banner-copy {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.35;
  color: #cbd5e1;
}

.seo-pro-banner-copy strong {
  color: #f1f5f9;
  font-weight: 700;
}

.seo-pro-banner-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex-shrink: 0;
  padding: 0.4rem 0.875rem;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  cursor: pointer;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 55%, #ec4899 100%);
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
  transition: filter 0.15s, transform 0.15s;
}

.seo-pro-banner-cta:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.seo-pro-banner-cta:active:not(:disabled) { transform: translateY(0); }
.seo-pro-banner-cta:disabled { opacity: 0.7; cursor: wait; }
.seo-pro-banner-cta svg { width: 14px; height: 14px; flex-shrink: 0; }

.seo-pro-banner--compact { padding-top: 0.375rem; }

.seo-pro-banner--idx {
  max-width: 900px;
  padding: 0 2rem 0.375rem;
  margin-top: -1rem;
}

@media (max-width: 640px) {
  .seo-pro-banner-inner {
    flex-direction: column;
    align-items: stretch;
    padding: 0.625rem 0.75rem;
  }
  .seo-pro-banner-cta { width: 100%; }
}

[data-theme="dark"] .seo-pro-banner-inner {
  border-color: rgba(129, 140, 248, 0.3);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}
