.unicorn-chat {
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 250px!important;
}
.uc-messages {
  flex: 1;
}
.uc-input-container {
  display: flex;
  align-items: flex-end;
}
.uc-input-container input:focus-visible {
  outline: none;
}
.uc-input-controls {
  margin-top: 50px;
  display: flex;
  gap: 16px;
}
.uc-input-controls > * {
  flex-basis: 50px;
  flex-grow: 1;
}
.uc-text {
  flex: 1;
}
.uc-button {
  width: 100px;
  flex-basis: 100px;
}
.uc-avatar {
  width: 50px;
  height: 50px;
  padding: 4px;
}
.uc-message {
  display: flex;
  padding: 16px 0;
  gap: 16px;
}
.uc-thumbs-up,
.uc-thumbs-down {
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: grid;
  place-content: center;
}
.uc-thumbs-up.active,
.uc-thumbs-down.active {
  background-color: rgba(255, 255, 255, 0.5);
}
.uc-message.uc-user {
  background-color: rgba(64, 64, 64, 0.5);
}
.uc-message.uc-bot {
  background: linear-gradient(90deg, rgba(255, 0, 0, 0.25) 0%, rgba(255, 154, 0, 0.25) 10%, rgba(208, 222, 33, 0.25) 20%, rgba(79, 220, 74, 0.25) 30%, rgba(63, 218, 216, 0.25) 40%, rgba(47, 201, 226, 0.25) 50%, rgba(28, 127, 238, 0.25) 60%, rgba(95, 21, 242, 0.25) 70%, rgba(186, 12, 248, 0.25) 80%, rgba(251, 7, 217, 0.25) 90%, rgba(255, 0, 0, 0.25) 100%);
  background-size: 50%;
  background-repeat: repeat-x;
}
.uc-message-text {
  flex: 1;
}
textarea.uc-message-text {
  border-bottom: none;
  padding: 0;
  font-weight: 500;
}
.uc-message-edit-icon {
  cursor: pointer;
  color: #d7006c;
  font-size: 24px;
}
.icon-send::before {
  content: "\1F4E2";
}
.uc-widget {
  display: flex;
  align-items: center;
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}
.uc-cta {
  flex: 1;
  color: white;
  border-color: #008EDF;
  background: linear-gradient(to right, #008EDF 50%, rgba(0, 0, 0, 0.66) 50%) right;
  background-size: 200% 100%;
  max-height: 50px;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 300;
  font-size: 16px;
  padding: 14px 20px;
  backdrop-filter: blur(3px);
  transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
  cursor: pointer;
}
.uc-widget-avatar {
  position: relative;
  width: 75px;
  height: 75px;
  border: 2px #d7006c solid;
  border-radius: 50%;
  margin-left: 20px;
  transition: width 0.5s ease-in-out, height 0.5s ease-in-out, opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}
.uc-widget-avatar .webgl-unicorn {
  position: absolute;
  width: 200%;
  height: 250%;
  top: -75%;
  left: -50%;
  pointer-events: none;
}
.uc-widget-close {
  width: 18px;
  height: 18px;
  padding: 0;
  position: absolute;
  right: -10px;
  top: -10px;
  font-weight: 300;
  font-size: 16px;
  display: grid;
  place-content: center;
  font-family: 'icomoon';
  color: #fff;
  display: block;
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  cursor: pointer;
  transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}
.uc-widget-big-close {
  cursor: pointer;
  width: 32px;
  height: 32px;
}
.uc-widget-chat {
  position: absolute;
  bottom: 12px;
  right: 85px;
  width: 350px;
  max-height: 100vh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(3px);
  transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 1;
}
.uc-widget-chat.hidden {
  display: none;
}
.uc-widget-chat .uc-messages {
  height: 400px;
  max-height: 100vh;
  overflow-y: auto;
  transition: height 0.3s ease-in-out;
}
.uc-widget-chat .uc-message-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 15px 0 5px;
  background-color: #d7006c;
  position: sticky;
  top: 0;
}
.uc-widget-chat .uc-message-header-text {
  flex: 1;
}
.uc-widget-chat .uc-message-header-title {
  text-transform: none;
  font-size: 20px;
  line-height: 1.5;
}
.uc-widget-chat .uc-message-header-status {
  text-transform: none;
  font-size: 14px;
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 4px;
}
.uc-widget-chat .uc-message-header-status-icon {
  border-radius: 50%;
  display: block;
  width: 8px;
  height: 8px;
  background-color: #00d714;
}
.uc-widget-chat .uc-text {
  padding-right: 50px;
}
.uc-widget-chat .uc-button {
  position: absolute;
  border: none;
  background: none;
  right: 0;
  padding: 10px;
  width: 50px;
  cursor: pointer;
}
.uc-widget-chat .uc-send-icon {
  width: 17px;
  height: 32px;
}
.uc-widget-chat .uc-message {
  padding: 16px;
}
.uc-widget-chat .uc-message.uc-user {
  background-color: transparent;
  text-align: right;
  color: #008EDF;
  font-weight: 500;
}
.uc-widget-chat .uc-message.uc-user .uc-avatar {
  display: none;
}
.uc-widget-chat .uc-message.uc-bot {
  background: none;
  text-align: left;
  font-weight: 500;
}
.uc-widget-chat .uc-thumbs-up,
.uc-widget-chat .uc-thumbs-down {
  display: none;
}
.uc-answer-label textarea,
.uc-question-label textarea {
  margin-top: 10px;
  margin-bottom: 20px;
}
.edit-mask-footer {
  margin-top: 20px;
}
.uc-edit-mask-message {
  transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
}
.uc-edit-mask {
  margin-bottom: 250px!important;
}
.uc-star {
  display: inline-block;
  width: 50px;
  height: 50px;
  margin-right: 10px;
}
.uc-star path {
  vector-effect: non-scaling-stroke;
  stroke: #d7006c;
  stroke-width: 2px;
  fill: #000;
  transition: fill 0.1s ease-in-out;
}
.uc-star path:hover {
  fill: #008EDF;
}
.uc-star.active path {
  fill: #d7006c;
}
.unicorn-review-training .uc-message.uc-user {
  background: transparent;
  text-align: right;
  color: #008EDF;
  font-weight: 500;
}
.unicorn-review-training .uc-message.uc-bot {
  background: none;
  text-align: left;
  font-weight: 500;
}
.uc-rating {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}
.uc-rating label {
  margin-right: 10px;
  font-size: 24px;
}
.uc-message-container {
  max-height: 100vh;
}
@media (max-width: 600px) {
  .uc-widget-chat .uc-messages {
    padding-top: 76px;
  }
}
