@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap');

#chat-popup {
  font-family: 'Nunito Sans', sans-serif;
  position: fixed;
  bottom: 200px !important;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  width: 100px !important;
  z-index: 10000000000;
}

#chat-popup-toggle img {
  position: relative;
  width: 100px;
}

#chat-popup-toggle {
  display: flex;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  position: absolute;
  transform: translate(0%, 100%);
  width: 100px;
  left: -50px;
  bottom: 160px;
}

.chat-toggle-logo {
  height: 80px;
  width: 90px;
}

#chat-popup-content {
  display: none;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  width: 453px;
  height: 540px;
  padding-bottom: 10px;
  position: relative;
  right: 150px;
  top: 40px;
}

@media screen and (max-width: 700px) {
  #chat-popup {
    width: initial !important;
    height: 100%;
    top: 0;
    right: 0;
  }
  #chat-popup-content {
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
  }
  #chat-popup-toggle {
    transform: none;
    right: 25px;
    bottom: 140px;
    left: unset;
    z-index: -1;
  }
  .overflow-hidden {
    overflow: hidden;
  }
}

#chat-popup.open #chat-popup-content {
  display: flex;
}

#chat-messages {
  flex-grow: 1;
  padding-top: 8px !important;
  min-height: 100px;
}

.chat-divider {
  height: 1px;
  background-color: #ccc;
  box-shadow: 0 0px 5px 1px rgba(0, 0, 0, 0.1);
  margin: 10px 0px;
}

#chat-input {
  width: calc(100% - 70px);
  margin-right: 10px;
  border-radius: 20px;
  border: 0;
  outline: none;
}

#chat-input:focus,
#chat-input:active {
  border: 0;
  outline: none;
}

#chat-send {
  cursor: pointer;
  height: 28px;
}

#chat-send-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

#chat-send-text input {
  border: 0;
  background-color: #e6e6e6;
}

#chat-send-text {
  display: flex;
  border-width: 2px;
  border-radius: 20px;
  background-color: #e6e6e6;
  width: 90%;
  padding: 10px;
  align-items: center;
  justify-content: space-between;
}

#chat-popup-content #chat-header p {
  margin: 0;
  height: 64px;
  color: white;
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
}

#chat-popup-content #chat-header p.beta-label {
  font-size: 22px;
  margin-left: 5px;
  font-weight: normal;
  padding-top: 2px;
}

#chat-header {
  background-color: #26387d;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px;
  padding-left: 18px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  justify-content: space-between;
  padding-right: 18px;
}

.message.user-message {
  padding-right: 5px;
  position: relative;
}

.message {
  padding: 5px;
  padding-right: 20px;
  position: relative;

  /* display: inline; */
}

.message-content {
  width: 100%;
  background-color: #fff;
  display: inline-block;
  padding: 15px;
  border-radius: 10px;
  color: #565656;
  margin-left: 10px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 4px;
  max-width: 100%;
  margin-top: 15px;
  margin-bottom: 0px !important;
}

.message-text {
  background-color: #5072e9;
  color: white;
  padding: 10px;
  border-radius: 12px;
  padding-left: 20px;
  padding-right: 20px;
  max-width: 390px;
}

.chat-header-logo {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  margin-right: 12px;
}

.chat-logo {
  width: 30px;
  height: 32px;
  margin-top: 2px;
  border-radius: 20px;
}

.message-options {
  margin-top: 5px;
  margin-left: 15px;
  width: 70px;
  padding: 6px;
  border: 1px solid #b6b6b6;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  visibility: hidden;
}

.message:hover .message-options {
  visibility: visible;
  display: flex;
}

.message.user-message:hover .message-options {
  display: none;
}

.message-answer {
  padding: 20px;
  padding-top: 0px;
  display: flex;
  flex-direction: column;
}

.outer-user-message {
  display: flex;
  margin-right: 10px;

  justify-content: end;
  margin-bottom: 10px;
}

.bot-message-options {
  visibility: hidden;
  margin-top: 5px;
}

.user-message:hover .bot-message-options {
  visibility: visible;
  display: flex;
  justify-content: end;
}

.bot-message-options-img {
  display: inline-flex;
  justify-content: center;
  padding: 3px;
  border: 1px solid #d6d6d6;
  border-radius: 8px;
  align-items: center;
}

.loader-container {
  position: relative;
  width: 50px;
  height: 50px;
}

.loader-frame {
  position: absolute;
  width: 130%;
  height: 80%;
  margin-left: 20px;
  opacity: 0;
  animation: loader-animation 2s infinite;
}

.loader-frame:nth-child(1) {
  animation-delay: 0s;
}
.loader-frame:nth-child(2) {
  animation-delay: 0.5s;
}
.loader-frame:nth-child(3) {
  animation-delay: 1s;
}
.loader-frame:nth-child(4) {
  animation-delay: 1.5s;
}

@keyframes loader-animation {
  0%,
  100% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

.message-options .icon.highlighted {
  filter: invert(15%) sepia(75%) saturate(500%) hue-rotate(175deg)
    brightness(30%) contrast(110%);
}

.message-options .icon {
  cursor: pointer;
  background-color: transparent;
  transition: background-color 0.3s ease;
  filter: invert(0%);
}

.message-options .icon:hover {
  background-color: #f3f0f0;
  border-radius: 50%;
}

.loader-gif {
  height: 40px;
  background-color: #fff;
  border-radius: 8px;
  margin-left: 10px;
}

.related-images {
  text-align: left;
}

.blog-posts-wrapper {
  display: flex;
  gap: 10px;
}

.blog-post {
  background-color: #e6e9f0;
  border-radius: 8px;
  overflow: hidden;
  width: calc(50% - 10px); /* Adjust the width to fit 2 posts side by side */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  white-space: normal;
}

.blog-post-image {
  width: 100%;
  overflow: hidden;
}

.blog-post-image img {
  width: 100%;
  height: 107px;
  display: block;
  object-fit: cover;
}

.blog-post-details {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.blog-post-author {
  font-size: 10px !important;
  font-style: italic !important;
  color: #2a3d80 !important;
}

.blog-post-title {
  font-size: 14px !important;
  color: #2a3d80 !important;
  text-decoration: underline !important;
  font-family: Nunito sans-serif;
  font-weight: 600;
}

.related-images p {
  color: #565656;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.current-recipe {
  padding-top: 15px;
  padding-bottom: 15px;
}

.current-recipe-card {
  display: flex;
  border-radius: 10px;
  background-color: #e6e9f0;
}

.current-recipe-img {
  width: 80px;
  height: 100%;
  padding: 10px;
}

.current-recipe-details {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  font-family: Nunito sans-serif;
  color: #26387d;
}

.view-post-text {
  margin-bottom: 0px;
  font-size: 18px;
  text-decoration: underline;
  font-weight: 600;
  font-size: 19px;
  color: #26387d;
  font-family: Nunito sans-serif;
}

.current-recipe-title {
  margin-bottom: 0px;
  color: #26387d;
  font-family: Nunito sans-serif;
  font-size: 17px;
}

.chat-header-title {
  display: flex;
  align-items: center;
}

#close-btn {
  width: 24px;
  cursor: pointer;
}

#introduction-box {
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 10px;
  font-size: 15px;
  font-family: Nunito sans-serif;
  color: #333;
  padding: 20px;
  background-color: #f9f9f9;
  margin: 20px;
}

#question-box {
  background-color: #ffffff;
  padding: 4px;
  border-radius: 5px;
  font-size: 14px;
  margin-left: 20px;
  margin-right: 20px;
}

.question-item {
  /* margin-bottom: 8px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 4px;
  border: 1px solid #5072e9;
  color: #5072e9;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: Nunito sans-serif; */

  width: 100%;
  display: inline-block;
  padding: 15px;
  border-radius: 10px;
  color: #565656;
  margin-left: 10px;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 4px;
  max-width: 100%;
  margin-top: 15px;
  cursor: pointer;
  /* margin-bottom: 0px !important; */
}

.question-item > p {
  margin-bottom: 0;
}

#message-box {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: #f7f7f7;
}

#chat-questions {
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
}

#chat-introduction {
  padding-right: 20px;
}

.hide {
  display: none;
}

.chat-intro {
  background-color: #fff;
  margin-top: 20px;
  margin-right: 50px;
  margin-left: 15px;
  padding: 12px 20px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chat-intro-title {
  margin-bottom: 12px;
}

.chat-intro-ques > button {
  border: 1px solid #5072e9;
  text-transform: initial;
  font-family: initial;
  font-weight: initial;
  letter-spacing: initial;
  line-height: initial;
  color: #5072e9;
  padding: 7px 12px;
  border-radius: 7px;
  display: block;
  margin: 10px 0px;
  background-color: initial;
}

.chat-intro-ques > button:hover,
.chat-intro-ques > button:focus {
  background-color: initial;
  color: #5072e9;
}

.opacity-0 {
  opacity: 0;
}

.email-container {
  width: 90%;
  background-color: #fff;
  display: inline-block;
  padding: 15px;
  border-radius: 10px;
  color: #565656;
  padding-left: 20px;
  padding-right: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 4px;
  max-width: 100%;
  margin-bottom: 20px;
  margin-left: 30px;
  margin-right: 20px;
}

.email-input {
  padding: 5px;
  border-radius: 7px;
  margin-top: 5px;
  border: 1px #dbdbdb solid;
  display: block;
  width: 100%;
}

.email-submit-container {
  display: flex;
  justify-content: end;
  margin-top: 10px;
}

.email-submit {
  background-color: #5072e9;
  color: white;
  padding: 10px;
  border-radius: 8px;
  padding-left: 20px;
  padding-right: 20px;
  text-transform: none;
  border: 0;
}

.email-submit:hover,
.email-submit:focus {
  background-color: #5072e9;
}

.email-submit:disabled {
  cursor: wait;
}

.keyword {
  color: #1a0dab;
  text-decoration: underline;
  cursor: pointer;
  position: relative;
}

.tooltip {
  display: none;
  position: absolute;
  z-index: 9999;
  background: #fff;
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  width: 300px;
  white-space: pre-wrap;
  font-size: 13px;
  line-height: 1.4;
  user-select: text;
  max-height: 300px;
  overflow-y: auto;
  cursor: initial;
}

.affiliate {
  margin-top: 7px;
}
