* {
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif !important;
}

#gg-help-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #661AFF;
  color: white;
  font-size: 22px;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  box-shadow: 0 0 12px rgba(101, 44, 177, 0.5);
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

#icon-chatbot.img{
  width: 25px;
  color: red;
}

#gg-help-button.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { box-shadow: 0 0 12px rgba(101, 44, 177, 0.5); }
  50% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.8); }
}

#gg-help-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 360px;
  height: 520px;
  background: #0e0d1b;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(101, 44, 177, 0.6);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 99999;
  animation: slideUp 0.3s ease-out;
  font-family: 'Poppins', sans-serif;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

.gg-help-hide {
  animation: slideDown 0.3s ease-in forwards;
}

#gg-help-header {
  background: #661AFF;
  color: white;
  padding: 16px;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#gg-help-body {
  flex: 1;
  background: #141324;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.gg-help-msg-bot {
  background: #661AFF;
  color: white;
  align-self: flex-start;
  padding: 10px 14px;
  border-radius: 16px 16px 16px 6px;
  margin-bottom: 10px;
  max-width: 80%;
  font-size: 14px;
}

.gg-help-msg-user {
  background: #2c2b3e;
  color: #f1f1f1;
  align-self: flex-end;
  padding: 10px 14px;
  border-radius: 16px 16px 6px 16px;
  margin-bottom: 10px;
  max-width: 80%;
  font-size: 14px;
}

.gg-help-msg-bot strong {
  font-weight: 600;
  color: #ffffff;
}

.gg-help-msg-bot em {
  font-style: italic;
  color: #cccccc;
}

.gg-help-msg-bot ul,
.gg-help-msg-bot ol {
  padding-left: 20px;
  margin: 10px 0;
}

.gg-help-msg-bot a {
  color: #fff;
  text-decoration: underline;
}

.gg-help-typing {
  font-size: 13px;
  padding: 10px 14px;
  background: #34314d;
  color: #ddd;
  border-radius: 12px;
  max-width: fit-content;
  align-self: flex-start;
  margin-bottom: 10px;
  opacity: 0.75;
  font-style: italic;
}

.dot-loader span {
  animation: blinkDots 1.4s infinite;
  display: inline-block;
}

.dot-loader span:nth-child(2) { animation-delay: 0.2s; }
.dot-loader span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blinkDots {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

#gg-help-footer {
  padding: 14px;
  background: #0e0d1b;
  display: flex;
  gap: 10px;
  border-top: 1px solid #2a2740;
}

#gg-help-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #3f3c5c;
  border-radius: 8px;
  background: #1c1b30;
  color: #e1e1e6;
  outline: none;
}

#gg-help-send {
  background: #661AFF;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
}

.gg-help-close {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

#icon-chatbot{
  width: 24px;
  color: #661AFF;
}