

/* Oculta el botón de cambio entre claro/oscuro en los settings */
#theme-toggle,
.settings-theme-toggle {
  display: none !important;
}

/* Oculta la marca de agua “Built with Chainlit” */
/* .watermark {
  display: none !important;
} */

/* tooltip style starts here */


.sava-tip[data-tip] {
  position: relative;
  display: inline;
  margin: 0 2px;
  cursor: help;
  font-size: 1.08em;
  font-weight: 700;
  text-decoration: none;
  vertical-align: text-bottom;
}

.sava-tip[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  width: max-content;
  max-width: min(360px, 80vw);
  padding: 10px 12px;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  overflow-wrap: break-word;
  pointer-events: none;
  text-align: left;
  transition: opacity 120ms ease;
  white-space: normal;
}

.sava-tip[data-tip]::before {
  content: "";
  position: absolute;
  left: 8px;
  top: calc(100% + 4px);
  z-index: 999999;
  visibility: hidden;
  opacity: 0;
  border: 6px solid transparent;
  border-bottom-color: #111827;
  pointer-events: none;
  transition: opacity 120ms ease;
}

.sava-tip[data-tip]:hover::after,
.sava-tip[data-tip]:focus::after,
.sava-tip[data-tip]:hover::before,
.sava-tip[data-tip]:focus::before {
  visibility: visible;
  opacity: 1;
}

.sava-tip[data-tip],
.sava-tip[data-tip]::before,
.sava-tip[data-tip]::after {
  overflow: visible !important;
}

.prose,
.markdown,
[class*="markdown"],
[class*="Markdown"],
[class*="message"],
[class*="Message"],
[data-testid*="message"],
[data-testid*="Message"],
[class*="MessageContent"],
[class*="message-content"],
[class*="MessageContent"] ul,
[class*="MessageContent"] ol,
[class*="MessageContent"] li,
[class*="markdown"] ul,
[class*="markdown"] ol,
[class*="markdown"] li,
[class*="prose"] ul,
[class*="prose"] ol,
[class*="prose"] li {
  overflow: visible !important;
}

/* tooltip style ends here */
