/* Replace default watermark in existing chat */
a.watermark {
    display: flex !important;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

a.watermark > .text-xs,
a.watermark > svg {
    display: none !important;
}

a.watermark::before {
    /* content is injected by JS */
    font-size: 12px;
}

a.watermark::after {
    content: "";
    display: inline-block;
    width: 110px;
    height: 14px;
    background-image: url("welcome_screen_logo_light.svg");
    background-repeat: no-repeat;
    background-position: center;
}

/* Swap automatically in dark mode (Chainlit toggles a .dark class) */
.dark a.watermark::after {
    background-image: url("welcome_screen_logo_dark.svg");
}

/*---------------------------------------------------*/

.ai-message span.relative.shrink-0.rounded-full {
    display: none !important; /* removes it from the layout */
}


#welcome-screen .logo {
    display: none !important;
}

#welcome-screen::before {
    content: "";
    display: block;
    width: 500px;
    height: 60px;
    background-image: url("welcome_screen_logo_light.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-bottom: .5rem;
}

/* Swap automatically in dark mode (Chainlit toggles a .dark class) */
.dark #welcome-screen::before {
    background-image: url("welcome_screen_logo_dark.svg");
}
