/* FRONTLINE_RECEPTIONIST_PUBLIC_SALES_HELPER_V1 */
.fr-public-sales-helper,
.fr-public-sales-helper *,
.fr-sales-orb {
  box-sizing: border-box;
}

.fr-sales-orb {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: #fff;
  background:
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.95) 0 8%, rgba(103,216,255,.95) 9% 18%, rgba(23,105,255,.95) 42%, #082d78 74%),
    linear-gradient(135deg, #1769ff, #18c9a4);
  box-shadow:
    0 0 0 0 rgba(23,105,255,.34),
    0 18px 44px rgba(23,105,255,.34),
    inset 0 -10px 20px rgba(7,20,39,.24);
  animation: frSalesPulse 1.85s ease-in-out infinite;
}

.fr-sales-orb::before,
.fr-sales-orb::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.fr-sales-orb::before {
  inset: 11px;
  border: 1px solid rgba(255,255,255,.54);
  border-left-color: rgba(255,255,255,.14);
  transform: rotate(-18deg);
}

.fr-sales-orb::after {
  inset: -8px;
  border: 1px solid rgba(23,105,255,.28);
  animation: frSalesRing 1.85s ease-in-out infinite;
}

.fr-sales-orb span {
  position: relative;
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
}

.fr-sales-orb span::before,
.fr-sales-orb span::after {
  content: "";
  position: absolute;
  inset: 8px -8px;
  border: 1px solid rgba(255,255,255,.52);
  border-radius: 50%;
}

.fr-sales-orb span::after {
  inset: -8px 8px;
}

.fr-public-sales-helper {
  position: fixed;
  right: 22px;
  bottom: 102px;
  z-index: 119;
  width: min(390px, calc(100vw - 28px));
  max-height: min(640px, calc(100vh - 128px));
  display: none;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid rgba(23,105,255,.20);
  border-radius: 24px;
  background: rgba(255,255,255,.95);
  box-shadow: 0 30px 90px rgba(17,53,99,.24);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  color: #14243a;
}

.fr-public-sales-helper.open {
  display: grid;
}

.fr-public-sales-helper__head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 56px 16px 18px;
  border-bottom: 1px solid #dbe7f4;
  background: linear-gradient(135deg, rgba(23,105,255,.10), rgba(24,201,164,.08));
}

.fr-public-sales-helper__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(153,187,231,.85);
  background: #ffffff;
  color: #10213b;
  cursor: pointer;
  font-size: 16px;
  font-weight: 1000;
  line-height: 1;
  display: grid;
  place-items: center;
}

.fr-public-sales-helper__close:hover,
.fr-public-sales-helper__close:focus-visible {
  border-color: rgba(23,105,255,.45);
  box-shadow: 0 10px 22px rgba(17,53,99,.14);
  outline: 0;
}

.fr-public-sales-helper__head b {
  display: block;
  color: #10213b;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.fr-public-sales-helper__head span {
  display: block;
  margin-top: 3px;
  color: #52657a;
  font-size: 13px;
  line-height: 1.35;
}

.fr-public-sales-helper__messages {
  overflow: auto;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.fr-public-sales-helper__msg {
  border-radius: 16px;
  padding: 11px 12px;
  background: #eef6ff;
  color: #14243a;
  line-height: 1.38;
  font-size: 15px;
}

.fr-public-sales-helper__demo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 6px 0;
  padding: 10px 12px;
  border: 1px solid rgba(23,105,255,.28);
  border-radius: 14px;
  background: linear-gradient(135deg, #1769ff, #4f91ff);
  color: #fff !important;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 10px 20px rgba(23,105,255,.18);
}

.fr-public-sales-helper__demo-link:after {
  content: "→";
  margin-left: 8px;
  font-weight: 1000;
}

.fr-public-sales-helper__demo-link:hover,
.fr-public-sales-helper__demo-link:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(23,105,255,.24);
  outline: 3px solid rgba(24,201,164,.22);
  outline-offset: 2px;
}

.fr-public-sales-helper__msg.user {
  justify-self: end;
  max-width: 84%;
  background: linear-gradient(135deg, #1769ff, #64a2ff);
  color: #fff;
}

.fr-public-sales-helper__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 14px 12px;
}

.fr-public-sales-helper__quick button {
  border: 1px solid rgba(23,105,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  color: #0f54d5;
  padding: 8px 10px;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.fr-public-sales-helper__form {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #dbe7f4;
}

.fr-public-sales-helper__form input {
  min-width: 0;
  flex: 1;
  border: 1px solid rgba(23,105,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  padding: 12px 14px;
  color: #071427;
  font: inherit;
  outline: none;
}

.fr-public-sales-helper__form button {
  border: 0;
  border-radius: 999px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #1769ff, #64a2ff);
  color: #fff;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

@keyframes frSalesPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 0 0 0 rgba(23,105,255,.34), 0 18px 44px rgba(23,105,255,.34), inset 0 -10px 20px rgba(7,20,39,.24);
  }
  50% {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 0 0 14px rgba(23,105,255,0), 0 24px 54px rgba(23,105,255,.42), inset 0 -10px 20px rgba(7,20,39,.20);
  }
}

@keyframes frSalesRing {
  0%, 100% { opacity: .35; transform: scale(.96); }
  50% { opacity: .9; transform: scale(1.08); }
}

@media (max-width: 560px) {
  .fr-sales-orb {
    right: 16px;
    bottom: 16px;
    width: 60px;
    height: 60px;
  }

  .fr-public-sales-helper {
    right: 14px;
    bottom: 88px;
  }
}
