/* Berkeley Mono Regular */
@font-face {
  font-family: 'Berkeley Mono';
  src: url('/fonts/jw-fonts/BerkeleyMono-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* FK Grotesk */
@font-face {
  font-family: 'FK Grotesk';
  src: url('/fonts/jw-fonts/FKGrotesk.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* FK Grotesk Neue */
@font-face {
  font-family: 'FK Grotesk Neue';
  src: url('/fonts/jw-fonts/FKGroteskNeue.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    /* keep default */
    scroll-behavior: auto;
  }
}

* {
    font-family: "FK Grotesk Neue", sans-serif;
    font-optical-sizing: auto;
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #e0e0dd transparent;
    color: #14343b;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
/* WebKit browsers (Chrome, Safari, Edge, Opera) */
::-webkit-scrollbar {
    width: 8px; /* Width of vertical scrollbar */
    height: 8px; /* Height of horizontal scrollbar */
    scrollbar-color: #e0e0dd transparent;
    scrollbar-width: thin;
}

::-webkit-scrollbar-track {
  background: transparent; /* Track background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #888; /* Scrollbar color */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555; /* Scrollbar color on hover */
}
.spinner-border{
    border-color: #f8f8f9;
    border-right-color: transparent;
}
body{
    /*background-color: #fcfcf9;*/
    background-color: #ffff;
}

b, strong{
    font-weight: 600;
}
.app-top-bar{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #f8f8f9;
    width: 100%;
    z-index: 9999;
    box-shadow: inset 0 -1px 2px #f8f8f9;
}
.app-bottom-bar{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: #f8f8f9;
    width: 100%;
    z-index: 9999;
    box-shadow: inset 0 1px 2px #f8f8f9;
}
.app-right-bar{
    position: fixed;
    top: 0;
    width: 8px;
    right: 0;
    background: #f8f8f9;
    height: 100vh;
    z-index: 9999;
    box-shadow: inset 1px 0 2px #f8f8f9;
}
.full-screen-loader {
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 99999;
    background: #efefefb0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.full-screen-loader img{
    height: 200px;
    width: 200px;
    margin-bottom: 200px;
}

.open-side-bar-bottom-menu, .minimize-sidebar-bottom-menu{
    position: absolute;
    width: 100%;
    bottom: 18px;
    left: 0;
    background: #f8f8f9;
    box-shadow: 0px 20px 0px 0px #f8f8f9;
}
.open-side-bar-bottom-menu a{
    color: #14343b;
}
.maximize-sb-btn{
    border: none;
    background: transparent;
    border-radius: 8px;
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 4px;
    padding-bottom: 5px;
    cursor: e-resize !important;
    margin: auto;
    display: block;
}
.maximize-sb-btn:hover{
    background: #eaeaea;
}
.maximize-sb-btn:hover img{
    /*width: 18px;
    content: url("/images/icons/sidebar.svg");*/
    display: none;
}
.maximize-sb-btn:hover i{
    display: block;
}
.maximize-sb-btn i{
    font-size: 18px;
    display: none;
}
.maximize-sb-icon{
    height: 27px;
    width: 24px;
}
.minimize-sb-btn{
    padding-left: 9px;
    padding-right: 9px;
    padding-top: 4px;
    padding-bottom: 2px;
    margin-top: -4px;
    margin-right: -9px;
    border: none;
    float: right;
    cursor: w-resize !important;
    background: transparent;
    border-radius: 8px;
}
.minimize-sb-btn:hover{
    background: #eaeaea;
}
.minimize-sb-btn i{
    font-size: 18px; 
    color: #8f8f8f;
}
.minimize-sb{
    width: 60px;
}
.chat-area-container{
    max-width: 1200px;
    margin: auto;
}
.app-sidebar {
    width: 60px;
    position: fixed;
    left: 0;
    height: 100vh;
    transition: width 0.3s ease-in-out;
    overflow: hidden;
    white-space: nowrap;
    background: #f8f8f9;
    border-right: 1px solid #f8f8f9;
    box-shadow: inset -1px 0 2px #f8f8f9;
    padding-right: 0 !important;
}
.app-sidebar hr{
    border-color: #e6e6de;
    opacity: 1;
}
.app-sidebar .mid-menu-label{
    font-size: 14px;
    color: #64645e;
    font-size: 12px;
}
.app-wrapper {
    padding-left: 300px;
    transition: padding 0.3s ease-in-out;
}
.open-sb {
    width: 280px !important;
}
.open-sb ~ .app-wrapper {
    padding-left: 310px;
}
.open-sidebar .new-thread{
    font-size: 14px;
    height: 36px;
    color: #14343b;
    width: 93%;
}
.open-sidebar .new-thread i{
    font-size: 16px;
}
.open-sidebar .new-thread:hover{
    background: #eaeaea;
    border-radius: 8px;
}
.minimize-sb, .open-sidebar {
    display: none;
}
.minimize-sb .minimize-sidebar {
    display: block;
}
.open-sb .open-sidebar {
    display: block;
}
.open-sb .minimize-sidebar {
    display: none;
}
.app-sidebar.minimize-sb .minimize-sidebar .msb-new-chat{
    display: block;
    text-align: center;
    font-size: 18px;
}
.app-sidebar.minimize-sb .minimize-sidebar .msb-new-chat:hover i{
    border-radius: 8px;
    background: #eaeaea;
    padding: 10px;
}
.chat-history-list{
    height: 660px;
    overflow: hidden;
    overflow-y: auto;
}
.chat-history-list .nav-item{
    width: 98%;
    margin-bottom: 2px;
}
.chat-history-list .nav-item .nav-link {
    font-size: 14px;
    padding-left: 10px;
    color: #14343b;
    position: relative;
}
.chat-history-list .nav-item .nav-link,
.app-sidebar .mid-menu-label,
.open-sidebar .new-thread{
    margin-left: 6px;
    padding-left: 10px;
}

.chat-history-list .nav-item .nav-link.active,
.chat-history-list .nav-item .nav-link:hover {
    background-color: #eaeaea;
    border-radius: 8px;
}
.chat-history-list .nav-link .sl-hover-list{
    position: absolute;
    right: 4px;
    top: 5px;
    background-color: #eaeaea;
    height: 26px;
    width: 31px;
    box-shadow: -6px 0 10px #eaeaea99;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease-in-out;
}
.chat-history-list .nav-link .sl-hover-list i{
    display: block;
    color: #8f8f8f;
    font-size: 18px;
    float: right;
    text-align: center;
    border-radius: 6px;
    height: 27px;
    width: 24px;
    margin-right: 1px;
}
.chat-history-list .nav-item .nav-link:hover .sl-hover-list{
    opacity: 1;
    pointer-events: auto;
}
.chat-history-list .nav-link .sl-hover-list:hover i{
    background-color: #dedfdb;
    color: #5d5d5d;
}
.app-sidebar .sidebar-actions{
    position: fixed;
    z-index: 9999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    min-width: 146px;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.app-sidebar .sidebar-actions ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.app-sidebar .sidebar-actions li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    padding-left: 8px;
    border-radius: 8px;
    font-size: 14px;
    color: #222;
    cursor: pointer;
    transition: background 0.2s ease;
}
.app-sidebar .sb-action-rename-input{
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
}
.app-sidebar .sidebar-actions li:hover {
    background: #f5f5f5;
}
.app-sidebar .sidebar-actions i {
    font-size: 16px;
    color: #333;
}
.chat-history-list .truncate-session-name{
    white-space: nowrap;
    overflow: hidden;
    /*text-overflow: ellipsis;*/
    display: inline-block;
    width: 26ch;
    vertical-align: bottom;
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}/*
.media-img-icons {
    width: 100%;
    height: 140px;
    display: block;
    border-radius: 10px;
}*//*
.media-sidebar .nav-link{
    color: #435c61;
    border: none;
    background: transparent;
}*/
/*.media-sidebar .nav-underline .nav-link.active, .nav-underline .show>.nav-link{
    font-weight: 500;
    color: #4d6bfe;
    border-bottom: 2px solid #4d6bfe;

}*/
/*.media-video-icons{
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 85px;
}
.media-video-title{
    color: #303030;
    font-size: 14px;
    line-height: 1.2;
}
.media-video-source, .media-video-views{
    font-size: 10px;
    color: #435c61;
}*/
.sources-link:hover .media-sources-heading{
    color: #06B;
}
.media-sources-heading{
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;     /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.citation-tooltip .media-sources-heading{
    font-size: 14px;   
}
.media-sources-content{
    line-height: 1.4;
    color: #435c61;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.media-sources-icon-title-container{
    height: 28px;
    align-self: stretch;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    padding: 0;
}
.media-sources-icon-title-container img{
    width: 28px;
    height: 28px;
    flex-grow: 0;
    border-radius: 40px;
}
.citation-tooltip .media-sources-icon-title-container img{
    width: 20px;
    height: 20px;
}
.media-sources-icon-title-container div{
    height: 20px;
    flex-grow: 1;
    font-size: 14px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.4;
    letter-spacing: normal;
    text-align: left;
    color: #1e1e1e;
}

.chat-tabs .media-images,
.chat-tabs .media-videos,
.chat-tabs .media-images-wrapper{
    border-radius: 8px;
    height: 150px;
    min-height: 150px;
    width: 100%;
    object-fit: cover;
    border: 1px solid #f2f2f2;
    transition: transform 0.4s ease;
    overflow: hidden;
}
.chat-tabs .media-images{
    border: none;
}
.chat-tabs .media-images-wrapper:hover .media-images{
    transform: scale(1.03);
    transform-origin: center center;
}
.chat-tabs .media-images-title,
.chat-tabs .media-videos-title{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    min-height: 16px;
    border-radius: 8px;
    text-transform: capitalize;
}
.chat-tabs .video-duratoin{
    position: absolute;
    top: 127px;
    background: #060606bf;
    padding: 6px;
    color: #ffff !important;
    border-top-left-radius: 8px;
    font-size: 12px;
    right: 1px;
    border-bottom-right-radius: 8px;
    padding-top: 2px;
    padding-bottom: 2px;
    min-width: 36px;
    text-align: center;
}
.chat-box{
    height: 80px;
    max-height: 280px;
    position: absolute; 
    top: 0;
    background: transparent;
    border: none;
    resize: none;
    outline: none;
    padding: 15px;
    width: 100%;
    text-indent: 4px;
}
.chat-box::placeholder{
    font-weight: 300;
    font-size: 15px;
}
/*.chat-box-attach-btn{
    width: 90px;
    height: 32px;
    font-size: 15px;
    align-items: center;
    border-radius: 9999px;
    border: solid 1px #b2b2b2;
    background: transparent;
}
.chat-box-attach-btn i{
    font-size: 14px;
    margin-left: -3px;
}
.chat-box-mic-btn{
    border: none;
    background: transparent;
}
.chat-box-mic-btn img{
    height: 20px;
    width: 20px;
}
.chat-box-send-btn{
    background: #000;
    border-radius: 20px;
    height: 32px;
    width: 32px;
}
.chat-box-send-btn i{
    color: white;
}*/
.chat-box-frame{
    padding: 14px;
    padding-left: 12px;
    padding-bottom: 8px;
    border-radius: 1rem;
    border: solid 1px #d9d9d0;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                oklch(0.304 0.04 213.681 / 0.1) 0px 1px 8px 2px, 
                oklch(0.99 0.004 106.471) 0px 36px 16px 36px;
}
.chat-box-frame .attachment-content{
    font-size: 12px;
    background: #f8f8f9;
    border-radius: 6px;
    width: fit-content;
    padding: 10px;
    height: 37px;
    border: 1px solid #ebebe4;
    flex: 0 0 auto;
    display: flex;
}
.chat-box-frame .attachment-content .preview-icon i{
    font-size: 16px;
    line-height: 1;
}
.chat-box-frame .attachment-content .preview-icon i.uploading-spinner{
    display: inline-block;
    animation: uploadingSpinner 1s linear infinite;
}
@keyframes uploadingSpinner {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.chat-box-frame .attachment-content .remove-attachment i{
    line-height: 16px;
}
.chat-box-frame .attachments-box{
    overflow-x: auto;
}
.chat-box-frame .preview-thumbnail {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  margin-top: -4px;
}
.models-drop-oh{
    font-size: 12px;
    margin: 0;
}
.models-drop-osh{
    color: #64645e;
    font-size: 11px;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.chat-box-frame .dropdown-menu{
    width: 280px;
    max-height: 400px;
    overflow: auto;
    background: #fefefb;
    border-color: #e6e6e3;
    border-radius: 10px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.chat-mode-tool-list.dropdown-menu{
    width: 180px;
}

.chat-modes .chat-mode-tool-btn,
.chat-modes .chat-attachment,
.chat-modes .chat-mode-selection-btn,
.chat-methods .chat-models,
.chat-methods .chat-mic,
.chat-methods .chat-send-btn,
.chat-methods .chat-stop-btn{
    position: relative;
    font-size: 18px;
    border: none;
    background: none;
    outline: none;
    line-height: 0px;
}
.chat-modes .chat-mode-tool-btn,
.chat-modes .chat-mode-selection-btn,
.chat-methods .chat-models,
.chat-methods .chat-mic{
    font-size: 14px;
    border-radius: 8px;
    padding-top: 13px;
    padding-bottom: 14px;
    padding-right: 7px;
    padding-left: 7px;
}
.chat-modes .chat-mode-tool-btn i,
.chat-modes .chat-mode-selection-btn i,
.chat-methods .chat-models i,
.chat-methods .chat-mic i{
    vertical-align: bottom;
}
.chat-modes .chat-attachment{
    font-size: 13px;
    height: 28px;
    width: 28px;
    border-radius: 20px;
    padding-top: 3.5px;
    border: 1px solid #ebebe4;
}
.chat-modes .chat-attachment i{
    transform: rotate(316deg);
    display: inline-block;
}
.chat-modes .chat-attachment:hover,
.chat-modes .chat-mode-selection-btn:hover,
.chat-modes .chat-mode-tool-btn:hover,
.chat-methods .chat-models:hover,
.chat-methods .chat-mic:hover{
    background: #eaeaea;
}
.chat-methods .chat-send-btn,
.chat-methods .chat-stop-btn{
    border-radius: 8px;
    width: 29px;
    font-size: 14px;
    padding: 7px;
    transform: scale(1.1);
    margin-left: 6px;
    top: -1px;
}
.chat-methods .chat-send-btn{
    background: #14343b;
}
.chat-methods .chat-send-btn i{
    color: #fff;
}
.chat-methods .chat-send-btn.disabled{
    opacity: .5;
    cursor: not-allowed;
}
.chat-methods .chat-stop-btn{
    background: #14343b;
    color: #e8e8e6;
}
.chat-methods .chat-send-btn:hover{
    opacity: .8;
}
.chat-methods .chat-stop-btn:hover{
    background: #a94a2e;
    color: #ffffff;
}
.chat-modes .chat-mode-tool-list li{
    margin-bottom: 4px;
}
.chat-modes .chat-mode-tool-list li:last-child {
    margin-bottom: 0;
}
.chat-modes .chat-mode-tool-list a,
.models-drop-down a{
    font-size: 12px;
    cursor: pointer;
}
.chat-modes .chat-mode-tool-list a.active,
.models-drop-down a.active{
    background: transparent;
    color: #06B;
}
.chat-modes .chat-mode-tool-list a.active i,
.models-drop-down a.active i
{
    color: #06B !important;
}

.models-drop-down a.active .models-drop-oh{
    color: #06B;
}
.suggestion-box hr{
    margin-bottom: 8px;
    border-color: #ebebe8;
    opacity: 1;
}
.suggestion-box .suggestion-list{
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.suggestion-box .suggestion-item{
    padding: 6px;
    padding-left: 8px;
    border-radius: 8px;
    cursor: pointer;
}
.suggestion-box .suggestion-item *{
    color: #64645e;
}
.suggestion-box .suggestion-item i{
    font-size: 12px;
}
.suggestion-box .suggestion-item:hover{
    background-color: #f8f8f9;
}
.chat-box-container, .chat-bottom-box-container{
    margin-left: 250px;
    margin-right: 250px;
    position: relative;
    background-color: #fefefb;
}
.chat-bottom-box-container{
    background: transparent;
}
.chat-bottom-box-container *{
    color: #64645e;
}
.chat-bottom-box-container button{
    border: 1px solid #ebebe4;
    background: transparent;
    padding: 6px;
    border-radius: 24px;
    font-size: 14px;
    padding-left: 16px;
    padding-right: 16px;
}
.chat-bottom-box-container .badge{
    color: #fff;
    background: #5157f3;
}
.chat-bottom-box-container i{
    font-size: 13px;
}
.chat-bottom-box-container button:hover{
    background: #f8f8f9;
}
.chat-bottom-box{
    border-radius: 16px;
    border: solid 1px #d9d9d0;
    background-color: #fefefb;
    padding: 11px;
    margin-bottom: 26px;
}/*
.cbb-title{
    font-size: 16px;
    line-height: 1.5;
    color: #303030;
    font-weight: 500;
}
.cbb-desc{
    color: #435c61;
    line-height: 1.5;
    font-size: 12px;

}*/
.media-sidebar-close-btn{
    font-size: 20px; color:#7e7e7e; cursor:pointer;
}
.chat-area-heading{
    color: #1e1e1e;
    font-size: 32px;
    font-weight: 400;
}
.form-check-input:checked{
    background-color: #0e894d;
}
.form-switch .form-check-input{
    width: 1.7em;
    box-shadow: none;
}
.chat-threads{
    max-width: 1200px;
    padding-left: 40px;
    padding-right: 40px;
    width: 820px;
    margin: auto;
}
.chat-threads .chat-box-container{
    margin: auto;
    position: fixed;
    bottom: 30px;
    width: 740px;
    z-index: 9999;
}
/*.chat-threads .chat-box-frame{
    border: solid 1px #d9d9d0;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                rgba(0, 0, 0, 0) 0px 0px 0px 0px, 
                oklch(0.304 0.04 213.681 / 0.1) 0px 1px 8px 2px, 
                oklch(0.99 0.004 106.471) 0px 36px 16px 36px;
}*/

/*Mardown text formatting starts*/
/*.chat-response-container{
    overflow-x: hidden;
    word-wrap: break-word;
    color: #14343b;
    letter-spacing: 0.1px;
    word-spacing: 0.3px;
}
.chat-response-container h3, h2, h1{
    font-size: 1.125rem;
}
.chat-response-container li p{
    margin: 0;
}
.chat-response-container li{
    margin-top: 2px;
    margin-bottom: 2px;
}
.chat-response-container .list-group-item-action:focus, .list-group-item-action:hover{
    z-index: 0;
}*/
/*Chat Loading Screen Starts*/
.loading-chats{
    margin-top: 100px;
}
.loading-chats .lc-title{
    width: 100%;
    height: 22px;
    border-radius: 16px;
}
.loading-chats .lc-desc{
    width: 60%;
    height: 18px;
    border-radius: 16px;
    margin-top: 16px;
}
.loading-chats .lc-list{
    display: flex;
    gap: 8px;
    margin-top: 16px;
    width: 100%;
}
.loading-chats .lc-list div:nth-of-type(1) {
    width: 16px;
    height: 16px;
    border-radius: 16px;
}
.loading-chats .lc-list div:nth-of-type(2) {
    width: 30%;
    height: 16px;
    border-radius: 16px;
}
/*Chat Loading Screen Ends*/
.chat-threads hr{
    opacity: 1;
    border-top: 1px solid #ebebe4;
}
.chat-response-container > * {
    margin-bottom: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    color: #14343b;
}
.chat-response-container h2:has(+ ul) {
    margin-bottom: 0;
}
.chat-response-container h2+p{
    margin-top: -.5rem;
}
.chat-response-container h1{
    font-size: 1.25rem;
    font-weight: 600;
}.chat-response-container h2{
    font-size: 1.125rem;
    font-weight: 600;
}
.chat-response-container h3{
    font-size: 1rem;
    font-weight: 600;
}
.chat-response-container h4 {
    font-size: 0.875rem;
    font-weight: 600;
}
.chat-response-container ul li pre{
    display: inline;
}
.chat-response-container li ul, .chat-response-container li pre{
    margin-bottom: .5rem;
}
.chat-response-container ul li{
    margin-bottom: .5rem;
    margin-top: .5rem;
    padding-inline-start: .375em;
}
.chat-response-container ul li::marker{
    color: #64645e;
}

.chat-response-container h1,
.chat-response-container h2,
.chat-response-container h3,
.chat-response-container p,
.chat-response-container ul,
.chat-response-container ol,
.chat-response-container pre {
    margin-bottom: 1rem; /* override inconsistent behavior */
}

.chat-response-container p + ul,
.chat-response-container h3 + ul {
    margin-top: -0.5rem; /* reduce space between paragraph/list or heading/list */
}

.markdown-content .mk-table-wrapper{
    border-radius: 3px;
    overflow: auto;
    width: 100%;
    margin-bottom: 1rem;
}

.markdown-content table {
    width: 100%;
    border-collapse: collapse;
    font-size: .875em;
    border-color: #d9d9d0;
}
.markdown-content table thead{
    background-color: #f8f8f9;
}
.markdown-content .citation-links{
    text-decoration: none;
    background-color: #eaeaea;
    margin-left: 2px;
    margin-right: 2px;
    font-size: 9px;
    color: #13343b;
    font-weight: 400;
    border-radius: 5px;
    padding: 4px;
    vertical-align: middle;
}
.markdown-content .citation-links:hover{
    color: #fff;
    background-color: #06B;
}
.markdown-content .regular-link{
    color: inherit;
    text-underline-offset: 1px;
    text-decoration-thickness: from-font;
}
.markdown-content .regular-link:hover{
    color: #06B;
}

.markdown-content th, 
.markdown-content td {
    border: 1px solid #d9d9d0;
    padding: 10px;
    text-align: left;
}

/*Mardown text formatting ends*/

/*Image gen code starts*/
.chat-tabs .generated-image-wrapper{
    border: 1px solid #d9d9d0;
    border-radius: 6px;
    width: fit-content;
    margin-bottom: 20px;
}
.chat-tabs .gen-holder{
    max-width: 600px;
    background: white;
    padding: 16px;
    border-radius: 6px;
    cursor: zoom-in;
}
.chat-tabs .generated-image{
    border-radius: 6px;
    object-fit: cover;
    min-height: 300px;
    min-width: 300px;
}
.chat-tabs .generated-image-placeholder{
    height: 300px;
    width: 300px;
    border-radius: 6px;
    margin-bottom: 16px;
    background: #f8f8f9;
}
.chat-tabs .gen-img-icon-holder{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 95%;
    width: 100%;
}
.chat-tabs .gen-img-icon-holder i{
    transform: rotate(-10deg);
    font-size: 40px;
    color: #5d5d5d;
    animation: genImgBlinkingIcon 1.4s infinite;
}
@keyframes genImgBlinkingIcon {
    0%   { opacity: .04; }
    50%  { opacity: .5; }
    100% { opacity: .04; }
}
/*Image gen code ends*/
.question-heading-container{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.question-heading-container h5{
    font-weight: 600;
}
/*Chat attachment code starts*/
.chat-question-attachment-container .chat-attachment-image img{
    object-fit: cover;

}
.chat-question-attachment-container .chat-attachment-file,
.chat-question-attachment-container .chat-attachment-image{
    border: 1px solid #d9d9d0;
    border-radius: 8px;
    overflow: hidden;
    height: 78px;
    background: #f8f8f9;
}

.chat-question-attachment-container .chat-attachment-file{
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 2px;
    padding-bottom: 2px;
}
.chat-question-attachment-container .chat-attachment-file i,
.chat-question-attachment-container .chat-attachment-file span{
    font-size: 12px;
    color: #5d5d5d;
    vertical-align: middle;
}
.chat-question-attachment-container .chat-attachment-file span{
    font-weight: 600;
}
.chat-question-attachment-container .chat-attachment-file .caf-name{
    font-size: 12px;
    padding-left: 1px;
    white-space: normal;    
    word-break: break-word;
    overflow-wrap: anywhere;
    text-indent: -3px;
}
/*Chat attachment code ends*/
/*Chat Action Button Starts*/
.chat-action-buttons{
    margin-top: -4px;
    margin-left: -7px;
}
.chat-action-buttons button{
    padding-top: 2px;
    padding-bottom: 2px;
    padding-left: 6px;
    padding-right: 6px;
}
.chat-action-buttons button:hover{
    background-color: #e8e8e8;
}
.chat-action-buttons button i{
    font-size: 16px;
    color: #5d5d5d;
    vertical-align: bottom;
}
.feedback-box .card{
    border-color: #ebebe3;
    background: transparent;
}
.feedback-box .feedback-title{
    font-size: .875rem;
    color: #64645e;
    font-weight: 400;
}
.feedback-box .feedback-close{
    color: #64645e;
    position: absolute;
    text-decoration: none;
    cursor: pointer;
    border-radius: 40px;
    height: 25px;
    width: 25px;
    text-align: center;
    /*line-height: 24px;*/
    font-size: 18px;
    top: 6px;
    right: 6px;
}
.feedback-box .feedback-close:hover{
    background: #eaeaea;
}
.feedback-box button{
    color: #64645e;
    font-size: .875rem;
    border-color: #ebebe3;
}
.feedback-box button:hover{
    background: transparent;
    border-color: #dbdbdb;
    color: #14343b;
}
.feedback-box .custom-feedback .custom-feedback-input{
    border: 1px solid #ebebe3;
    width: 100%;
    border-radius: 4px;
    padding: 10px;
}
.feedback-box .custom-feedback textarea{
    background: transparent;
    width: 100%;
    outline: none;
    resize: none;
    border: none;
    color: #14343b;
    font-size: 14px;
    
}
.feedback-box .custom-feedback .custom-feedback-submit{
    height: 24px;
    width: 24px;
    background: #eeeeeb;
    border-radius: 26px;
    text-align: center;
    font-size: 14px;
    margin-top: 28px;
    position: relative;
    float: right;
}
.feedback-box .custom-feedback .custom-feedback-submit i{
    top: 5px;
    position: absolute;
    right: 7px;
    color: #b0b0ac;
}
.feedback-box .custom-feedback .custom-feedback-submit.active{
    background: #5157f3;
    cursor: pointer;
}
.feedback-box .custom-feedback .custom-feedback-submit.active i{
    color: #fff;
}
/*Chat Action Button Ends*/

/*Related Questions Starts*/
@keyframes relatedQuestionFadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.related-questions-container .realted-quesion-list.fade-in-up{
    opacity: 0;
    animation: relatedQuestionFadeInUp 0.4s ease forwards;
}
.related-questions-container h5{
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: .8rem;
    color: #14343b;
    font-size: 1.125rem;
}
.related-question-list button{
    border-top: 1px solid #ebebe3;
    border-bottom: 1px solid #ebebe3;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 2px;
    padding-right: 2px;
    color: #14343b;
    font-size: 1rem;
    transition: color 0.5s ease;
}
.related-question-list button:hover span,.related-question-list button:hover i{
    color: #06B;
}
.related-question-list button:last-child {
    border-bottom: none;
}
.related-question-list button .col-1{
    display: flex;
    align-items: center;
    justify-content: end;
}
.related-question-list button i{
    color: #435c61;
}
/*Related Questions Ends*/

/*Auth Screens Starts*/
.auth-layout-container{
    background-color: #fcfcf9;
    height: 100vh;
}
.auth-screen{
    width: 340px;
    margin: auto;
    text-align: center;
}
.auth-screen input:hover, .auth-screen input:focus{
    box-shadow: none;
    border-color: #ced4da;
}
.auth-screens-logo{
    width: 180px;
}
.auth-screens-control{
    height: 50px;
}
.auth-screens-submit, .auth-screens-submit:hover{
    background-color: #5157f3;
}
.auth-screens-socialmedia-btn, .auth-screens-socialmedia-btn:hover{
    border: solid 1px #d9d9d9;
    background-color: #2c2c2c;
    box-shadow: 0 1px 4px 0 rgba(12, 12, 13, 0.05);
    color: #f3f3f3;
}
.auth-screens-socialmedia-btn i{
    color: #f3f3f3;
}
.auth-screens-password-group input{
    border-right: none;
}
.auth-screens-password-group span{
    border-left: none;
    background: white;
}
.auth-screens-separator {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
}

.auth-screens-separator::before,
.auth-screens-separator::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
}
.auth-screens-separator::before{
    margin-right: 10px;
}
.auth-screens-separator::after{
    margin-left: 10px;
}
.auth-screens-separator-text {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
/*Auth Screens Ends*/

/*Chat Tabs Starts*/
.chat-tabs .chat-tab-header {
    background: #ffff;
    position: sticky;
    top: -24px;
    box-shadow: 0 2px 6px #fcfcf9;
    color: #14343b;
    z-index: 1;
}
.chat-tabs .tab-pane{
    overflow: hidden;
}
.chat-tabs .nav-link i{
    /*font-size: 13px;*/
    vertical-align: bottom;
}
.chat-tabs .nav-item{
    padding-right: 20px;
}
.chat-tabs .nav-item:hover .tb-hover-effect{
    position: absolute;
    top: 3px;
    left: -6px;
    background: #f8f8f9;
    height: 32px;
    width: 114%;
    z-index: -1;
    border-radius: 6px;
}
.chat-tabs .nav-link{
    position: relative;
    font-size: 14px;
    letter-spacing: .4px;
    color: #435c61;
    border: none;
    background: transparent;
    padding-left: 4px;
    padding-right: 4px;
    padding-bottom: 13px;
    transition: color 0.2s, transform 0.2s;
    font-weight: 600;
}
.chat-tabs .nav-link i, .chat-tabs .nav-link span{
    color: #435c61;
}
.chat-tabs .nav-underline .nav-link.active, .nav-underline .show>.nav-link{
    color: #14343b;
    border-bottom: 2.5px solid #14343b;
    /*font-weight: 600;*/
}
.chat-tabs .nav-underline .nav-item.answer img{
    width: 17px;
    height: 17px;
}
.chat-tabs .nav-underline .nav-link.active, .nav-underline .nav-link.active img{
    content: url("/images/logo/jawab-logo-short.svg");
}
.chat-tabs .nav-underline .nav-link.active, .nav-underline .nav-link.active i, 
.chat-tabs .nav-underline .nav-link.active, .nav-underline .nav-link.active span{
    color: #14343b;
}
.chat-tabs .nav-underline .nav-link.active, .nav-underline .nav-link.active .tb-hover-effect{
    background: transparent;
}
.chat-tabs .typing-dots {
    display: flex;
    gap: 6px;
    margin: 1px;
}
.chat-tabs .typing-dots span {
    width: 8px;
    height: 8px;
    background-color: #6c757d;
    border-radius: 50%;
    display: inline-block;
    animation: answerTyping 1.2s infinite ease-in-out;
}
.chat-tabs .typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}
.chat-tabs .typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}
@keyframes answerTyping {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}
.chat-tabs .tb-view-more{
    font-size: 14px;
    background: #eaeaea;
    border-radius: 16px;
    border: none;
    padding: 5px;
    width: 94px;
    font-weight: 600;
}
.chat-tabs .tb-view-more:hover{
    color: #64645e;
}
.chat-tabs .skipped-answer{
    padding: 14px;
    width: 100%;
    text-align: center;
    border: 2px dotted #ebebe4;
    font-size: 14px;
    border-radius: 8px;
    color: #b0b0ac;
}
/*Chat Tabs Ends*/

.jw-shimmer{
    background: linear-gradient(to right, #f8f8f9 8%, #fcfcf9 18%, #f8f8f9 33%);
    background-size: 1000px 100%;
    animation: jWShimmer 2.2s linear infinite forwards;
}
@keyframes jWShimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 200% 0;
        background-position: 1000px 0;
    }
}

/*Settings Section Starts*/
.settings-section{
    max-width: 800px;
    margin: auto;
}
.settings-section .card{
    background: #fefefb;
    border-color: #d9d9d0;
}
.settings-section h3{
    color: #14343b;
}
.settings-section .nav-item{
    padding-left: 10px;
    padding-right: 10px;
}
.settings-section .nav-link{
    color: #435c61;
    border: none;
    background: transparent;
    padding-left: 4px;
    padding-right: 4px;
    transition: color 0.2s, transform 0.2s;
}
.settings-section .nav-underline .nav-link.active, .nav-underline .show>.nav-link{
    transform: scale(1.05);
    color: #14343b;
    border-bottom: 2px solid #14343b;
}
.settings-section .list-title{
    font-size: 16px;
    font-weight: 500;
}
.settings-section .list-title-desc{
    font-size: 14px;
    color: #435c61;
}
.settings-section .radio-btn-group-theme .btn:first-of-type{
    margin-right: 5px;
}
.settings-section .radio-btn-group-language .form-check-inline{
    margin-right: 8px;
}
.settings-section .radio-btn-group-language .form-check-inline *{
    cursor: pointer;
}
.settings-section .del-history{
    color: #F4776A;
}
.settings-section .del-history img{
    margin-top: -1px;
}
.settings-section .del-history:hover{
    background-color: #dc3545;
    color: white;
}
.settings-section .del-history:hover img{
    content: url("/images/icons/delete-white.svg");
}
.settings-section .user-profile-pic-container{

}
.settings-section .user-profile-pic{
    width: 98px;
    height: 98px;
    flex-grow: 0;
    padding: 1px 2px 2px 7px;
    border: solid 0 #e5e7eb;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
}
.settings-section .user-profile-pic img.picture{
    width: 84px;
    height: 84px;
    margin: 6px 5px 5px 0;
    border-radius: 8749.1px;
    border: solid 0.9px #435c61;
}
.settings-section .user-profile-pic button{
    position: absolute;
    right: 6px;
    bottom: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 9.4px;
    border-radius: 47.1px;
    border: solid 0.9px #435c61;
    background-color: #383838;
}
.settings-section .user-profile-pic button img{
    height: 16px;
    margin: auto;
} 
.settings-section .user-name-container{
    width: 65%;
}
.settings-section .user-name-container .disabled-username:hover{
    cursor: pointer;
}
.settings-section .user-name-container .disabled-username input.form-control{
    border-left: 0;
    padding-left: 0;
    text-align: center;
    pointer-events: none;
}
.settings-section .password-container button, .settings-section .password-wizard .update-password{
    background-color: #e9ecef;
    border: 1px solid #ced4da;
}
.settings-section .password-container button i{
    vertical-align: bottom;
}
.settings-section .password-wizard .cancel-password{
    border: 1px solid #ced4da;
}
.settings-section .help-feedback{
    font-size: 14px;
    color: #435c61;
    gap: 6px;
}
.settings-section .help-feedback p{
    cursor: pointer;
}
.settings-section .about-textarea{
    line-height: 1.5rem;
    max-height: 9rem; /* 5 rows */
    overflow-y: auto;
    resize: none;
    background: transparent;
    outline: none;
    border-color: #d9d9d0 !important;
}
.settings-section .about-textarea:focus{
    box-shadow: none;
    border-color: #d9d9d0;
}
.settings-section .about-textarea::placeholder{
    font-size: 14px;
    font-weight: 300;
}
.settings-section .export-chat:hover img{
    content: url('/images/icons/export-white.svg');
}
.settings-section .social-connections span{
    vertical-align: sub;
}
.settings-section .api-key-list th{
    font-weight: 500;
    font-size: 16px;
}
.settings-section .api-key-list .key-menu{
    vertical-align: baseline;
    font-size: 28px;
    line-height: 0px;
    color: #435c61;
}
.font-14px{
    font-size: 14px;
}

/*Settings Section Ends*/

/*Image&Video Light Box Starts*/
.yarl__container,
.video-lightbox-overlay{
    background-color: #fcfcf9d4 !important;
    backdrop-filter: blur(24px) brightness(1.1) contrast(1) grayscale(0) hue-rotate(0deg) invert(0) opacity(1) saturate(1.2) sepia(0);
    -webkit-backdrop-filter: blur(12px) brightness(1.1) contrast(1) grayscale(0) hue-rotate(0deg) invert(0) opacity(1) saturate(1.2) sepia(0);
}
.yarl__button{
    filter: none !important;
}
.yarl__button:hover,
.video-lightbox-close:hover{
    background: #eaeaea;
}
.yarl__button svg,
.video-lightbox-close svg{
    height: 28px;
    width: 28px;
}
.yarl__button svg *{
    color: #64645e;
}
.yarl__button.yarl__navigation_next,
.yarl__button.yarl__navigation_prev{
    padding-left: 10px;
    padding-right: 10px;
}
.yarl__button.yarl__navigation_next svg,
.yarl__button.yarl__navigation_prev svg{
    height: 36px;
    width: 36px;
}
.yarl__button[aria-label='Download'], 
.yarl__button[aria-label='Close'],
.video-lightbox-close{
    border-radius: 28px;
    padding: 6px !important;
}
.yarl__button.yarl__navigation_next{
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.yarl__button.yarl__navigation_prev{
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.yarl__thumbnails_container{
    background-color: #f8f8f9 !important;
}
.yarl__thumbnails_bottom .yarl__thumbnails_vignette, .yarl__thumbnails_top .yarl__thumbnails_vignette{
    background: transparent !important;
}
.yarl__button:disabled{
    display: none;
}
.yarl__toolbar{
    gap: 16px;
    padding-right: 14px !important;
    padding-top: 14px !important;
    right: 16px !important;
    top: 8px !important;
}
.video-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.video-lightbox-content{
    width: 100vw;
    height: 100vh;
    padding: 90px;
    padding-right: 150px;
    padding-left: 150px;
}
.video-lightbox-close {
    position: absolute;
    top: 24px;
    right: 26px;
    padding: 6px;
    background: none;
    border: none;
    z-index: 10000;
}
.video-lightbox-close *{
    color: #64645e;
}
.video-lightbox-player{
    height: 100%;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}
/*Image&Video Light Box Ends*/

/*Chat RTL Starts*/
.chat-thread.jw-rtl .question-heading-container, 
.chat-thread.jw-rtl .chat-response-container, 
.chat-thread.jw-rtl .related-questions-container,
.chat-thread.jw-rtl .markdown-content th, 
.chat-thread.jw-rtl .markdown-content td,
.chat-thread.jw-rtl .media-sources-icon-title-container,
.chat-thread.jw-rtl .media-sources-icon-title-container div,
.chat-thread.jw-rtl .media-sources-heading,
.chat-thread.jw-rtl .media-sources-content{
    text-align: right;
    direction: rtl;
}
.chat-thread.jw-rtl .related-questions-container i{
    float: left !important;
}
.chat-thread.jw-rtl .chat-action-buttons{
    direction: rtl;
}
/*Chat RTL Ends*/

