@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

.fme_user_popup * {
  padding: 0;
  box-sizing: border-box;
}

 /* body {
  background-color: #bdc3c7;
  font-family: 'Poppins', sans-serif;
}  */

.fme_p {
  font-size:var(--fontSize);
  line-height: 17px;
  letter-spacing: 0.025em;
  color:var(--fontColor);
}

.fme_popup__button {
  position: fixed; 
  bottom: 20px; 
  right: 40px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background: rgb(45, 183, 66); */
  background-color: var(--backgroundColor);
  color: #f3f7f8;
  border: none;
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  z-index: 999999999; 
}  

.fme_btn-txt {
  width: 170px;
  margin-right: 250px;
  color: #000000;
  background: #ffffff;
  padding: 10px;
  border-radius: 5px;
} 

.fme_popup__button span {
  position: absolute;
  transition: all 0.4s ease;
}

.fme_popup__button span.fme_whatsapp-btn {
  background-image: var(--clickButton);
  background-size: 25px;
  height: 25px;
  width: 25px;
  background-repeat: no-repeat;
  text-align: center;
}

.fme_popup__button span.fme_cross-btn {
  background-image: var(--closeButton);
  background-size: 25px;
  height: 25px;
  width: 25px;
  background-repeat: no-repeat;
  text-align: center;
}

.fme_show-popup .fme_popup__button span.fme_whatsapp-btn {
  opacity: 0;
  transform: scale(0) rotateY(0deg);
  -webkit-transform: scale(0) rotateY(0deg);
}

.fme_show-popup .fme_popup__button span.fme_btn-txt {
  opacity: 0;
  -ms-transform: translateY(15px);
  transform: translateY(15px);
  -webkit-transform: translateY(15px);
  -moz-transform: translateY(15px);
  visibility: hidden;
}

.fme_popup__button span.fme_cross-btn {
  opacity: 0;
  -ms-transform: scale(1) rotateY(0deg);
  transform: scale(1) rotateY(0deg);
  -webkit-transform: scale(1) rotateY(0deg);
  -moz-transform: scale(1) rotateY(0deg);
}

.fme_show-popup .fme_popup__button span.fme_cross-btn {
  opacity: 1;
}

.fme_user_popup, .fme_form_popup {
  border-radius: 5px 5px 8px 8px;
  -webkit-border-radius: 5px 5px 8px 8px;
  -moz-border-radius: 5px 5px 8px 8px;
  bottom: 100px;
  box-shadow: 0 10px 10px 4px rgba(0, 0, 0, 0.04);
  -webkit-box-shadow: 0 10px 10px 4px rgba(0, 0, 0, 0.04);
  -moz-box-shadow: 0 10px 10px 4px rgba(0, 0, 0, 0.04);
  font-family: Arial, Helvetica, sans-serif;
  max-width: calc(100% - 50px);
  opacity: 0;
  /* overflow: hidden; */
   position: fixed; 
   bottom: 100px;
  right: 25px;
  -ms-transform: translateY(50px);
  transform: translateY(50px);
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  visibility: hidden;
  width: 350px;
  will-change: transform, visibility, opacity;
  z-index: 999999998;
  background-color: #ffffff; 
  
  /* height: auto; */
}

.fme_form_popup {
  height: auto;
}

.fme_show-popup .fme_user_popup,
.fme_show-popup .fme_form_popup {
  opacity: 1;
  -ms-transform: translate(0);
  transform: translate(0);
  -webkit-transform: translate(0);
  -moz-transform: translate(0);
  visibility: visible;
}

.fme_popup__header {
  position: relative;
  /* background-color: rgb(45, 183, 66); */
   background-color: var(--headerColor);
  padding: 16px 0;
} 

.fme_header-content {
  width: 80%;
  display: flex;
  flex-direction: column;
  margin-left: auto;
  padding-right: 30px;
  color: #ffffff
}

.fme_user_popup .fme_popup__header .fme_header-content::before {
  background: var(--headerWhatsappIcon) top no-repeat;
  background-size: 33px;
  content: "";
  display: block;
  height: 33px;
  left: 12px;
  position: absolute;
  top: 30px;
  width: 55px;
}

.fme_form_popup .fme_popup__header .fme_back_btn{
  background: var( --backButton) top no-repeat;
  background-size: 25px;
  content: "";
  display: block;
  height: 35px;
  top: 5px;
  left: 5px;
  position: absolute;
  width: 25px;
  
  cursor: pointer;
} 

.fme_popup__header span {
  display: none;
  position: absolute;
  top: 50%;
  right: 20px;
  color: #202020;
  transform: translateY(-50%);
  cursor: pointer;
}

.fme_header__title {
  font-size: 18px;
  padding-bottom: 5px;
}

.fme_user__box {
  background-color: var( --bodyColor);
  max-height: 400px;
  overflow-y: auto;
  padding: 0px 20px 10px;
}  */

.fme_notice { 
  /* color: #062460;  */
  color:var(--userBoxTextColor); 
  font-size: var(--userBoxTextSize); 
  /* font-size: 11px; */
  font-weight: 500;
  list-style-type: none;
  padding: 0 3px;
  margin: 10px 10px 10px 0;
}

.fme_card_link {
  text-decoration: none; 
  /* background: #f5f7f9; */
   border-left: 2px solid #2db742;
  padding: 13px 40px 12px 74px;
  width: 100%;
  text-decoration: none;
  list-style: none;
  position: relative;
  margin-bottom: 10px;
  border-radius: 2px 4px 2px 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
  background-color: var(--agentBoxColor);
}

.fme_card_link:hover {
  background:var(--agentBoxHoverColor);
  box-shadow: 0 7px 15px 1px rgb(55 62 70 / 7%);
  text-decoration: none;
} 

.fme_card_item {
  width: 100%;
  text-decoration: none;
  list-style: none;
  position: relative;
  margin-bottom: 10px;
  border-radius: 2px 4px 2px 4px;
}

.fme_non_active{
  width: 100%;
  text-decoration: none;
  list-style: none;
  position: relative;
  margin-bottom: 10px;
  border-radius: 2px 4px 2px 4px;
}

.fme_card_item.fme_inactive:after {
  background-image: var(--inactiveWhatsappImage);
}
.fme_card_item.fme_active:after {
  background-image: var(--activeWhatsappImage);
}
.fme_card_item:after {
  background-position: top;
  background-repeat: no-repeat;
  background-size: 25px;
  content: "";
  display: block;
  height: 30px;
  position: absolute;
  right: 14px;
  top: 26px;
  width: 30px; 
  /* background: url('http://magento246.local/media/path/to/image/directory/01_99026423_4.jpg') top no-repeat; */
  /* background-color:var(--paginationBaseColor);; */
}

.fme_non_active:after {
  background: url('../images/non-active.png') top no-repeat;
  background-size: 25px;
  content: "";
  display: block;
  height: 30px;
  position: absolute;
  right: 14px;
  top: 26px;
  width: 30px;
}

.fme_non_active.fme_card_link:hover {
  background: #f5f7f9;
  box-shadow: none;
}

.fme_popup_status {
  /* font-size: 12px; */
  line-height: 1.125em !important;
  padding: 5px 0 0;
}
.fme_online{
  color:var(--onlineStatusColor);
  font-size:var(--onlineStatusTextSize);

}
.fme_offline{
  color:var(--offlineStatusColor);
  font-size:var(--offlineStatusTextSize);
}

.fme_popup_avatar {
  border-radius: 50%; 
-webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  left: 12px;
  overflow: hidden;
  position: absolute;
  top: 12px;
} 

.fme_popup_avatar_image {
  height: 48px;
  width: 48px;
  display: block;
} 

.fme_popup_txt {
  display: table-cell;  
  /* height: 55px; */
  height:auto;
  min-height: 48px;
  vertical-align: middle;
} 

.fme_popup_name { 
  /* color: #363c47;
  font-size: 14px; */
  color:var( --agentNameColorText);
  font-size: var(--agentNameSizeText);
  line-height: 1.188em !important;
}

.fme_popup_duty { 
  /* color: #989b9f;
  font-size: 12px; */
   color:var(--departmentColorText);
  font-size: var(--departmentSizeText);
  line-height: 1.125em !important;
  padding: 2px 0 0;
}
 

/* Popup form */
.fme_popup_form_notice {
  color:var(--formTextColor);
  font-size: var(--formTextSize); 
  /* font-size: 12px; */
  margin: 20px;
}

.fme_fieldset {
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
} 

/* .customer__input {
  background: #f6f6f6;
  margin-bottom: 10px;
  border: none;
  padding: 10px;
  border-radius: 10px;
  width: 80%;
  min-height: 50px;
} */

.fme_customer__input {
	background: #f6f6f6 !important;
	margin-bottom: 10px;
	border: none !important;
	padding: 10px !important;
	border-radius: 10px !important;
	width: 80% !important;
	min-height: 50px;
}

input:focus-visible {
  border: none;
  outline: none;
}

.fme_button {
  /* background: rgb(45, 183, 66); */
 background:var(--backgroundColor);
  padding: 10px;
  border-radius: 5px;
  border: none;
  width: 30%;
  margin: 20px;
  color: #ffffff;
 }
 
@media (max-width: 490px) {
  .fme_user_popup, .fme_form_popup {
    width: auto;
  }

  .fme_popup__header span {
    display: inline;
  }
} 
