.obss-chatbot {
  position: fixed;
  z-index: 120;
  bottom: 50px;
  right: 15px;
  max-width: 240px;
  display: none;
  animation-delay: 2s;
}

.obss-chatbot.chatbot-active {
  display: block;
}

.obss-chatbot-message {
  border: 1px solid #eaf0f6;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 80px;
  cursor: pointer;
}

.obss-chatbot-text {
  font-family: var(--font-family-default-book);
  color: var(--color-primary);
  font-size: 14px;
  line-height: 24px;
}

.obss-chatbot-head-person {
  content: url("../images/hale-erdem.png");
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: absolute;
  top: -24px;
  left: calc(50% - 24px);
}

.obss-chatbot-close {
  content: url("../images/close-icon-grey.svg");
  color: #7c98b6;
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  border-radius: 50%;
  padding: 10px;
}

.obss-chatbot-close:hover {
  background-color: #d7dadd;
}

.obss-chatbot-button-wrapper {
  display: flex;
  justify-content: flex-end;
  position: absolute;
  bottom: 0px;
  right: 0px;
}

.obss-chatbot-button-wrapper button {
  background-color: var(--color-blue);
  color: #fff;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
}

.obss-chatbot-mobile-close {
  content: url("../images/close-icon-grey.svg");
  background-color: #d7dadd;
  color: #7c98b6;
  position: absolute;
  top: -30px;
  right: 0px;
  cursor: pointer;
  border-radius: 50%;
  padding: 5px;
  display: none;
}

.obss-chatbot-button-wrapper button:hover,
.obss-chatbot:has(.obss-chatbot-message:hover):not(
    :has(.obss-chatbot-close:hover)
  )
  .obss-chatbot-button-wrapper
  button {
  transform: scale(1.1);
  background-color: #007bff;
}

@media (max-width: 991px) {
  .obss-chatbot-message {
    display: none;
  }

  .obss-chatbot-mobile-close {
    display: block;
  }
}
