html {
    background: #f2f2f2;
    font-family: Segoe UI, "Segoe UI Web (West European)", Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Helvetica Neue, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.layout {
    display: flex;
    flex-direction: column;
    height: 100%;
}

header {
    background-color: #f2f2f2;
}

.cevi-header {
    display: flex;
    flex-flow: row;
    width: auto;
    height: auto;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
}

.headerTitleContainer {
    display: flex;
    align-items: center;
    margin-left: 14px;
    text-decoration: none;
}

.headerTitle {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
    display: flex;
    align-items: flex-end;
    color: #242424;
}

.headerIcon {
    height: 50px;
    width: auto;
    margin-left: 36px;
}

.cevi-header > * {
    text-overflow: ellipsis;
}

.logo {
    display: flex;
    flex-flow: row;
    width: auto;
    height: auto;
    box-sizing: border-box;
    align-items: center;
}

.share {
    display: flex;
    flex-flow: row;
    width: auto;
    height: auto;
    box-sizing: border-box;

    justify-content: center;
    margin-right: 20px;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.chat-root {
    flex: 1;
    display: flex;
    margin: 0 20px 20px;
    gap: 5px;
    flex-flow: row;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.chat-root > * {
    text-overflow: ellipsis;
}

.chat-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: radial-gradient(108.78% 108.78% at 50.02% 19.78%, #ffffff 57.29%, #eef6fe 100%);
    box-shadow: 0 2px 4px #00000024, 0 0 2px #0000001f;
    border-radius: 8px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.chat-stream {
    flex-grow: 1;
    max-width: 1028px;
    width: 100%;
    overflow-y: auto;
    padding-left: 24px;
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    margin-top: 24px;
}

.chat-input {
    position: sticky;
    flex: 0 0 100px;
    padding: 12px 24px 24px;
    width: calc(100% - 100px);
    max-width: 1028px;
    margin-bottom: 50px;
    margin-top: 8px;

    display: flex;
    flex-flow: row;
    height: auto;
    box-sizing: border-box;
}

.clearChat {
    display: flex;
    flex-flow: column;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

button:disabled {
    color: darkgray;
    border-color: lightgray;
    background: lightgray;
}

.clearChatBroom {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    width: 40px;
    height: 40px;
    left: 7px;
    top: 66px;
    color: #fff;
    border-radius: 4px;
    z-index: 1;

    outline: transparent;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 400;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 0px 4px;
    text-decoration: none;
    text-align: center;
    min-width: 40px;
    background: radial-gradient(109.81% 107.82% at 100.1% 90.19%, rgb(15, 108, 189) 33.63%, rgb(45, 135, 195) 70.31%, rgb(141, 221, 216) 100%);
    user-select: none;
}

.questionInputContainer {
    height: 120px;
    position: absolute;
    left: 6.5%;
    right: 0%;
    top: 0%;
    bottom: 0%;
    background: #ffffff;
    box-shadow: 0 8px 16px #00000024, 0 0 2px #0000001f;
    border-radius: 8px;
    display: flex;
    flex-flow: row;
    width: auto;
    box-sizing: border-box;
}

.questionInputTextArea {
    width: 100%;
    line-height: 40px;
    margin: 10px 12px;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 400;
    box-shadow: none;
    padding: 0px;
    box-sizing: border-box;
    position: relative;
}

.questionInputSendButtonContainer {
    position: absolute;
    right: 24px;
    bottom: 20px;
    border: none;
    background: white;
    cursor:pointer;
}

.questionInputSendButtonDisabled {
    width: 24px;
    height: 23px;
    background: none;
    color: #424242;
}

.questionInputBottomBorder {
    position: absolute;
    width: 100%;
    height: 4px;
    left: 0%;
    bottom: 0%;
    background: radial-gradient(106.04% 106.06% at 100.1% 90.19%, #0f6cbd 33.63%, #8dddd8 100%);
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}



.chatEmptyState {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.chatEmptyState > img {
    height: 20vh;
}

.chatEmptyStateTitle {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    display: flex;
    align-items: flex-end;
    text-align: center;
    line-height: 24px;
    margin-top: 36px;
    margin-bottom: 0;
}

.chatEmptyStateSubtitle {
    margin-top: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    align-items: flex-end;
    text-align: center;
    letter-spacing: -.01em;
    color: #616161;
}

.chatMessageUser {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.chatMessageUserMessage {
    display: flex;
    padding: 20px;
    background: #edf5fd;
    border-radius: 8px;
    box-shadow: 0 2px 4px #00000024, 0 0 2px #0000001f;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 22px;
    color: #242424;
    order: 0;
    flex-grow: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    max-width: 80%;
}

.chatMessageGpt {
    margin-bottom: 12px;
    max-width: 80%;
    display: flex;
}

.answerContainer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 8.1285px;
    gap: 5.42px;
    background: #ffffff;
    box-shadow: 0 1px 2px #00000024, 0 0 2px #0000001f;
    border-radius: 5.419px;
    flex-flow: column;
    width: auto;
    height: auto;
    box-sizing: border-box;
}

.answerContainer > .item {

}

.answer-footer {
    display: flex;
    flex-flow: row nowrap;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    justify-content: space-between;
}

.answerDisclaimerContainer {
    justify-content: center;
    display: flex;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 400;
    flex-basis: auto;
    height: auto;
    width: auto;
    flex-shrink: 1;
}

.answerDisclaimer {
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #707070;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.answerText {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #323130;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    margin: 11px;
    white-space: normal;
    word-wrap: break-word;
    max-width: 800px;
    overflow-x: auto;
}

sup {
    font-size: 10px;
    line-height: 10px;
}

.field-122 {
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 400;
    box-shadow: none;
    margin: 0px;
    padding: 6px 8px;
    box-sizing: border-box;
    border-radius: 0px;
    border: none;
    background: none transparent;
    color: rgb(50, 49, 48);
    width: 100%;
    min-width: 0px;
    text-overflow: ellipsis;
    outline: 0px;
    resize: none;
    min-height: inherit;
    line-height: 17px;
    flex-grow: 1;
    overflow: auto;
}

.citations-container {
    display: flex;
    flex-flow: row;
    width: auto;
    height: auto;
    box-sizing: border-box;
    justify-content: flex-start;
    align-items: center;
}

.accordionTitle {
    margin-right: 5px;
    margin-left: 10px;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    display: flex;
    align-items: center;
    color: #616161;
}

. accordionIcon {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin-top: 4px;
    color: #616161;
    font-size: 10px;
}

.accordionIcon:hover {
    cursor: pointer;
}

.citationWrapper {
    margin-top: 8;
    display: flex;
    flex-flow: wrap column;
    max-height: 150px;
    gap: 4px;
}

.citationContainer {
    margin-left: 10px;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #115ea3;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 4px 6px;
    gap: 4px;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
}

.citationContainer:hover {
    text-decoration: underline;
    cursor: pointer;
}

.citation {
    box-sizing: border-box;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: 14px;
    height: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    flex: none;
    flex-grow: 0;
    z-index: 2;
    font-style: normal;
    font-weight: 600;
    font-size: 10px;
    line-height: 14px;
    text-align: center;
    color: #424242;
    cursor: pointer;
}

.citationPanel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 8px;
    background: #ffffff;
    box-shadow: 0 2px 4px #00000024, 0 0 2px #0000001f;
    border-radius: 8px;
    flex: auto;
    order: 0;
    align-self: stretch;
    flex-grow: .3;
    max-width: 30%;
    overflow-y: scroll;
    max-height: calc(100vh - 100px);
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 400;
    height: auto;
    width: auto;
}

.citationPanelHeaderContainer {
    display: flex;
    flex-flow: row;
    width: auto;
    height: auto;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    font-family: "Segoe UI", "Segoe UI Web (West European)", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    font-size: 14px;
    font-weight: 400;
}

.citationPanelHeader {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #000;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.citationPanelTitle {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #323130;
    margin-top: 12px;
    margin-bottom: 12px;
}

.citationPanelContent {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    color: #000;
    flex: none;
    order: 1;
    align-self: stretch;
}

.closeCitation {
    border: none;
    background: white;
}

.closeCitationIcon {
    font-size: 16px;
    margin: 0px 4px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    flex-shrink: 0;
    color: rgb(16, 110, 190);
}

.closeCitationIcon:hover {
    cursor: pointer;
    background-color: lightgrey;
}