@keyframes fwbSlider {
  0% {
    width: 60px;
  }
  100% {
    width: 150px;
  }
}

@keyframes fwbLabelOpacity {
  0% {
    transform: translate(100%, -50%);
    opacity: 0;
  }
  100% {
    transform: translate(0%, -50%);
    opacity: 1;
  }
}

@keyframes fwbShowBox {
  0% {
    opacity: 0;
    transform: scale(.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.fwb-app {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 9999;
}

.fwb-app :is(h1, h2, h3, h4, h5, h6, p){
  margin: 0;
}

.fwb-app .fwb-content-box {
  position: fixed;
  bottom: 120px;
  right: 50px;
  width: 330px;
  opacity: 0;
  transition: ease-out .3s all;
  transform: scale(.8);
  pointer-events: none;
}
.fwb-app.active .fwb-content-box {
  pointer-events: all;
  animation: fwbShowBox .3s linear 0s forwards;
}
.fwb-app .fwb-content-wrap {
  padding: 12px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 1px 1px 10px 0px rgb(0 0 0 / 30%);
}
.fwb-app .fwb-content-header {
  line-height: 0.9rem;
  margin-bottom: 12px;
  text-align: center;
}
.fwb-app .fwb-content-header h4 {
  font-size: 18px;
}
.fwb-app .fwb-content-header span {
  font-size: 12px;
  line-height: 0;
  color: #605d5d;
}
.fwb-app .fwb-contact-list {
  max-height: 230px;
  overflow-y: auto;
}

/* ===== Scrollbar CSS ===== */
/* Firefox */
.fwb-app .fwb-contact-list {
  scrollbar-width: auto;
  scrollbar-color: #404040 #ffffff;
}

/* Chrome, Edge, and Safari */
.fwb-app .fwb-contact-list::-webkit-scrollbar {
  width: 12px;
}

.fwb-app .fwb-contact-list::-webkit-scrollbar-track {
  background: #ffffff;
}

.fwb-app .fwb-contact-list::-webkit-scrollbar-thumb {
  background-color: #404040;
  border-radius: 20px;
  border: 4px solid #ffffff;
}


.fwb-app .fwb-contact-list-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.fwb-app .fwb-contact-list .fwb-contact-item {
  width: 20%;
  display: flex;
  justify-content: center;
}

.fwb-app .fwb-contact-list .fwb-contact-item  .fwb-contact-name {
  text-align: center;
}

.fwb-app .fwb-contact-image {
  display: flex;
  margin-bottom: 5px;
}

.fwb-app .fwb-contact-image .fwb-no-profile {
  width: 60px;
  height: 60px;
  background-color: #ccc;
  border-radius: 50%;
}

.fwb-app .fwb-contact-image .fwb-profile {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: ease-out .3s all;
  border: 2px solid transparent;
}

.fwb-app .fwb-contact-item a:hover .fwb-profile {
  border: 2px solid #404040;
}

.fwb-app .fwb-contact-name {
  color: #3e3e3e;
  font-style: italic;
  font-size: 14px;
}

.fwb-app .fwb-slide-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #25d366;
  border-radius: 30px;
  transition: ease-out .3s all;
}

.fwb-app .fwb-slide-button-wrap {
  position: relative;
  overflow: hidden;
  width: 60px;
  transition: ease-out .3s all;
}
.fwb-app .fwb-slide-button:hover .fwb-slide-button-wrap,
.fwb-app.active .fwb-slide-button-wrap {
  width: 150px;
}

.fwb-app .fwb-slide-button:hover .fwb-slide-button-wrap {
  /* animation: fwbSlider .3s linear 0s forwards; */
}

.fwb-app .fwb-slide-button button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 30px;
  border: 0;
  outline: none;
  box-shadow: 0 3px 4px rgba(0, 0, 0, 0.1);
}

.fwb-app .fwb-slide-button button:hover,
.fwb-app .fwb-slide-button button:focus {
  background-color: #25d366;
  outline: none;
}

.fwb-app .fwb-slide-button button img {
  filter: invert(1);
  position: absolute;
}
.fwb-app .fwb-slide-button button .close {
  width: 20px;
  height: 20px;
}

.fwb-app .fwb-slide-button button .whats {
  width: 30px;
  height: 30px;
}

#fwb-app .fwb-slide-button label {
  color: #fff;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  text-align: center;
  padding: 0 5px;
  width: calc(100% - 70px);
  transform: translate(100%, -50%);
  opacity: 0;
}

#fwb-app.active .fwb-slide-button label {
  transform: translate(0%, -50%) !important;
  opacity: 1  !important;
}

#fwb-app .fwb-slide-button:hover label {
  animation: fwbLabelOpacity .3s linear 0s forwards;
}


.fwb-app.active .fwb-slide-button {
  background-color: #d11b1b;
}
.fwb-app.active .fwb-slide-button button {
  background-color: #d11b1b;
}

.fwb-app.active .fwb-slide-button .whats,
.fwb-app .fwb-slide-button .close {
  opacity: 0;
}
.fwb-app .fwb-slide-button .whats,
.fwb-app.active  .fwb-slide-button .close {
  opacity: 1;
}


@media screen and (max-width: 768px) {
  .fwb-app {
    right: 3%;
  }
}