#scale-chatbot-launcher {
  transition: opacity 0.5s ease;
  opacity: 0;
}

#scale-chatbot-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: auto;
  max-width: 340px;
  height: auto;
  z-index: 9999;
}
#scale-chatbot-toggle {
  border: none;
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  justify-content: center;
  align-items: center;
}

.ai-chatbot-button {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: transparent;
  padding: 0;
}

.ai-chatbot-button::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  z-index: 0;
  transform: scale(1.5);
  background: radial-gradient(
    circle,
    rgba(124, 44, 255, 0.9) 0%,
    rgba(90, 0, 224, 0.6) 45%,
    rgba(90, 0, 224, 0) 70%
  );
  filter: blur(16px);
  animation: chatbot-pulse 2.4s ease-in-out infinite;
}

.ai-chatbot-button::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  z-index: 2;
  background: url("./ai-chatbot.webp") center/cover no-repeat;
}


@keyframes chatbot-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.15);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}

#scale-chatbot-box {
  width: 340px;
  background: #152153;
  border-radius: 12px;
  box-shadow: 0 3px 16px #02061780;
  padding: 12px 15px;
  margin-bottom: 10px;
  flex-direction: column;
  color: #d1d5db;
}

.scale-chatbot-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scale-chatbot-header .logo {
  display: flex !important;
  align-items: center;
  gap: 10px;
}

.scale-chatbot-header .logo span {
  font-size: 22px;
  font-weight: 600;
}

.scale-chatbot-header .logo img {
  height: 44px;
}

.scale-chatbot-header button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #b2b5bb;
  padding: 0;
}

.scale-chatbot-body {
  max-height: calc(100vh - 174px) !important;
  overflow-y: auto;
  padding-top: 10px;
}

.chatbot-label {
  display: inline-block;
  font-weight: 600;
  font-size: 16px;

  background: linear-gradient(90deg, #ffffff, #83869d, #ffffff);

  background-size: 200% 100%;
  background-position: 0% 50%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

@media (max-width: 768px) {
  .scale-chatbot-body {
    max-height: 550px;
  }
}

.scale-chatbot-greeting {
  font-size: 18px;
  font-weight: 600;
}

.scale-chatbot-main {
  padding-top: 70px;
}

.scale-chatbot-main p {
  margin-bottom: 24px;
}

.scale-chatbot-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.scale-chatbot-menu li {
  margin-bottom: 10px;
}

.scale-chatbot-link {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 12px 16px;
  background: #030b31;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid #4f46e580;
  color: #d1d5db;
  font-weight: 600;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.scale-chatbot-link span {
  color: #7c3aed;
  font-size: 16px;
}

.scale-chatbot-screen {
  display: none;
}

.accordion {
  margin-bottom: 20px;
}

.accordion .accordion-toggle {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: #030b31;
  cursor: pointer;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid #4f46e580;
  margin-bottom: 6px;
  transition: background 0.3s ease;
  position: relative;
  padding-right: 30px;
  color: #d1d5db;
  font-size: 16px;
  line-height: 24px;
}

.accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #030b31;
  padding: 0 16px;
  border-radius: 0 0 6px 6px;
  font-size: 14px;
  color: #d1d5db;
}

.accordion .accordion-content ul {
  padding: 10px;
  margin: 0;
}

.accordion .accordion-content p {
  margin: 12px 0;
}

.accordion-arrow {
  position: absolute;
  right: 12px;
  top: 12px;
  transform: rotate(90deg);
  transition: transform 0.3s ease;
  color: #7c3aed;
  font-size: 18px;
  font-weight: 600;
}

.accordion-toggle.active .accordion-arrow {
  transform: rotate(-90deg);
}

.faq-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  color: #d4c1f4;
}

.faq-line {
  width: 3px;
  height: 18px;
  background: #7c3aed;
  margin-right: 8px;
  border-radius: 2px;
}

.scale-chatbot-launcher {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
}

.chatbot-label.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Message Block */

.message-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 20px;
  font-weight: 600;
}

.message-avatar {
  font-size: 20px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 1px solid #dbdbdd;
  width: 40px;
  height: 40px;
  text-align: center;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-options {
  list-style: none;
  padding: 0;
}

.message-options li {
  margin-bottom: 10px;
}

.scale-chatbot-message .scale-chatbot-menu {
  margin-top: 12px;
}

.chatbot-form-shortcode {
  margin-top: 16px;
}

.scale-chatbot-paragraph {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
}

/* Video Block */
.scale-chatbot-video {
  padding-top: 20px;
}

.scale-chatbot-video h5,
.video-form h5 {
  text-align: center;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 24px;
}

.scale-chatbot-video p {
  font-size: 14px;
  margin-bottom: 16px;
}

.video-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.video-list li {
  margin-bottom: 16px;
}

.video-list a {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.video-list a:hover {
  color: #7c3aed;
}

.video-list img {
  width: 90px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.video-meta p {
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 0;
}

.video-meta span {
  font-size: 12px;
  color: #666;
}

/* Form */

.iti__country {
  color: #000 !important;
}