/*
WORKAROUND: Remove "Share Thread" entry from thread menu.
This rule might be removed in the future, either
- as soon as [https://github.com/Chainlit/chainlit/issues/2645] is fixed.
- or we need the share thread feature for our purpose.
*/
#share-thread {
    display: none;
}

/* Light theme */
.light .placeholder\:text-muted-foreground::placeholder {
    color: #A5A8AF !important;
}

.light div.text-muted-foreground span {
    color: #A5A8AF !important;
}

.light button.bg-background {
    background-color: #EFF0F1 !important;
}

.light div .py-1 {
    border: none !important;
}

.light svg.\!size-6 path {
    fill: #1F2837 !important;
}

.light svg.lucide-arrow-down {
    color: #1F2837 !important;
}

.light #search-chats-button {
    color: #1F2837 !important;
}

.light .text-sidebar-foreground\/70 {
    color: #A5A8AF !important;
}

.light img[src*="circle-question-mark.svg"] {
    /*
    Calculated filter chain of #1F2837 to recolor the icon in light mode.
    Generated by [https://angel-rs.github.io/css-color-filter-generator/]
    */
    filter: brightness(0) saturate(100%) invert(11%) sepia(23%) saturate(1006%) hue-rotate(178deg) brightness(97%) contrast(89%);
}

/*
This rule removes the empty tool tip from the help button in the header.
*/
#header button:has(a[href="/user-manual"]) + [data-radix-popper-content-wrapper] {
    display: none !important;
}

/* Ensure Login page image is not too big */
img[src='/public/custom-background.svg'] {
    object-fit: scale-down;
}

/* Change the slider thumb */
#Requests [role="slider"] {
    display: none;
}

label[for="Requests"]>div.inline-flex {
    display: none;
}

/* Remove "Reset" button from settings */
#chat-settings .flex.flex-col-reverse.sm\:flex-row button:first-child {
    display: none;
}