.ev-chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99999;
  font-family: inherit;
}

.ev-chatbot * {
  box-sizing: border-box;
}

.ev-chatbot__launcher {
  min-width: 64px;
  height: 58px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .22);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.ev-chatbot__launcher:hover,
.ev-chatbot__launcher:focus {
  transform: translateY(-2px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, .28);
  outline: none;
}

.ev-chatbot__launcher-icon {
  font-size: 22px;
  line-height: 1;
}

.ev-chatbot__panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .08);
  box-shadow: 0 24px 70px rgba(15, 23, 42, .20);
}

.ev-chatbot__header {
  min-height: 68px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #111827;
  color: #ffffff;
}

.ev-chatbot__header strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.ev-chatbot__header span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  opacity: .75;
}

.ev-chatbot__close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.ev-chatbot__messages {
  height: 300px;
  padding: 16px;
  overflow-y: auto;
  background: #f6f8fa;
}

.ev-chatbot__message {
  max-width: 86%;
  margin-bottom: 10px;
  padding: 11px 13px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}

.ev-chatbot__message--bot {
  margin-right: auto;
  border-bottom-left-radius: 5px;
  background: #ffffff;
  color: #111827;
  border: 1px solid rgba(15, 23, 42, .06);
}

.ev-chatbot__message--user {
  margin-left: auto;
  border-bottom-right-radius: 5px;
  background: #e9540d;
  color: #ffffff;
}

.ev-chatbot__quick-actions {
  padding: 10px 14px 0;
  background: #ffffff;
}

.ev-chatbot__quick-actions a {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 197, 94, .12);
  color: #15803d;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ev-chatbot__form {
  padding: 14px;
  display: flex;
  gap: 8px;
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, .08);
}

.ev-chatbot__form input {
  flex: 1;
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid rgba(15, 23, 42, .13);
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  font-size: 14px;
}

.ev-chatbot__form input:focus {
  outline: none;
  border-color: #e9540d;
  box-shadow: 0 0 0 4px rgba(233, 84, 13, .12);
}

.ev-chatbot__form button {
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #e9540d;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.ev-chatbot__form button:disabled {
  opacity: .65;
  cursor: wait;
}

@media (max-width: 575.98px) {
  .ev-chatbot {
    right: 14px;
    bottom: 14px;
  }

  .ev-chatbot__panel {
    right: -2px;
    bottom: 70px;
    width: calc(100vw - 28px);
  }

  .ev-chatbot__messages {
    height: 280px;
  }

  .ev-chatbot__launcher-text {
    display: none;
  }
}
