@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:FILL@0;1&display=swap");
:root {
  --lph-p-background-color: white;
  --lph-p-contrast-background-color: #292929;
  --lph-p-background-color-variant: color-mix(in srgb, var(--lph-p-background-color) 70%, transparent);
  --lph-p-text-color: black;
  --lph-p-text-color-variant: var(--lph-p-text-color);
  --lph-p-border-color: gray;
  --lph-p-form-width: 400px;
}

#leads_bot_closed_chat_view {
  bottom: 79px !important;
}

#leads_phone_button {
  min-width: fit-content;
  width: 0%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--lph-p-background-color);
  color: var(--lph-p-text-color);
  border: none;
  border-radius: 100px;
  padding: 8px 16px 8px 12px;
  font-size: 16px;
  font-weight: 500;
  gap: 8px;
  cursor: pointer;
  margin-top: 16px;
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 99999999;
  transition: all 0.2s ease-in-out;
  transition-delay: 0.3s;
}
#leads_phone_button span.loading {
  animation: spin 1s infinite linear;
}
#leads_phone_button p {
  margin: 0;
}
#leads_phone_button:hover {
  background: var(--lph-p-background-color-variant);
}
#leads_phone_button.open {
  transition-delay: 0s;
  width: calc(var(--lph-p-form-width) - 32px);
  margin-right: 16px;
}
#leads_phone_button.hide {
  transition-delay: 0s;
  right: -100%;
}

#leads_phone_form {
  transition: all 0.2s ease-in-out;
  transition-delay: 0s;
  background: var(--lph-p-contrast-background-color);
  border-radius: 8px;
  padding: 0;
  width: var(--lph-p-form-width);
  height: 0px;
  z-index: 99999998;
  font-family: Inter;
  display: flex;
  flex-direction: column;
  position: absolute;
  transform-origin: bottom center;
  overflow: hidden;
  position: fixed;
  bottom: 16px;
  right: 16px;
  box-sizing: border-box;
  opacity: 0;
}
#leads_phone_form.hide {
  opacity: 0;
  transition-delay: 0s !important;
  right: -100%;
}
#leads_phone_form.open {
  height: 350px;
  bottom: 8px;
  padding: 16px;
  padding-bottom: 64px;
  transition-delay: 0.3s;
  opacity: 1;
}
#leads_phone_form.open.error {
  transition-delay: 0ms;
  height: 400px;
}
#leads_phone_form label {
  color: #FFF;
  margin-bottom: 4px;
  font-size: 14px;
}
#leads_phone_form input {
  background: transparent;
  border: 1px solid var(--lph-p-border-color);
  border-radius: 8px;
  padding: 8px;
  width: 100%;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
  box-sizing: border-box;
}
#leads_phone_form span.error_message {
  font-size: 14px;
  margin-bottom: 16px;
}
#leads_phone_form span.error_message.error {
  display: block;
  visibility: visible;
  color: rgb(250, 50, 50);
}
#leads_phone_form #leads_phone_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
#leads_phone_form #leads_phone_header #leads_phone_close_button {
  background-color: transparent;
  border: none;
  color: #FFF;
  cursor: pointer;
}
#leads_phone_form #leads_phone_header h1 {
  margin: 0;
  color: #FFF;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

#leads_phone_alert {
  width: calc(var(--lph-p-form-width) - 32px);
  margin-right: 16px;
  background-color: var(--lph-p-contrast-background-color);
  color: var(--lph-p-background-color);
  font-family: Inter;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 8px;
  padding: 16px;
  gap: 8px;
  position: fixed;
  bottom: 16px;
  right: -100%;
  z-index: 99999999;
  transition: all 0.2s ease-in-out;
  opacity: 0;
}
#leads_phone_alert h1 {
  font-size: 20px;
  margin: 0;
  font-weight: 600;
}
#leads_phone_alert p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
}
#leads_phone_alert span {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}
#leads_phone_alert span.material-symbols-outlined {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48;
  color: #42996a;
  font-size: 48px;
}
#leads_phone_alert.show {
  right: 0%;
  opacity: 1;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
