#chat-master > button {
  position: fixed;
  right: 0;
  bottom: 0;
  background-color: #e5e5e5;
  border: none;
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  padding: 0 0 5px 0;
  transition: background-color ease-in-out 0.3s;
}

#chat-master > button:hover,
#chat-master > button:focus {
  background-color: #72728a;
  color: white;
}

#chat-master > button:active {
  padding-left: 0;
}

#chat-master > button .chat-icon {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg version='1.1' id='Lag_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 32.2 32.2' style='enable-background:new 0 0 32.2 32.2;' xml:space='preserve'%3E%3Cstyle type='text/css'%3E .st0%7Bfill:%23FFFFFF;%7D%0A%3C/style%3E%3Cpath class='st0' d='M27.5,4.7C21.2-1.6,11-1.6,4.7,4.7C-0.9,10.4-1.5,19.2,3,25.5l-3,6.7l6.7-3c6.3,4.5,15.1,4,20.8-1.7 C33.8,21.2,33.8,11,27.5,4.7z M9.7,18c-1.1,0-1.9-0.9-1.9-1.9s0.9-1.9,1.9-1.9s1.9,0.9,1.9,1.9S10.7,18,9.7,18z M16.1,18 c-1.1,0-1.9-0.9-1.9-1.9s0.9-1.9,1.9-1.9S18,15,18,16.1S17.2,18,16.1,18z M22.5,18c-1.1,0-1.9-0.9-1.9-1.9s0.9-1.9,1.9-1.9 s1.9,0.9,1.9,1.9S23.6,18,22.5,18z'/%3E%3C/svg%3E");
  background-size: 35px 35px;
  background-color: #14143c;
  background-repeat: no-repeat;
  background-position: center center;
}

#chat-replica {
  position: fixed;
  right: 0;
  bottom: 0;
  width: 395px;
  height: 600px;
  max-width: 100vw;
  max-height: 100vh;
}

#chat-replica .chat-overlay {
  right: 15px;
  top: 15px;
  width: calc(100% - 30px);
  height: calc(100% - 30px);
  box-shadow: 0px 5px 15px 1px rgba(0, 0, 0, 0.6);
  border-radius: 5px;
  border: 1px solid #aaa;
  position: absolute;
  background-color: white;
}

#chat-replica .chat-overlay-header {
  background-color: #14143c;
  color: white;
  font-size: 18px;
  font-family: "Academy Sans", sans-serif;
  font-weight: 500;
  height: 50px;
  padding-left: 41px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#chat-replica .chat-overlay-header .btn {
  color: white;
  min-width: 50px;
  display: flex;
  font-size: 29px;
  max-height: 50px;
  align-items: center;
}

#chat-replica .chat-overlay-body {
  padding: 1rem;
}
