/* "What next?" panel (includes/next-steps.php) */
.pdflab-next-steps {
  max-width: 900px;
  margin: 24px auto;
  padding: 20px 24px;
  background: var(--bg-card, #161B22);
  border: 1px solid var(--border, #2A2F36);
  border-left: 4px solid var(--accent, #D32F2F);
  border-radius: var(--radius, 10px);
  box-shadow: var(--shadow-soft, 0 8px 18px rgba(0,0,0,0.18));
  text-align: left;
}

.pdflab-next-steps[hidden] {
  display: none;
}

.pdflab-next-steps h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
  color: var(--text-heading, #F8FAFC);
}

.pdflab-next-steps-help {
  margin: 0 0 16px;
  font-size: 0.925rem;
  color: var(--text-muted, #9AA4AE);
}

.pdflab-next-steps-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdflab-next-steps .pdflab-next-step {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-weight: 600;
  color: var(--text-primary, #E6EDF3);
  text-decoration: none;
  background: var(--bg-elevated, #1F2937);
  border: 1px solid var(--border, #2A2F36);
  border-radius: 999px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pdflab-next-steps .pdflab-next-step::after {
  content: "\2197";
  margin-left: 8px;
  font-size: 0.85em;
  color: #F87171;
}

.pdflab-next-steps .pdflab-next-step:hover,
.pdflab-next-steps .pdflab-next-step:focus-visible {
  border-color: var(--accent, #D32F2F);
  background: rgba(211, 47, 47, 0.12);
}

/* Tool pages paint every button red with !important (tool-dark.css); this one is a quiet text action. */
.pdflab-next-steps .pdflab-next-steps-share {
  margin-top: 16px;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  color: #F87171 !important;
  text-decoration: underline;
  background: none !important;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.pdflab-next-steps-share[hidden] {
  display: none;
}

.pdflab-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .pdflab-next-steps {
    margin: 16px;
    padding: 16px;
  }

  .pdflab-next-steps .pdflab-next-step {
    flex: 1 1 100%;
    justify-content: space-between;
  }
}
