/* form */
.chat-messaging {
  width: 100%;
  max-width: 345px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 10px;
  min-height: 420px;
  max-height: 420px;
  padding: 0 20px;
  overflow: hidden;
}
#chatbotform {
  min-height: 330px;
  max-height: 330px;
  overflow-y: scroll;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 5px 0;
}
#chatbotform:-webkit-scrollbar {
  display: none;
}
.form-step {
  display: none;
  position: relative;
  opacity: 0;
}
.form-step.active {
  display: block;
  animation-name: fadeIn;
  animation-duration: 1.5s;
  animation-fill-mode: forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
.chatbot-nav {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(44, 41, 36, 0.30);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatpersona {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.chatpersona img {
  width: 40px;
  height: 40px;
  aspect-ratio: 1;
  border-radius: 50px;
}
.persona-txt {
  margin-left: 10px;
}
.persona-txt h6 {
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  color: var(--black);
  margin: 0 0 5px 0;
}
.persona-txt p {
  margin: 0;
  font-size: 10px;
  font-weight: 300;
  line-height: 1;
  color: var(--black);
  opacity: 0.4;
}
.chat-control {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0 15px;
}
.close-chat {
  background: transparent;
  border: none;
  filter: brightness(0);
  min-width: 14px;
  min-height: 14px;
  aspect-ratio: 1;
  transition: all 0.5s ease;
}
.close-chat img {
  width: 14px;
}
.close-chat:hover {
  transform: scale(1.1);
}
.message-load {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
  position: relative;
}
.lds-ellipsis, .lds-ellipsis div {
  box-sizing: border-box;
}
.lds-ellipsis {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 30%;
  height: 10px;
}
.lds-ellipsis div {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black);
  opacity: 0.3;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
.message-bot {
  background: var(--white);
  border-radius: 10px;
  padding: 15px 0px;
  max-width: 95%;
  position: relative;
  margin: 0 0 5px 0;
}
.message-bot p {
  font-size: 13px;
  line-height: 1.2;
  color: var(--black);
  font-weight: 300;
  margin: 5px 0;
}
.message-bot p b {
  font-weight: 500;
}
.message-answer {
  max-width: 90%;
  position: relative;
  text-align: right;
  margin: 0 0 5px auto;
  display: none;
  animation: fadeIn 0.6s ease forwards;
}
.message-answer p {
  text-align: right;
  display: inline-block;
  white-space: normal;
  margin: 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  background: var(--cream);
  padding: 10px;
  border-radius: 5px;
}
.message-bot p a {
  cursor: pointer;
  text-decoration: underline !important;
  font-weight: 500;
  transition: all 0.6s ease;
}
.message-bot p a:hover {
  color: var(--gold) !important;
}
.name-placeholder {
  font-weight: 500;
}
#chat-summary {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
#chat-summary li {
  font-size: 13px;
  line-height: 1;
  font-weight: 300;
  margin: 5px 0;
}
#chat-summary li strong {
  font-weight: 500;
}
#chatbotform .radio-buton:first-of-type {
  margin-top: 10px;
}
#chatbotform .radio-buton input[type="radio"] {
  position: absolute; 
  opacity: 0; 
  width: 0;
  height: 0;
}
#chatbotform .radio-buton label {
  width: 100%;
  max-width: 200px;
  height: 30px;
  font-size: 13px;
  line-height: 1;
  font-weight: 300;
  border-radius: 5px;
  background: var(--white);
  border: 0.2px solid rgba(44, 41, 36, 0.30);
  margin: 5px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.6s ease;
}
#chatbotform .radio-buton label:hover, #chatbotform .radio-buton input[type="radio"]:checked + label {
  background: var(--gold);
  color: var(--white);
}
#chatbotform .form-input {
  width: 100%;
  max-width: 240px;
  height: 35px;
  font-size: 13px;
  line-height: 1;
  font-weight: 300;
  border-radius: 5px;
  background: var(--white);
  border: 0.2px solid rgba(44, 41, 36, 0.30);
  margin-top: 10px;
  padding: 0 5px 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#chatbotform .phone-input {
  padding: 0 10px 0 0;
}
#chatbotform .iti__selected-country-primary {
  padding: 0 5px !important;
}
#chatbotform .iti__arrow {
  display: none !important;
}
#chatbotform #phone {
  height: 30px;
  padding-left: 65px !important;
}
#chatbotform .iti__selected-country, #chatbotform .iti__country-container, #chatbotform .iti {
  height: 25px !important;
}
#chatbotform .form-input input {
  width: 90%;
  height: 35px;
  border: none;
  background: transparent;
  font-size: 16px;
  color: var(--black);
  font-weight: 300;
}
#chatbotform .form-input input:focus-visible {
  outline: none !important;
}
::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
:-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
  line-height: 1;
}
::-moz-placeholder {
  color: rgba(0, 0, 0, 0.4);
  opacity: 1;
  line-height: 1;
}
:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
::placeholder {
  color: rgba(0, 0, 0, 0.4);
  line-height: 1;
}
.next-icon {
  background: transparent;
  border: none;
  transition: all 0.6s ease;
}
.next-icon img {
  width: 14px;
  height: 14px;
  filter: brightness(0);
  transition: all 0.6s ease;
}
.next-icon:hover img {
  filter: none;
}
.next_chatbot, #chatbotform .form-button {
  width: 100%;
  height: 40px;
  border-radius: 50px;
  background: var(--white);
  border: 1px solid var(--cream);
  color: var(--black);
  margin-top: 20px;
  font-size: 16px;
  transition: all 0.6s ease;
}
.next_chatbot:hover, .form-button:hover {
  transform: scale(1.05);
  background: var(--cream);
  color: var(--black);
}
#chatbotform .form-input.disabled-step, #chatbotform .next_chatbot.disabled-step, #chatbotform .radio-buton label.disabled-step, #chatbotform .radio-buton input[type="radio"]:checked + label.disabled-step {
  filter: grayscale(1);
  background: transparent;
  color: rgba(0, 0, 0, 0.5);
}
#chatbotform .next_chatbot:hover.disabled-step, #chatbotform .radio-buton label:hover.disabled-step {
  transform: none;
}
#chatbotform .next-icon.disabled-step img, #chatbotform .next-icon.disabled-step:hover img {
  filter: grayscale(0.5);
}
#chatbotform input:-webkit-autofill,
#chatbotform input:-webkit-autofill:hover,
#chatbotform input:-webkit-autofill:focus,
#chatbotform input:-webkit-autofill:active {
  transition: background-color 5000000s ease-in-out 0s;
}
#chatbotform label.error {
  display: none;
}
#chatbotform .error {
  color: red;
  font-size: 11px;
  font-weight: 300;
  width: 100%;
  text-align: left;
}
/* Media Queries */
@media only screen and (max-width: 1400px) {
  .message-bot, .message-answer {
    max-width: 80%;
  }
}
@media only screen and (max-width: 1200px) {
  .message-bot, .message-answer {
    max-width: 100%;
  }
}
@media only screen and (max-width: 414px) {
  .message-bot {
    padding: 20px 25px;
  }
  .message-bot p, .message-answer p {
    font-size: 13px;
  }
  #chatbotform .next_chatbot, #chatbotform .form-button {
    font-size: 12px;
  }
  .form-input input {
    width: 95%;
  }
  ::-webkit-input-placeholder {
    font-size: 14px;
  }
  :-moz-placeholder {
    font-size: 14px;
  }
  ::-moz-placeholder {
    font-size: 14px;
  }
  :-ms-input-placeholder {
    font-size: 14px;
  }
  ::-ms-input-placeholder {
    font-size: 14px;
  }
  ::placeholder {
    font-size: 14px;
  }
  .radio-buton label {
    font-size: 12px;
  }
}
@media only screen and (max-width: 350px) {
  .message-bot {
    padding: 15px;
  }
  .chat-messaging {
    width: 95%;
    padding: 0 10px;
  }
}
@media only screen and (max-width: 330px) {
  .message-bot p, .message-answer p {
    font-size: 12px;
  }
  .radio-buton label {
    font-size: 11px;
  }
  ::-webkit-input-placeholder {
    font-size: 12px;
  }
  :-moz-placeholder {
    font-size: 12px;
  }
  ::-moz-placeholder {
    font-size: 12px;
  }
  :-ms-input-placeholder {
    font-size: 12px;
  }
  ::-ms-input-placeholder {
    font-size: 12px;
  }
  ::placeholder {
    font-size: 12px;
  }
}