.navbarStyle {
  padding: .5rem 1rem !important;
}

.navbar-brand {
  font-family: Arial, Helvetica, sans-serif;
  align-self: flex-end;
  padding: 0px !important;
  margin-left: 10px;
}

:root {
  --body-bg: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  --msger-bg: #fff;
  --border: 2px solid #ddd;
  --left-msg-bg: #ececec;
  --right-msg-bg: #579ffb;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

.chat-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 95vh;
  /**/
  /*font-family: Helvetica, sans-serif;*/
  text-align: left;
  font: normal normal medium 12px/15px Helvetica Neue;
  background-image: url("../img/main-logo.png"), var(--body-bg);
  background-size: 172px 75px, 100% 100%;
  background-position: 99% 99%, 0px 0px;
  /*Positioning*/
  background-repeat: no-repeat;
  /*Prevent showing multiple background images*/
}

.msger {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 867px;
  margin: 25px 10px;
  height: calc(100% - 75px);
  border: var(--border);
  border-radius: 7px;
  background: var(--msger-bg);
  box-shadow: 0 15px 15px -5px rgba(0, 0, 0, 0.2);
}

.msger-header {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  /*border-bottom: var(--border);*/
  background: #eee;
  color: #666;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.msger-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border-bottom: var(--border);
  background: #eee;
  color: #666;
  background-color: #EAE7F8;
}


.msger-chat::-webkit-scrollbar {
  width: 6px;
}

.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}

.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}

.msg {
  margin-bottom: 10px;
}

.msg:last-of-type {
  margin: 0;
}

.msg-content {
  display: flex;
  flex-direction: column;
}

.msg-header {
  display: flex;
}

.msg-name {
  text-align: left;
  /*font: normal normal medium 11px/13px Arial;*/
  font-size: 12px/15px;
  font-weight: bold;
  font-family: arial;
  letter-spacing: 0px;
  color: #33006F;
  opacity: 1;
  margin-top: auto;
  margin-bottom: auto;
}

.msg-img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
  margin-bottom: 5px;
  margin-top: 5px;
  /*background: #ddd;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;*/

  background: #33006F 0% 0% no-repeat padding-box;
  border-radius: 50%;

  color: white;
  /**
   * Lay out the children of this container with
   * flexbox.
   */
  display: flex;

  /**
    * As in the above "Centered prmopt" example,
    * we'll rotate the main axis so that the children
    * are ordered vertically.
    */
  flex-direction: column;

  /**
    * Same thing here as before: group the children
    * together in the center of their container.
    */
  justify-content: center;

  /**
    * Just like in the "Centered prmopt" example,
    * align the children in the center, along the
    * main axis.
    */
  align-items: center;

  border: 1px solid #D7DBDD;
  font-size: 40px;
  border-radius: 100%;
  box-shadow:
    0 2px 1px rgba(0, 0, 0, 0.05),
    0 2px 3px rgba(0, 0, 0, 0.05),
    0 4px 8px rgba(0, 0, 0, 0.05);
}

.msg-bubble {
  max-width: 450px;
  padding: 15px;
  border-radius: 15px;
  /*background: var(--left-msg-bg);*/
  background: white;

}

.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.msg-info-name {
  margin-right: 10px;
  font-weight: bold;
}

.msg-info-time {
  font-size: 0.85em;
}

.left-msg .msg-bubble {
  /*border-bottom-left-radius: 0;*/
}

.right-msg {

  display: flex;
  flex-direction: row-reverse;
}

.right-msg .msg-bubble {
  /*background: var(--right-msg-bg);
    color: #fff;
    border-bottom-right-radius: 0;*/
}

.right-msg .msg-img {
  /*margin: 0 0 0 10px;*/
}

.parent-panel {
  display: flex;
  flex-direction: row;
  height: 100%;
  max-height: calc(100vh - 75px);
  /* 75px is approx height of navbar and header */
  overflow: hidden;
  /* prevent growing beyond view */
}

.left-pane {
  width: 35%;
  background-color: rgb(49, 43, 79);
  color: white;
  border-bottom-left-radius: 7px;
}

.left-pane-content {
  margin: 10px;
}

.right-pane {
  height: 100%;
  width: 100%;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  overflow: hidden;
}

.msger-inputarea {
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: var(--border);
  background-color: #fff;
  box-sizing: border-box;
}

.msger-inputarea * {
  padding: 10px;
  border: none;
  border-radius: 3px;
  font-size: 1em;
}

.msger-input {
  flex: 1;
  max-height: 200px;
  min-height: 40px;
  outline: none;
  resize: none;
  /*overflow: hidden;*/
  /*background: #ddd;*/
  overflow-y: auto;
  /* Allow scrolling within text area */
  box-sizing: border-box;
}

.msger-input-container {
  flex: 1;
  max-height: 200px;
  outline: none;
  resize: none;
  /*overflow: hidden;*/
  /*background: #ddd;*/
}

.msger-send-btn {
  margin-left: 10px;
  background: rgb(0, 196, 65);
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.23s;
}

.msger-send-btn:hover {
  background: rgb(0, 180, 50);
}

.msger-chat {
  /*background-color:rgb(250, 249, 248);*/
  background-color: #fcfcfe;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
  padding: 10px;
  flex: 1 1 auto;
}

.bg-mhs {
  background-color: #604D9A;
  color: white;
}

.bg-chatbody {
  background-color: #EAE7F8;
}

.mhs-sendbutton {
  /* UI Properties */
  background: var(--orange) 0% 0% no-repeat padding-box;
  background: #E16A2D 0% 0% no-repeat padding-box;
  border-radius: 30px;
  opacity: 1;

  text-align: center;
  font-size: 12px/15px;
  font-weight: normal;
  font-family: arial;
  letter-spacing: 0px;
  color: #FFFFFF;
  margin-left: 10px;
  width: 100px;
  height: 50px;
}

.new-convo-btn {
  color: white !important;
}

.month-header {
  color: #604D9A;
  padding-top: 15px;
}

.history-message {
  padding-top: 5px;
}

.citation {
  color: #0d6efd;
  cursor: pointer;
  text-decoration: underline dotted;
}

.fixed-button {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);


}

.fixed-button:hover {
  background-color: #0056b3;
}

@media (max-width: 400px) {
  .fixed-button {
    right: 10px;
    top: 10px;
    padding: 8px 12px;
    font-size: 14px;
  }
}

.left-pane {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* or a fixed height if needed */
}

.left-pane-content {
  flex: 0 0 auto;
  /* fixed height or content-based */
}

.left-pane-content-historical {
  flex: 1 1 auto;
  /* take remaining space */
  /* or any fixed height you prefer */
  overflow-y: auto;
}