.chat-teaser {
    position: absolute;
    top: 35px;
    width: 200px;
    border: 1px solid #b3b3b3;
    background-color: #fff;
    padding: 10px;
}

.chat-teaser::after {
    content: "";
    position: absolute;
    top: -8px;
    right: 90px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #ffffff;
    z-index: 1;
}

.chat-teaser-header {
    display: flex;
    justify-content: space-between;
    height: 60px;
}

.chat-teaser-body1 {
    width: 150px;
}

.chat-teaser-subject {
    color: #000;
}

.chat-teaser-body2 {
    margin-top: 5px;
    width: 175px;
}

.chat-teaser-learmmore {
    font-size: 12px;
}

.chat-tooltip-container {
    position: relative;
    display: inline-block;
}

.chat-tooltip {
    visibility: hidden;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 5px 8px;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}

.chat-tooltip::after {
    content: "";
    position: absolute;
    bottom: -13px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}
  
.chat-button:hover .chat-tooltip {
    visibility: visible;
    opacity: 1;
}

.chat-button {
    position: fixed;
    bottom: 30px;
    right: 20px;
    background-color: #104f9c;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 0;
    z-index: 1;
}

.chatbot-wrapper {
    position: fixed;
    top: 0;
    right: 0px;
    width: 420px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: left 0.3s ease;
    pointer-events: auto; 
    cursor: default;
}

.maximize-chat-width {
    width: 100%;
}

.chatbot-header {
  padding: 10px;
  align-items: center;
  gap: 10px;
  color: #000;
}

.chatbot-body {
  padding: 0 20px;
  height: 72%;
  overflow-y: auto;
}

.maximize-chatbot-body {
    width: calc(100% - 28%);
}

.genai-title {
    width: 50%;
    font-weight: 600;
    margin-left: 10px;
}

.tool-bar {
    width: 50%;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.tool-bar div {
    cursor: pointer;
}

.tool-bar div:hover {
    background-color: #f5f5f5;
    border-radius: 8px;
}

.more-options {
    height: 40px;
    width: 40px;
}

.more-options-settings {
    position: absolute;
    top: 50px;
    right: 30px;
    border: 1px solid #b3b3b3;
    background: #fff;
    z-index: 1;
}

.more-options-settings li {
    display: flex;
    width: 100%;
    white-space: nowrap;
}

.more-options-settings li:hover {
    background-color: #e0e0e1;
}

.more-options-settings span:last-child {
    margin-top: 8px;
}

.messages {
  font-size: 16px;
  margin-bottom: 10px;
  width: fit-content;
  border-radius: 8px;
  padding: 5px;
  background: inherit ;
  color: #000;
}

.from-user {
    display: flex;
    justify-content: flex-end;
}

.from-user-color {
    padding: 10px 16px;
    background: #f5f5f5;
    border-radius: 12px 0 12px 12px;
    width: fit-content;
    max-width: 75%;
}

.from-receiver{
    margin-left: 40px;
}

.citation-container {
    display: flex;
    flex-flow: column nowrap;
    gap: 4px;
    margin-top: 12px;
}

.citations {
    display: flex;
    width: fit-content;
    flex-direction: row;
    gap: 5px;
    border: 1.5px solid #c5c5c9;;
    border-width: 1.5px;
    color: #000000;
    box-shadow: 0 0 10px #0000000d;
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
}

.citations-mini-width {
    max-width: 319px;
}

.citations:hover {
    background-color: #f5f5f5;
}

.citations-title,
.citations-menu-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.citation-container a:focus {
    border: 1.5px solid #0072ed;
    color: #000000;
    text-decoration: none;
}

.relative-position {
  position: relative;
}

.additional-menu {
    position: absolute;
    top: 110%;
    left: 0;
    border: 1px solid #bbbbbf;
    width: 280px;
    margin-top: 10px;
    background: #ffffff;
    z-index: 10;
}

.additional-menu::before {
    content: "";
    position: absolute;
    left: 15%;
    transform: translateY(-100%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #bbbbbf;
}

.additional-menu::after{
    content: "";
    position: absolute;
    left: 19%;
    top: 0%;
    transform: translateY(-100%);
    margin-left: -9px;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid #fff;
}

.additional-menu div:hover {
    background-color: #e0e0e1
}

.addition-citations-menu {
    color: #000000;
    display: flex;
    gap: 5px;
    overflow: hidden;
    text-overflow: ellipsis;;
    width: fit-content;
    max-width: 270px;
    padding: 6px 12px;
}

.message-feedback {
    margin-top: 10px;
}

.message-feedback-icons {
    display: flex;
    flex-direction: row;
}

.message-feedback-icons span {
    cursor: pointer;
    height: 34px;
    width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-feedback-icons span:hover { 
    background-color: #f5f5f5;
    border-radius: 8px;
}

.chatbox-input-wrapper {
  position: fixed;
  bottom: 15px;
  color: #000;
  width: 400px;
  margin: 10px;
}

.maximize-input-wrapper-width {
    width: calc(100% - 30%);
}

.chatbox-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #6f6f76;
  border-radius: 12px;
  height: 45px;
  font-size: 16px;
  padding-right: 15%;
}

.footer-text {
    margin-top: 6px;
    display: flex;
    justify-content: center;
}

.launch-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 90%;
    gap: 48px;
}

.launch-page-text,
.no-conversation-text {
    display: flex;
    justify-content: center;
    color: #000000;
    font-weight: 600;
    font-size: 20px;
}

.history-page {
    color: #000000;
    height: 100%;
}

.maximize-width-history-page {
    width: 28%;
    height: 100%;
    border-left: 1px solid #e0e0e1;
    float: right;
    position: relative;
    top: calc(100% - 172%);
}

.history-header {
    display: flex;
    padding-left: 16px;
    font-size: 18px;
}

.history-body {
    flex: 1;
    font-size: 16px;
    padding: 8px 10px 8px 16px;
    max-height: calc(100% - 100px);
    overflow-y: auto;
}

.conversation-element {
    display: flex;
    justify-content: space-between;
    position: relative; 
    align-items: center;
}

.conversation-text {
    width: fit-content;
    max-width: 89%;
    cursor: pointer; 
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.conversation-date {
    font-size: 13px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-settings {
    display: flex;
    margin-right: 10px;
    height: 40px;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
}

.conversation-settings:hover {
    background-color: #f5f5f5;
    border-radius: 8px;
    height: 40px;
    width: 40px;
    margin-right: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conversation-settings svg {
    width: 20px;
    height: 20px;
}

.no-conversation-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70%;
}

.settings {
    position: absolute;
    right: 0px;
    background-color: #fff;
    cursor: pointer;
    z-index: 1;
}

.settings-begin-elements {
    top: 45px;
}

.setting-remaining-elements {
    bottom: 45px;
}   

.setting-menu {
    border: 1px solid #b3b3b3;
}

.setting-menu > li {
    width: max-content;
    display: flex;
    gap: 8px;
    float: none;
    padding: 5px 10px;
    margin-right: 0;
}

.setting-menu > li:hover {
    background-color: #e0e0e1;
    width: auto;
}

.rename-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: not-allowed;
}
  
.rename-popup-content {
    background: white;
    min-width: 300px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.rename-popup-header {
    padding: 12px;
    font-size: 20px;
}

.rename-popup-body {
    padding: 15px;
    margin-bottom: 15px;
}

.rename-input-field {
    border: 1px solid #0072ed;
    height: 30px;
    width: 100%;
    padding: 5px;
    text-overflow: ellipsis;
}

.rename-input-field:focus {
    box-shadow: 0px 0px 8px 0px rgba(0 114 237 / 0.50);
    text-decoration-thickness: 0.25em;
}

.rename-popup-buttons {
    display: flex;
    cursor: pointer;
}
  
.buttons-popup {
    display: flex;
    justify-content: center;
    width: 50%;
    border: 1px solid #b3b3b3;
    padding: 10px;
    font-weight: 600;
    font-size: 16px;
}

.ok-color {
    color: #0072ed;
}

.about-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
}
  
.about-popup-content {
    background: white;
    width: fit-content;
    max-width: 500px;
    height: fit-content;
    max-height: 80vh;
    display: flex; 
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.about-popup-header {
    padding: 12px;
    flex-shrink: 0;
}

.about-popup-body {
    display: flex;
    padding: 5px;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    overflow-y: auto;
    flex-grow: 1;
}

.about-infor-logo {
    height: 100px;
    width: 100%;
    flex-shrink: 0;
    background-image: url('../images/logo/infor-logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.about-gen-ai-text {
    color: #000000;
}

.about-modal-body {
    border: 1px solid #c5c5c9;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 0 20px 20px 20px;
    padding: 5px;
    color: #000000;
}

.feedback-section-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1000;
}

.feedback-section-content {
    background: #ffffff;
    width: 100%;
    max-width: 475px;
    height: fit-content;
    max-height: 85vh;
    display: flex; 
    flex-direction: column;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.feedback-scrollable-content {
    overflow-y: auto;
    padding: 30px 16px 20px;
    flex: 1;
}

.feedback-section-headerpart {
    display: flex;
    flex-direction: row;
}

.feedback-header-title {
    font-size: 28px;
    width: 80%;
}

.feedback-close-icon {
    width: 10%;
    direction: rtl;
}

.feedback-close-icon svg {
    cursor: pointer;
}

.feedback-body textarea{
    font-size: 17px;
    min-height: 120px;
    width: 100%;
    padding: 12px;
    border: 1px solid #c5c5c9;
    margin: 30px 0px;
    border-radius: 2px;
    border-collapse: separate;
    color: #000000;
}

.feedback-body textarea:focus {
    border-color: #0072ed;
    box-shadow: 0 0 4px 0 #0072ed;
    outline: none;
    outline-color: rgba(0, 0, 0, 0);
}

.feedback-body-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.feedback-checkbox-title {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.feedback-checkbox-title input:focus {
    border-color: #0072ed;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #0072ed;
}

.feedback-submit-button {
    display: flex;
    justify-content: center;
    border-top: 1px solid #c5c5c9; 
    background-color: #ffffff;
    cursor: pointer;
}

.feedback-button {
    padding: 15px 0px;
}

.message-tooltip {
    position: fixed;
    top: 15px;
    right: 15px;
    padding: 5px 15px 15px 15px;
    background-color: #fff;
    border: 1px solid #c5c5c9;
    color: #000000;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.tool-tip-progress-bar {
    bottom: 0px;
    right: 0px;
    position: absolute;
    width: 100%;
    height: 3px;
    overflow: hidden;
}

.tip-progress-bar {
    width: 0;
    height: 100%;
    animation: reverse-progress-animation 2s linear backwards;
}

.loader-blue {
    background-color: #0072ed;
}

.loader-red {
    background-color: #c23232;
}

.loader-section {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-height {
    height: 80%;
}

.loader {
    border: 3px solid #a3c9f2;
    border-top: 3px solid #0072ed;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-section {
    width: 100%;
}

.error-bar {
    position: absolute;
    top: 15px;
    display: flex;
    gap: 10px;
    color: #000000;
    background-color: #ffffff;
    border: 1px solid #c5c5c9;
    padding: 10px;
    margin: 5px 10px;
    border-radius: 8px;
    box-shadow: 0 5px 5px #c5c5c9;
    background-color: #fa9c9c;
}

.error-alert-icon,
.error-notification {
    align-items: center;
    display: flex;
}

.chat-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.message-icon,
.maximize-icon,
.more-options {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-icon svg,
.more-options svg,
.maximize-icon svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.history-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-icon {   
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    float: right;
    cursor: pointer;
}

.close-icon-teaser {
    width: 20px;
    height: 20px;
}

.history-icon svg {
    width: 20px;
    height: 20px;
    fill: #000;
}

.genai-launch-icon {
    position: relative;
    display: flex;
    justify-content: center;
    /* margin-top: 35%;
    width: 100%; */
}

.genai-icon {
    height: 30px !important;
    width: 30px !important;
    float: left
}

.genai-icon-nodisplay {
    display: none;
}

.icon-left-arrow {
    padding-right: 15px;
}

.genai-launch-icon svg {
    color: #d2d2d8;
    fill: transparent;
}

.icon-left-arrow svg {
    height: 15px;
    width: 15px;
}

.citations svg,
.addition-citations-menu svg {
    height: 18px;
    width: 18px;
    margin-top: 2px
}

.message-feedback svg {
    height: 18px;
    width: 18px;
}

.send-icon {
  position: absolute;
  right: 12px;
  top: 33%;
  transform: translateY(-50%) rotate(0deg);
  color: #c5c5c9;
  cursor: pointer;
  font-size: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.feedback-section-headerpart span:last-child svg {
    width: 15px;
    height: 15px;
}

.feedback-section-headerpart svg {
    margin-top: 10px;
}

.delete-record-icon svg,
.rename-record-icon svg {
    height: 15px;
    width: 15px;
    margin-top: 2px;
}

.chatbox-input:focus {
  box-shadow: 0 0 4px 0 #0072ed;
  border-color: #0072ed;
  text-decoration-thickness: 0.25em;
}

.chatbot-body::-webkit-scrollbar,
.history-body::-webkit-scrollbar {
    width: 8px;
}

.chatbot-body::-webkit-scrollbar-track,
.history-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px;
}

.chatbot-body::-webkit-scrollbar-thumb,
.history-body::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.chatbot-body::-webkit-scrollbar-thumb:hover,
.history-body::-webkit-scrollbar-thumb:hover {
    background-color: #aaa;
}

.display-none {
    display: none;
}

.typing-loader {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-start;
    margin: 10px 0 0 5px;
}
  
.typing-loader span {
    width: 8px;
    height: 8px;
    background-color: #104f9c;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}
  
.typing-loader span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-loader span:nth-child(3) {
    animation-delay: 0.4s;
}

.render-mark-down {
    display: flex;
    flex-direction: column;
}

ol, ul {
    padding-left: 1.5rem;
    margin-left: 1rem;
    list-style-position: outside;
}

.messages p {
    margin-bottom: 10px;
}
  
.messages ol {
    list-style-type: decimal;
    padding-left: 20px;
  }

.messages ol ul{
    list-style-type: decimal;
    padding-left: 20px;
  }
  
  ul {
    list-style-type: disc;
  }
  
  li {
    margin-bottom: 0.5rem;
  }

.messages ul{
    list-style-type: decimal;
    padding-left: 20px;
}

@keyframes reverse-progress-animation {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}
  
@keyframes blink {
    0%, 80%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1);
    }
}

.no-scroll {
  overflow: hidden !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.no-scroll::-webkit-scrollbar {
  display: none !important;
}

.tool-bar > div[data-tooltip]:not(.more-options, .more-options-settings-list):hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 32px;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 3px 6px;
    font-size: 11px;
    white-space: nowrap;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
    pointer-events: none;
}

.tool-bar > div:not(.more-options, .more-options-settings-list):hover::before {
    content: "";
    position: absolute;
    bottom: 28px;
    margin-bottom: 2px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid rgba(0, 0, 0, 0.9);
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
}