.ask-jes-ai-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: Arial, sans-serif;
  background: transparent;
  max-width: 150px;
}

/* Close button styling */
.ask-jes-ai-close-button {
  display: none; /* Hidden by default, shown when chat is open */
  position: fixed;
  bottom: 20px;
  right: 180px; /* Position to the left of the main container */
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background-color: #8cc63f; /* Green color as shown in image */
  border: none;
  cursor: pointer;
  color: black;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

/* Alternative close button styling */
.ask-jes-ai-close-button-alt {
  display: none; /* Hidden by default, shown when chat is open */
  position: fixed;
  bottom: 20px;
  right: 220px; /* Position to the left of the first close button */
  width: 30px;
  height: 30px;
  border-radius: 5px;
  background-color: #e74c3c; /* Red color for alternative button */
  border: none;
  cursor: pointer;
  color: white;
  font-size: 14px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  z-index: 1001;
}

.ask-jes-ai-header {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 15px;
  padding: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin-bottom: 5px;
  cursor: default;
  overflow: hidden;
}

.ask-jes-ai-header-content {
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding-right: 8px;
}

.ask-jes-ai-logo {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0077c8;
  border-radius: 50%;
}

.ask-jes-ai-logo-text {
  color: white;
  font-weight: bold;
  font-size: 12px;
}

.ask-jes-ai-logo img {
  max-width: 100%;
  max-height: 100%;
}

.ask-jes-ai-header-text {
  font-size: 14px;
  font-weight: bold;
  color: #000;
}

.ask-jes-ai-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  margin-right: 3px;
}

.ask-jes-ai-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ask-jes-ai-button {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 15px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  border: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 12px;
}

.ask-jes-ai-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.ask-jes-ai-button.human {
  background-color: #6ca93d;
  color: white;
}


.ask-jes-ai-button-icon {
  width: 30px;
  height: 30px;
  margin-right: 8px;
  /* background-color: white; */
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ask-jes-ai-button-icon img {
  max-width: 80%;
  max-height: 80%;
}

.ask-jes-ai-hidden {
  display: none;
}

/* Floating popout button that appears to the right of a clicked button */
.ask-jes-ai-popout {
  display: none; /* toggled by JS */
  position: fixed; /* JS will set top/left */
  width: 56px;
  height: 56px;
  background-color: #8cc63f;
  color: #000;
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ask-jes-ai-popout:hover {
  filter: brightness(0.95);
}

.ask-jes-ai-popout-icon {
  font-size: 24px; /* down arrow */
  line-height: 1;
}

/* Accessibility helper */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
