.jr-mobile-assistant {
  display: none;
}

#confermaModal .modal-content.jr-whatsapp-success {
  border: 1px solid #a9dec0;
  background: #f2fbf6 !important;
  color: #0d5d37 !important;
  box-shadow: 0 6px 8px rgba(13, 93, 55, .14);
}

#confermaModal .jr-whatsapp-success .modal-header {
  width: 100%;
  padding: 6px 52px 6px 6px;
}

#confermaModal .jr-whatsapp-success #messaggio {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 2px 12px;
  width: 100%;
  margin: 0 !important;
  color: #0d5d37 !important;
  font-size: 1rem;
  line-height: 1.3;
}

.jr-whatsapp-success__icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #1f9d5b;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.jr-whatsapp-success__title {
  color: #09512f;
  font-size: 1.08rem;
  font-weight: 900;
}

.jr-whatsapp-success__text {
  color: #26704b;
  font-size: .88rem;
  font-weight: 650;
}

#confermaModal .jr-whatsapp-success #formInteresse {
  min-height: 0;
  padding: 0;
}

@media (min-width: 0) {
  .jr-mobile-assistant {
    --jr-assistant-orange: #f7a601;
    --jr-assistant-blue: #155eef;
    --jr-assistant-ink: #101010;
    --jr-assistant-safe: env(safe-area-inset-bottom, 0px);
    display: block;
    position: fixed;
    right: 14px;
    bottom: calc(18px + var(--jr-assistant-safe));
    z-index: 1062;
    font-family: inherit;
    pointer-events: none;
  }

  .jr-mobile-assistant[hidden],
  .jr-mobile-assistant.is-context-hidden {
    display: none !important;
  }

  .jr-mobile-assistant__launcher {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin-left: auto;
    padding: 0;
    border: 3px solid var(--jr-assistant-ink);
    border-radius: 50%;
    background: var(--jr-assistant-blue);
    color: #fff;
    box-shadow: 0 6px 8px rgba(0, 0, 0, .28);
    pointer-events: auto;
    touch-action: manipulation;
  }

  .jr-mobile-assistant__launcher::before {
    content: "";
    position: absolute;
    inset: -10px;
    border: 2px solid rgba(21, 94, 239, .45);
    border-radius: 50%;
    opacity: 0;
  }

  .jr-mobile-assistant__launcher::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 11px;
    height: 11px;
    border: 2px solid var(--jr-assistant-ink);
    border-radius: 50%;
    background: var(--jr-assistant-orange);
  }

  .jr-mobile-assistant.is-attention .jr-mobile-assistant__launcher::before {
    animation: jr-assistant-pulse 1.15s cubic-bezier(.16, 1, .3, 1) 3;
  }

  .jr-mobile-assistant__mark {
    position: relative;
    width: 27px;
    height: 27px;
    border: 4px solid currentColor;
    border-radius: 50%;
  }

  .jr-mobile-assistant__mark::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 2px dashed currentColor;
    border-radius: 50%;
  }

  .jr-mobile-assistant__mark::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 4px;
    right: -10px;
    bottom: -5px;
    border-radius: 4px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
  }

  .jr-mobile-assistant__hint {
    position: absolute;
    right: 76px;
    bottom: 8px;
    width: max-content;
    max-width: min(230px, calc(100vw - 112px));
    padding: 10px 13px;
    border: 2px solid var(--jr-assistant-ink);
    border-radius: 999px;
    background: #fff;
    color: var(--jr-assistant-ink);
    font-size: .82rem;
    font-weight: 850;
    line-height: 1.15;
    box-shadow: 0 4px 7px rgba(0, 0, 0, .16);
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  .jr-mobile-assistant.is-hint-visible .jr-mobile-assistant__hint {
    opacity: 1;
    transform: translateX(0);
  }

  .jr-mobile-assistant__panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: min(390px, calc(100vw - 28px));
    padding: 16px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--jr-assistant-ink);
    box-shadow: 0 8px 18px rgba(0, 0, 0, .24);
    pointer-events: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .22s ease, transform .22s cubic-bezier(.16, 1, .3, 1), visibility .22s;
  }

  .jr-mobile-assistant.is-open .jr-mobile-assistant__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .jr-mobile-assistant__grip {
    display: block;
    width: 42px;
    height: 4px;
    margin: -4px auto 12px;
    border-radius: 4px;
    background: #3f3f3f;
  }

  .jr-mobile-assistant__close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--jr-assistant-ink);
    font-size: 1.65rem;
    line-height: 1;
  }

  .jr-mobile-assistant__panel h2 {
    margin: 0 48px 3px 0;
    color: var(--jr-assistant-ink);
    font-size: 1.32rem;
    font-weight: 900;
    letter-spacing: -.025em;
    text-wrap: balance;
  }

  .jr-mobile-assistant__panel p {
    margin: 0 0 14px;
    color: #4c4c4c;
    font-size: .91rem;
  }

  .jr-mobile-assistant__actions {
    display: grid;
    gap: 9px;
  }

  .jr-mobile-assistant__action {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 12px;
    font-weight: 850;
    line-height: 1.1;
    text-align: left;
    touch-action: manipulation;
  }

  .jr-mobile-assistant__action i {
    flex: 0 0 28px;
    margin-right: 10px;
    font-size: 1.22rem;
    text-align: center;
  }

  .jr-mobile-assistant__action--search {
    border: 2px solid var(--jr-assistant-ink);
    background: #fff;
    color: var(--jr-assistant-ink);
  }

  .jr-mobile-assistant__action--search i {
    color: var(--jr-assistant-orange);
  }

  .jr-mobile-assistant__action--appointment {
    border: 2px solid var(--jr-assistant-ink);
    background: var(--jr-assistant-ink);
    color: #fff;
  }

  .jr-mobile-assistant__action--whatsapp {
    justify-content: center;
    width: 100%;
    border: 0;
    background: #25d366;
    color: #071d0f;
  }

  .jr-mobile-assistant__launcher:focus-visible,
  .jr-mobile-assistant__close:focus-visible,
  .jr-mobile-assistant__action:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--jr-assistant-ink);
  }
}

@media (min-width: 768px) {
  .jr-mobile-assistant {
    right: 20px;
    bottom: 20px;
  }

  .jr-mobile-assistant__launcher {
    width: 54px;
    height: 54px;
    border-width: 2px;
  }

  .jr-mobile-assistant__mark {
    width: 23px;
    height: 23px;
    border-width: 3px;
  }

  .jr-mobile-assistant__mark::before {
    inset: 3px;
  }

  .jr-mobile-assistant__mark::after {
    width: 11px;
    height: 3px;
    right: -9px;
    bottom: -4px;
  }

  .jr-mobile-assistant__hint {
    right: 66px;
    bottom: 5px;
  }

  .jr-mobile-assistant__panel {
    bottom: 66px;
    width: 360px;
  }
}

@keyframes jr-assistant-pulse {
  0% { opacity: .7; transform: scale(.82); }
  100% { opacity: 0; transform: scale(1.42); }
}

@media (prefers-reduced-motion: reduce) {
  .jr-mobile-assistant *,
  .jr-mobile-assistant *::before,
  .jr-mobile-assistant *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
