/* General styles */
.body-fixed #chat-container {
  z-index: 1020;
  transition: z-index 350ms ease-in;
}

#chat-container {
  z-index: 1091;
  max-width: 100%;
  position: fixed;
  bottom: 10vw;
  right: 0;
  padding: 0 2vw 0 0;
  display: flex;
  align-items: flex-end;
  backface-visibility: hidden;
  justify-content: flex-end;
}

#chat-container .remove-chat {
  position: absolute;
  z-index: 3;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
}

#chat-container .remove-chat:hover {
  cursor: pointer;
}

#chat-container .chat-btn {
  display: flex;
  height: 60px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 0;
  border-radius: 30px;
  justify-content: flex-start;
  align-items: center;
  margin-left: auto;
  position: relative;
  color: inherit;
  width: 60px;
  padding: 0;
  gap: 0;
  transition: 0.3s all ease-in-out;
}

#chat-container .chat-btn.active {
  width: 95vw;
  padding: 0.2rem 0.9rem 0.2rem 0.5rem;
  gap: 1rem;
}

#chat-container .chat-btn:hover {
  cursor: pointer;
}

#chat-container .btn-icon {
  position: relative;
  width: 56px;
  height: 56px;
  top: -10px;
  left: 8px;
}

#chat-container .btn-content.hidden,
#chat-container .btn-content.hidden > * {
  opacity: 0;
  height: 0;
  width: 0;
}

#chat-container .btn-content {
  display: flex;
  opacity: 1;
  height: 100%;
  width: 100%;
  align-items: center;
  font-size: 13px;
  gap: 0.5rem;
  text-align: left;
  overflow: hidden;
}

#chat-container .btn-content > .btn-link {
  text-decoration: none;
  padding-bottom: 3px;
}

#chat-container .btn-content > * {
  transition: 0.2s ease-in-out;
  transition-delay: 0.2s;
  line-height: 1.1;
}

@media screen and (min-width: 768px) {
  #chat-container {
    bottom: 0;
    width: auto;
    padding: 2em;
    z-index: 1020;
  }

  #chat-container .chat-btn.active {
    width: 450px;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    gap: 1rem;
  }

  #chat-container .btn-content > * {
    line-height: 1.3;
  }
}

/* Toyota styles */
#chat-container.toyota .chat-btn {
  background: #ffffff;
}

#chat-container.toyota .btn-content > * {
  color: #282830;
}

#chat-container.toyota .btn-content > .btn-link {
  color: #282830;
  border-bottom: 1px solid #282830;
}

@media screen and (min-width: 768px) {
  #chat-container.toyota .chat-btn.active {
    width: 500px;
  }
}

/* Kinto styles */
#chat-container.kinto .chat-btn {
  background: #00708d;
}

#chat-container.kinto .btn-content > * {
  color: #ffffff;
}

#chat-container.kinto .btn-content > .btn-link {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

/* Lexus styles */
#chat-container.lexus .chat-btn {
  background: #ffffff;
}

#chat-container.lexus .btn-content > * {
  font-size: 15px;
  color: #1a1a1f;
}

#chat-container.lexus .btn-icon {
  width: 48px;
  height: 48px;
  top: 0px;
  left: 5px;
}

#chat-container.lexus .btn-content > .btn-link {
  font-family: "Nobel Bold", helvetica, arial, roboto, sans-serif;
  color: #20365c;
  border-bottom: 2px solid #20365c;
  text-transform: uppercase;
}
