.watermark {
    display: none !important;
  }

#readme-button {
  display: none;
}

/* Hide favicon in the login page */
/* 
img[src*="favicon"] {
  display: none !important;
}  */


/* Hide right empty pane in the login page */
div.relative.hidden.bg-muted.lg\:block {
  display: none !important;
}

/* Center login form when right pane is hidden */
.grid.min-h-svh {
  display: flex !important;
  justify-content: center !important;
}

.grid.min-h-svh > .flex.flex-col {
  width: 100% !important;
  max-width: 480px !important;
  align-items: center !important;
}

/* Login title styling */
.grid.min-h-svh h1.text-2xl {
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  letter-spacing: 0.02em !important;
}

/* Login button styling */
.grid.min-h-svh form button {
  border-radius: 8px !important;
  font-weight: 500 !important;
  transition: box-shadow 0.2s ease !important;
}

.grid.min-h-svh form button:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.version-footer {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 4px;
  z-index: 20;
  background: transparent;
  border: none;
  pointer-events: none;
}

.version-footer-text {
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #b7bfcb;
}

.version-label {
  color: #adb6c2;
}

.version-divider {
  display: inline-block;
  width: 1px;
  height: 11px;
  margin: 0 10px -1px;
  background-color: #d9dfe7;
}

@media (max-width: 640px) {
  .version-footer-text {
    font-size: 11px;
  }
}

/* Response time statistics — subtle styling */
.markdown-body em:last-child,
.message-content em:last-child,
[class*="message"] em:last-child {
  color: #c0c7d0 !important;
  font-size: 0.7rem !important;
  font-style: normal !important;
  font-weight: 400 !important;
}
/* Append to existing public/custom.css; do not replace existing styles. */
.wella-groundedness { margin: 1rem 0; padding: 1rem 1.15rem; border: 1px solid #d6d6d6; border-radius: 12px; color: inherit; background: transparent; font-size: .9rem; max-width: 48rem; }
.wella-groundedness-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; font-size: 1rem; }
.wella-groundedness-heading span { font-weight: 700; font-variant-numeric: tabular-nums; }
.wella-groundedness-provider { opacity: .75; margin: .3rem 0 .65rem; }
.wella-groundedness progress { display: block; width: 100%; height: .5rem; margin: .6rem 0; accent-color: #b21636; }
.wella-groundedness p { line-height: 1.5; margin: .5rem 0; }
.wella-groundedness summary { cursor: pointer; font-weight: 600; padding: .3rem 0; }
.wella-groundedness details { margin-top: .65rem; }
/* Blue groundedness card */
.wella-groundedness {
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #bfdbfe;
    border-left: 5px solid #2563eb;
    border-radius: 14px;
    padding: 20px 24px;
    box-shadow: 0 4px 16px rgba(37,99,235,.08);
    color: #172554;
}
.wella-groundedness-heading {
    color: #1e40af;
    font-size: 17px;
}
.wella-groundedness-heading span {
    background: #dbeafe;
    color: #1e40af;
    padding: 5px 12px;
    border-radius: 999px;
}
.wella-groundedness-provider {
    color: #475569;
    opacity: 1;
}
.wella-groundedness progress {
    accent-color: #2563eb;
    height: 9px;
}
.wella-groundedness summary {
    color: #1d4ed8;
}
.wella-groundedness details p {
    color: #334155;
}
.dark .wella-groundedness {
    background: #172554;
    color: #eff6ff;
    border-color: #3b82f6;
}
.dark .wella-groundedness-heading,
.dark .wella-groundedness summary {
    color: #93c5fd;
}
.dark .wella-groundedness-provider,
.dark .wella-groundedness details p {
    color: #dbeafe;
}
