.sk-chatbot {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1100;
  font-family: "Consolas", "Courier New", monospace;
}

.sk-chatbot__sticky-cta {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1095;
  border: 1px solid rgba(52, 211, 255, 0.65);
  background: rgba(11, 16, 32, 0.95);
  color: #34d3ff;
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.78rem;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(2, 6, 18, 0.45);
}

.sk-chatbot.is-open .sk-chatbot__sticky-cta {
  opacity: 0;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .sk-chatbot__sticky-cta {
    display: none;
  }
}

.sk-chatbot__sticky-cta:hover,
.sk-chatbot__sticky-cta:focus-visible {
  color: #081225;
  background: #34d3ff;
}

.sk-chatbot__launcher {
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 0.92rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: 1px solid rgba(155, 168, 206, 0.4);
  border-radius: 999px;
  background: linear-gradient(140deg, #34d3ff 0%, #8d7dff 100%);
  color: #081225;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(2, 6, 18, 0.45);
  cursor: pointer;
}

.sk-chatbot__launcher-mark {
  font-size: 0.92rem;
  line-height: 1;
}

.sk-chatbot__launcher-text {
  font-size: 0.8rem;
  line-height: 1;
}

.sk-chatbot__launcher:hover,
.sk-chatbot__launcher:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(2, 6, 18, 0.55);
}

.sk-chatbot__panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 4.1rem;
  width: min(360px, calc(100vw - 1.5rem));
  max-height: min(72vh, 620px);
  background: #0f1730;
  border: 1px solid rgba(155, 168, 206, 0.3);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 25px 45px rgba(2, 6, 18, 0.52);
}

.sk-chatbot.is-open .sk-chatbot__panel {
  display: flex;
  flex-direction: column;
}

.sk-chatbot__header {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(155, 168, 206, 0.24);
  background: rgba(11, 16, 32, 0.9);
}

.sk-chatbot__title {
  margin: 0;
  color: #eaf0ff;
  font-size: 0.93rem;
}

.sk-chatbot__sub {
  margin: 0.2rem 0 0;
  font-size: 0.74rem;
  color: #9ba8ce;
}

.sk-chatbot__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.sk-chatbot__action {
  border: 1px solid rgba(155, 168, 206, 0.35);
  background: #141b34;
  color: #d8e1ff;
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-size: 0.69rem;
  cursor: pointer;
}

.sk-chatbot__action:hover,
.sk-chatbot__action:focus-visible {
  border-color: #34d3ff;
  color: #34d3ff;
}

.sk-chatbot__close {
  border: 0;
  background: transparent;
  color: #9ba8ce;
  font-size: 1.15rem;
  cursor: pointer;
}

.sk-chatbot__messages {
  padding: 0.8rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 240px;
}

.sk-chatbot__bubble {
  max-width: 92%;
  border: 1px solid rgba(155, 168, 206, 0.24);
  border-radius: 10px;
  padding: 0.62rem 0.7rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.sk-chatbot__time {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.66rem;
  color: #9ba8ce;
}

.sk-chatbot__hint {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  color: #9ba8ce;
}

.sk-chatbot__hint code {
  background: rgba(52, 211, 255, 0.14);
  border: 1px solid rgba(52, 211, 255, 0.35);
  border-radius: 4px;
  padding: 0.08rem 0.3rem;
  color: #9be9ff;
}

.sk-chatbot__bubble a {
  color: #34d3ff;
}

.sk-chatbot__resource-card,
.sk-chatbot__compare-card {
  margin-top: 0.5rem;
  border: 1px solid rgba(155, 168, 206, 0.28);
  border-radius: 8px;
  background: rgba(11, 16, 32, 0.75);
  padding: 0.45rem 0.5rem;
}

.sk-chatbot__resource-card p,
.sk-chatbot__compare-card p {
  margin-bottom: 0.35rem;
}

.sk-chatbot__compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.sk-chatbot__compare-grid > div {
  border: 1px solid rgba(155, 168, 206, 0.22);
  border-radius: 6px;
  padding: 0.35rem;
}

.sk-chatbot__bubble--bot {
  align-self: flex-start;
  background: rgba(20, 27, 52, 0.9);
  color: #eaf0ff;
}

.sk-chatbot__bubble--user {
  align-self: flex-end;
  background: rgba(52, 211, 255, 0.12);
  color: #eaf0ff;
}

.sk-chatbot__typing {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.sk-chatbot__typing span {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: #8db6ff;
  opacity: 0.35;
  animation: sk-chat-typing 1s infinite ease-in-out;
}

.sk-chatbot__typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.sk-chatbot__typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.sk-chatbot__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.sk-chatbot__chip {
  border: 1px solid rgba(155, 168, 206, 0.3);
  background: #141b34;
  color: #d8e1ff;
  border-radius: 999px;
  padding: 0.24rem 0.52rem;
  font-size: 0.72rem;
  cursor: pointer;
}

.sk-chatbot__chip:hover,
.sk-chatbot__chip:focus-visible {
  border-color: #34d3ff;
  color: #34d3ff;
}

.sk-chatbot__form {
  display: flex;
  gap: 0.45rem;
  border-top: 1px solid rgba(155, 168, 206, 0.24);
  padding: 0.7rem;
}

.sk-chatbot__input {
  flex: 1;
  border-radius: 8px;
  border: 1px solid rgba(155, 168, 206, 0.32);
  background: #0b1020;
  color: #eaf0ff;
  padding: 0.52rem 0.62rem;
  font-size: 0.82rem;
}

.sk-chatbot__input::placeholder {
  color: #8e9ac0;
}

.sk-chatbot__send {
  border-radius: 8px;
  border: 1px solid #34d3ff;
  background: transparent;
  color: #34d3ff;
  padding: 0.48rem 0.66rem;
  font-size: 0.8rem;
  cursor: pointer;
}

.sk-chatbot__send:hover,
.sk-chatbot__send:focus-visible {
  background: #34d3ff;
  color: #081225;
}

@keyframes sk-chat-typing {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@media (max-width: 576px) {
  .sk-chatbot {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .sk-chatbot__panel {
    width: calc(100vw - 1.5rem);
    max-height: 72vh;
  }

  .sk-chatbot__launcher {
    width: 3.25rem;
    padding: 0;
  }

  .sk-chatbot__launcher-text {
    display: none;
  }

  .sk-chatbot__compare-grid {
    grid-template-columns: 1fr;
  }
}
