.bpw-layout {
  position: fixed;
  bottom: 5%;
  right: 10%;
  height: 65%;
  border-left: 0px solid #ccc;
  -webkit-box-orient: vertical;
  -ms-flex-direction: column;
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.bpw-widget-btn {
  background-color: #2F5597;
}

.bpw-floating-button {
  float: right;
  fill: rgb(255, 255, 255);
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  width: 52px;
  height: 52px;
  cursor: pointer;
  border-radius: 7px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.4);
  overflow: hidden;
  padding: 0;
  border: none;
  background-clip: padding-box;
  transition: width 1s, height 1s;
}

.bp-widget-widget {
  top: auto !important;
  left: auto !important;
  bottom: 100px !important;
  right: 100px !important;
  width: 76px !important;
  height: 76px !important;
}

.bpw-header-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  height: 52px;
  font-weight: 500;
  border-top: solid 0px #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0 1rem;
  overflow: hidden;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  background-color: #2F5597
}

.bpw-header-icon {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: #bbb;
  margin-left: 12px;
  text-align: right;
  vertical-align: middle;
  cursor: pointer;
  fill: #ffffff;
  width: 16px;
  height: 16px;
  transition: fill 0.3s;
}

.bpw-header-icon svg,
.bpw-header-icon svg path {
  fill: #ffffff;
  transition: fill 0.3s;
}

.bpw-header-icon:hover,
.bpw-header-icon:hover svg,
.bpw-header-icon:hover svg path {
  fill: #000000;
}

.bpw-bot-avatar {
  margin-right: 5px;
  margin-top: 6px;
}

.bpw-bot-avatar img,
.bpw-bot-avatar svg {
  border: solid 3px white;
  border-radius: 50%;
  background: #ccc;
}

.bpw-chat-bubble:last-of-type {
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.bpw-chat-bubble:first-of-type {
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.bpw-header-title {
  padding-left: 10px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  color: #ffffff;
}

.bpw-header-subtitle {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.75rem;
  font-weight: 500;
  color: #9a9a9a;
  vertical-align: middle;
  margin-top: 0px;
  color: #ffffff;
}

.bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content {
  background-color: #2F5597;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.bpw-from-bot .bpw-chat-bubble .bpw-chat-bubble-content {
  background-color: #ffffff;
  color: #000000;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
}

.bpw-composer {
  border-top-width: 0px;
  border-top-style: solid;
  border-top-color: #aaaaaa;
  position: relative;
  padding: 0.5rem 0 0;
  background: rgba(255, 255, 255, 0.9);
  transition: border 0.3s ease;
  outline: none;
  padding-bottom: 0.5rem;
  background-color: #2F5597;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

.bpw-composer textarea {
  font: inherit;
  background-color: #ffffff;
  width: 280px;
  resize: none;
  line-height: 1.2;
  height: 50px;
  border: none;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  padding-right: 60px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.bpw-send-buttons {
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.bpw-send-button {
  border: none;
  border-radius: 10px;
  background: #ffffff;
  padding: 7px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #2F5597;
}
