:root {
  --psr-brand: #ab0f0f;
  --psr-brand-rgb: 11, 128, 147;
  --psr-brand-2: #a70c0c;
  --psr-brand-light: #c61f1f;
  --psr-brand-strong: #541a1a;
  --psr-brand-strong-rgb: 9, 107, 124;
  --psr-brand-deep: #4e0303;
  --psr-soft: #e8f6f8;
  --psr-avatar: url("../../assets/img/chatbot/tara.gif");
  --psr-bg: #f5fafb;
  --psr-surface: #ffffff;
  --psr-bot: #f3f3f6;
  --psr-ink: #1f2330;
  --psr-ink-soft: #8b909c;
  --psr-border: #ededf2;
  --psr-shadow: 0 26px 64px -16px rgba(6, 38, 44, .34), 0 8px 22px -10px rgba(6, 38, 44, .22);
  --psr-shadow-sm: 0 8px 22px -8px rgba(6, 38, 44, .28);
  --psr-radius: 22px;
  --psr-font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --psr-display: 'Bricolage Grotesque', var(--psr-font);
  --psr-ease: cubic-bezier(.21, .9, .24, 1);
}

#Leadmaster-root #chat-square, #Leadmaster-root #chat-close, #Leadmaster-root .chat-pop-sm, #Leadmaster-root .chat-wrapper, #Leadmaster-root .chat-wrapper * {
  font-family: var(--psr-font);
  box-sizing: border-box;
}

#Leadmaster-root #chat-square, #Leadmaster-root #chat-square *, #Leadmaster-root #chat-close, #Leadmaster-root #chat-close *, #Leadmaster-root .chat-pop-sm, #Leadmaster-root .chat-pop-sm *, #Leadmaster-root .chat-wrapper, #Leadmaster-root .chat-wrapper * {
  box-sizing: border-box !important;
}

#Leadmaster-root .chat-wrapper button, #Leadmaster-root .chat-wrapper input, #Leadmaster-root .chat-wrapper select, #Leadmaster-root .chat-pop-sm button {
  margin: 0;
  min-height: 0;
  min-width: 0;
  max-width: 100%;
  float: none;
  text-transform: none;
  letter-spacing: normal;
}

#Leadmaster-root #chat-square {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 64px;
  height: 64px;
  cursor: pointer;
  z-index: 1100;
  border-radius: 25%;
  background-image: var(--psr-avatar);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--psr-shadow-sm);
  border: 3px solid #fff;
  transition: transform .35s var(--psr-ease), box-shadow .35s var(--psr-ease), opacity .25s ease;
  animation: psrFloat 4.5s ease-in-out infinite;
}

#Leadmaster-root #chat-square:hover {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(var(--psr-brand-strong-rgb), .5);
}

#Leadmaster-root #chat-square.psr-hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

#Leadmaster-root #chat-square::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 25%;
  border: 3px solid var(--psr-brand);
  animation: psrPulse 2.4s var(--psr-ease) infinite;
  pointer-events: none;
}

#Leadmaster-root #chat-square::after {
  /*content: "1";*/
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  /*border-radius: 50%;*/
  background: var(--psr-brand-strong);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(var(--psr-brand-strong-rgb), .5);
}

@keyframes psrFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@keyframes psrPulse {
  0% {
    transform: scale(1);
    opacity: .7;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

#Leadmaster-root #chat-close {
  display: none !important;
}

#Leadmaster-root .chat-pop-sm {
  display: none;
  position: fixed;
  bottom: 104px;
  right: 28px;
  z-index: 10000;
  background: var(--psr-surface);
  width: 250px;
  text-align: left;
  padding: 18px 18px 16px;
  border-radius: 18px;
  box-shadow: var(--psr-shadow);
  border: 1px solid var(--psr-border);
  font-size: 15px;
  color: var(--psr-ink);
  transform-origin: bottom right;
  animation: psrPopIn .4s var(--psr-ease) both;
}

#Leadmaster-root .chat-pop-sm::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 30px;
  width: 16px;
  height: 16px;
  background: var(--psr-surface);
  border-right: 1px solid var(--psr-border);
  border-bottom: 1px solid var(--psr-border);
  transform: rotate(45deg);
}

#Leadmaster-root .chat-pop-txt {
  line-height: 1.45;
  margin-bottom: 4px;
}

#Leadmaster-root .chat-pop-txt strong {
  color: var(--psr-brand-strong);
}

#Leadmaster-root .chat-pop-sm .close {
  position: absolute;
  top: 6px;
  right: 10px;
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--psr-ink-soft);
  transition: color .2s ease;
}

#Leadmaster-root .chat-pop-sm .close:hover {
  color: var(--psr-ink);
}

#Leadmaster-root button.chat-pop-sm-btn {
  font-size: 14px;
  font-weight: 700;
  padding: 11px 14px;
  background: linear-gradient(135deg, var(--psr-brand-2), var(--psr-brand-strong));
  border: 0;
  border-radius: 14px;
  width: 100%;
  margin-top: 12px;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(var(--psr-brand-strong-rgb), .7);
  transition: transform .2s var(--psr-ease), box-shadow .2s ease;
}

#Leadmaster-root button.chat-pop-sm-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 22px -8px rgba(var(--psr-brand-strong-rgb), .8);
}

#Leadmaster-root button.chat-pop-sm-btn:active {
  transform: translateY(1px);
}

@keyframes psrPopIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

#Leadmaster-root .chat-wrapper {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  width: 384px;
  max-width: calc(100vw - 32px);
  height: min(640px, calc(100vh - 56px));
  background: var(--psr-bg);
  border-radius: var(--psr-radius);
  box-shadow: var(--psr-shadow);
  z-index: 1100;
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px) scale(.94);
  transition: opacity .26s ease, transform .34s var(--psr-ease), visibility .34s;
}

#Leadmaster-root .chat-wrapper.psr-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

#Leadmaster-root .chat-header {
  flex: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 16px 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--psr-brand-light) 0%, var(--psr-brand) 45%, var(--psr-brand-strong) 100%);
  overflow: hidden;
}

#Leadmaster-root .chat-header::after {
  content: "";
  position: absolute;
  top: -60%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,.28), transparent 60%);
  pointer-events: none;
}

#Leadmaster-root .chat-header-photo {
  flex: none;
  background-image: var(--psr-avatar);
  background-position: center center;
  background-size: cover;
  width: 42px;
  height: 42px;
  border-radius: 25%;
  border: 2px solid rgba(255, 255, 255, .85);
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
}

#Leadmaster-root .active-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2bd66a;
  position: absolute;
  right: -1px;
  bottom: -1px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px rgba(43, 214, 106, .35);
}

#Leadmaster-root .chat-header-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  z-index: 1;
}

#Leadmaster-root .chat-header-name {
  font-family: var(--psr-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -.2px;
}

#Leadmaster-root .chat-header-status {
  font-size: 11.5px;
  opacity: .92;
  display: flex;
  align-items: center;
  gap: 5px;
}

#Leadmaster-root .chat-header-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c6ffd9;
  box-shadow: 0 0 6px #8effb6;
}

#Leadmaster-root .chat-header-actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
  z-index: 1;
}

#Leadmaster-root .chat-close-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .2s var(--psr-ease);
}

#Leadmaster-root .chat-close-btn:hover {
  background: rgba(255, 255, 255, .3);
  transform: scale(1.05);
}

#Leadmaster-root .chat-close-btn:active {
  transform: scale(.92);
}

#Leadmaster-root .chat-close-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

#Leadmaster-root .chat-box-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: var(--psr-bg);
}

#Leadmaster-root .chat-box-overlay {
  display: none;
}

#Leadmaster-root .chat-logs {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: radial-gradient(1200px 200px at 100% 0, var(--psr-soft), transparent 60%), var(--psr-bg);
}

#Leadmaster-root .chat-logs::-webkit-scrollbar {
  width: 7px;
}

#Leadmaster-root .chat-logs::-webkit-scrollbar-thumb {
  background: rgba(var(--psr-brand-rgb), .28);
  border-radius: 10px;
}

#Leadmaster-root .chat-logs::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--psr-brand-rgb), .45);
}

#Leadmaster-root .chat-logs::-webkit-scrollbar-track {
  background: transparent;
}

#Leadmaster-root #psr-chat-bot {
  min-height: 100%;
}

#Leadmaster-root .chat-container {
  padding: 4px 18px 16px;
}

#Leadmaster-root .chat-messages-time {
  font-size: 10.5px;
  color: var(--psr-ink-soft);
  padding: 14px 0 6px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-weight: 600;
}

#Leadmaster-root .psr-message {
  margin: 4px 0;
  min-height: 20px;
  position: relative;
  padding: 0 0 0 42px;
  animation: psrMsgIn .38s var(--psr-ease) both;
}

#Leadmaster-root .psr-message.human {
  padding: 0;
  text-align: right;
}

@keyframes psrMsgIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#Leadmaster-root .psr-message-content {
  margin-top: 12px;
  padding: 10px 14px;
  color: var(--psr-ink);
  background: var(--psr-surface);
  border: 1px solid var(--psr-border);
  border-radius: 16px 16px 16px 6px;
  line-height: 1.45;
  font-size: 14px;
  max-width: 82%;
  display: inline-block;
  text-align: left;
  box-shadow: 0 2px 6px -3px rgba(6, 38, 44, .12);
  word-break: break-word;
}

#Leadmaster-root .psr-message-content.human {
  color: #fff;
  background: linear-gradient(135deg, var(--psr-brand-2), var(--psr-brand-strong));
  border: 0;
  border-radius: 16px 16px 6px 16px;
  box-shadow: 0 6px 14px -6px rgba(var(--psr-brand-strong-rgb), .6);
}

#Leadmaster-root .start::before {
  content: "Tara";
  display: block;
  font-size: 10.5px;
  line-height: 13px;
  margin: 14px 0 -3px 0;
  color: var(--psr-ink-soft);
  font-weight: 600;
  letter-spacing: .2px;
}

#Leadmaster-root .text_start_end::before {
  display: block;
  font-size: 10.5px;
  line-height: 13px;
  margin: 16px 0 -3px 0;
  font-weight: 600;
}

#Leadmaster-root .end::after, #Leadmaster-root .text_start_end::after {
  content: "";
  background-image: var(--psr-avatar);
  background-position: center center;
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 25%;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px -2px rgba(6, 38, 44, .3);
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
}

#Leadmaster-root .psr_message_time {
  opacity: 0;
  font-size: 10px;
  color: var(--psr-ink-soft);
  transition: opacity .25s ease;
  position: absolute;
  bottom: 2px;
  right: 6px;
  white-space: nowrap;
  pointer-events: none;
}

#Leadmaster-root .human .psr_message_time {
  left: 6px;
  right: auto;
}

#Leadmaster-root .psr-message:hover .psr_message_time {
  opacity: .85;
}

#Leadmaster-root .psr_message_time_flash {
  display: block;
  font-size: 10px;
  color: var(--psr-ink-soft);
  padding: 3px 4px 0 0;
}

#Leadmaster-root .psr_message_time_flash .material-icons {
  color: #2bd66a;
  padding-right: 3px;
  font-weight: 700;
}

#Leadmaster-root .psr-message.loading-row {
  padding-left: 42px;
}

#Leadmaster-root .psr-message-content.loading {
  background: var(--psr-surface) !important;
  border: 1px solid var(--psr-border);
  padding: 12px 14px;
  border-radius: 16px 16px 16px 6px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
  box-shadow: 0 2px 6px -3px rgba(6, 38, 44, .12);
}

#Leadmaster-root .psr-message-content .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--psr-brand);
  display: inline-block;
  opacity: .5;
  animation: psrBlink 1.2s infinite ease-in-out;
}

#Leadmaster-root .psr-message-content .dot:nth-child(2) {
  animation-delay: .18s;
}

#Leadmaster-root .psr-message-content .dot:nth-child(3) {
  animation-delay: .36s;
}

#Leadmaster-root .psr-message-content .dot:nth-child(n + 4) {
  display: none;
}

@keyframes psrBlink {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: .4;
  }
  40% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

#Leadmaster-root .chat-actions-container {
  position: relative;
}

#Leadmaster-root .psr-actions-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 12px 0 4px;
}

#Leadmaster-root .psr-actions-buttons-button {
  border: 1.5px solid var(--psr-brand);
  color: var(--psr-brand-strong);
  background: var(--psr-surface);
  font-family: var(--psr-font);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.1;
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 14px;
  box-shadow: 0 4px 10px -6px rgba(var(--psr-brand-strong-rgb), .5);
  transition: transform .18s var(--psr-ease), background .2s ease, color .2s ease, box-shadow .2s ease;
  animation: psrMsgIn .4s var(--psr-ease) both;
}

#Leadmaster-root .psr-actions-buttons-button:nth-child(2) {
  animation-delay: .05s;
}

#Leadmaster-root .psr-actions-buttons-button:nth-child(3) {
  animation-delay: .1s;
}

#Leadmaster-root .psr-actions-buttons-button:nth-child(4) {
  animation-delay: .15s;
}

#Leadmaster-root .psr-actions-buttons-button:nth-child(5) {
  animation-delay: .2s;
}

#Leadmaster-root .psr-actions-buttons-button:nth-child(6) {
  animation-delay: .25s;
}

#Leadmaster-root .psr-actions-buttons-button:hover {
  background: linear-gradient(135deg, var(--psr-brand-2), var(--psr-brand-strong));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px -8px rgba(var(--psr-brand-strong-rgb), .7);
}

#Leadmaster-root .psr-actions-buttons-button:active {
  transform: translateY(0) scale(.97);
}

#Leadmaster-root .chat-footer {
  flex: none;
  background: var(--psr-surface);
  border-top: 1px solid var(--psr-border);
  padding: 10px 12px;
  min-height: 0;
}

#Leadmaster-root .chat-footer:empty {
  display: none;
}

#Leadmaster-root .input-bottom, #Leadmaster-root .psr-actions-name, #Leadmaster-root .psr-actions-email, #Leadmaster-root .psr-actions-date, #Leadmaster-root .psr-actions-time, #Leadmaster-root .psr-actions-mobile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
}

#Leadmaster-root .chat-elements {
  height: 44px;
  font-size: 15px;
  font-family: var(--psr-font);
  color: var(--psr-ink);
  background: var(--psr-bg);
  border: 1.5px solid var(--psr-border);
  border-radius: 14px;
  padding: 0 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
}

#Leadmaster-root .chat-elements::placeholder {
  color: var(--psr-ink-soft);
}

#Leadmaster-root .chat-elements:focus, #Leadmaster-root .chat-elements:focus-visible {
  outline: none;
  border-color: var(--psr-brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(var(--psr-brand-rgb), .14);
}

#Leadmaster-root .chat-elements.country-dropdown {
  flex: 0 0 96px;
  width: 96px;
  padding: 0 8px;
  cursor: pointer;
}

#Leadmaster-root .chat-elements.mobile-text {
  flex: 1 1 auto;
}

#Leadmaster-root .psr-actions-text-submit {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  line-height: 1;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, var(--psr-brand-2), var(--psr-brand-strong));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px -8px rgba(var(--psr-brand-strong-rgb), .8);
  transition: transform .18s var(--psr-ease), box-shadow .2s ease;
}

#Leadmaster-root .psr-actions-text-submit:hover {
  transform: scale(1.08);
}

#Leadmaster-root .psr-actions-text-submit:active {
  transform: scale(.92);
}

#Leadmaster-root .psr-actions-text-submit img {
  width: 13px;
  display: block;
}

#Leadmaster-root #required_msg, #Leadmaster-root #text_required_msg {
  display: none;
  flex: 1 1 100%;
  color: var(--psr-brand-strong);
  font-size: 12px;
  font-weight: 600;
  padding-left: 4px;
}

#Leadmaster-root .display_none {
  display: none;
}

@media (max-width: 600px) {
  #Leadmaster-root .chat-wrapper {
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 0;
    transform: translateY(100%);
    transform-origin: bottom center;
  }
}

@media (max-width: 600px) {
  #Leadmaster-root .chat-wrapper.psr-open {
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  #Leadmaster-root #chat-square {
    bottom: 22px;
    right: 22px;
  }
}

@media (max-width: 600px) {
  #Leadmaster-root .chat-pop-sm {
    bottom: 96px;
    right: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #Leadmaster-root #chat-square {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #Leadmaster-root #chat-square::before {
    animation: none;
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #Leadmaster-root .psr-message, #Leadmaster-root .psr-actions-buttons-button, #Leadmaster-root .chat-pop-sm {
    animation: none;
  }
}

#Leadmaster-root #chat-square {
  z-index: 2147483646;
}

#Leadmaster-root .chat-pop-sm {
  z-index: 2147483647;
}

#Leadmaster-root .chat-wrapper {
  z-index: 2147483647;
}

#Leadmaster-root .chat-close-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  padding: 0;
  transition: background .2s ease, transform .2s var(--psr-ease);
}

#Leadmaster-root .chat-close-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: #fff !important;
  stroke-width: 2;
  color: #fff;
}

#Leadmaster-root .chat-close-btn svg path, #Leadmaster-root .chat-close-btn svg line {
  stroke: currentColor !important;
  fill: inherit;
}

