.limo-chatbot {
  --limo-primary: #111827;
  --limo-accent: #f97316;
  --limo-surface: #ffffff;
  --limo-muted: #6b7280;
  --limo-border: #e5e7eb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  position: fixed;
  bottom: 18px;
  z-index: 99999;
}

.limo-chatbot--right {
  right: 18px;
}

.limo-chatbot--left {
  left: 18px;
}

.limo-chatbot__launcher {
  align-items: center;
  background: var(--limo-primary);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.22);
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 9px;
  min-height: 52px;
  padding: 8px 16px 8px 8px;
}

.limo-chatbot__launcher-mark {
  align-items: center;
  background: var(--limo-accent);
  border-radius: 50%;
  display: inline-flex;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.limo-chatbot__launcher-text {
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.limo-chatbot__panel {
  background: var(--limo-surface);
  border: 1px solid var(--limo-border);
  border-radius: 8px;
  bottom: 66px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.24);
  display: none;
  height: min(620px, calc(100vh - 96px));
  overflow: hidden;
  position: absolute;
  width: min(380px, calc(100vw - 32px));
}

.limo-chatbot--right .limo-chatbot__panel {
  right: 0;
}

.limo-chatbot--left .limo-chatbot__panel {
  left: 0;
}

.limo-chatbot--open .limo-chatbot__panel {
  display: flex;
  flex-direction: column;
}

.limo-chatbot__header {
  align-items: center;
  background: var(--limo-primary);
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  min-height: 62px;
  padding: 12px 14px;
}

.limo-chatbot__header strong,
.limo-chatbot__header span {
  display: block;
}

.limo-chatbot__header strong {
  font-size: 16px;
  line-height: 1.2;
}

.limo-chatbot__header span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  margin-top: 2px;
}

.limo-chatbot__close {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: 24px;
  height: 36px;
  justify-content: center;
  line-height: 1;
  width: 36px;
}

.limo-chatbot__messages {
  background: #f8fafc;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 14px;
}

.limo-chatbot__message {
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  max-width: 86%;
  overflow-wrap: anywhere;
  padding: 10px 12px;
}

.limo-chatbot__message--bot {
  align-self: flex-start;
  background: #ffffff;
  border: 1px solid var(--limo-border);
  color: #111827;
}

.limo-chatbot__message--user {
  align-self: flex-end;
  background: var(--limo-primary);
  color: #ffffff;
}

.limo-chatbot__form {
  align-items: flex-end;
  background: #ffffff;
  border-top: 1px solid var(--limo-border);
  display: flex;
  gap: 8px;
  padding: 10px;
}

.limo-chatbot__input {
  border: 1px solid var(--limo-border);
  border-radius: 8px;
  color: #111827;
  flex: 1;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  max-height: 112px;
  min-height: 42px;
  outline: none;
  padding: 10px 11px;
  resize: none;
}

.limo-chatbot__input:focus {
  border-color: var(--limo-accent);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.limo-chatbot__send {
  background: var(--limo-accent);
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  height: 42px;
  min-width: 68px;
  padding: 0 14px;
}

.limo-chatbot__send:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 520px) {
  .limo-chatbot {
    bottom: 12px;
  }

  .limo-chatbot--right,
  .limo-chatbot--left {
    left: 12px;
    right: 12px;
  }

  .limo-chatbot__panel {
    bottom: 64px;
    height: min(560px, calc(100vh - 88px));
    left: 0;
    right: 0;
    width: auto;
  }
}
