.chatbot-trigger {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.chatbot-trigger button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: -webkit-gradient(linear, left top, right top, from(#00BCDC), color-stop(#3179E7), to(#8D68FC));
  background: linear-gradient(90deg, #00BCDC, #3179E7, #8D68FC);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 500;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  line-height: 1.2;
  width: 250px;
  height: 60px;
}
.chatbot-trigger button:hover {
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
          box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.chatbot-trigger button img {
  -webkit-filter: brightness(0) invert(1);
          filter: brightness(0) invert(1);
}

.chatbot-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  z-index: 1000;
  border-radius: 10px;
  -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 500px;
  background-color: #fff;
}

.chatbot-header {
  background: -webkit-gradient(linear, left top, right top, from(#00BCDC), color-stop(#3179E7), to(#8D68FC));
  background: linear-gradient(90deg, #00BCDC, #3179E7, #8D68FC);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 16px;
  height: 50px;
  border-radius: 10px 10px 0 0;
  position: relative;
  gap: 4px;
}
.chatbot-header__title {
  color: #fff;
  font-size: 14px;
  margin: 0;
}
.chatbot-header__title > span {
  margin-right: 0.25em;
}
.chatbot-header__nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.chatbot-header button {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
  opacity: 0.8;
}
.chatbot-header button:hover {
  opacity: 1;
}
.chatbot-header button img {
  display: block;
}

#homeButton {
  width: 20px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 0;
}

.chatbot-body {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
  overflow: hidden;
  background-color: #EDF0F5;
}

.chatbot-chat, .chatbot-guide, .chatbot-home {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  display: none;
}

.chatbot-home {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding-top: 3.2rem;
}
.chatbot-home__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.2rem;
}
.chatbot-home__header .icon {
  width: 46px;
  height: 46px;
}
.chatbot-home__header-label {
  font-size: 1.5rem;
  color: #333;
  font-weight: bold;
}
.chatbot-home__header-icon {
  width: 46px;
}
.chatbot-home__header-text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  gap: 8px;
}
.chatbot-home__header-service {
  display: inline-block;
  border-radius: 4px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  padding: 0 6px;
}
.chatbot-home__header-service.scribeassist {
  background-color: #9268FE;
}
.chatbot-home__header-service.provoxt {
  background-color: #01C0DC;
}
.chatbot-home__description {
  margin-top: 2rem;
  text-align: center;
  font-size: 1.4rem;
}
.chatbot-home__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.8rem;
  margin-top: 2.4rem;
}
.chatbot-home button {
  border-radius: 9999px;
  padding: 12px 20px;
  background-color: #242424;
  color: #fff;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  font-size: 14px;
  width: 300px;
}
.chatbot-home button:hover {
  opacity: 0.8;
}
.chatbot-home button.guide {
  background-color: #192740;
}
.chatbot-home button.chat {
  background-color: #7586A7;
}
.chatbot-home button.scribeassist {
  background-color: #9268FE;
}
.chatbot-home button.provoxt {
  background-color: #01C0DC;
}

.chatbot-service-selection {
  margin-top: 2rem;
}
.chatbot-service-selection__description {
  text-align: center;
  font-size: 1.4rem;
  opacity: 0.8;
}
.chatbot-service-selection__buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 8px;
  margin-top: 0.8rem;
}
.chatbot-service-selection__buttons .button {
  color: #fff;
  border-radius: 9999px;
  width: 160px;
}

.chatbot-guide {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.chatbot-guide > p:first-child {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}
.chatbot-guide > div {
  background-color: #f9f9f9;
  padding: 16px;
  border-left: 4px solid #3179E7;
}
.chatbot-guide > div > p:first-child {
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}
.chatbot-guide > div > p:nth-child(2) {
  color: #666;
  line-height: 1.5;
  margin-bottom: 12px;
}
.chatbot-guide a {
  color: #3179E7;
  text-decoration: none;
  font-size: 14px;
}
.chatbot-guide a:hover {
  text-decoration: underline;
}

.chatbot-chat {
  padding: 0;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.chatbot-iframe {
  width: 100%;
  height: 100%;
  border: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.chatbot-service-switcher {
  position: relative;
  display: inline-block;
}
.chatbot-service-switcher__menu {
  position: absolute;
  top: 100%;
  left: -10px;
  background: #fff;
  border-radius: 4px;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 1000;
  overflow: hidden;
}
.chatbot-service-switcher__item {
  position: relative;
  padding: 6px 16px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.chatbot-service-switcher__item:hover {
  background-color: #f5f5f5;
}
.chatbot-service-switcher__item--selected {
  background-color: #e3f2fd;
}
.chatbot-service-switcher__name {
  font-size: 1.4rem;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.chatbot-service-switcher__check {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 10px;
  width: 8px;
  height: 8px;
  background-color: #1976d2;
  border-radius: 50%;
}