.info-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99999;
  font-family: inherit;
}

.info-chat-fab {
  position: relative;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #26917a, #197461);
  color: #fff;
  font-size: 26px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 15px 35px rgba(25, 116, 97, 0.35),
    0 4px 10px rgba(0, 0, 0, 0.12);

  transition: 0.25s;
}

.info-chat-fab:hover {
  transform: translateY(-3px) scale(1.03);
}

.info-chat-badge {
  position: absolute;
  right: -1px;
  top: -2px;

  width: 21px;
  height: 21px;

  background: #ed1c24;
  color: white;

  border-radius: 50%;
  border: 3px solid white;

  font-size: 10px;
  font-weight: 800;

  display: flex;
  align-items: center;
  justify-content: center;
}

.info-chat-window {
  display: none;

  position: absolute;
  right: 0;
  bottom: 78px;

  width: 390px;
  max-width: calc(100vw - 30px);

  background: #fff;
  border-radius: 24px;
  overflow: hidden;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);

  border: 1px solid rgba(38, 145, 122, 0.15);
}

.info-chat-window.show {
  display: block;
  animation: chatOpen 0.25s ease;
}

@keyframes chatOpen {
  from {
    opacity: 0;
    transform: translateY(15px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* HEADER */

.info-chat-header {
  min-height: 88px;
  padding: 16px 18px;

  background: linear-gradient(135deg, #197461, #26917a);

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: #fff;
}

.info-chat-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-chat-brand img {
  width: 47px;
  height: 47px;

  object-fit: contain;

  background: white;
  border-radius: 13px;
  padding: 5px;
}

.info-chat-brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.info-chat-brand small {
  display: block;
  margin-top: 3px;
  opacity: 0.8;
  font-size: 11px;
}

.info-chat-header > button {
  width: 36px;
  height: 36px;

  border: 0;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.18);
  color: #fff;

  cursor: pointer;
}

/* BODY */

.info-chat-body {
  height: 380px;
  overflow-y: auto;

  padding: 20px 17px;

  background: linear-gradient(180deg, #f4f9f7 0%, #ffffff 55%);
}

.chat-row {
  display: flex;
  gap: 9px;
  margin-bottom: 13px;
}

.chat-row.user {
  justify-content: flex-end;
}

.chat-avatar {
  flex: 0 0 31px;

  width: 31px;
  height: 31px;

  border-radius: 50%;

  background: #26917a;
  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 13px;
}

.chat-bubble {
  max-width: 78%;

  background: #fff;

  border-radius: 6px 17px 17px 17px;

  padding: 11px 14px;

  font-size: 13px;
  line-height: 1.55;

  color: #37433f;

  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
}

.chat-bubble p {
  margin: 4px 0 0;
}

.chat-row.user .chat-bubble {
  background: #26917a;
  color: #fff;

  border-radius: 17px 6px 17px 17px;
}

/* QUICK MENU */

.chat-quick-menu {
  display: grid;
  gap: 8px;

  margin: 7px 0 15px 40px;
}

.chat-quick-menu button {
  width: 100%;

  border: 1px solid rgba(38, 145, 122, 0.2);
  background: #fff;

  color: #197461;

  border-radius: 12px;

  padding: 10px 12px;

  text-align: left;

  font-size: 12px;
  font-weight: 700;

  cursor: pointer;

  transition: 0.2s;
}

.chat-quick-menu button i {
  margin-right: 7px;
}

.chat-quick-menu button:hover {
  background: #eaf6f2;
  border-color: #26917a;
}

/* FOOTER */

.info-chat-footer {
  padding: 13px 14px 10px;

  background: #fff;

  border-top: 1px solid #e8efec;
}

.info-chat-footer form {
  display: flex;
  gap: 8px;
}

.info-chat-footer input {
  flex: 1;

  min-width: 0;

  border: 1px solid #dce7e3;

  border-radius: 14px;

  padding: 11px 13px;

  outline: none;

  font-size: 13px;
}

.info-chat-footer input:focus {
  border-color: #26917a;

  box-shadow: 0 0 0 3px rgba(38, 145, 122, 0.1);
}

.info-chat-footer form button {
  flex: 0 0 44px;

  width: 44px;
  height: 44px;

  border: 0;
  border-radius: 13px;

  background: #ffa515;
  color: #fff;

  cursor: pointer;

  font-size: 17px;
}

.info-chat-footer > small {
  display: block;

  margin-top: 8px;

  text-align: center;

  color: #9aa6a2;

  font-size: 9px;
}

@media (max-width: 576px) {
  .info-chat {
    right: 15px;
    bottom: 18px;
  }

  .info-chat-window {
    position: fixed;

    left: 12px;
    right: 12px;
    bottom: 92px;

    width: auto;
  }

  .info-chat-body {
    height: 360px;
  }
}
.chat-link-button {
  border: 0;
  background: #26917a;
  color: #fff;
  padding: 9px 13px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.chat-link-button:hover {
  background: #197461;
}
