.whats_float_container {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: fixed;
  bottom: 35px;
  right: 35px;
  z-index: 50;
  cursor: pointer;
}

.whats_button {
  scale: 1;
  width: 70px;
  cursor: pointer;
  filter: drop-shadow(2px 3px 3px #00000050);
  transition: all 200ms ease-in-out;
}

.whats_button:hover {
  scale: 1.1;
  transform: scale(1.1);
  filter: contrast(110%) brightness(110%) drop-shadow(2px 3px 3px #00000060);
}

#whats_notification {
  display: flex;
  scale: 0;
  transform: scale(0);
  width: 24px;
  height: 24px;
  background: #ff0000;
  border-radius: 100px;
  position: absolute;
  bottom: -4px;
  right: -4px;
  z-index: 50;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 200ms ease-in-out;
}

#whats_float_msgs {
  position: relative;
  padding-bottom: 40px;
}

#whats_float_msgs div {
  margin-top: 8px;
  margin-right: 12px;
  justify-content: flex-end;
  position: relative;
}

#whats_float_msgs p {
  background: #199d0f;
  color: #fff;
  padding: 10px;
  border-radius: 6px 6px 0 6px;
  box-shadow: -1px 2px 3px #00000030;
  font-weight: 500;
}

#whats_float_msgs p::before {
  content: "";
  border-style: solid;
  border-color: #199d0f transparent;
  border-width: 0 7px 7px 7px;
  position: absolute;
  right: -6px;
  bottom: 0;
}

#whats_float_msgs > div {
  display: none;
  opacity: 0;
  transition: all 300ms ease-in-out;
}

#whats_modal {
  display: none;
  opacity: 0;
  transition: all 200ms ease-in-out;
}

.bg_dark {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #00000099;
  z-index: 500;
  justify-content: center;
  align-items: center;
}

#whats_talk {
  z-index: 600;
  width: 350px;
  box-shadow: 0 0 10px #00000090;
  border-radius: 6px;
  transition: all 200ms ease-in-out;
}

.whats_header {
  background: #1d5e54;
  color: #fff;
  padding: 10px 11px;
  display: flex;
  border-radius: 6px 6px 0 0;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 1px 5px 10px -5px #00000080;
  z-index: 600;
  position: relative;
}

.whats_header > div {
  display: flex;
  align-items: flex-end;
}

.whats_header > div > div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.whats_header > img {
  width: 15px;
  padding: 3px;
  opacity: 0.3;
  transition: all 200ms ease-in-out;
  cursor: pointer;
}

.whats_header > img:hover {
  opacity: 1;
}

.whats_header > div > img {
  border-radius: 50%;
  width: 40px;
  margin-right: 12px;
}

.whats_header > div > div > p {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.whats_header > div > div > span {
  font-weight: 300;
  font-size: 0.9rem;
  margin: 0 0 -2px 1px;
}

.whats_chat {
  padding-top: 30px;
  background-image: url("https://personalizados.agenciacaramel.com.br/img/whats_bg.png");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100%;
  border-radius: 0 0 6px 6px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.whats_msg {
  display: none;
  position: relative;
  justify-content: flex-start;
  transition: all 200ms ease-in-out;
}

.whats_msg > p,
.whats_msg_ans > p,
.whats_alert > p {
  color: #000;
  padding: 7px 9px;
  margin-bottom: 6px;
  max-width: 75%;
  font-size: 0.9rem;
}

.whats_msg > p {
  background: #fff;
  margin-left: 15px;
  border-radius: 0 6px 6px 6px;
  box-shadow: 2px 2px 3px #00000030;
}

.whats_alert,
.whats_msg_option,
.whats_msg_option > a {
  display: none;
  position: relative;
  justify-content: center;
}

.whats_alert > p {
  background: #ffedcc;
  text-align: center;
  border-radius: 6px;
  box-shadow: 2px 2px 3px #00000030;
  margin: 20px 0 10px 0;
}

.whats_msg > p::before {
  content: "";
  border-style: solid;
  border-color: #fff transparent;
  border-width: 7px 7px 0 7px;
  position: absolute;
  top: 0;
  left: 8px;
}

.whats_img {
  display: none;
  justify-content: center;
}

.whats_img > img {
  width: 50%;
  margin-top: 10px;
}

.whats_msg_ans {
  display: none;
  position: relative;
  justify-content: flex-end;
}

.whats_msg_ans > p {
  background: #e1ffc7;
  margin-right: 15px;
  border-radius: 6px 0 6px 6px;
  box-shadow: -2px 2px 3px #00000030;
}
.whats_msg_ans > p::before {
  content: "";
  border-style: solid;
  border-color: #e1ffc7 transparent;
  border-width: 7px 7px 0 7px;
  position: absolute;
  top: 0;
  right: 8px;
}

.whats_msg_option > p,
.whats_msg_option > a > p {
  color: #fff;
  padding: 7px 9px;
  margin-bottom: 6px;
  width: 50%;
  cursor: pointer;
  text-align: center;
  font-size: 0.9rem;
  background: #1d5e54;
  border-radius: 6px;
  box-shadow: 2px 2px 3px #00000030;
  transition: all 200ms ease-in-out;
}

.whats_msg_option > a {
  text-decoration: none;
  width: 100%;
}

.whats_msg_option > p:hover,
.whats_msg_option > a > p:hover {
  background: #317268;
}

.whats_footer {
  padding: 20px 11px 12px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.whats_input {
  padding: 1px 12px;
  background: #fff;
  flex: 1;
  border-radius: 100px;
  display: flex;
  box-shadow: 0 0 4px #00000030;
  display: flex;
  align-items: center;
}

.whats_input > img {
  height: 20px;
}

.whats_input > input {
  padding: 9px 10px;
  width: 100%;
  border: none;
  outline: none;
  font-size: 1rem;
  margin-right: 10px;
  border-radius: 10px;
}

.whats_input > input::placeholder {
  font-weight: 400;
}

.bt_whats_send {
  border-radius: 50%;
  background: #1d5e54;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  box-shadow: 0 0 4px #00000030;
  border: none;
  outline: none;
  cursor: pointer;
  transition: all 200ms ease-in-out;
}

.bt_whats_send:hover {
  background: #317268;
}

.bt_whats_send > img {
  margin-left: 3px;
  width: 20px;
}

@media (max-width: 600px) {
  .whats_float_container {
    bottom: 20px;
    right: 20px;
  }

  .whats_button:hover {
    scale: 1;
    transform: scale(1);
  }
}

@media (max-height: 450px) {
  .whats_float_container {
    display: none;
  }
}
