/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@import url("/assets/custom-image-28f4633e.css");

/* Bootstrap sets scroll-behavior: smooth on :root, which
   interferes with Turbo's scroll preservation during morphs. */
:root {
  scroll-behavior: auto !important;
}

.prompt-recap {
  margin: 1rem 0 1.25rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid #ddd;
  color: #555;
  background: #fafafa;
  font-size: 0.95rem;
  line-height: 1.45;
}

.response {
  margin: 1.25rem 0;
  padding: 1.5rem;
  border-radius: 18px;
  background: #ffffff;
  border: 2px solid #111;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  color: #111;
  font-size: 1.35rem;
  line-height: 1.55;
  font-weight: 500;
}

.rating {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 2px solid #222;
  border-radius: 14px;
  background: #fffdf4;
}

.rating__q {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.35rem;
}

.rating .muted {
  color: #333;
  font-weight: 500;
  margin-bottom: 1rem;
}

.rating__buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rating__buttons button {
  padding: 0.9rem 1rem;
  border: 2px solid #222;
  border-radius: 12px;
  background: #ffffff;
  color: #111;
  cursor: pointer;
  min-width: 130px;
  text-align: center;
}

.rating__buttons button:hover {
  transform: translateY(-1px);
}

.rating__num {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.rating__label {
  margin-top: 0.35rem;
  font-weight: 600;
}

.rating__done {
  font-weight: 700;
  color: #111;
}

.safety-note {
  color: var(--muted);
  font-size: 12px;
  margin-top: 16px;
}

@media (max-width: 576px) {
  #dev-toolbar {
    display: none !important;
  }

  .response {
    font-size: 1.2rem;
    padding: 1.25rem;
  }

  .rating__buttons {
    flex-direction: column;
  }

  .rating__buttons button {
    width: 100%;
  }
}
