body:not(.login-page) .stake-chatbot {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 1050;
  font-family: inherit;
  overflow: visible;
}

.stake-chatbot__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 0;
  border-radius: 999px;
  background: #0091bc;
  color: #fff;
  padding: 11px 14px 11px 74px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 78, 120, 0.28);
  overflow: visible;
  position: relative;
  min-height: 48px;
}

.stake-chatbot__toggle > span {
  position: relative;
  z-index: 2;
}

img.stake-chatbot__toggle-icon {
  display: block;
  position: absolute;
  left: -28px;
  top: 50%;
  width: auto;
  height: 128px;
  max-width: none;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  transform: translateY(calc(-50% - 14px));
  z-index: 1;
  pointer-events: none;
}

.stake-chatbot__toggle:hover,
.stake-chatbot__toggle:focus {
  background: #007fa5;
  color: #fff;
  outline: none;
}

.stake-chatbot__panel {
  display: none;
  position: absolute;
  right: 0;
  bottom: 78px;
  width: min(380px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 110px));
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(0, 90, 130, 0.16);
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(15, 46, 70, 0.25);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

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

.stake-chatbot__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 15px;
  color: #fff;
  background: #0091bc;
  overflow: visible;
}

.stake-chatbot__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

img.stake-chatbot__header-icon {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 104px;
  max-width: none;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: -24px 0;
  position: relative;
  z-index: 1;
  pointer-events: none;
}

.stake-chatbot__close {
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  padding: 3px 5px;
}

.stake-chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: linear-gradient(180deg, rgba(245, 250, 253, 0.86), rgba(255, 255, 255, 0.92));
}

.stake-chatbot__message {
  max-width: 88%;
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.35;
  font-size: 14px;
}

.stake-chatbot__message--bot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  color: #2c3b45;
  border: 1px solid rgba(0, 91, 130, 0.12);
  border-top-left-radius: 4px;
  overflow: visible;
}

img.stake-chatbot__avatar {
  flex: 0 0 auto;
  display: block;
  width: auto;
  height: 76px;
  max-width: none;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: -10px 0 0;
  pointer-events: none;
}

.stake-chatbot__bubble-text {
  min-width: 0;
}

.stake-chatbot__bubble-text a,
.stake-chatbot__message--bot a.stake-chatbot__action-link {
  color: #0b6f96;
  font-weight: 600;
  text-decoration: underline;
}

.stake-chatbot__bubble-text a.stake-chatbot__action-link {
  display: inline-block;
  margin-top: 2px;
}

.stake-chatbot__message--user {
  margin-left: auto;
  background: #e4f4fb;
  color: #143d54;
  border-top-right-radius: 4px;
}

.stake-chatbot__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 0 14px 12px;
  background: rgba(255, 255, 255, 0.94);
}

.stake-chatbot__quick button {
  border: 1px solid rgba(0, 91, 130, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #1d5a77;
  padding: 6px 10px;
  font-size: 12px;
}

.stake-chatbot__quick button:hover,
.stake-chatbot__quick button:focus {
  background: #e8f6fb;
  outline: none;
}

.stake-chatbot__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(0, 91, 130, 0.12);
  background: #fff;
}

.stake-chatbot__input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(0, 91, 130, 0.24);
  border-radius: 999px;
  padding: 9px 12px;
}

.stake-chatbot__send {
  border: 0;
  border-radius: 999px;
  background: #0091bc;
  color: #fff;
  padding: 9px 13px;
}

.stake-chatbot__send:hover,
.stake-chatbot__send:focus {
  background: #007fa5;
  outline: none;
}

.stake-chatbot a {
  color: #007fa5;
  font-weight: 700;
}

@media (max-width: 767px) {
  body:not(.login-page) .stake-chatbot {
    right: 10px;
    bottom: 10px;
  }

  .stake-chatbot__toggle span {
    display: inline;
    white-space: nowrap;
  }

  .stake-chatbot__toggle {
    width: auto;
    height: auto;
    min-height: 40px;
    justify-content: flex-start;
    gap: 0;
    padding: 8px 12px 8px 58px;
    font-size: 12px;
    box-shadow: 0 5px 14px rgba(0, 78, 120, 0.2);
  }

  img.stake-chatbot__toggle-icon {
    height: 100px;
    left: -22px;
    transform: translateY(calc(-50% - 10px));
  }

  img.stake-chatbot__header-icon {
    height: 84px;
    margin: -18px 0;
  }

  img.stake-chatbot__avatar {
    height: 64px;
    margin-top: -6px;
  }

  .stake-chatbot__panel {
    bottom: 68px;
    width: min(340px, calc(100vw - 18px));
    max-height: calc(100vh - 92px);
  }
}

@media print {
  .stake-chatbot {
    display: none !important;
  }
}