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: 73px !important;
  height: 73px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.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;
  bottom: calc(100% + 10px);
  right: 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;
  bottom: -18px;
  right: 20px;
  width: 20.78px;
  height: 18px;
  transform: rotate(180deg);
}

.chatbot-widget .robot-image-wrapper {
  position: relative;
  width: 73px;
  height: 73px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.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 {
  width: 73px;
  height: 73px;
  object-fit: contain;
}

/* Responsive styles */
@media (max-width: 768px) {
  .chatbot-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .chatbot-widget .summarizer-container {
    width: 60px;
    height: 60px;
  }
  
  .chatbot-widget .robot-image-wrapper {
    width: 60px;
    height: 60px;
  }
  
  .chatbot-widget .robot-main-img {
    width: 60px;
    height: 60px;
  }
  
  .chatbot-widget .summarizer-container:hover {
    transform: scale(1.05);
  }
  
  .chatbot-widget .tooltip {
    width: 180px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .chatbot-widget {
    bottom: 10px;
    right: 10px;
    z-index: 999;
  }
  
  .chatbot-widget .summarizer-container {
    width: 50px;
    height: 50px;
  }
  
  .chatbot-widget .robot-image-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .chatbot-widget .robot-main-img {
    width: 50px;
    height: 50px;
  }
  
  .chatbot-widget .tooltip {
    width: 160px;
    padding: 12px;
    font-size: 11px;
    bottom: calc(100% + 8px);
  }
}