/* Chainlit shows feedback buttons whenever it has a data layer; this one keeps no feedback. */
.positive-feedback-on,
.positive-feedback-off,
.negative-feedback-on,
.negative-feedback-off {
  display: none !important;
}

/* Chainlit puts header links after Readme; the admin panel's goes before it. */
#header button:has(> a[href="/admin"]) {
  order: -1;
}

/* Login page: one centred card instead of a narrow column beside a blown-up favicon. */
.min-h-svh:has(img[alt="Image"]) {
  grid-template-columns: minmax(0, 1fr) !important;
}
.min-h-svh:has(img[alt="Image"]) > :has(> img[alt="Image"]) {
  display: none !important;
}
.min-h-svh:has(img[alt="Image"]) .md\:justify-start {
  justify-content: center !important;
}
.min-h-svh:has(img[alt="Image"]) .max-w-xs {
  max-width: 30rem !important;
  padding: 4rem 3rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background: hsl(var(--card));
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
}
.min-h-svh:has(img[alt="Image"]) .max-w-xs h1 {
  font-size: 2rem;
}
.min-h-svh:has(img[alt="Image"]) .max-w-xs button {
  height: 3.25rem;
  font-size: 1.05rem;
}
