:root {
  --layout-height: 80vh;
}
/*===========================
   CHAT BOOT MESSENGER
===========================*/

.va-button {
  position: fixed;
  z-index: 10000;
  width: 50px;
  height: 50px;
  right: 15px;
  bottom:20px;
  background-color: #fe1743;
  color: rgb(255, 255, 255);
  border-radius: 50%;
  text-align: center;
  padding: 9px;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border:none;
}

.va-button-icon{
  border:none;
  fill: #fff;
}

#chat-close-icon {
  width: 1em;
  height: 1em;
  margin-left: auto;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  border: 0;
  filter: invert(1) grayscale(100%) brightness(200%);
  cursor: pointer;
}

#va-smallchat {
  font-size: 16px;
}

.layout {
  height: var(--layout-height);
  width: 25em;
  position: fixed;
  bottom: 20px;
  right: 20px;
  overflow: hidden;
  animation: appear .15s cubic-bezier(.25,.25,.5,1.1);
  background-color: #fff;
  border-radius: 10px;
  transition: right .1s cubic-bezier(.25,.25,.5,1),bottom .1s cubic-bezier(.25,.25,.5,1),min-width .2s cubic-bezier(.25,.25,.5,1),max-width .2s cubic-bezier(.25,.25,.5,1),min-height .2s cubic-bezier(.25,.25,.5,1),max-height .2s cubic-bezier(.25,.25,.5,1),border-radius 50ms cubic-bezier(.25,.25,.5,1) .15s,background-color 50ms cubic-bezier(.25,.25,.5,1) .15s,color 50ms cubic-bezier(.25,.25,.5,1) .15s;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
  z-index: 10000;
}

@keyframes appear {
  0% {
    opacity:0;
    -webkit-transform:scale(0);
    transform:scale(0);
  }
  to {
    opacity:1;
    -webkit-transform:scale(1);
    transform:scale(1);
  }
}

.messenger-header {
  display: flex;
  gap: 10px;
  height: 5em;
  align-items: center;
  padding: 0 10px;
  background-color: #fe1743;
  color: #fff;
  }

.title_h1 {
  font-weight: bold;
  font-size: 1em;
  margin: 0;
}

@keyframes slidein {
  0% {
    opacity:0;
    -webkit-transform:translateX(10px);
    transform:translateX(10px)
  }
  to {
    opacity:1;
    -webkit-transform:translateX(0);
    transform:translateX(0)
  }
}

.va-tooltip {
  position: fixed;
  width: 50px;
  height: 50px;
 }

#bot-iframe {
  width: 100%;
  height: calc(var(--layout-height) - 5em);
  border: none;
}

.avatar {
  height: 70px;
}

@media (max-width: 450px) {
  .layout {
    height: 100%;
    width: 100%;
    bottom: 0;
    right: 0;
    overflow: visible;
    border-radius: 0;
  }

  #bot-iframe {
    height: calc(100% - 5em);
  }
}
