.igs-live-chat-root {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 100060;
  font-family: var(--igs-font-body, Montserrat, "Segoe UI", sans-serif);
  pointer-events: none;
}

.igs-live-chat-root > * {
  pointer-events: auto;
}

.igs-live-chat-launcher {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--igs-live-chat-accent, #25d366);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.igs-live-chat-launcher:hover,
.igs-live-chat-launcher:focus-visible {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
  outline: none;
}

.igs-live-chat-launcher svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.igs-live-chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 1.5rem));
  border-radius: 18px;
  overflow: hidden;
  background: #0d120f;
  color: #f4f7f2;
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}

.igs-live-chat-panel[hidden] {
  display: none !important;
}

.igs-live-chat-panel__head {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, #128c7e, #25d366);
}

.igs-live-chat-panel__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.igs-live-chat-panel__meta strong {
  display: block;
  font-size: 0.98rem;
}

.igs-live-chat-panel__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  opacity: 0.95;
}

.igs-live-chat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9fdd3;
}

.igs-live-chat-dot.is-busy,
.igs-live-chat-dot.is-offline {
  background: #ffd18a;
}

.igs-live-chat-panel__body {
  padding: 1rem;
}

.igs-live-chat-bubble {
  background: #1a241d;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.igs-live-chat-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
}

.igs-live-chat-quick button {
  appearance: none;
  border: 1px solid rgba(37, 211, 102, 0.45);
  background: transparent;
  color: #d9fdd3;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  font: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.igs-live-chat-quick button:hover {
  background: rgba(37, 211, 102, 0.12);
}

.igs-live-chat-answer {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  font-size: 0.84rem;
  line-height: 1.45;
}

.igs-live-chat-answer[hidden] {
  display: none !important;
}

.igs-live-chat-cta {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #25d366;
  color: #073b24;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
}

.igs-live-chat-cta:hover {
  filter: brightness(1.05);
  color: #042616;
}

.igs-live-chat-close {
  margin-left: auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 600px) {
  .igs-live-chat-root {
    right: 0.8rem;
    bottom: 0.8rem;
  }
}
