.jh-chat {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  font-family: Figtree, system-ui, sans-serif;
}

.jh-chat__toggle {
  background: #0f766e;
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(12, 31, 46, 0.25);
}

.jh-chat__toggle:hover {
  background: #0a5c56;
}

.jh-chat__panel {
  position: absolute;
  right: 0;
  bottom: 3.4rem;
  width: min(340px, calc(100vw - 2rem));
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(12, 31, 46, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 420px;
}

.jh-chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background: #0c1f2e;
  color: #f3f0ea;
}

.jh-chat__close {
  background: transparent;
  border: 0;
  color: #f3f0ea;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.jh-chat__log {
  padding: 0.75rem;
  overflow-y: auto;
  flex: 1;
  background: #f3f0ea;
}

.jh-chat__bubble {
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
  line-height: 1.4;
  max-width: 95%;
}

.jh-chat__bubble--bot {
  background: #fff;
  color: #0c1f2e;
}

.jh-chat__bubble--user {
  background: #0f766e;
  color: #fff;
  margin-left: auto;
}

.jh-chat__form {
  display: flex;
  gap: 0.35rem;
  padding: 0.55rem;
  border-top: 1px solid rgba(12, 31, 46, 0.1);
  background: #fff;
}

.jh-chat__input {
  flex: 1;
  border: 1px solid rgba(12, 31, 46, 0.18);
  border-radius: 4px;
  padding: 0.5rem 0.6rem;
  font: inherit;
}

.jh-chat__send {
  background: #c45c26;
  color: #fff;
  border: 0;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
