.Wiserrvw-ai-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0px 14px;
  margin: 0 0 0 10px;
  /* background: linear-gradient(90deg, #7c3aed, #a78bfa); */
  color: #000;
  border: 0;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  /* box-shadow: 0 4px 12px rgba(124, 58, 237, .15); */
  height: 28px;
  line-height: 1;
  vertical-align: middle;
  min-width: auto;
}
/* keep rating + Ask AI button on one row (wraps only if too narrow) */
/* bottom spacing applies only when the Ask AI button is shown */
.Wsr-askai-row,
[data-type="star_rating"].Wsr-askai-row {
  display: inline-flex !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.Wsr-askai-row .Wiserrvw-ai-btn {
  margin: 0;
}
/* keep the button wrapper vertically centered with the stars */
.Wsr-askai-wrap {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* center the stars + count vertically with the button (only in the Ask AI row) */
.Wsr-askai-row .Wsrspfapp-stars-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* AI summary/response sparkle, tinted by the primary color */
.Wsr-ai-spark {
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  background-color: #7e57c2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M8.2041%205.00439C8.32221%205.41103%208.45616%205.92668%208.74707%206.3667C8.97838%206.71643%209.27743%207.01637%209.62695%207.24756C10.0669%207.53852%2010.5826%207.67144%2010.9893%207.78955L11.7139%207.99951L10.9893%208.21045C10.5825%208.32857%2010.0678%208.46263%209.62793%208.75342H9.62695C9.27751%208.9846%208.97825%209.28386%208.74707%209.6333V9.63428C8.45628%2010.0742%208.32222%2010.5889%208.2041%2010.9956L7.99316%2011.7202L7.7832%2010.9956C7.66509%2010.5889%207.53217%2010.0732%207.24121%209.6333C7.03891%209.32745%206.78403%209.06033%206.48926%208.84326L6.36035%208.75342L6.19238%208.65088C5.79337%208.42891%205.35386%208.3138%204.99805%208.21045L4.27344%207.99951L4.99805%207.78955C5.40459%207.67146%205.92031%207.53851%206.36035%207.24756C6.71007%207.01627%207.00992%206.71642%207.24121%206.3667C7.53216%205.92666%207.66512%205.41089%207.7832%205.00439L7.99316%204.27979L8.2041%205.00439Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M2.68132%203.10722L2.34853%204.12143C2.28158%204.32549%201.9929%204.32549%201.92594%204.12143L1.59316%203.10722C1.527%202.9056%201.36888%202.74748%201.16726%202.68132L0.153049%202.34853C-0.0510163%202.28158%20-0.0510163%201.9929%200.153049%201.92594L1.16726%201.59316C1.36888%201.527%201.527%201.36888%201.59316%201.16726L1.92594%200.153049C1.9929%20-0.0510163%202.28158%20-0.0510163%202.34853%200.153049L2.68132%201.16726C2.74748%201.36888%202.9056%201.527%203.10722%201.59316L4.12143%201.92594C4.32549%201.9929%204.32549%202.28158%204.12143%202.34853L3.10722%202.68132C2.9056%202.74748%202.74748%202.9056%202.68132%203.10722Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20d%3D%22M14.4079%2014.8328L14.0751%2015.847C14.0081%2016.051%2013.7194%2016.051%2013.6525%2015.847L13.3197%2014.8328C13.2536%2014.6312%2013.0954%2014.473%2012.8938%2014.4069L11.8796%2014.0741C11.6756%2014.0072%2011.6756%2013.7185%2011.8796%2013.6515L12.8938%2013.3187C13.0954%2013.2526%2013.2536%2013.0944%2013.3197%2012.8928L13.6525%2011.8786C13.7194%2011.6746%2014.0081%2011.6746%2014.0751%2011.8786L14.4079%2012.8928C14.474%2013.0944%2014.6322%2013.2526%2014.8338%2013.3187L15.848%2013.6515C16.052%2013.7185%2016.052%2014.0072%2015.848%2014.0741L14.8338%2014.4069C14.6322%2014.473%2014.474%2014.6312%2014.4079%2014.8328Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%3E%3Cpath%20d%3D%22M8.2041%205.00439C8.32221%205.41103%208.45616%205.92668%208.74707%206.3667C8.97838%206.71643%209.27743%207.01637%209.62695%207.24756C10.0669%207.53852%2010.5826%207.67144%2010.9893%207.78955L11.7139%207.99951L10.9893%208.21045C10.5825%208.32857%2010.0678%208.46263%209.62793%208.75342H9.62695C9.27751%208.9846%208.97825%209.28386%208.74707%209.6333V9.63428C8.45628%2010.0742%208.32222%2010.5889%208.2041%2010.9956L7.99316%2011.7202L7.7832%2010.9956C7.66509%2010.5889%207.53217%2010.0732%207.24121%209.6333C7.03891%209.32745%206.78403%209.06033%206.48926%208.84326L6.36035%208.75342L6.19238%208.65088C5.79337%208.42891%205.35386%208.3138%204.99805%208.21045L4.27344%207.99951L4.99805%207.78955C5.40459%207.67146%205.92031%207.53851%206.36035%207.24756C6.71007%207.01627%207.00992%206.71642%207.24121%206.3667C7.53216%205.92666%207.66512%205.41089%207.7832%205.00439L7.99316%204.27979L8.2041%205.00439Z%22%20fill%3D%22black%22%20stroke%3D%22black%22%20stroke-width%3D%223%22%2F%3E%3Cpath%20d%3D%22M2.68132%203.10722L2.34853%204.12143C2.28158%204.32549%201.9929%204.32549%201.92594%204.12143L1.59316%203.10722C1.527%202.9056%201.36888%202.74748%201.16726%202.68132L0.153049%202.34853C-0.0510163%202.28158%20-0.0510163%201.9929%200.153049%201.92594L1.16726%201.59316C1.36888%201.527%201.527%201.36888%201.59316%201.16726L1.92594%200.153049C1.9929%20-0.0510163%202.28158%20-0.0510163%202.34853%200.153049L2.68132%201.16726C2.74748%201.36888%202.9056%201.527%203.10722%201.59316L4.12143%201.92594C4.32549%201.9929%204.32549%202.28158%204.12143%202.34853L3.10722%202.68132C2.9056%202.74748%202.74748%202.9056%202.68132%203.10722Z%22%20fill%3D%22black%22%2F%3E%3Cpath%20d%3D%22M14.4079%2014.8328L14.0751%2015.847C14.0081%2016.051%2013.7194%2016.051%2013.6525%2015.847L13.3197%2014.8328C13.2536%2014.6312%2013.0954%2014.473%2012.8938%2014.4069L11.8796%2014.0741C11.6756%2014.0072%2011.6756%2013.7185%2011.8796%2013.6515L12.8938%2013.3187C13.0954%2013.2526%2013.2536%2013.0944%2013.3197%2012.8928L13.6525%2011.8786C13.7194%2011.6746%2014.0081%2011.6746%2014.0751%2011.8786L14.4079%2012.8928C14.474%2013.0944%2014.6322%2013.2526%2014.8338%2013.3187L15.848%2013.6515C16.052%2013.7185%2016.052%2014.0072%2015.848%2014.0741L14.8338%2014.4069C14.6322%2014.473%2014.474%2014.6312%2014.4079%2014.8328Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
}
.Wiserrvw-aibtn-icon{
  width: 10px;
  height: 10px;
}

.Wiserrvw-ai-btn:hover {
  /* transform: translateY(-2px); */
  /* box-shadow: 0 6px 16px rgba(124, 58, 237, .2) */
}

.Wiserrvw-ai-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  /* background: rgba(255, 255, 255, .15); */
  border-radius: 50%;
  font-size: 14px;
  /* background: linear-gradient(135deg, #7c3bed,  #ec4699) !important; */
  position: relative;
  background: linear-gradient(135deg, #4d6bff 0%, #7a5cff 40%, #ff5fa2 100%);
  /* overflow: hidden; */
}
.Wiserrvw-ai-icon::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    border-radius: inherit;
}
.Wiserrvw-ai-icon-wrap {
  position: relative;
}
.Wiserrvw-ai-icon svg path{
    stroke: #ffffff;
    fill: #fff;
}
.Wiserrvw-ai-icon-animation{
  animation: 4s cubic-bezier(0, 0, 0.51, 1.05) 0s infinite normal none running ping;
  background: linear-gradient(135deg, #7c3bed,  #ec4699) !important;
  position: absolute;
  display: block !important;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  z-index: -1;
}
@keyframes ping {
  75%,
  to {
    transform: scale(1.3);
    opacity: 0
  }
}
.Wiserrvw-ai-text {
  padding-right: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  position: relative;
  top: 1px;
}

.WsrsfApp-ai-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: all .3s
}

.WsrsfApp-ai-modal.show {
  opacity: 1;
  visibility: visible
}

.Wiserrvw-ai-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px)
}

.Wiserrvw-ai-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 90%;
  max-width: 920px;
  height: 75vh;
  max-height: 650px;
  background: #fff;
  color: #1f2937;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .2);
  display: flex;
  flex-direction: column;
  transition: transform .3s;
}

.WsrsfApp-ai-modal.show .Wiserrvw-ai-modal-content {
  transform: translate(-50%, -50%) scale(1)
}

.Wiserrvw-ai-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 24px 28px;
  border-bottom: 1px solid #e5e7eb;
  background: linear-gradient(to bottom, #fafafa, #fff);
  border-radius: 12px 12px 0 0;
}

.Wiserrvw-ai-header-left {
  display: flex;
  align-items: center;
  gap: 14px
}

.Wiserrvw-ai-logo {
  width: 46px;
  height: 46px;
  /* background: linear-gradient(135deg, #7c3aed, #a78bfa);
  background: linear-gradient(135deg, #4d6bff 0%, #7a5cff 40%, #ff5fa2 100%); */
  background: #212121;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  /* box-shadow: 0 6px 16px rgba(124, 58, 237, .2) */
}
.Wiserrvw-ai-logo svg {
 color: #fff;
  fill: #fff;
  width: 26px;
  height: 26px;
}
.Wiserrvw-ai-logo span {
  display: flex;
  align-items: center;
}

.WsrsfApp-ai-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  line-height: normal;
}

.WsrsfApp-ai-subtitle {
  margin: 3px 0 0;
  font-size: 13px;
  color: #6b7280;
  line-height: normal;
}

.Wiserrvw-ai-close {
  background: 0 !important;
  border: 0;
  font-size: 32px;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  transition: all .2s;
  line-height: 1;
  text-align: right;
}

.Wiserrvw-ai-close:hover {
  background: #f3f4f6;
  color: #374151
}

.WsrsfApp-ai-body {
  flex: 1;
  overflow: hidden;
  display: flex;
  gap: 20px;
  padding: 1px 20px 28px 20px;
  scrollbar-width: thin;
}

.WsrsfApp-ai-main {
  flex: 1;
  overflow: hidden
}

.WsrsfApp-ai-chat {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 8px;
  scroll-behavior: smooth
}

.WsrsfApp-ai-welcome {
  background: linear-gradient(135deg, #ede9fe, #ddd6fe);
  color: #5b21b6;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 500
}

/* empty state shown in the chat area when there is no AI summary */
.WsrsfApp-ai-empty-state {
  display: none;
  flex: 1;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 24px;
}
.WsrsfApp-ai-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: .95;
}
.WsrsfApp-ai-empty-text {
  margin: 0;
  max-width: 320px;
  font-size: 15px;
  line-height: 1.5;
  color: #6b7280;
}
 
.WsrsfApp-ai-message.user {
  background: rgb(249, 250, 251);
  padding: 16px;
  border-radius: 12px;
  /* border: 1px solid hsl(35 20% 88%);
  background: #f9f7f5; */
  border: 1px solid #e9e9e9;
  background: #f7f7f7;
  margin: 18px 0;
}
.WsrsfApp-ai-msg-label {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 6px;
  font-weight: 600
}

.WsrsfApp-ai-msg-text {
  font-size: 14px;
  color: #1f2937;
  line-height: 1.6
}
.WsrsfApp-ai-review-loction .Wsrspfapp-location-flag {
  max-width: 12px !important;
  max-height: 12px;
}
.WsrsfApp-ai-review-loction {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 6px;
  margin: 0px;
  /* color: #9ca3af; */
  color: #6b7280;
  line-height: 11px;
  white-space: nowrap;
}
.WsrsfApp-ai-message.ai {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  /* border: 1px solid #e5e7eb; */
  background: linear-gradient(270deg, #a9c7ff, #d7b0ff, #ffb3e6, #a9c7ff);
  background-size: 300% 300%;
  animation: moveBorder 6s linear infinite;
  padding: 2px;
  border-radius: 8px;
  box-sizing: border-box;
  position: relative;
}
.Wsrsfapp-ai-msg-response{
    background: #fff;
    border-radius: 8px;
    padding: 16px;
}
.Wsrsfapp-aiask-aiSmry-wrapper{
    position: relative;
    margin: 15px 0 0;
    /* background: linear-gradient(270deg, #5f9cff, #b83cff, #ff4fd8, #5f9cff); */
    background: linear-gradient(270deg, #a9c7ff, #d7b0ff, #ffb3e6, #a9c7ff);
    background-size: 300% 300%;
    animation: moveBorder 6s linear infinite;
    padding: 2px;
    border-radius: 8px;
    box-sizing: border-box;
}
.Wsrsfapp-aiSmry-inbox {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
}
/* .Wsrspfapp-askAiSmry-box { */
  /* padding: 36px 28px 15px 21px !important;
  border-radius: 8px;
  border: 1px solid #e5e5e5; */
/* }  */
.Wsrspfapp-askAiSumry-title {
  /* position: absolute;
  top: -27px;
  left: 15px;
  background: #fff; */
  padding: 1px !important;
  /* border: 1px solid #e5e7eb; */
  /* border-radius: 24px; */
  font-size: 15px;
  /* background: linear-gradient(270deg, #5f9cff, #b83cff, #ff4fd8, #5f9cff);
  background-size: 300% 300%;
  animation: moveBorder 6s linear infinite; */
  /* margin: 10px 0; */
  font-weight: 600;
  line-height: normal;
}
.Wsrspfapp-aiGn-sumry {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.Wsrspfapp-aiSumry {
    display: inline-block;
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}
.Wsrsfapp-aiSmry-inbox .Wsrspfapp-aiSumry.active {
    border-bottom-color: #000;
    border-style: solid;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    border-width: 1px;
}
.WsrsfApp-aiSumry-divider {
    opacity: .35;
    padding-bottom: 4px;
}
/* thin scrollbars inside the popup */
.WsrsfApp-ai-sidebar,
.WsrsfApp-ai-chat,
.Wsrspfapp-aiGn-sumry {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, .25) transparent;
}
.WsrsfApp-ai-sidebar::-webkit-scrollbar,
.WsrsfApp-ai-chat::-webkit-scrollbar,
.Wsrspfapp-aiGn-sumry::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
.WsrsfApp-ai-sidebar::-webkit-scrollbar-thumb,
.WsrsfApp-ai-chat::-webkit-scrollbar-thumb,
.Wsrspfapp-aiGn-sumry::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .22);
    border-radius: 10px;
}
.WsrsfApp-ai-sidebar::-webkit-scrollbar-track,
.WsrsfApp-ai-chat::-webkit-scrollbar-track,
.Wsrspfapp-aiGn-sumry::-webkit-scrollbar-track {
    background: transparent;
}
@keyframes moveBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
.WsrsfApp-ai-msg-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #7c3aed;
  font-weight: 600;
  margin-bottom: 10px
}
.Wsrspfapp-askAiSumry-title-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 0 12px;
  border-radius: 24px;
}

.WsrsfApp-ai-sparkle {
  font-size: 0px
}

.WsrsfApp-ai-typing {
  display: flex;
  gap: 6px;
  padding: 12px
}

.WsrsfApp-ai-typing span {
  width: 8px;
  height: 8px;
  background: #a78bfa;
  border-radius: 50%;
  animation: bounce 1.4s infinite
}

.WsrsfApp-ai-typing span:nth-child(2) {
  animation-delay: -.16s
}

.WsrsfApp-ai-typing span:nth-child(3) {
  animation-delay: -.32s
}

@keyframes bounce {
  0%, 80%, 100% {
    transform: scale(.8);
    opacity: .5
  }

  40% {
    transform: scale(1);
    opacity: 1
  }
}

.WsrsfApp-ai-sidebar {
  width: 360px;
  border-left: 1px solid #e5e7eb;
  /* padding-left: 20px; */
  overflow-y: auto;
  background: #f7f7f7;
  /* padding-top: 16px; */
  padding: 16px 20px 16px 20px;
}

.WsrsfApp-ai-related-title {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 16px;
  padding-bottom: 10px;
  /* border-bottom: 2px solid #7c3aed */
      border-bottom: 2px solid #dcdcdc;
}

.WsrsfApp-ai-review-card {
  background: #fafafa;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  transition: all .2s;
  cursor: pointer;
  border: 1px solid #e5e7eb
}

.WsrsfApp-ai-review-card:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06)
}

.WsrsfApp-ai-review-header {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: center;
}
.WsrsfApp-ai-reviewer-name-true {
    display: flex;
    align-items: center;
}

.WsrsfApp-ai-reviewer {
  /* width: 32px;
  height: 32px;
  background: #7c3aed;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  flex-shrink: 0;
  overflow: hidden; */
      width: 32px;
    height: 32px;
    background: #7c3aed1a;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #00000026;
}
.WsrsfApp-ai-reviewer .WsrsfApp-ai-reviewer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.WsrsfApp-ai-reviewer-info {
    flex: 1;
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.WsrsfApp-ai-reviewer-name{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 120px;
}

.WsrsfApp-ai-reviewer-name {
  display: block;
  font-size: 13px;
  color: #000000;
  margin-bottom: 0;
  text-transform: capitalize;
}

.WsrsfApp-ai-reviewer-true {
    height: auto;
    line-height: normal;
    color: #7e57c2;
}

.WsrsfApp-ai-reviewer-true svg {
    width: 12px;
    height: 12px;
    margin: 0 0 0 4px;
}

.WsrsfApp-ai-stars {
  /* font-size: 11px; */
  color: #fbbf24;
  font-size: 15px;
  line-height: 15px;
}
/* match rating widget star style; size: sharp = font-size, round = width/height (mask) */
.WsrsfApp-ai-stars .Wsrspfapp-stars-list-fullret {
  font-size: 19px !important;
  line-height: 1 !important;
  position: relative;
  display: inline-block;
}
.WsrsfApp-ai-stars .without_border_round,
.WsrsfApp-ai-stars .with_border_round {
  width: 70px !important;
  height: 14px !important;
}

h4.WsrsfApp-ai-review-title {
  font-size: 13px;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 6px
}

p.WsrsfApp-ai-review-text {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #212121;
}

.WsrsfApp-ai-footer {
  padding: 16px 28px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  gap: 6px;
  /* background: #fafafa; */
   background: #f0f0f0;
  border-radius: 0 0 12px 12px;
      flex-direction: column;
}
.WsrsfApp-ai-footer-text {
  font-size: 14px;
  color: #6b7280;
  font-weight: 500;
  line-height: normal;
}
.WsrsfApp-ai-footer-input {
  position: relative;
  width: 100%;
  display: flex;
}

.WsrsfApp-aiInput {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  font-size: 14px;
  outline: 0;
  transition: all .2s;
  color: #1f2937;
  background: #fff
} 
.WsrsfApp-aiInput::placeholder {
  color: #9ca3af;
  opacity: .7;
}
 
.WsrsfApp-aiSend {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background: linear-gradient(135deg, #7c3aed, #a78bfa); */
  /* background: linear-gradient(135deg, #7c3bed, #ec4699); */
  background: linear-gradient(135deg, #4776E6, #8E54E9);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 20px;
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 4px;
  top: 0;
  bottom: 0;
  margin: auto;
}

.WsrsfApp-aiSend:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(124, 58, 237, .3)
}

.WsrsfApp-ai-reviewer-info-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  gap: 3px;
}

@media(max-width:768px) {
  .WsrsfApp-ai-body {
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }
  .WsrsfApp-ai-sidebar {
    width: 100%;
    border-left: 0;
    border-top: 1px solid #e5e7eb;
    padding: 16px 0 0;
    margin-top: 16px;
    max-height: 200px
  }
  .Wiserrvw-ai-header {
      padding: 18px 18px;
  }
  .Wiserrvw-ai-logo {
      width: 36px;
      height: 36px;
  }
  .Wiserrvw-ai-logo svg {
      width: 18px;
      height: 18px;
  }
  .WsrsfApp-ai-title {
      font-size: 18px;
  }
  .WsrsfApp-ai-subtitle {
      white-space: nowrap;
  }
  .Wiserrvw-ai-close {        
    font-size: 26px;
    width: 15px;
    height: 15px;
  }
  .WsrsfApp-ai-welcome {
    padding: 12px;
    font-size: 12px;
  }
  .Wsrspfapp-askAiSumry-title {
    font-size: 14px;
    font-weight: 500;
  }
  .Wsrspfapp-aiGn-sumry {
    flex-wrap: nowrap !important;
    overflow-y: auto;
    position: relative;
  } 
  .Wsrspfapp-aiSumry{
    white-space: nowrap;
  }
  .Wsrspfapp-aiGn-sumry::before{
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #d2d2d2;
    z-index: -1;
  }
  .WsrsfApp-aiSend {
    width: 32px;
    height: 32px;
  }
  .WsrsfApp-aiInput {
    padding: 8px 18px;
  } 
  .WsrsfApp-ai-main {
    overflow: visible;
  }
  .WsrsfApp-ai-sidebar {
    overflow: visible;
    background: transparent;
  }
  .WsrsfApp-ai-related-title {
    border-bottom: 0px solid #dcdcdc;
  }
  .WsrsfApp-ai-chat {
    padding: 10px 0;
  }
  .WsrsfApp-ai-message.user {
    margin: 9px 0;
  }
  .WsrsfApp-ai-message.ai {
    margin-bottom: 0;
  }
  .WsrsfApp-ai-related-title {
    border-bottom: 0px solid #dcdcdc;
    margin-top: 8px;
    padding-bottom: 0;
  }
  .WsrsfApp-ai-footer {
    margin-top: 16px;
  }
  .Wiserrvw-ai-modal-content {
    height: 96vh;
    max-height: 700px;
  }
  .WsrsfApp-ai-message.user .WsrsfApp-ai-msg-text {
    max-height: 66px;
    overflow-y: auto;
  }
  .WsrsfApp-ai-message.ai .WsrsfApp-ai-msg-text{
    max-height: 136px;
    overflow-y: auto;
  }
}