.content {
  transition: left 0.25s ease;
}
html,
body {
  font-family: "Poppins" !important;
}
/* overriding the 960px mad width*/
@media screen and (min-width: 960px) {
  .container {
    max-width: 1080px !important;
  }
}
/**/
.content {
  transition: left 0.25s ease;
  padding: 0 2rem;
}
.chat-msg {
  margin-bottom: 1.5em;
  border: 1px solid #5a5a5a;
  border-radius: 6px;
  padding: 2rem;
  border: 1px solid #efeff5;
  background-color: #fcfcfc;
  font-size: 15px;
  margin-right: 1rem;
  line-height: 1.6 !important;
}
.chat-user {
  /* color: #3763d5; */
  color: #636c83;
}
.chat-bot {
  /* color: #1ea896; */
  color: #19ad26;
}
.chat-bot,
.chat-user {
  font-weight: bold;
  margin-bottom: 1rem;
  display: inline-block;
  font-size: 1rem !important;
}
.is-primary.input,
.is-primary.textarea {
  border-color: #5a5a5a !important;
}

.gradient-bg-button {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  border: 2px solid transparent;
  background: linear-gradient(225deg, #00a924 0%, #bcc946 100%);
  border: none;
  text-align: center;
  flex: 10;
  /* margin: 0 !important; */
  margin-top: 1.25rem !important;
  align-self: center;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  width: auto;
  justify-self: flex-end;
  display: flex;
}

.gradient-bg-button:hover {
  background: white;
  color: #19ad26 !important;
  outline-color: #19ad26;
  outline: 2px solid;
  cursor: pointer;
}

.gradient-bg-button:disabled,
.gradient-bg-button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(40%);
  /* background: #d9d9d9;  color:#888;  border-color:#d9d9d9;   */
}
.gradient-bg-button:disabled:hover {
  border: none !important;
  outline: none !important;
  background: linear-gradient(225deg, #00a924 0%, #bcc946 100%) !important;
  color: #fff !important;
}

.bot-msg {
  background-color: #eff9f0;
}

#chat-form {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-content: center;
  flex-wrap: wrap;
}

.chat-input {
  flex: 90;
  margin: 0 !important;
}

.islink,
a {
  color: #f15b22 !important;
}

@media screen and (min-width: 769px) {
  .box.is-large {
    padding: 1.5rem !important;
    padding-top: 1rem !important;
  }
}

/* ───────── custom scrollbar for the chat window ───────── */
#chat-history {
  /* Firefox */
  scrollbar-width: auto; /* thin track */
  scrollbar-color: #e2e2e2 transparent; /* thumb, track */
}

/* Chrome / Edge / Safari */
#chat-history::-webkit-scrollbar {
  width: 12px; /* overall width of the bar */
  height: 12px; /* (in case horiz ever shows) */
}

#chat-history::-webkit-scrollbar-track {
  background: transparent; /* no visible track */
}

#chat-history::-webkit-scrollbar-thumb {
  background: #e2e2e2; /* light grey-blue thumb */
  border-radius: 4px;
}

#chat-history::-webkit-scrollbar-thumb:hover {
  background: #bebebe; /* slightly darker on hover */
}

/* hide the little up/down arrows some browsers add */
#chat-history::-webkit-scrollbar-button {
  display: none;
}

#user-input {
  overflow-y: auto;
  padding-top: 1rem !important;
  white-space: pre-wrap;
}

.ai-disclaimer {
  /* background: #fff6d9; */
  border: 1px solid #ccf0a3;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #614a00;
}
.ai-placeholder-graphic {
  width: auto;
  height: auto;
  max-height: 375px;
  max-width: 40%;
  margin: 1rem auto;
  display: block;
}

@media (max-width: 768px) {
  .ai-placeholder-graphic {
    max-height: 375px;
    max-width: 60%;
    margin-top: 0 !important;
  }
  #chat-history {
    margin-bottom: 0.25rem;
    height: 440px !important;
    font-size: 0.69rem;
    margin-top: 0.25rem !important;
  }
  .chat-msg {
    margin-bottom: 1.5rem;
    padding: 1rem;
    font-size: 0.9rem;
    margin-right: 0rem;
  }
  #chat-form {
    gap: 0;
    flex-direction: column;
    display: block;
  }
  #user-input {
    padding-top: 0.5rem !important;
    font-size: 0.9rem !important;
  }
  .content {
    transition: left 0.25s ease;
    padding: 0 1rem;
  }
  .ai-disclaimer {
    font-size: 0.8rem;
  }
  .box {
    padding: 1rem !important;
  }

  .gradient-bg-button {
    display: block;
    justify-self: center;
    width: 100%;
    text-align: center;
  }
}
