@import url("prompts.css");

/* Single prompt view - layout tweaks */

body.single-prompt-view .prompts-page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
}

body.single-prompt-view .prompt-library-section {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Center the single card and make it wide */
body.single-prompt-view #prompt-card-container {
  display: flex;
  justify-content: center;
}

body.single-prompt-view #prompt-card-container .prompt-card {
  width: 100%;
  max-width: 1000px;
}

/* Back button container styling (moved from prompts.css) */
body.single-prompt-view .back-button-container {
  background: transparent;
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1.5rem;
  text-align: center;
}

body.single-prompt-view .back-button-container .btn {
  background: transparent;
  color: var(--page-primary-color);
  border: 1px solid var(--page-primary-color);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
}

body.single-prompt-view .back-button-container .btn:hover {
  background: var(--page-primary-color);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(10, 132, 255, 0.2);
}

/* Hide the Go to Author's Profile button */
body.single-prompt-view #back-to-profile {
  display: none;
}
