#page_body_knowledge_manager, #page_body_extraction_container, #page_body_instructions {
    padding-left: 1vw;
    padding-right: 1vw;
    background-color: inherit;
    padding-bottom: 2.2vh !important;

    background-color: inherit !important;
    display: flex;
    min-width: calc(var(--min-page-content-width) - var(--sidebar-width));
    /* height: var(--page-content-height) !important; */
    


}


#chat_container,.chat_container_loading {
    display: flex;
    flex-direction: column;
    background-color: transparent !important;
    height: 100% !important;
    width: 100%;
    margin-top: 0vw;
    padding-top:0.5vw;
    padding-right: 0.5vw;
    overflow: auto !important;
    max-height: calc(46vh + 10vh - var(--banner-height) + var(--page-header-buttons));
    overflow-x:hidden !important;
    
}

.input_prompt_container {
  display: flex;
  flex-direction: row;
  background-color: inherit !important;
  -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1);
       box-shadow:0 1px 4px rgba(0, 0, 0, .6), 0 0 40px rgba(0, 0, 0, 0.1);
  flex-grow: 0;
  overflow: hidden;
}

.input_prompt_container > div {
  width: 100%;
}

.input_prompt_container {
    width: 100%;

    padding:0.5vw 0.5vw;
    margin-top: 0.5vw;
    border-radius: var(--border-radius);
    color: white;
    width: 100%;
    min-height: 23vh !important;
    background-color: white !important;
    color: black;
    resize: none;

}
#input_prompt_textfield_markdown {
  
  padding:0.5vw 0.5vw !important;
  max-height: calc(23vh - 1*var(--button-height)) !important;
  overflow: auto;
  color: gray;
}


#input_prompt_textfield_markdown_web {
  
  padding:0.5vw 0.5vw !important;
  min-height: calc(18vh - calc(2*var(--button-height))) !important;
  max-height: calc(18vh - calc(2*var(--button-height))) !important;
  overflow: auto;
  color: gray;
}

#input_prompt_textfield, #input_prompt_textfield_markdown, #input_prompt_textfield_markdown_web {
  width: 100%;
  height: 100%;
  border: none !important;
  background-color: transparent;
  box-shadow: none !important;
  border-style: none !important;
  resize: none;




}
#input_prompt_textfield {
    height: calc(23vh - 2*var(--button-height)) !important;
}

#input_prompt_textfield_overarch_web {
  height: 100% !important;

}

#input_prompt_container_web {
  max-height: calc(18vh) !important;
  min-height: calc(18vh) !important;
}


#input_prompt_textfield:active,
#input_prompt_textfield:focus {
  border: none !important;
  border-style: none !important;
  box-shadow: none !important;
  outline: none !important;
  border-color: transparent !important;
}

.column_textfield > div {
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0rem !important;
  padding: 0rem !important;
}



.column_textfield {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: transparent;
  background-color: transparent;

}
.button_row_below_chat {
  height: calc(2*var(--button-height)) !important;
  background-color: transparent;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-end;
  overflow: hidden;
}

#temp_docs_uploaded_chat {
  background-color: transparent;
  height: 100%;
  display: flex;
  flex-direction: row;
  width: 100%;
  overflow: hidden;
  margin-left: 0vw;


}


.panel_file_added {
  display: flex;
  flex-direction: row;
  background-color: var(--white-hover) !important;
  justify-content: flex-start !important;
  align-items: center;
  border-radius: var(--border-radius) !important;
  margin-left: 0.25vw;
  margin-right: 0.25vw !important; 
  padding-left: 0.5vw;
  overflow: hidden;
  min-width: calc(3* var(--button-height)) !important;
  
}

.panel_file_added > .spinner_parent {
  width: 20px !important;
  margin-right: 0.5vw;
}

.panel_file_added_text {
  width: 10vw;
  white-space: nowrap !important;
  overflow: hidden;
  text-overflow: ellipsis;
  ;
}

.spinner_parent > Img {
  height:20px !important;
}

.info_button:disabled {
  visibility:hidden;
}
/* .panel_file_added > .spinner_parent {
  padding-right: 0.5vw;
} */
/* .panel_file_added > button, .panel_file_added > button > Img {
  height: calc(1*var(--button-height)) !important;
  width: calc(1*var(--button-height)) !important;
} */

#attach_file_knowledge_manager:hover {
  /* border: solid var(--border-width) #4f4f4f !important; */
  background-color: #4f4f4f2e !important;
  border: none !important;
  border-radius: var(--border-radius) !important;
}

.centered_column_send_button {
    display: flex;
    flex-direction: column;
    width: var(--button-height) !important;
    margin-left: 0.5vw;
    justify-content: center;
}


#send_prompt_button_container {
    width: var(--button-height) !important; 
    height: var(--button-height) !important;
}
#header_and_body_knowledge {
  width: 100%;
  height: 100%;



}





/* #sidebar_knowledge_manager {
    background-color: inherit !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: calc(var(--page-content-height) - var(--scrollbar-width)) !important;

    margin-top: 0vh !important;
    border-left: var(--border-width) solid var(--border-color);
    width: var(--sidebar-width) !important;
    animation: flyInFromRight 0.5s ease-in-out; 
    
    overflow: hidden;



} */






  #top_row_sidebar {

    padding-top: 0vh;
    background-color: inherit;
    min-height: var(--button-height) !important;
    max-height: var(--button-height) !important;
    margin-top: 1vh !important;
    margin-bottom: 0vh;
    display: flex;
    flex-direction: row;
    width: 100%;
    width: 100%;
    overflow: auto;
    background-color: var(--grey-background) !important;
    justify-content: center;
    align-items: center;
    background-color: inherit !important;

  }

.sidebar_title {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    padding-top: 0vh;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100% !important;

    justify-content: center;
    text-align: center;
    font-size: var(--font-size-body) !important;
}


  #sidebar_knowledge_manager_contents_knowledge, #sidebar_knowledge_manager_contents_chat, #sidebar_knowledge_manager_contents_chat_loading {
    /* padding: 0rem !important;
    background-color: inherit !important;
    margin: 0rem !important;
    background-color: inherit !important;

    display: flex;
    flex-direction: column;

    height: 0vh !important;
    padding-bottom: 0vh !important;
    background-color: green !important;
    justify-content: flex-end;
    height: 80vh !important;
    margin-top: 6vh !important; */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height: var(--page-content-height); */
    width: 100%;
    margin-top: 0vh !important;
    background-color: transparent;

  }

  #sidebar_knowledge_manager_contents_chat_loading {
    margin-top: 0vh !important;
    height: 20px !important;
    width: 20px !important;
  }





#sidebar_knowledge_base_tab_contents, #sidebar_chat_tab_contents {

    background-color: inherit !important;
    display: flex;
    flex-direction: column;


    width: 100% !important;
    text-align: left;
    margin: 0rem !important;
    padding: 0rem 0vw !important;
    background-color: transparent !important;
    background-color: inherit !important;
    padding-bottom: 0vw !important;
    width: var(--sidebar-width) !important;




}

#sidebar_chat_tab_contents {
  max-height: calc(80vh + 10vh - var(--banner-height)) !important;
}



#filenames_displayed_container, #uploaded_docs_knowledge {
    display: flex;
    flex-direction: column;
    height: 100%;

    /* min-height: calc(var(--page-content-height) - 1vh - var(--button-height) - 40px - 8vh - 5vh) !important;
    max-height: calc(var(--page-content-height) - 1vh - var(--button-height) - 40px - 8vh - 5vh) !important; */



  
    background-color: red;
    margin-top: 0vw;
    margin: 0rem !important;
    margin-bottom: 0vw;
    padding: 0rem;
    background-color: inherit !important;
    width: 100% !important;
    height: 100% !important;
    overflow: auto;
    padding: 0vh 0vw 0vw 0vh !important;
    background-color: inherit !important;
    align-items: center;
    text-align: center;
    margin: 0rem !important;
    overflow: hidden;
    padding: 0rem !important;


  }

#filenames_displayed_container {
  min-height: calc(var(--page-content-height) - 2.2vh - 1vh - var(--button-height) - 40px + 2px) !important;

  /* max-height: calc(var(--page-content-height) - 1vh - var(--button-height) - 40px) !important; */
  padding-bottom: 0vh !important; 
}

#uploaded_docs_knowledge {
  /* max-height: calc(var(--page-content-height) - 2.2vh - 1vh - var(--button-height) - 40px - var(--button-height) - 16vh - 6px) !important; */
  height: 100% !important;
}

#uploaded_docs_knowledge {
  padding-bottom: 0vh !important;
  overflow-y: auto;
  overflow-x: hidden;
  height: 100% !important;
  max-height: calc(var(--page-content-height) - 2.2vh - 1vh - var(--button-height) - 40px + 2px - 8vh - 6px - var(--button-height) + 6px) !important;
}


#filenames_displayed_container > div {
    width: 100%;
}

#change_document_selection_container {

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin-bottom: 0vh;
}
#change_document_selection {
    margin-top: 0vh !important;
    height: var(--button-height) !important;
}


#retrieved_chat_list_container {
    background-color: inherit;


    width: 8vw;
    width: 8vw;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    width: 100%;
    justify-content: flex-start;
    align-items: center;
    margin: 0rem !important;
    padding: 0rem !important;
    overflow-y:auto !important;
    height: 100% !important;
    background-color: inherit !important;
    max-height: calc(var(--page-content-height) - 2.2vh - 1vh - var(--button-height) - 40px + 2px) !important;

}

#uploaded_docs_knowledge::-webkit-scrollbar, #retrieved_chat_list_container::-webkit-scrollbar {
  width: var(--scrollbar-width) !important;
}



#retrieved_chat_list_container {
    margin-top: 0vh !important;
    display: block;

    padding-left: 0vw;
    padding-right: 0vw; 
    width: var(--sidebar-width) !important;
    overflow: scroll;
}

.filename_row {
    height: var(--button-height) !important;
    white-space: nowrap !important;
    margin-bottom: 1vh;
    overflow: hidden !important;
    min-height:var(--button-height) !important;
    
    /* animation: fadeInAnimation 1s forwards; Apply the animation */

}

.filename_row_button_container {
    height: var(--button-height)!important;
    background-color: green;
    word-wrap: break-word;
    display: flex;
    flex-direction: row;
    width: 100%;
    border-radius: var(--border-radius) !important;
    width: calc(0.9 * var(--sidebar-width)) !important;
    align-items: center;
    background-color: var(--purple-medium) !important;
    color: white;
    font-size: var(--font-size-button) !important;
    text-overflow: ellipsis !important;
    overflow: hidden;
    justify-content: space-between !important;
    /* animation: fadeInAnimation 1s forwards; Apply the animation */
}
.text_file_button {
  background-color: inherit;
  width: 70%;
  overflow: hidden;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  font-size: var(--font-size-button) !important;
}

#modalbody_change_document_selection {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}






.custom_button_chat_container {
    display: flex;
    flex-direction: row;
    width: 100%;
    border: none;
    padding: 0vw;
    height: calc(1.2*var(--button-height)) !important;
    align-items: center;
    justify-content: flex-start;
    /*bbbbc0*/
    background-color: transparent;
    font-size: var(--font-size-normal);
    border-bottom: var(--border-width) solid var(--border-color);

    overflow: hidden;
    width: 100%;
    padding-left: var(--scrollbar-width);
    width: var(--sidebar-width) !important;
    padding-right: var(--scrollbar-width) !important;
}

.custom_button_chat_container:hover {
  background-color: var(--purple-light);
}

.chat_name_text {

    text-align: left;
    display: flex;
    flex-direction: row;
    overflow: hidden !important;
    background-color: inherit;
    font-size: var(--font-size-button);
    width: 100% !important;
    margin-right: 0vw;
    width: 100% !important;
    margin-right: 0vw;
    white-space: nowrap;
    color: black;
    text-overflow: ellipsis !important;
   
    background-color: transparent;

    justify-content: flex-start !important;
    width: calc(var(--sidebar-width) - 3.5*var(--button-img) - 1*var(--scrollbar-width)) !important;

    flex-shrink: 1 !important;
    
}

.button_row_right_align_knowledge_manager {

    width: 100%;
    display: flex;
    flex-direction: row;
    width: calc(2*var(--button-height));
    background-color: transparent;
    justify-content: flex-end !important;
    align-items: flex-end !important;
    padding-right: 0vw !important;
}

/* .chat_date_text {
    overflow: hidden;
    text-align: left;
    padding-right: 0.5vw;
    white-space: nowrap;
    font-size: 0.6vw;
} */


  .logo_chat_left {
    padding: min(1vw,20px);
    background-color: white;
    /* height: min(1.4vw, 20px) !important;
    width: min(1.4vw, 20px) !important; */
 
    /* height: min(1.4vw, 20px) !important; */
    background-color: white;
    min-height: var(--button-height) !important;
    min-width: var(--button-height) !important;

    max-height: var(--button-height) !important;
    max-width: var(--button-height) !important;
    height: var(--button-height) !important;
    width: var(--button-height) !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    border: var(--border-width) solid var(--border-color);
    margin-right: 0.2vw;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.1);
         box-shadow:0 1px 4px rgba(0, 0, 0, .6), 0 0 10px rgba(0, 0, 0, 0.1);
  margin-left: 2px;
  }
  .logo_chat_left Img {
    /* width: min(1.4vw,20px);
    height: min(1.4vw,20px); */
    
    height: calc(0.7*var(--button-height)) !important;
    width: calc(0.7*var(--button-height)) !important;
    background-color: inherit;
  }
  .user_img {
    background-color: transparent;
    overflow: hidden;
  }
  .user_img Img {
    width: calc(0.9*var(--button-height-large)) !important;
    height: calc(0.9*var(--button-height-large)) !important;
    width: auto;
    height: auto;

    
  }
  


.chat_row {
display: flex;
flex-direction: row;
width: 100%;
margin-bottom: 10px;
align-items: flex-start;

}

.chat_row_user {
  background-color: transparent;
  justify-content: flex-start;
}



  .ocos_input {
    min-height: 5px !important;
    padding:min(0.5vw,8px) min(1vw,12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.1);
         box-shadow:0 1px 4px rgba(0, 0, 0, .6), 0 0 10px rgba(0, 0, 0, 0.1);
    
    /* -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1) inset;
         box-shadow:0 1px 4px rgba(0, 0, 0, .6), 0 0 40px rgba(0, 0, 0, 0.1) inset; */
        
  }

  .ocos_response, #init_message.ocos_response, #init_message_web.ocos_response_web, .ocos_response_web {
    background-color: white !important;
    padding:min(0.5vw,8px) min(1vw,12px);
    margin-top: 0vw;
    border-radius: var(--border-radius);

    color: black;
 
    text-align: left;
    /* max-width: 100vw !important; */
    max-width: 100vw !important;
 
    word-wrap: break-word;
    overflow: auto !important;
    -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.1);
         box-shadow:0 1px 4px rgba(0, 0, 0, .6), 0 0 10px rgba(0, 0, 0, 0.1);
    /* border: var(--border-width) solid black !important; */
    /* -webkit-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1) inset;
    -moz-box-shadow:0 1px 4px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 0, 0, 0.1) inset;
         box-shadow:0 1px 4px rgba(0, 0, 0, .6), 0 0 40px rgba(0, 0, 0, 0.1) inset;
  
   */
   font-size:calc(1*var(--font-size-body)) !important;
  }



  .markdown_chat {
    padding: 0px !important;
    border: none !important;
  }



  
  a.ocos_response, a.markdown_chat,   a.ocos_response_web {
    pointer-events: none;
  }

  .ocos_response > a,  .ocos_response_web > a, .markdown_chat > a, .ocos_response >ol > a, .markdown_chat > ol >a, .ocos_response_web >ol > li > a,.ocos_response_web >ol > li > a, .ocos_response >ol > li > a, .markdown_chat > ol >li >a {
    pointer-events: none;
  }
  /* DOUBLE LINE BREAKS */ 

  .markdown_chat p:not(:last-child), .ocos_response_web p:not(:last-child), .ocos_response p:not(:last-child), .markdown_chat >ol > li > p, .ocos_response >ol >li > p,.ocos_response_web >ol >li > p, .markdown_chat >ol > p, .ocos_response >ol > p, .ocos_response_web >ol > p {
  
    margin-bottom: 1.5vh !important;

  }

  .markdown_chat p:not(:first-child), .ocos_response_web p:not(:first-child), .ocos_response p:not(:first-child), .markdown_chat >ol > li >p, .ocos_response_web >ol > li > p, .ocos_response >ol > li > p, .markdown_chat li >p, .ocos_response li > p, .ocos_response_web li > p {
  
    margin-top: 1.5vh !important;
  }

  .ocos_response::-webkit-scrollbar  {
    width: var(--scrollbar-width) !important;  /* For vertical scrollbars */
    height: var(--scrollbar-width) !important; /* For horizontal scrollbars */
    overflow: auto !important;

  }
    .ocos_response_web::-webkit-scrollbar  {
    width: var(--scrollbar-width) !important;  /* For vertical scrollbars */
    height: var(--scrollbar-width) !important; /* For horizontal scrollbars */
    overflow: auto !important;

  }
  .ocos_input, .ocos_input > Pre {
    background-color: rgb(40,40,40) !important;
    background-color: rgb(40,40,40) !important;

    margin-top: 0vw;
    border-radius: var(--border-radius);
    color: black;
    border: none;
    text-align: left;
    max-width: 100vw !important;
    word-wrap: break-word !important;
    color: white !important;
    overflow: hidden;
    white-space: pre-wrap;

    word-break: normal;
  
  }

  .ocos_input > Pre {
    border-radius: 0vw;
  }
  
  .ocos_response a {
    color: black !important;
    text-decoration: none !important;
  }
  .ocos_response_web a {
    color: black !important;
    text-decoration: none !important;
  }




#unselect_all_button_chats_container {
    padding-bottom: 1vh;
    display: flex;
    flex-direction: row;
    align-items: center;
}


#remove_warning_message_knowledge_management {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-left: 1vw;
  padding-right: 1vw;

  font-size: var(--font-size-body);
}




.disabled_button_visible_custom {
    pointer-events: none;
}



/* .disabled_button_visible_custom > div {
    pointer-events: all;
} */

.button_row_languages {
    margin-top: 0vh !important;
    height: 5vh !important;
    margin-bottom: 0vh !important;
    background-color: inherit;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    margin-top: 1vh !important;



  }

  .flag_button {
    background-color: transparent !important;
    border: none !important;
    height: var(--button-height) !important;
    background-color: var(--grey-background) !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

  }
  
  .flag_button Img {
    height: calc(1*clamp(10px, 1.5vh,15px)) !important;
    height: calc(0.6*var(--button-img)) !important;


  }
.flag_button:hover {
    background-color: var(--purple-light) !important;
}

.chat_input_button_container {
  margin-left: 0.2vw;
  display: flex;
  flex-direction: row;
}
.green_button2 {
  background-color: rgb(0, 59, 0) !important;
}

.green_button2:hover {
  background-color: rgb(1, 92, 1) !important;
}
/* .red_button {
  background-color: rgb(103, 0, 0) !important;
} */


.clipboard_icon {
  height: 5vw !important;
}
.clipboard_icon > div {
  height: 5vw !important;
}

.clipboard_icon Img {
  height: var(--button-img) !important;
}



.input_field_wide {
  width: 100%;

  padding:0.5vw 0.5vw;
  margin-top: 0.5vw;
  border-radius: var(--border-radius);
  color: white;
  width: 58vw !important;
  height: 18vh !important;
  background-color: white !important;
  color: black;
  resize: none;
}




.copy svg {

  background-color: inherit !important;
  height: calc(0.8 * var(--button-img)) !important;
  width: calc(0.8 * var(--button-img)) !important;
  /*   --button-img: clamp(18px, 1.2vw,18px); */
}


#slider_explanations_multiple_doc > div > .rc-slider-rail {
  background-color: white;
}
.slider_container_explanations {


  width: 20vw !important;
  margin: 0rem !important;
}

#slider_explanations_multiple_doc {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 0rem !important;
  margin: 0rem !important;
  margin-left: 3vw !important; 
}

.row_header_explanation_modal {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

#tabs_explanation_doc_selection {
  color: black;
  margin-bottom: var(--border-width) solid black !important;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
}
#modal_content_tabs_explanation {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}




.centered_title {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}




.markdown_highlight_text > div > p {
  background-color: yellow !important;
  color: black !important;
  display: inline;
  white-space: pre-wrap; /* Preserves whitespace and line breaks */
}

.markdown_highlight_text > div > ul > li {
  background-color: yellow !important;

}

.markdown_highlight_text > div > ol > li {
  background-color: yellow !important;

}
.markdown_highlight_text > div > h1, .markdown_highlight_text > div > h2, .markdown_highlight_text > div > h3, .markdown_highlight_text > div > h4 {
  background-color: yellow;


  
}
/* Container for non-table highlighted content */

/* Container for table content */


.highlight_block Img, .markdown_highlight_text Img {
  display: none !important;
}
.highlight_block table {

  width: 100%;
  padding: 1vw;
  background-color: yellow !important;
}

/* Highlight table text content */
.markdown_highlight_text {
  background-color: yellow !important;
}

/* Table row styling */

.highlight_block table tr {
  background-color: white !important;
}

.highlight_block table tr:nth-child(even) {
  background-color: #ededed !important;
}

.highlight_block table tr:hover {
  background-color: var(--auth-background) !important;
}





.active_pdf > div {
  background-color: gray !important;

}

.active_pdf > button {
  background-color: gray !important;
  border-radius: var(--border-radius) !important;
}
.active_pdf {
  animation: growAndFade 1s ease forwards; 
  background-color: gray !important;
}

#doc_text {
  padding: 3px 10px;
  background-color: inherit;
  min-height: 8vh;
  max-height: 8vh;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  text-overflow: ellipsis;
  overflow: hidden;
  align-items: center;
}


#button_row_up_down {
  margin-top: 1vh;
  display: flex;
  margin-bottom: 1vh;

}

#ag_grid_csv_rra,#ag_grid_csv_rra_text {
  width: 300vw !important;
  margin:-2vw !important;
}

#abort_knowledge_management {
  margin-left: 0.5vw;
  height: 4vh !important;
  width: 4vh !important;

  height: var(--button-height) !important;
  width: var(--button-height) !important;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

}

#abort_knowledge_management > Img {
  filter: invert(100%) !important;

  /* height: clamp(15px, 2vh,23px) !important;
  width: clamp(15px, 2vh,23px) !important; */

  height: calc(0.9*var(--button-img)) !important;
  width: calc(0.9*var(--button-img)) !important;
}

.button_white_border {
  border: var(--border-width) solid var(--border-color) !important;
}

/* .button_white_border.button_radius_left {
  border-right: none;
} */


#de, #en, #es, #tabs_knowledge_selection {
  border-right: none !important;
}



@keyframes fadeIn_text {
  from { opacity: 0; }
  to { opacity: 1; }
}

#displayed_doc_explanation {
  min-height: 40vh !important;
  max-height: 40vh !important;

}

#modalbody_explanation_prompt {

  padding-bottom: 1vh;
  /* display: flex;
  flex-direction: column;

  align-items: center; */
  overflow: auto;
}

#displayed_doc_explanation {

  max-height: 60vh !important;

}

#modalbody_explanation_prompt {
  min-height: 85vh !important;
  max-height: 85vh !important;
  overflow: auto !important;
}


#notice_exp > button > Img {
  filter: brightness(0) saturate(100%) invert(11%) sepia(14%) saturate(7426%) hue-rotate(223deg) brightness(86%) contrast(100%);
}

#notice_exp_text {
  color: black !important;
}

#notice_exp_text {
  word-wrap: break-word !important; /* Older property, but widely supported */
  overflow-wrap: break-word !important; /* Modern property */
  white-space: normal !important;
  overflow: visible;
  padding-left: 0.5vw;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;

}

#notice_exp {
  background-color: rgb(211, 221, 255) !important;
  width: 100% !important;
}

#notice_exp {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100% !important;
  padding: 1vh 0.5vw !important;
  margin-bottom: 1vh !important;
}




#tabs_attached_docs_doc_selection {
  color: black;
  margin-bottom: var(--border-width) solid black !important;
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
}
#modalbody_attached_docs_contents_tabs {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}


.centered_title {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}


#displayed_doc_attached_document,#displayed_doc_attached_document2 {

  height: 60vh !important;

}

/* #modalbody_attached_docs_contents_tabs {
  height: 20vh !important;
  background-color: red;
}

#tabs_attached_docs_doc_selection {
  height: 10vh !important;
  visibility: visible !important;
  display: block;
  width: 100% !important;
}

#modalbody_attached_docs_contents_tabs > ul {
  visibility: visible;
  display: flex;
  flex-direction: row;
} */


.small_button_chat {
  width: calc(0.8*var(--button-height)) !important;
  height: calc(0.8*var(--button-height)) !important;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 0px !important;
  background-color: var(--purple-medium);
  padding: 0vw !important;

}
.small_button_chat > Img {
  width: calc(0.8*var(--button-img)) !important;
  height: calc(0.8*var(--button-img)) !important;
}


#change_document_selection.alert_no_docs_selected, #change_document_selection.alert_no_docs_selected2 {
  background-color: transparent;
  height: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0vh 1vw;
  border: var(--border-width) dashed var(--border-color);
  color: var(--border-color);
  border-radius: var(--border-radius);
  height: calc(var(--page-content-height) - 2.2vh - 1vh - var(--button-height) - 40px + 2px) !important;


}

#change_document_selection.alert_no_docs_selected {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

#change_document_selection.alert_no_docs_selected.disabled_button_visible {
  border: none !important;
}

#change_document_selection.alert_no_docs_selected2 {
  border: none !important;
}


#change_document_selection.alert_no_docs_selected:hover{
  background-color: var(--purple-light) !important;
  color: white;
  border: var(--border-width) dashed white;
}



#warning_text_doc_not_found {
  color: red
}

#wissensmanager_title {

  height: 25px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
}

#info_use_cases {
  height: 100% !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
  background-color: transparent !important;
  margin-left: 0vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0px !important;

  margin-left: 2px !important;
  
}

#info_use_cases  > Img {
  height: 15px !important;
  width: 15px !important; 
}

#info_use_cases:hover{
  background-color: var(--purple-light) !important;
}
#info_use_cases:hover > Img {
  filter: invert(97%) sepia(3%) saturate(11%) hue-rotate(67deg) brightness(104%) contrast(103%);
}


#prompt_guide {
  background-color: var(--purple-medium) !important;

}
#magic_prompt {
  margin-right: 0.5vw !important;
}





#prompt_guide {
  margin-right: 0.5vw !important;


  height: var(--button-height) !important;


  border: none;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;

}


#prompt_guide:hover {
  background-color: var(--purple-light) !important;;
}

#prompt_guide > Img {
  filter: invert(100%) !important;

  height: clamp(20px, 2vh,23px) !important;
  width: clamp(20px, 2vh,23px) !important;
}


#prompt_guide_popover {
  max-height: 90vh !important;


}
#prompt_guide_popover > div {
  overflow-y: auto;
  overflow-x: hidden;

  max-height: 80vh !important;



}

#prompt_guide_popover > div::-webkit-scrollbar {
  width: var(--scrollbar-width) !important;  /* For vertical scrollbars */
  height: var(--scrollbar-width) !important; /* For horizontal scrollbars */

}

#info_use_cases_popover {
  max-height: 90vh !important;
}

#info_use_cases_popover > div {
  overflow-y: auto;
  overflow-x: hidden;

  max-height: 90vh !important;
}

#info_use_cases_popover > div::-webkit-scrollbar {
  width: var(--scrollbar-width) !important;  /* For vertical scrollbars */
  height: var(--scrollbar-width) !important; /* For horizontal scrollbars */

}
.chat_name_text_stretched {

  width: calc(var(--sidebar-width) - 1*var(--scrollbar-width)) !important;
  border: none;
}


.button_no_hover:hover {
  background-color: transparent !important;
}


.input_prompt_textfield_markdown_before_ger p:first-of-type::before {
  content: "Prompt-Vorschlag - ";
  display: inline;
  color: black; /* Optional: style it */

}

.input_prompt_textfield_markdown_before_eng p:first-of-type::before {
  content: "Prompt-Recommendation - ";
  display: inline;
  color: black; /* Optional: style it */

}



#tabs_explanation_doc_selection > .nav-link, #tabs_attached_docs_doc_selection > .nav-link {
  border: none !important;
}

#tabs_explanation_doc_selection > .nav-item, #tabs_attached_docs_doc_selection > .nav-link {
  border-bottom: none !important;

  min-height: 30px !important;
  max-height: 40px !important;
  text-overflow: ellipsis !important;
  overflow: hidden;
  white-space: nowrap !important;

}


#tabs_explanation_doc_selection > .nav-item > a, #tabs_attached_docs_doc_selection > .nav-item > a {
  color: black !important;

  margin-bottom: 0vw;
  border: none !important;
  width: 100% !important;
  max-width: 300px !important;
  overflow: hidden;
  text-overflow: ellipsis;
  border: var(--border-width) solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  padding: 5px 10px !important;



}

#tabs_explanation_doc_selection.nav.nav-tabs, #tabs_attached_docs_doc_selection.nav.nav-tabs {
  border-bottom: none;
  margin-bottom: 10px !important;
  font-size: var(--font-size-body) !important;
}

#tabs_explanation_doc_selection > .nav-item > a:hover, #tabs_attached_docs_doc_selection > .nav-item > a:hover {
  background-color: var(--purple-light);
  color: white !important;

}


#tabs_explanation_doc_selection > .nav-item > .active, #tabs_attached_docs_doc_selection > .nav-item > .active {
  color: white !important;
  background-color: var(--purple-dark) !important;
  font-size: var(--font-size-body) !important;
}

#tabs_explanation_doc_selection {
  margin-top: 2vh !important;
}

/* Hide the original text field completely when loading */
.ocos_response.loading, .ocos_response_web.loading {
  background-color: transparent !important;
  box-shadow: none !important;
  position: relative;
  /* min-height: calc(1*var(--button-height) + 0.5*min(1vw,20px)) !important; */
  height: calc(1*var(--button-height)) !important;
  /* min-width: calc(1*var(--button-height) + 0.5*min(1vw,20px)) !important; */
  width: calc(1*var(--button-height)) !important;
  color: transparent !important;
  border: none !important;
  padding: 0px !important;
  margin: 0 !important;
  background-color: transparent !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: var(--button-height) !important;
  min-width: var(--button-height) !important;
  max-height: var(--button-height) !important;
  max-width: var(--button-height) !important;
  height: var(--button-height) !important;
  width: var(--button-height) !important;
  

}
.ocos_response.loading::-webkit-scrollbar {
  display: none
}
.ocos_response_web.loading::-webkit-scrollbar {
  display: none
}

/* Remove any potential children or text */
.ocos_response.loading * {
  display: none !important;
}
.ocos_response_web.loading * {
  display: none !important;
}

/* Create the spinner */
.ocos_response.loading::after, .ocos_response_web.loading::after  {
  
  content: "";
  position: absolute;
  width: 50% !important;
  height: 50% !important;
  left: 0px;
  top: 0px !important;
  top: 0px;
  border-radius: 50%;
  border: 3px solid rgba(128, 128, 128, 0.2);
  top: 25% !important;
  left: 20% !important;
  border-top-color: var(--purple-medium); /* Purple color to match your icon */
  animation: spinner_chat 0.8s linear infinite;
  
}



@keyframes spinner_chat {
  to {
    transform: rotate(360deg);
  }
}


.page_header_knowledge > .page_header_horizontal > .horizontal_half_container_wide {
  display: flex;
  flex-direction: column !important;
  justify-content: flex-start !important;
  background-color: transparent !important;
  align-items: flex-start !important;
  padding-top: 0px; 
  margin-top: 0px !important;

}