.RichTextEditorClass {
    font-family: Open Sans, sans-serif !important;
}

.bold {
    font-weight: 600 !important
}

.extrabold {
    font-weight: 700 !important
}

.body1 {
    font-size: 14px !important;
    font-weight: 400;
    letter-spacing: 0.15;
}

.welcome-to-chat-grid {
  display: grid;
  grid-template-columns: repeat(
    2,
    1fr
  ); /* Each column occupies 25% of the available width */
  grid-auto-rows: minmax(0, 128px); /* Height of each row is capped at 216px */
  grid-gap: 24px;
  align-items: stretch;
}

.responsive-apps-grid {
  display: grid;
  grid-template-columns: repeat(
    4,
    1fr
  ); /* Each column occupies 25% of the available width */
  grid-auto-rows: minmax(0, 216px); /* Height of each row is capped at 216px */
  grid-gap: 24px;
  align-items: stretch;
}

@media (min-width: 600px) {
  .screenPadding {
      padding-left: calc(50vw - 692px) !important;
      padding-right: calc(50vw - 692px) !important;
  }
  .homeMainPaneNoSidebar {
      width: calc(100vw - calc(100vw - 1384px)) !important;
  }
  .homeMainPaneSidebar {
      width: calc(100vw - calc(100vw - 1384px) - 76px - 320px) !important;
  }

  .homeMainPaneWideSidebar {
      width: calc(100vw - calc(100vw - 1384px) - 76px - 320px) !important;
  }
}

.AppStoreCardDisabled {
  text-align: left;
  border-radius: 2px;
  border: 1px solid #0000001f;
  transition: transform 0.3s ease;
  padding: 0px;
  min-width: 318px;
  width: 318px;
  max-width: 318px;
  min-height: 217px;
  height: 217px;
  max-height: 217px;
  display: flex;
  align-content: stretch;
}

.AppStoreCardDarkDisabled {
  text-align: left;
  border-radius: 2px;
  border: 1px solid #121212;
  transition: transform 0.3s ease;
  padding: 0px;
  min-width: 318px;
  width: 318px;
  max-width: 318px;
  min-height: 217px;
  height: 217px;
  max-height: 217px;
  display: flex;
  align-content: stretch;
}

.AppStoreCard {
  text-align: left;
  border-radius: 2px;
  border: 1px solid #0000001f;
  transition: transform 0.3s ease;
  padding: 0px;
  min-width: 318px;
  width: 318px;
  max-width: 318px;
  min-height: 217px;
  height: 217px;
  max-height: 217px;
  display: flex;
  align-content: stretch;

}

.AppStoreCard:hover {
  box-shadow: 0px 1px 18px 0px #0000001f, 0px 6px 10px 0px #00000024,
    0px 3px 5px -1px #00000033;
  border: 1px solid #0000001f;
  transform: translateY(-2px);
}

.AppStoreCard_NoStyling {
  text-align: left;
  border: 1px solid #00000000;
  transition: none;
  padding: 0px;
  display: flex;
  align-content: stretch;
  height: 100%;
  width: 100%;
  background-color: #00000000;
}

.AppStoreCardDisabled_NoStyling {
  text-align: left;
  border: 1px solid #00000000;
  transition: none;
  padding: 0px;
  display: flex;
  align-content: stretch;
  height: 100%;
  width: 100%;
  background-color: #00000000;
}

.AppStoreCardDark {
  text-align: left;
  border-radius: 2px;
  border: 1px solid #121212;
  transition: transform 0.3s ease;
  padding: 0px;
  min-width: 318px;
  width: 318px;
  max-width: 318px;
  min-height: 217px;
  height: 217px;
  max-height: 217px;
  display: flex;
  align-content: stretch;
}

.AppStoreCardDark:hover {
  box-shadow: 0px 1px 18px 0px #0000001f, 0px 6px 10px 0px #00000024,
    0px 3px 5px -1px #00000033;
  border: 1px solid #121212;
  transform: translateY(-2px);
}

.AppStoreCardDark_NoStyling {
  text-align: left;
  border: none;
  transition: none;
  padding: 0px;
  display: flex;
  align-content: stretch;
  height: 100%;
  width: 100%;
  background-color: #00000000;
  color: #ffffff;
}

.AppStoreCardDarkDisabled_NoStyling {
  text-align: left;
  border: none;
  transition: none;
  padding: 0px;
  display: flex;
  align-content: stretch;
  height: 100%;
  width: 100%;
  background-color: #00000000;
  color: #ffffff70;
}

.AppStoreCardMonthlyUsers {
    font-size: 13px;
    font-weight: 700 !important;
    line-height: 18px;
    letter-spacing: 0.1599999964237213px;
    text-align: left;
}

body {
  background-color: #F7F7F7;
}

tr:hover {
  background-color: rgba(100, 100, 100, 0.1) !important;
}

.dash-table-tooltip {
  width: 100px !important;
  max-width: 100px !important;
  min-width: 100px !important;
  background-color: #63666a !important;
  color: white !important;
  line-height: 14px;
  font-size: 10px;
}

.dash-tooltip:before,
.dash-tooltip:after {
  border-color: transparent !important;
  border-bottom-color: #63666a !important;
}

.MuiDataGrid-root .MuiDataGrid-cellContent {
  white-space: pre-wrap !important;
  word-wrap: break-word !important;
}
.MuiDataGrid-virtualScrollerContent {
  max-width: 100px !important;
  min-width: 100px !important;
}
/* .MuiDataGrid-virtualScroller {
  display: flex !important;
} */

.tooltip.show {
  z-index: 9999 !important;
}

a {
  color: #0095C8 !important; /* TasNetworks Cyan */
}

table,
th,
td {
  border: 1px solid #d2d2d2 !important;
  padding: 4px;
}

table {
  border-collapse: collapse !important;
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

pre code {
  border-radius: 10px;
  overflow-x: "scroll" !important;
  background: #00000006 !important;
}

._dash-loading {
  display: none;
}

.SpeechBubble {
  position: relative;
  text-align: left;
  background: #f7f7f7;
  border-radius: 4px;
  padding: 12px;
  border: 1px solid #00000000;
  transition: none;
  width: 230px;
  height: 128px;
  align-content: stretch;
}

.SpeechBubble:hover .SpeechBubbleIcon {
  color: #007CB0;
}

.SpeechBubble:hover {
  filter: brightness(92%);
}

.SpeechBubble:focus {
  filter: brightness(92%);
}
.SpeechBubble:after {
  content: '';
  position: absolute;
  border-color: #f7f7f7;
  bottom: -10px; /* Position it at the bottom */
  left: -1px; /* Adjust the horizontal position */
  width: 0;
  height: 0;
  border-top: 10px solid #f7f7f7;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #f7f7f7;
}

.SpeechBubbleText:hover {
  color:#323232;
}

.copy-button {
  color: #75787B;
  font-size: 22px;
}

.DeleteHistoryCard {
  visibility: hidden;
}

.HistoryCard:hover .DeleteHistoryCard {
  visibility: visible;
  background: #F0F0F0;
}

.HistoryCard  {
  visibility: visible;
}

.HistoryCard:hover  {
  background: #F0F0F0;
}

/* Custom Button Styles */
.AppFilter {
  display: flex;
  gap: 12px;
}

.AppFilter .MuiButtonBase-root {
  border: none;
  border-radius: 2px !important;
  background-color: #00000004 !important;
  color: #323232;;
  text-transform: none !important;
  width: 327px;
  justify-content: space-between;
  display: flex;
}

.AppFilter .Mui-selected {
  background: #0095C8 !important;
  color: white !important;
  border: none !important
}

.workflowBuilderHeight {
    height: calc(100vh - 70px - 48px);
    max-height: calc(100vh - 70px - 48px);
    min-height: calc(100vh - 70px - 48px);
}

.workflowGradientButton {
    background: linear-gradient(118.45deg, #002C49 16.67%, #0095C8 91.29%, #016747 165.91%) !important;
}

.workflowGradientButton:disabled {
    background: #0000001F !important;
    color: #00000042 !important;
}

.whatsNewButton {
    transition: transform 0.3s ease;
    height: 54px;
    padding: 0px;
    display: flex;
    align-content: stretch;
    background: #0076A8;
    border: 0px solid;
    box-shadow: 0px 1px 3px 0px #0000001F, 0px 1px 1px 0px #00000012, 0px 2px 1px -1px #0000001A;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 20.02px;
    letter-spacing: 0.17px;
    text-align: left;
    z-index: 299;
    cursor: pointer;
}

.whatsNewButton:hover {
    box-shadow: 0px 2px 5px 0px #0000001F, 0px 2px 2px 0px #00000012, 0px 4px 2px -2px #0000001A;
}

.darkTooltip {
    padding: 4px 8px 4px 8px;
    gap: 0px;
    border-radius: 2px 0px 0px 0px;
    opacity: 0px;
    background-color: #63666A !important;
    max-width: 300px;
}

.darkTooltipText {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: white;
    max-width: 200px;
}

.workflowAddComponentButton {
    text-align: center;
    border-radius: 2px;
    border: 0px solid;
    transition: transform 0.3s ease;
    align-content: stretch;
    width: 72px;
    height: 72px;
    max-height: 72px;
    min-height: 72px;
    padding: 8px 12px 8px 12px;
    gap: 8px;
    background: #F7F7F7;
    color: #323232;
}

.workflowAddComponentButton:hover {
    background: #EDEDED;
    color: #007CB0;
}

.workflowAddComponentButton:hover .workflowAddComponentButtonIcon {
    color: #007CB0 !important;
}

.workflowViewComponentIcon {
    display: none;
}

.workflowViewActionStack {
    transition: transform 0.3s ease;
    display: flex;
    align-content: stretch;
    border: 0px solid;
    background: #00000000;
    padding: 0px;
}

.workflowViewComponentButton {
    transition: transform 0.3s ease;
    display: flex;
    align-content: stretch;
    border: 0px solid;
    background: #00000000;
    padding: 0px;
}

.workflowViewComponentButton:hover .workflowViewComponent {
    background: #0000000A;
}

.workflowViewActionStack:hover .actionIconStack {
    display: flex;
}

.fakeButton:disabled {
    background: #016747 !important;
    color: white !important;
}
  
.fullWidth {
    width: 100% !important;
}

.citationButton {
    background-color: #BBBCBC !important;
    color: #323232 !important;
    font-weight: 600 !important;
    border: 0px !important;
    border-radius: 11px !important;
    height: 22px !important;
    min-width: 22px !important;
    cursor: pointer !important;
    padding: 0px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-family: Open Sans !important;
    line-height: 22px !important;
}

.citationButton:hover {
    background-color: #007680 !important;
    color: white !important;
    box-shadow: 0px 1px 3px 0px #0000001F, 0px 1px 1px 0px #00000024, 0px 2px 1px -1px #00000033 !important;
}

.citationButtonHighlighted {
    background-color: #007680 !important;
    color: white !important;
    box-shadow: 0px 1px 3px 0px #0000001F, 0px 1px 1px 0px #00000024, 0px 2px 1px -1px #00000033 !important;
    font-weight: 600 !important;
    border: 0px !important;
    border-radius: 11px !important;
    height: 22px !important;
    min-width: 22px !important;
    cursor: pointer !important;
    padding: 0px !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-family: Open Sans !important;
}

.citationInSourcePane {
    background-color: #00000000 !important;
    padding: 4px;
}

.citationInSourcePane:hover {
    background-color: #0076801F !important;
    border-radius: 2px;
}

.sourceInSourcePane {
    background-color: #00000000 !important;
}

.sourceInSourcePane:hover {
    background-color: #0097A90D !important;
}

.sourceInSourcePane:hover .sourceName {
    color: #004F59; /* teal/3 */
}

.sourceInSourcePane:hover .viewSourceIconButton {
    display: flex;
}

.sourceInSourcePane:hover .sourceIDInSourcePane {
    background-color: #007680;
    color: white
}

.buttonNoStyling {
  text-align: left;
  border: 1px solid #00000000;
  transition: none;
  padding: 0px;
  display: flex;
  align-content: stretch;
  height: 100%;
  width: 100%;
  background-color: #00000000;
  cursor: pointer
}

/* Custom file uploader styles - TODO: make this consistent with base theme colors */
#dcc-file-uploader:hover .MuiButton-root {
    border-color: #009BC6 !important;
    background-color: rgba(0, 155, 198, 0.05) !important;
}

#dcc-file-uploader.dash-uploader--active .MuiButton-root {
    border-color: #009BC6 !important;
    background-color: rgba(0, 155, 198, 0.1) !important;
}

/* Override MUI button active/click state - TODO: make this consistent with base theme colors */
#select-files-button:active,
#select-files-button:focus,
#select-files-button.Mui-focusVisible {
    border-color: #009BC6 !important;
    background-color: rgba(0, 155, 198, 0.1) !important;
}

/* Override MUI ripple effect color - TODO: make this consistent with base theme colors */
#select-files-button .MuiTouchRipple-root {
    color: #009BC6 !important;
}

#select-files-button .MuiTouchRipple-child {
    background-color: #009BC6 !important;
}

/* File uploader dialog action buttons - TODO: make this consistent with base theme colors */
#file-uploader .MuiDialogActions-root .MuiButton-contained,
#file-uploader .MuiDialogActions-root .MuiButton-containedSuccess {
    background-color: #01579b !important;
    color: white !important;
}

#file-uploader .MuiDialogActions-root .MuiButton-contained:hover,
#file-uploader .MuiDialogActions-root .MuiButton-containedSuccess:hover {
    background-color: #00729a !important;
}

/* Cancel button in file uploader - TODO: make this consistent with base theme colors */
#file-uploader .MuiDialogActions-root .MuiButton-text {
    color: #01579b!important;
}

#file-uploader .MuiDialogActions-root .MuiButton-text:hover {
    background-color: rgba(0, 155, 198, 0.08) !important;
}

/* Checkbox in file list - TODO: make this consistent with base theme colors */
#file-uploader .MuiCheckbox-root.Mui-checked,
.MuiCheckbox-colorSuccess.Mui-checked {
    color: #01579b!important;
}

#file-uploader .MuiCheckbox-root.Mui-checked svg,
.MuiCheckbox-colorSuccess.Mui-checked svg {
    color: #01579b !important;
}

/* Download chat dialog button - TODO: make this consistent with base theme colors */
#chat_download_dialogue .MuiButton-contained {
    background-color: #01579b !important;  /* Primary button background */
    color: white !important;
}

/* Download dialog background and text - TODO: make this consistent with base theme colors */
#chat_download_dialogue .MuiDialog-paper {
    background-color: #ffffff !important;  /* Dialog background */
    color: #000000!important;  /* Text color */
}

/* Download dialog title - TODO: make this consistent with base theme colors*/
#chat_download_dialogue .MuiDialogTitle-root {
    background-color: #f5f5f5 !important;  /* Title background */
    color: #000000 !important;  /* Title text color */
}

/* Select dropdowns in dialog - TODO: make this consistent with base theme colors*/
#chat_download_dialogue .MuiSelect-select {
    color: #000000 !important;  /* Dropdown text */
}

/* Download chat dialog dropdown focus/active states - TODO: make this consistent with base theme colors */
#chat_download_dialogue .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline {
    border-color: #009BC6 !important;
}

#chat_download_dialogue .MuiInputLabel-root.Mui-focused {
    color: #009BC6 !important;
}
