.watermark {
    display: none !important;
}

a[href*='https://chainlit.io']
{
    visibility: hidden;
}

a[href*='https://github.com/Chainlit/chainlit']
{
    visibility: hidden;
}

.logo {
    display: none;
}

.welcome-screen > .logo {
    content: url("/public/login_logo_light.png");
    display: block;
    margin-bottom: 50px;
}

.dark .welcome-screen > .logo {
    content: url("/public/login_logo_dark.png");
    display: block;
    margin-bottom: 50px;
}

#welcome-text {
    font-size: 1.5rem;
    line-height: calc(2 / 1.5);
    font-weight: 500;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    width: 100%;
    display: block;
}

/* Control element ordering in welcome screen */
#welcome-screen {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Logo should be first */
#welcome-screen > .logo,
#welcome-screen > div:has(.logo) {
    order: 1 !important;
}

/* Welcome text should be second */
#welcome-screen > #welcome-text {
    order: 2 !important;
}

/* Input box container should be third */
#welcome-screen > div:has(textarea),
#welcome-screen > div:has(input),
#welcome-screen > div:has([role="textbox"]) {
    order: 3 !important;
}

/* Everything else (buttons, etc.) should come after */
#welcome-screen > *:not(#welcome-text):not(.logo):not(:has(.logo)):not(:has(textarea)):not(:has(input)):not(:has([role="textbox"])) {
    order: 4 !important;
}

.object-cover.dark {
    content: url("/public/login_logo_dark.png");
    object-fit: none;
}

.object-cover.light {
    content: url("/public/login_logo_light.png");
    object-fit: none;
}

/* AI Disclaimer styling - Fixed at bottom of viewport */
.ai-disclaimer-text {
    display: block;
    text-align: center;
    font-size: 0.65rem;       /* Smaller font to be subtle */
    line-height: 1rem;
    color: rgb(115, 115, 115);
    
    /* Fixed positioning at bottom */
    position: fixed;
    bottom: 8px;
    left: 0;
    right: 0;
    width: 100%;
    
    /* Interaction */
    pointer-events: none;     /* Clicks go through to elements behind */
    background: transparent;
    z-index: 100;
}

.dark .ai-disclaimer-text {
    color: rgb(163, 163, 163);
}