* {
  margin: 0;
  padding: 0;
}
body{
  scroll-behavior: smooth;
}
.ai-bot {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.bot-container {
  display: flex;
  flex-direction: column;
  background-color: #1f273c;
  min-width: 400px;
  max-width: 400px;
  padding: 20px;
  border-radius: 20px;
  /* min-height:800px; */
  position: relative;
  height: 100vh;
  overflow-y: auto;
  padding-bottom: 0;
}
.bot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.bot-header .logo {
  width: 125px;
}
/* player css */
.plyr--video .plyr__controls {
  justify-content: center;
}
.plyr__controls .plyr__controls__item:first-child {
  margin: auto;
}
.plyr--video .plyr__controls {
  background: none;
  padding: 5px;
}
.plyr__video-wrapper {
  max-height: 200px;
  border-radius: 20px;
}
.plyr__control,
.plyr__control:hover {
  background-color: #ffffff !important;
  border-radius: 50%;
}
.plyr__control[data-plyr="pip"] {
  position: absolute;
  top: -150px;
  right: 9px;
}
.plyr__control svg {
  fill: #212121;
}
/* player code end  */
.chat-wrap {
  margin-top: 14px;
  /* margin-bottom: 70px; */
}
.bot-textbox {
  background: linear-gradient(
    86.1deg,
    rgba(255, 137, 39, 0.12) -29.36%,
    rgba(255, 255, 255, 0.12) 112.83%
  );
  padding: 6px 12px 12px 12px;
  border-radius: 16px 16px 16px 0px;
  width: 95%;
  margin-bottom: 16px;
}
.bot-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.bot-feedback {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */

  gap: 8px;
}
.bot-feedback > div {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bot-textbox p {
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 0;
}
.bot-textbox p.bot-name {
  color: #ff8927;
  font-weight: 600;
}
.bot-text {
  color: #dfe1e5;
  line-height: 1.3;
  margin-bottom: 0;
}
.bot-text span {
  color: #ffdabc;
}
.user-textbox {
  background: linear-gradient(90deg, #cccccc 0%, rgba(255, 255, 255, 0.8) 100%);
  padding: 10px 12px 10px 12px;
  border-radius: 16px 16px 0px 16px;
  margin-left: auto;
  margin-bottom: 16px;
  max-width: fit-content;
}
.user-text {
  color: #1f273c;
  line-height: 1.3;
  margin-bottom: 0;
}
.loader {
  margin-bottom: 20px;
}
.loader img {
  width: 15%;
}

.chat-input {
  position: relative;
}
.bot-assistant {
  overflow-y: auto;
  border-radius: 20px 20px 0 0;
}
.chat-input-block {
  /* flex-grow: 1; */
  /* position: sticky;
    bottom: 0; */
  width: 100%;
  /* left: 50%; */
  /* right: 50%; */
  background-color: #1f273c;
  padding: 12px 0px;
  /* min-width: 400px; */
  /* max-width: 400px; */
  /* transform: translateX(-50%); */
  /* margin: 0 -20px;*/
  margin-top: auto;
  display: flex;
    width: 100%;
    gap: 12px;
    align-items: center;
}
.chat-input input {
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 50px;
}
.chat-input input::placeholder {
  color: #bdc0c9;
  font-size: 14px;
}
.chat-input input {
  background: #2c3447;
  width: calc(100% - 2px);
  /* border: 1px solid transparent; */
  outline: none;
  margin: 1px;
  /* padding: 1px; */
  border: 0;
  height: calc(100% - 1px);
  color: #bdc0c9;
}
.chat-input input:is(:hover, :active, :focus, :focus-visible) {
  outline: none;
}

.chat-input {
  background: linear-gradient(90deg, #cccccc 0%, rgba(255, 255, 255, 0.8) 100%);
  border-radius: 50px;
  flex-grow: 1;
  padding: 0.3px 0;
}
button.voice-btn {
  border-radius: 50%;
}
a.btn-mic,
.btn-send {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: transparent;
  display: none;
}
a.btn-mic {
  animation: smooth-blink 1.5s ease-in-out infinite;
}
@keyframes smooth-blink {
  0%,
  100% {
    opacity: 1; /* Fully visible at start and end */
  }
  50% {
    opacity: 0; /* Fully invisible halfway through */
  }
}

/* .btn-send{
  display: none;
} */
@media (max-width: 600px) {
  .bot-container {
    max-width: 100%;
    border-radius: 0;
    min-width: 100%;
    height: 100vh;
    overflow: auto;
  }
  .chat-input-block {
    max-width: 100%;
    min-width: 100%;
    width: 100%;
    /* height: 100%; */
    /* overflow: auto; */
    margin: 0;
    padding: 12px 0;
    margin-top: auto;
  }
  .plyr__control[data-plyr="pip"] {
    top: -140px;
  }
}
.options {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: -8px;
  margin-bottom: 16px;
}

button.option-btn,
#restart-btn {
  padding: 8px 16px;
  border-radius: 12px;
  border: 0;
  font-size: 12px;
  background: linear-gradient(
    86.1deg,
    rgba(255, 137, 39, 0.16) -29.36%,
    rgba(255, 255, 255, 0.16) 112.83%
  );
  color: #fff;
}
.bot-video {
  position: sticky;
  top: 0;
  padding-bottom: 1rem;
  background-color: #1f273c;
}
@media (max-width: 340px) {
  .plyr__control[data-plyr="pip"] {
    top: -90px;
  }
}
/* .chat-input-block{
  overflow: hidden;
} */

.voice-active{
  gap: 0;
}
.voice-input-btngrp{
  display: flex;
  align-items: center;
}
.voice-active .voice-input-btngrp{
  width: 100%;
}
  .chat-input {
  transition: all ease-in-out 0.5s;
}

.voice-active .chat-input{
transform: translateX(-999px);
transform-origin: right;
width: 0;
}
.voice-open-grp{
  transform: scale(0);
  width: 0;
  height: 0;
  transition: transform ease-in-out 0.5s;
  transform-origin: right;


}
.voice-active .voice-open-grp{
  transform: scale(1);
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.voice-active .voice-btn{
  transform: scale(0);
  width: 0;
  height: 0;
}
.voice-open-btn{
  background-color: #3f4758;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  position: relative;
  overflow: hidden;
}
.voice-open-btn::before{
  background-image: url(../images/sound.gif);
    width: 80%;
    height: 100%;
    display: block;
    position: absolute;
    inset: 0;
    content: "";
    padding: 7px;
    background-size: cover;
    overflow: hidden;
    /* margin: 0 4px; */
    left: 50%;
    transform: translateX(-50%);
    background-position-x: center;
}

.bot-assistant {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}
.bot-assistant::-webkit-scrollbar { 
  display: none;  /* Safari and Chrome */
}
.learn-more{
  color: #2ba9b7;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.recommendation-modal .modal.fade .modal-dialog {
  transition: transform .3s ease-out;
  transform: translate(0,0px);
}
.recommendation-modal  .modal-dialog {
position: fixed !important;
bottom: 0 !important;
left: 0% !important;
right: 0% !important;
margin-bottom: 0 !important;
width: 390px;
    
} 
.recommendation-modal  .modal-header , .modal-content{
  border-radius: 0;
  background: #1f273c;
  color: #dfe1e5;
  border-bottom: 3px solid #2c3447;
}
.recommendation-wrapper{
  border-radius: 0;
  /* background: #1f273c; */
  color: #dfe1e5;
  border-bottom: 3px solid #2c3447;
}
.recommendation-modal  .btn-close{
  color: #dfe1e5;
  filter: none;
  background-image: none;
  padding: 0;
  background-position: unset;
  /* width: auto; */
  height: auto;
  opacity: 1;
  margin: 0;
  margin-left: auto;
}
.recommendation-modal .modal-header{
  padding: 10px 12px;
}
.recommendation-modal  .modal.show .modal-dialog {
  transform: none;
}

.recommendation-modal  .modal-content {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
height: 100%;
border: 0;
}
.recommendation-modal  .modal-body{
  /* max-height: 450px;  */
    overflow: auto;
    padding: 0;
    flex-grow: 1;

}
.recommendation-modal  .modal-body .recommendation-wrapper , .telehealth-wrapper {
  padding: 10px 12px;
}
.recommendation-wrapper h5 , .recommendation-wrapper p , .recommendation-wrapper ul{
  margin-bottom: 0.5rem;
}
.recomm-title{
  color: #FF7400;
  text-align: center;
  font-size: 22px;
  font-weight: 500;
}
.recomm-sub{
  font-size: 14px;
  line-height: 1.4;
}
.accordion-item{
  background-color: unset;
  border: none;
  margin-bottom: 8px;
}
.recommendation-modal .accordion-header{
  background: transparent;
  color: #dfe1e5;
  /* border-radius: 12px; */
  cursor: pointer;
}
.accordion-button:focus{
  box-shadow: none;
}
.accordion-button{
  background: transparent;
  color: #dfe1e5;
  border-radius: 12px !important;
  cursor: pointer;
  font-size: 16px;
  padding: 8px 10px;
  font-weight: 600;
  box-shadow: none;
}
.accordion-button:not(.collapsed)::after{
  /* filter: none; */
  transform: rotate(180deg);

}
.accordion-button::after{
  background-image: var(--bs-accordion-btn-active-icon);
  filter: brightness(50);
  transform: rotate(270deg);
}
.accordion-body {
  padding: 8px 10px;

  color: #dfe1e5;
}
.accordion-item{
  border-bottom: 3px solid #2c3447;
  padding-bottom: 8px;

}
.border-bt-custom{
  border-bottom: 3px solid #2c3447;
  margin-bottom: .5rem;

}
.accordion-body h5>strong{
  font-weight: 700;
}
.accordion-body ul{
  
  padding-left: 1.3rem;
}
.accordion-body ul strong{
  font-weight: 600;
}
.accordion-body h5{
  font-size: 16px;
  font-weight: 700;
  /* color: #FF7400; */
}
.accordion-body li{
  font-size: 14px;
  margin-bottom: 0.25rem;
  /* line-height: 1.2; */
}
.accordion-button:not(.collapsed){
  background: linear-gradient(86.1deg, rgba(255, 137, 39, 0.12) -29.36%, rgba(255, 255, 255, 0.12) 112.83%);
  color: #bdc0c9;
  box-shadow: none;
}
.modal.show .modal-dialog{
  height: 80vh;
}
.modal-body::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #1f273c;
	border-radius: 10px;
}

.modal-body::-webkit-scrollbar
{
	width: 8px;
	background-color: #1f273c;
}

.modal-body::-webkit-scrollbar-thumb
{
	border-radius: 8px;
	background: #bdc0c93f;
}

a.consult-btn {
  background: #FF7400;
  text-align: center;
  margin: auto;
  display: flex
;
  align-items: center;
  width: fit-content;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}
.telehealth-wrapper{
  position: sticky;
  bottom: 0;
  background-color: #3a3d4d;
}
 .telehealth-wrapper >p {
  font-size: 12px;
  margin-bottom: .5rem;
  color: #dfe1e5;
}
.telehealth{
  background-color: #FF7400;
  color: #fff;
  padding: 8px 12px;
  box-shadow: none;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  width: 100%;
  font-size: 1rem;
}
.telehealth:hover{
  background-color: #FF7400;
  color: #fff;
}
.modal-backdrop{
  min-width: 400px;
  max-width: 400px;
  margin: 0 auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.accordion{
  margin-bottom: 0.5rem;
}
.modal-title{
  font-size: 20px;
}
.modal-body h5{
  font-size: 18px;
  font-weight: 600;
}
.modal-body p{
  font-size: 14px;
  line-height: 1.4;
  letter-spacing: 0.5px;
}
@media (max-width: 600px) {
  .recommendation-modal  .modal-dialog {
    width: 100%;
    margin: 0;
  }
}
.bot-textbox .telehealth-wrapper {
  position: sticky;
  bottom: 0;
  background-color: #3a3d4d;
  width: calc(100% + 24px);
  /* left: 0; */
  transform: translateX(-12px);
  /* right: 0; */
  padding-bottom: 0;
}
/* .bot-textbox .recommendation-wrapper > *{
  display: none;
} */
.recommendation-section{
  margin-bottom: 10px;
}