/* Neotel website chatbot (guided enquiry assistant) */
.nb-launcher {
  position: fixed; right: 20px; bottom: 92px; z-index: 10000;
  width: 60px; height: 60px; border: 0; border-radius: 50%; padding: 0;
  /* glossy dark body with a thin orange rim */
  background:
    radial-gradient(120% 120% at 30% 15%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(145deg, #2B2F33 0%, #111317 55%, #050608 100%) padding-box,
    linear-gradient(145deg, #FFB067 0%, #FF8A26 45%, #8A3E0C 100%) border-box;
  border: 1.5px solid transparent;
  color: #fff; cursor: pointer;
  display: grid; place-items: center;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .12) inset,
    0 -4px 10px rgba(0, 0, 0, .45) inset,
    0 10px 24px -6px rgba(3, 7, 18, .45),
    0 18px 40px -12px rgba(255, 138, 38, .35);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
  -webkit-tap-highlight-color: transparent;
}
/* soft orange halo that breathes slowly */
.nb-launcher::before {
  content: ""; position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, rgba(255, 138, 38, 0) 80%, rgba(255, 138, 38, .45) 89%, rgba(255, 138, 38, 0) 100%);
  animation: nb-halo 3.2s ease-in-out infinite;
}
@keyframes nb-halo { 0%, 100% { opacity: .35; transform: scale(.92); } 50% { opacity: .9; transform: scale(1.08); } }
.nb-launcher:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .16) inset,
    0 -4px 10px rgba(0, 0, 0, .45) inset,
    0 14px 30px -6px rgba(3, 7, 18, .5),
    0 22px 48px -10px rgba(255, 138, 38, .5);
}
.nb-launcher:active { transform: translateY(-1px) scale(.97); }
.nb-launcher:focus-visible { outline: 2px solid #FF8A26; outline-offset: 4px; }
.nb-launcher svg { width: 26px; height: 26px; transition: transform .35s cubic-bezier(.2, .8, .2, 1), opacity .25s ease; }
.nb-launcher:hover::after { transform: scale(1.08); }

/* chat icon: drawn here so the bubble and its three dots are exactly centred in the button */
.nb-launcher .nb-ic-chat { display: none; }
.nb-launcher::after {
  content: "";
  grid-area: 1 / 1;
  width: 26px; height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3.5h12a3.5 3.5 0 0 1 3.5 3.5v6.5a3.5 3.5 0 0 1-3.5 3.5h-6.2L7.5 20.5V17H6a3.5 3.5 0 0 1-3.5-3.5V7A3.5 3.5 0 0 1 6 3.5z' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linejoin='round'/%3E%3Ccircle cx='8' cy='10.25' r='1.35' fill='%23fff'/%3E%3Ccircle cx='12' cy='10.25' r='1.35' fill='%23fff'/%3E%3Ccircle cx='16' cy='10.25' r='1.35' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.nb-open .nb-launcher::after { display: none; }
.nb-launcher .nb-ic-close { grid-area: 1 / 1; }
.nb-launcher .nb-ic-close { display: none; }
.nb-open .nb-launcher .nb-ic-chat { display: none; }
.nb-open .nb-launcher .nb-ic-close { display: block; animation: nb-spin-in .35s cubic-bezier(.2, .8, .2, 1); }
.nb-open .nb-launcher::before { animation: none; opacity: 0; }
@keyframes nb-spin-in { from { transform: rotate(-90deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.nb-launcher .nb-dot {
  position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%;
  background: #FF8A26; border: 2px solid #fff; box-shadow: 0 0 0 0 rgba(255, 138, 38, .6);
  animation: nb-ping 2s ease-out infinite;
}
@keyframes nb-ping { 0% { box-shadow: 0 0 0 0 rgba(255, 138, 38, .55); } 80%, 100% { box-shadow: 0 0 0 9px rgba(255, 138, 38, 0); } }
.nb-open .nb-launcher .nb-dot, .nb-seen .nb-launcher .nb-dot { display: none; }

.nb-teaser {
  position: fixed; right: 88px; bottom: 102px; z-index: 10000;
  max-width: 230px; padding: 11px 14px; border-radius: 12px 12px 2px 12px;
  background: #fff; color: #030712; font: 500 14px/1.4 "Outfit", sans-serif;
  box-shadow: 0 8px 24px rgba(3, 7, 18, .16); border: 1px solid rgba(3, 7, 18, .08);
  opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.nb-teaser.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.nb-open .nb-teaser { display: none; }

.nb-panel {
  position: fixed; right: 20px; bottom: 162px; z-index: 10001;
  width: 370px; height: min(560px, calc(100vh - 190px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid rgba(3, 7, 18, .1); border-radius: 16px;
  box-shadow: 0 24px 60px rgba(3, 7, 18, .25);
  font-family: "Outfit", sans-serif; color: #030712;
  opacity: 0; transform: translateY(14px) scale(.98); transform-origin: bottom right;
  visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
}
.nb-open .nb-panel { opacity: 1; transform: none; visibility: visible; transition: opacity .25s ease, transform .25s ease; }

.nb-head {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: #030712; color: #fff; flex: none;
}
.nb-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: #fff; display: grid; place-items: center; overflow: hidden;
}
.nb-avatar img { width: 30px; height: auto; }
.nb-head-text { flex: 1; min-width: 0; }
.nb-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.25; color: #fff; }
.nb-status { margin: 2px 0 0; font-size: 12.5px; color: #c9cdd4; display: flex; align-items: center; gap: 6px; }
.nb-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #26CF4B; }
.nb-icon-btn {
  width: 34px; height: 34px; border: 0; border-radius: 8px; padding: 0; flex: none;
  background: transparent; color: #c9cdd4; cursor: pointer; display: grid; place-items: center;
}
.nb-icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nb-icon-btn:focus-visible { outline: 2px solid #FF8A26; }
.nb-icon-btn svg { width: 18px; height: 18px; }

.nb-log {
  flex: 1; overflow-y: auto; padding: 16px 14px 8px; background: #F3F4F6;
  display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth;
}
.nb-msg {
  max-width: 85%; padding: 10px 13px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.5; word-wrap: break-word;
  animation: nb-in .25s ease both;
}
.nb-msg a { color: #FF8A26; text-decoration: underline; }
.nb-bot { align-self: flex-start; background: #fff; border: 1px solid rgba(3, 7, 18, .07); border-bottom-left-radius: 4px; }
.nb-user { align-self: flex-end; background: #030712; color: #fff; border-bottom-right-radius: 4px; }
.nb-summary { width: 100%; max-width: 100%; font-size: 13.5px; }
.nb-summary dl { margin: 6px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; }
.nb-summary dt { color: #6B7280; font-weight: 400; }
.nb-summary dd { margin: 0; font-weight: 500; }
.nb-typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.nb-typing span { width: 6px; height: 6px; border-radius: 50%; background: #9CA3AF; animation: nb-blink 1s infinite; }
.nb-typing span:nth-child(2) { animation-delay: .15s; }
.nb-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes nb-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes nb-blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

.nb-choices { display: flex; flex-wrap: wrap; gap: 7px; padding: 2px 0 4px; animation: nb-in .25s ease both; }
.nb-chip {
  border: 1px solid rgba(3, 7, 18, .16); background: #fff; color: #030712;
  border-radius: 999px; padding: 8px 13px; font: 500 13.5px/1.2 "Outfit", sans-serif;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.nb-chip:hover { border-color: #FF8A26; color: #c25f0a; }
.nb-chip:focus-visible { outline: 2px solid #FF8A26; outline-offset: 2px; }
.nb-chip.nb-primary { background: #FF8A26; border-color: #FF8A26; color: #030712; }
.nb-chip.nb-primary:hover { background: #f07a14; color: #030712; }
.nb-chip.nb-wa { background: #25D366; border-color: #25D366; color: #fff; }

.nb-form { flex: none; display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid rgba(3, 7, 18, .08); background: #fff; }
.nb-input {
  flex: 1; min-width: 0; height: 42px; padding: 0 13px;
  border: 1px solid rgba(3, 7, 18, .16); border-radius: 10px; background: #fff;
  font: 400 15px "Outfit", sans-serif; color: #030712;
}
.nb-input:focus { outline: none; border-color: #FF8A26; box-shadow: 0 0 0 3px rgba(255, 138, 38, .18); }
.nb-input:disabled { background: #F3F4F6; }
.nb-send {
  width: 42px; height: 42px; flex: none; border: 0; border-radius: 10px; padding: 0;
  background: #030712; color: #fff; cursor: pointer; display: grid; place-items: center;
}
.nb-send:disabled { opacity: .35; cursor: default; }
.nb-send:focus-visible { outline: 2px solid #FF8A26; outline-offset: 2px; }
.nb-send svg { width: 18px; height: 18px; }
.nb-error { color: #b42318; font-size: 13px; padding: 0 14px 6px; background: #fff; display: none; }
.nb-error.show { display: block; }
.nb-foot { flex: none; padding: 0 14px 10px; background: #fff; font-size: 11.5px; color: #6B7280; text-align: center; }
.nb-foot a { color: #6B7280; text-decoration: underline; }

.nb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 575px) {
  .nb-launcher { right: 16px; bottom: 88px; width: 56px; height: 56px; }
  .nb-teaser { right: 80px; bottom: 96px; max-width: 200px; }
  .nb-panel {
    right: 8px; left: 8px; bottom: 8px; width: auto;
    height: min(640px, calc(100dvh - 16px)); border-radius: 16px;
  }
  .nb-open .nb-launcher { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .nb-panel, .nb-msg, .nb-choices, .nb-teaser, .nb-launcher, .nb-launcher::before, .nb-launcher::after, .nb-launcher svg, .nb-launcher .nb-dot { transition: none !important; animation: none !important; }
}

/* keep site-wide text styles from changing the chat */
.nb-root p, .nb-root dl, .nb-root dd { margin: 0; }
.nb-panel .nb-title { font-size: 16px; line-height: 1.25; }
.nb-panel .nb-status { font-size: 12.5px; line-height: 1.3; margin-top: 2px; }
.nb-panel .nb-foot { font-size: 11.5px !important; line-height: 1.45 !important; margin: 0; }
.nb-panel .nb-error { font-size: 13px; line-height: 1.4; margin: 0; }
.nb-panel .nb-msg { font-size: 14.5px; line-height: 1.5; }
.nb-panel .nb-chip { line-height: 1.2; }

/* ---- choose several (outdoor formats) ---- */
.nb-multi .nb-chip[aria-pressed="true"] { background: #030712; border-color: #030712; color: #fff; }
.nb-multi .nb-chip[aria-pressed="true"]::before { content: "\2713"; margin-right: 6px; color: #FF8A26; font-weight: 700; }
.nb-chip:disabled { opacity: .45; cursor: default; }
.nb-chip.nb-go { flex-basis: 100%; }
.nb-chip-sm { padding: 6px 11px; font-size: 12.5px; }

/* ---- location map ---- */
.nb-panel .nb-mapmsg { width: 100%; max-width: 100%; padding: 6px; }
.nb-map {
  height: 250px; width: 100%; border-radius: 10px; overflow: hidden;
  background: #e8eaed; position: relative; z-index: 0;
}
.nb-panel .nb-map-hint { margin: 6px 4px 2px; font-size: 12.5px; line-height: 1.4; color: #6B7280; }
.nb-map .leaflet-control-attribution { font-size: 10px; }
.nb-map .leaflet-control-zoom a { width: 28px; height: 28px; line-height: 28px; font-size: 16px; }
.nb-map .leaflet-container, .nb-map.leaflet-container { font-family: "Outfit", sans-serif; cursor: crosshair; }
.nb-pin-wrap { background: none; border: 0; }
.nb-pin {
  position: absolute; left: 1px; top: 0; width: 28px; height: 28px;
  border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: #FF8A26; border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(3, 7, 18, .35);
  display: grid; place-items: center;
}
.nb-pin b { transform: rotate(45deg); color: #030712; font: 700 12px/1 "Outfit", sans-serif; }
@media (max-width: 575px) { .nb-map { height: 280px; } }
.nb-panel .nb-chip { width: auto; flex: 0 0 auto; max-width: 100%; }
.nb-panel .nb-chip.nb-go { flex-basis: 100%; }
.nb-mapmsg .nb-areas { margin-top: 6px; gap: 6px; }
.nb-mapmsg .nb-choices:last-child { margin-top: 4px; }
