body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #f0f2f5; /* A neutral background to better display the component */
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Chatbot Widget Styles - Fixed bottom right */
.chatbot-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.chatbot-widget .summarizer-container {
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
  position: relative;
  width: 268px;
  height: 274px;
  max-width: 100%;
}

.chatbot-widget .summarizer-container:hover {
  transform: scale(1.05);
}

.chatbot-widget #course-summarizer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  min-height: auto;
}

.chatbot-widget .tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 204px;
  background-color: #181818;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0px 2px 7px 0px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.chatbot-widget .tooltip p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
}

.chatbot-widget .tooltip-text-bold {
  color: #f5f5f5;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}

.chatbot-widget .tooltip-text-regular {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.chatbot-widget .tooltip-arrow {
  position: absolute;
  left: 172px;
  top: 81px;
  width: 20.78px;
  height: 18px;
}

.chatbot-widget .robot-image-wrapper {
  position: absolute;
  top: 108px;
  left: 102px;
  width: 166px;
  height: 166px;
  z-index: 5;
}

.chatbot-widget .robot-bg-ellipse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0px 0px 18.51px 0px rgba(178, 178, 178, 0.25);
  border-radius: 50%;
}

.chatbot-widget .robot-main-img {
  position: absolute;
  top: 27.15px;
  left: 23.45px;
  width: 119.18px;
  height: 112.24px;
  object-fit: cover;
}

/* Responsive styles */
@media (max-width: 768px) {
  .chatbot-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .chatbot-widget .summarizer-container {
    transform: scale(0.85);
  }
  
  .chatbot-widget .summarizer-container:hover {
    transform: scale(0.9);
  }
}

@media (max-width: 480px) {
  .chatbot-widget {
    bottom: 10px;
    right: 10px;
  }
  
  .chatbot-widget .summarizer-container {
    transform: scale(0.75);
  }
  
  .chatbot-widget .robot-image-wrapper {
    top: 75px !important;
    left: 145px !important;
  }
}