.uems-botpress-appt-calendar-overlay {
  flex-direction: column;
  align-items: center;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  justify-content: center;
  align-items: center;
  z-index: 99999 !important;
  opacity: 0;
  transition: opacity 4s ease-in-out;
}

.uems-botpress-appt-calendar-overlay.active {
  opacity: 1;
  display: flex;
}

.uems-botpress-appt-calendar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.uems-botpress-appt-calendar-hint {
  font-size: 16px;
  margin-bottom: 10px;
  text-align: center;
  color: white;
  font-weight: 700;
  font-family: inherit;
}

#uemsBotpressApptInlineCalendar {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: none;
}

.flatpickr-calendar {
  font-family: inherit;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  font-weight: 700;
}

.flatpickr-current-month input.cur-year {
  font-weight: 700;

}

.flatpickr-current-month input.cur-year[disabled],
.flatpickr-current-month input.cur-year[disabled]:hover {
  color: black
}

.flatpickr-weekdaycontainer .flatpickr-weekday {
  color: #1d9f95;
}

.flatpickr-day,
.flatpickr-month,
.flatpickr-weekday {
  font-family: inherit;
}
/* Speech Bubble Styling */
#uems-botpress-fab-chatbot-bubble {
  position: fixed;
  bottom: 90px;
  /* Adjust to align above the chat icon */
  right: 90px;
  background-image: linear-gradient(to right, rgb(68, 119, 184), rgb(0, 158, 160));
  color: white;
  padding: 10px 15px;
  border-radius: 15px;
  font-size: 14px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  animation: fadeIn 1s ease-in-out;
  cursor: pointer;
  transition: opacity 0.5s;
  z-index: 99999 !important;
}

/* Speech Bubble Tail */
#uems-botpress-fab-chatbot-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  transform: rotate(-225deg);
  height: 20px;
  width: 20px;
  background-color: #1d9f94;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }

  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Hide bubble when chat opens */
.hidden {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  #uems-botpress-fab-chatbot-bubble {
      display: none;
  }
}