/* ============================================================
   JBIT theme for the third-party widgets that run on the site —
   the ExtraaEdge enquiry form ("Enquire Now" popup + side tab) and
   the ExtraaEdge chat assistant. Their own stylesheets load at
   runtime, after ours, so these rules need !important.
   Nothing here changes what the widgets do: the leads still go to
   the same place, they just look like the rest of the website.
   When they open and on which pages: assets/js/jb-vendor.js and
   CMS › Enquiry Popup & Chat.
   ============================================================ */

/* ---------- Behaviour hooks set by jb-vendor.js ---------- */
html.jb-enq-hold .jquery-modal.blocker{ visibility:hidden !important; }      /* the widget's own auto-open, before it is closed */
html.jb-enq-open #__eechatIcon,                                              /* chat steps aside while the popup is open */
html.jb-enq-open #eeChatIndicator .indicator,
html.jb-enq-open #__eechatWindow{ visibility:hidden !important; pointer-events:none !important; }
html.jb-chat-nogreet #eeChatIndicator{ display:none !important; }
@media (max-width:760px){ html.jb-chat-nophone #__eedivChatMain{ display:none !important; } }

/* ---------- Enquiry popup: backdrop & shell ----------
   Compact on purpose: 460 px wide and under 600 px tall, so the whole
   form — submit button included — fits on a laptop screen. */
.jquery-modal.blocker{ background:rgba(9,14,26,.62) !important; backdrop-filter:blur(5px); -webkit-backdrop-filter:blur(5px); padding:12px !important; z-index:1200 !important; }
.ee-form-widget-form.modal,
#ee-form-4-modal-swapper{ width:min(460px,100%) !important; max-width:min(460px,100%) !important; max-height:calc(100vh - 24px) !important; max-height:calc(100dvh - 24px) !important;
  overflow-x:hidden !important; overflow-y:auto !important; overscroll-behavior:contain; scrollbar-width:thin;
  padding:0 !important; border:0 !important; border-radius:22px !important; vertical-align:middle !important; text-align:left !important;
  background:var(--jb-surface,#FBFAF7) !important; box-shadow:0 40px 90px -40px rgba(9,14,26,.75) !important; }
.ee-form-widget .modal-dialog{ margin:0 !important; max-width:none !important; width:auto !important; }
.ee-form-widget .modal-content{ border:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; }
.ee-form-widget form{ margin:0 !important; font-family:var(--jb-sans,'Onest',system-ui,sans-serif) !important; color:var(--jb-ink,#13161D) !important; }

/* ---------- Header ---------- */
.ee-form-widget .ee-form-header{ padding:0 !important; border:0 !important; background:transparent !important; }
.ee-form-widget .modal-header{ position:relative !important; display:block !important; padding:20px 64px 6px 24px !important; border:0 !important; background:transparent !important; text-align:left !important; }
.ee-form-widget .ee-form-heading,
.ee-form-widget .modal-title{ margin:0 !important; font:600 23px/1.15 var(--jb-sans,'Onest',sans-serif) !important; letter-spacing:-.025em !important;
  color:var(--jb-ink,#13161D) !important; text-align:left !important; text-transform:none !important; }
.ee-form-widget .ee-form-heading::before{ content:var(--jb-enq-label,"Admissions 2026"); display:flex; width:max-content; max-width:100%; align-items:center; margin-bottom:8px; padding:4px 11px; border-radius:999px;
  background:var(--jb-bg,#F3F0EB); color:var(--jb-ink-2,#3A3F4A); font-size:10.5px; font-weight:600; line-height:1.5; letter-spacing:.08em; text-transform:uppercase; }
.ee-form-widget .ee-form-heading::after{ content:""; display:block; width:34px; height:2px; margin-top:10px; border-radius:2px; background:var(--jb-accent,#D7192A); }
.ee-form-widget .ee-form-instruction{ margin:8px 0 0 !important; font-size:13.5px !important; line-height:1.45 !important; color:var(--jb-muted,#6D717A) !important; }
.ee-form-widget .ee-form-instruction:empty{ display:none !important; }
.ee-form-widget .modal-header .close,
.ee-form-widget button.close{ display:none !important; }                     /* jquery-modal's × below does the job */

/* jQuery-modal's "Close" link, redrawn as a round × */
.jquery-modal .close-modal,
a.close-modal{ position:absolute !important; top:14px !important; right:14px !important; z-index:3 !important; display:grid !important; place-items:center !important;
  width:34px !important; height:34px !important; margin:0 !important; padding:0 !important; border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:50% !important;
  background:#fff !important; background-image:none !important; color:transparent !important; font-size:0 !important; text-indent:0 !important; box-shadow:none !important; opacity:1 !important;
  transition:background-color .2s, border-color .2s; }
.jquery-modal .close-modal::after{ content:"×"; color:var(--jb-ink,#13161D); font:400 21px/1 var(--jb-sans,'Onest',sans-serif); }
.jquery-modal .close-modal:hover{ background:var(--jb-ink,#13161D) !important; border-color:var(--jb-ink,#13161D) !important; }
.jquery-modal .close-modal:hover::after{ color:#fff; }
.jquery-modal .close-modal:focus-visible{ outline:2px solid var(--jb-accent,#D7192A) !important; outline-offset:2px; }

/* ---------- Layout: one column, pairs side by side ---------- */
.ee-form-widget .ee-form-body{ display:flex !important; flex-wrap:wrap !important; justify-content:space-between !important; align-items:flex-start !important;
  gap:0 !important; padding:8px 24px 0 !important; }
.ee-form-widget .ee-form-body > .ee-row{ flex:none !important; width:100% !important; margin:0 0 10px !important; padding:0 !important; float:none !important; }
.ee-form-widget .ee-form-body > .ee-row.half-width,
.ee-form-widget .ee-form-body > .ee-row:has(select[id$="-entity1"]),
.ee-form-widget .ee-form-body > .ee-row:has(select[id$="-entity2"]){ width:calc(50% - 5px) !important; }
.ee-form-widget .ee-row .col-75{ width:100% !important; max-width:none !important; float:none !important; padding:0 !important; margin:0 !important; }
.ee-form-widget .ee-row .col-25{ display:none !important; }                     /* the placeholders carry the labels */
.ee-form-widget .ee-row label{ font-size:13px !important; font-weight:600 !important; color:var(--jb-ink-2,#3A3F4A) !important; }

/* ---------- Fields ---------- */
.ee-form-widget input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.ee-form-widget select,
.ee-form-widget .select2-container .select2-selection--single{ box-sizing:border-box !important; width:100% !important; height:44px !important; min-height:44px !important; margin:0 !important;
  padding:0 14px !important; border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:12px !important; background-color:#fff !important; box-shadow:none !important;
  font:500 14.5px/1.2 var(--jb-sans,'Onest',sans-serif) !important; color:var(--jb-ink,#13161D) !important; transition:border-color .2s, box-shadow .2s; }
.ee-form-widget input::placeholder{ color:#9e978b !important; opacity:1 !important; }
.ee-form-widget input:focus,
.ee-form-widget select:focus,
.ee-form-widget .select2-container--focus .select2-selection--single,
.ee-form-widget .select2-container--open .select2-selection--single{ outline:none !important; border-color:var(--jb-ink,#13161D) !important; box-shadow:0 0 0 3px rgba(19,22,29,.09) !important; }
.ee-form-widget select{ appearance:none !important; -webkit-appearance:none !important; padding-right:40px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D717A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important; background-position:right 14px center !important; background-size:13px !important; }

/* dropdowns (select2): text and arrow centred in the box */
.ee-form-widget .select2-container{ display:block !important; width:100% !important; }
.ee-form-widget .select2-container .select2-selection--single{ display:flex !important; align-items:center !important; padding:0 32px 0 14px !important; cursor:pointer; }
.ee-form-widget .select2-container .select2-selection--single .select2-selection__rendered{ flex:1 1 auto; min-width:0; padding:0 !important; line-height:42px !important;
  overflow:hidden; white-space:nowrap; text-overflow:ellipsis; color:var(--jb-ink,#13161D) !important; font-size:14.5px !important; }
.ee-form-widget .select2-container .select2-selection__placeholder{ color:#9e978b !important; }
.ee-form-widget .select2-container .select2-selection--single .select2-selection__arrow{ position:absolute !important; top:0 !important; right:11px !important; width:14px !important; height:100% !important;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D717A' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / 13px !important;
  transition:transform .2s; }
.ee-form-widget .select2-container .select2-selection--single .select2-selection__arrow b{ display:none !important; }
.ee-form-widget .select2-container--open .select2-selection--single .select2-selection__arrow{ transform:rotate(180deg); }
.ee-form-widget .select2-container .select2-selection__clear{ margin-right:6px; color:var(--jb-muted,#6D717A) !important; }
/* the open list (select2 may attach it to <body>) */
.select2-container--open .select2-dropdown{ overflow:hidden; border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:12px !important;
  box-shadow:0 22px 50px -26px rgba(9,14,26,.55) !important; font-family:var(--jb-sans,'Onest',sans-serif) !important; z-index:1300 !important; }
.select2-container--open .select2-dropdown--below{ margin-top:4px; }
.select2-container--open .select2-dropdown--above{ margin-top:-4px; }
.select2-container--open .select2-search--dropdown .select2-search__field{ height:36px !important; padding:0 10px !important; border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:9px !important; font-size:14px !important; }
.select2-container--open .select2-results__option{ padding:8px 12px !important; font-size:14px !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable{ background:var(--jb-ink,#13161D) !important; color:#fff !important; }

/* phone field (intl-tel-input): +91 block and number in one box */
.ee-form-widget .iti{ display:block !important; width:100% !important; }
.ee-form-widget .iti__flag-container{ padding:0 !important; }
.ee-form-widget .iti--separate-dial-code .iti__selected-flag{ display:flex !important; align-items:center !important; gap:4px; height:44px !important; width:82px !important; padding:0 10px 0 12px !important;
  border-right:1px solid var(--jb-line,#DFD9CF) !important; border-radius:12px 0 0 12px !important; background:var(--jb-bg,#F3F0EB) !important; }
.ee-form-widget .iti__selected-dial-code{ margin-left:4px !important; font:500 14.5px var(--jb-sans,'Onest',sans-serif) !important; color:var(--jb-ink-2,#3A3F4A) !important; }
/* (repeats the :not()s of the general field rule so this one wins the tie) */
.ee-form-widget .iti.iti--separate-dial-code input[type=tel]:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
.ee-form-widget .iti.iti--separate-dial-code input[type=text]:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]){ padding-left:94px !important; }
.ee-form-widget .iti__country-list{ border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:12px !important; box-shadow:0 26px 60px -30px rgba(19,22,29,.5) !important; font-size:14px !important; }

/* captcha: picture + refresh, then the answer, on one line */
.ee-form-widget .captchaContainer{ display:flex !important; align-items:center !important; gap:10px !important; width:100% !important; margin:0 !important; }
.ee-form-widget .captchaContainer .cpatcha{ flex:none !important; display:flex !important; align-items:center !important; gap:6px !important; height:44px !important; width:auto !important;
  margin:0 !important; padding:0 4px 0 10px !important; border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:12px !important; background:#fff !important; }
.ee-form-widget .captchaContainer canvas{ display:block; border-radius:6px; }
.ee-form-widget .captchaContainer .divider{ width:1px !important; height:22px !important; background:var(--jb-line,#DFD9CF) !important; }
.ee-form-widget .captchaContainer .refreshButtonContainer{ display:grid !important; place-items:center !important; width:32px !important; height:32px !important; border-radius:50%; cursor:pointer; }
.ee-form-widget .captchaContainer .refreshButtonContainer:hover{ background:var(--jb-bg,#F3F0EB); }
.ee-form-widget .captchaContainer > .ee-row{ flex:1 1 auto !important; min-width:0 !important; width:auto !important; margin:0 !important; }
.ee-form-widget .ee-row:has(> .captchaContainer){ margin-bottom:10px !important; }

/* consent line */
.ee-form-widget .check-box-field{ margin:2px 0 4px !important; }
.ee-form-widget .check-box-field label{ display:flex !important; align-items:flex-start !important; gap:9px !important; margin:0 !important; cursor:pointer;
  font-size:12px !important; font-weight:400 !important; line-height:1.45 !important; color:var(--jb-muted,#6D717A) !important; }
.ee-form-widget input[type=checkbox]{ flex:none; width:17px !important; height:17px !important; min-height:0 !important; margin:1px 0 0 !important; accent-color:var(--jb-accent,#D7192A); }
.ee-form-widget .check-box-field label span{ font-size:12px !important; line-height:1.45 !important; color:var(--jb-muted,#6D717A) !important; }

/* ---------- Submit ---------- */
.ee-form-widget .ee-form-footer,
.ee-form-widget .modal-footer{ display:block !important; padding:8px 24px 22px !important; border:0 !important; background:transparent !important; }
.ee-form-widget .btn-submit,
.ee-form-widget button[type=submit],
.ee-form-widget .ee-submit-btn,
.ee-form-widget .btn-primary,
.ee-form-widget input[type=submit]{ display:block !important; width:100% !important; height:48px !important; min-height:48px !important; margin:0 !important; padding:0 24px !important;
  border:0 !important; border-radius:999px !important; background:var(--jb-accent,#D7192A) !important; color:#fff !important;
  font:600 15.5px/48px var(--jb-sans,'Onest',sans-serif) !important; letter-spacing:.01em !important; text-align:center !important; box-shadow:none !important;
  cursor:pointer; transition:background-color .2s, transform .15s !important; }
.ee-form-widget .btn-submit:hover,
.ee-form-widget button[type=submit]:hover,
.ee-form-widget .ee-submit-btn:hover,
.ee-form-widget .btn-primary:hover{ background:var(--jb-accent-2,#B3121F) !important; }
.ee-form-widget .btn-submit:active{ transform:scale(.99) !important; }
.ee-form-widget .btn-submit:disabled{ opacity:.6 !important; cursor:not-allowed; }

/* errors */
.ee-form-widget .ee-error,
.ee-form-widget .error,
.ee-form-widget label.error{ display:block; margin-top:4px !important; font-size:12px !important; line-height:1.35 !important; color:var(--jb-accent,#D7192A) !important; }
.ee-form-widget input.error,
.ee-form-widget .has-error input{ border-color:var(--jb-accent,#D7192A) !important; }

/* ---------- Phones ---------- */
@media (max-width:560px){
  .jquery-modal.blocker{ padding:8px !important; }
  .ee-form-widget-form.modal,
  #ee-form-4-modal-swapper{ max-height:calc(100vh - 16px) !important; max-height:calc(100dvh - 16px) !important; border-radius:18px !important; }
  .ee-form-widget .modal-header{ padding:16px 56px 4px 18px !important; }
  .ee-form-widget .ee-form-heading, .ee-form-widget .modal-title{ font-size:21px !important; }
  .ee-form-widget .ee-form-body{ padding:6px 18px 0 !important; }
  .ee-form-widget .ee-form-footer{ padding:6px 18px 18px !important; }
  /* long course names need the whole width */
  .ee-form-widget .ee-form-body > .ee-row:has(select[id$="-entity1"]),
  .ee-form-widget .ee-form-body > .ee-row:has(select[id$="-entity2"]){ width:100% !important; }
  /* 16 px text stops iPhones zooming into the field */
  .ee-form-widget input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]),
  .ee-form-widget .select2-container .select2-selection--single .select2-selection__rendered{ font-size:16px !important; }
}

/* ---------- The "Enquire Now" tab stuck to the side ---------- */
.ee-floating-control-container{ z-index:900 !important; }
.ee-floating-control-container *{ font-family:var(--jb-sans,'Onest',sans-serif) !important; }
.ee-floating-control-container a,
.ee-floating-control-container button,
.ee-floating-control-container .ee-floating-control{ background:var(--jb-accent,#D7192A) !important; color:#fff !important; border:0 !important;
  border-radius:12px 12px 0 0 !important; font-size:13.5px !important; font-weight:600 !important; letter-spacing:.04em !important; box-shadow:0 18px 40px -22px rgba(9,14,26,.7) !important; }

/* ---------- Chat assistant ---------- */
/* The chat sheet is driven by a palette on :root. Re-point it at ours and the
   whole assistant — header, buttons, bubbles, links — follows the site.
   (html:root outranks the vendor's own :root, whichever sheet loads last.) */
html:root{
  --ee-chat-bot-color:#0E1A30 !important;
  --ee-chat-bot-header-right-side-color:#0E1A30 !important;
  --ee-chat-bot-button-color:#D7192A !important;
  --ee-chat-bot-options-hover:#E9E4DC !important;
  --ee-input-field-placeholder-color:#6D717A !important;
  --ee-primary-font-color:#3A3F4A !important;
  --ee-secondaory-font-color:#D7192A !important;
  --ee-border-color:#DFD9CF !important;
  --ee-background-color:#FFFFFF !important;
  --ee-copyright-footer-font-color:#6D717A !important;
  --ee-calender-buttons-hover:#E9E4DC !important;
}

#__eedivChatMain,
#eeChatContainer,
#__eechatWindow,
#eeChatIndicator{ font-family:var(--jb-sans,'Onest',system-ui,sans-serif) !important; }
#__eechatIcon{ width:60px !important; height:60px !important; border-radius:50% !important; background:var(--jb-navy,#0E1A30) !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-9 8.4 9.9 9.9 0 0 1-4-.8L3 21l1.9-4.6a8.4 8.4 0 0 1-.9-3.9 8.4 8.4 0 0 1 8.5-8.4 8.4 8.4 0 0 1 8.5 8.4z'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important; background-position:center !important; background-size:26px !important;
  border:2px solid rgba(255,255,255,.9) !important; box-shadow:0 20px 44px -20px rgba(9,14,26,.8) !important; transition:transform .25s ease !important; }
#__eechatIcon:hover{ transform:translateY(-3px) scale(1.04) !important; }
#eeChatIndicator .indicator,
#eeChatIndicator .indicator > div{ border-radius:16px !important; background:var(--jb-surface,#FBFAF7) !important; color:var(--jb-ink,#13161D) !important;
  box-shadow:0 22px 50px -28px rgba(9,14,26,.6), 0 0 0 1px var(--jb-line,#DFD9CF) !important; }
#eeChatIndicator .indicator p{ margin:0 !important; font-size:14px !important; line-height:1.45 !important; color:var(--jb-ink-2,#3A3F4A) !important; }
#eeChatIndicator .close-indicator{ color:var(--jb-muted,#6D717A) !important; }
#__eechatWindow{ border-radius:var(--jb-r-lg,24px) !important; overflow:hidden !important; border:1px solid var(--jb-line,#DFD9CF) !important;
  box-shadow:0 40px 90px -45px rgba(9,14,26,.8) !important; background:var(--jb-surface,#FBFAF7) !important; }
#__eechatWindow .floating-header,
#__eechatWindow .chat-header,
#__eechatWindow .header{ background:var(--jb-navy,#0E1A30) !important; color:#fff !important; font:600 15px var(--jb-sans,'Onest',sans-serif) !important;
  letter-spacing:-.01em !important; padding:16px 18px !important; border:0 !important; }
#__eechatWindow .floating-body,
#__eechatWindow .chat-body{ background:var(--jb-surface,#FBFAF7) !important; }
#__eechatWindow .conversation-header{ font:600 15px var(--jb-sans,'Onest',sans-serif) !important; color:var(--jb-ink,#13161D) !important; }
#__eechatWindow .conversation-text p,
#__eechatWindow .conversation-sub{ font-size:13.5px !important; color:var(--jb-muted,#6D717A) !important; }
#__eechatWindow .profile-image{ border-radius:50% !important; border:1px solid var(--jb-line,#DFD9CF) !important; background-color:var(--jb-bg,#F3F0EB) !important; }
#__eechatWindow button,
#__eechatWindow .btn,
#__eechatWindow .send-button{ border-radius:999px !important; background:var(--jb-accent,#D7192A) !important; color:#fff !important; border:0 !important;
  font:600 14px var(--jb-sans,'Onest',sans-serif) !important; }
#__eechatWindow input[type=text],
#__eechatWindow textarea{ border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:var(--jb-r-sm,14px) !important; background:#fff !important;
  font:500 14.5px var(--jb-sans,'Onest',sans-serif) !important; color:var(--jb-ink,#13161D) !important; }
#__eechatWindow .user-message,
#__eechatWindow .right-message .message{ background:var(--jb-navy,#0E1A30) !important; color:#fff !important; border-radius:16px 16px 4px 16px !important; }
#__eechatWindow .bot-message,
#__eechatWindow .left-message .message{ background:var(--jb-bg,#F3F0EB) !important; color:var(--jb-ink,#13161D) !important; border-radius:16px 16px 16px 4px !important; }

/* ---------- Bottom-right corner: one tidy column ----------
   Chat button in the corner, back-to-top button right above it (they used
   to sit on top of each other), greeting bubble level with the chat button.
   Phones: everything sits above the Call / WhatsApp / Apply bar. */
#__eechatIcon{ right:max(20px, env(safe-area-inset-right)) !important; bottom:calc(20px + env(safe-area-inset-bottom)) !important;
  width:58px !important; height:58px !important; transition:transform .25s ease, bottom .45s cubic-bezier(.2,.7,.2,1) !important; }
@media (min-width:761px){
  html:has(#__eechatIcon) .jb-totop{ right:max(22px, calc(env(safe-area-inset-right) + 2px)); bottom:calc(90px + env(safe-area-inset-bottom)); }
}
html:has(#__eechatWindow.chatbot_open) .jb-totop{ opacity:0 !important; pointer-events:none !important; }   /* the open chat covers that corner */
/* greeting bubble: a fixed-width card to the left of the button, its tail pointing at the button's centre */
#eeChatIndicator .indicator{ top:auto !important; left:auto !important; right:calc(max(20px, env(safe-area-inset-right)) + 72px) !important; bottom:calc(20px + env(safe-area-inset-bottom)) !important;
  display:flex !important; align-items:center !important; box-sizing:border-box !important; width:250px !important; min-height:58px !important; padding:10px 16px !important; }
#eeChatIndicator .indicator > div{ flex:1 1 auto; min-width:0; padding:0 !important; border-radius:0 !important; background:transparent !important; box-shadow:none !important; cursor:pointer; }
#eeChatIndicator .indicator p{ margin:0 !important; text-align:left !important; }
/* the greeting text is the vendor's p::before, absolutely placed and wider than the card — put it back in the flow */
#eeChatIndicator .indicator p::before{ position:static !important; display:block !important; inset:auto !important; width:auto !important; height:auto !important; margin:0 !important; padding:0 !important;
  font:500 13.5px/1.45 var(--jb-sans,'Onest',sans-serif) !important; color:var(--jb-ink-2,#3A3F4A) !important; white-space:normal !important; }
html.jb-enq-open #eeChatIndicator{ display:none !important; }
#eeChatIndicator .indicator::after{ content:"" !important; position:absolute !important; top:auto !important; left:auto !important; right:-7px !important; bottom:22px !important;
  width:13px !important; height:13px !important; border:0 !important; border-top:1px solid var(--jb-line,#DFD9CF) !important; border-right:1px solid var(--jb-line,#DFD9CF) !important;
  background:var(--jb-surface,#FBFAF7) !important; transform:rotate(45deg) !important; }
/* × to dismiss the greeting: always visible (the vendor's own × only appeared on hover, under this circle) */
#eeChatIndicator .indicator::before{ display:none !important; }
#eeChatIndicator .close-indicator{ top:-9px !important; left:-9px !important; display:grid !important; place-items:center !important; width:22px !important; height:22px !important; border-radius:50% !important;
  background:#fff !important; box-shadow:0 0 0 1px var(--jb-line,#DFD9CF), 0 4px 10px -4px rgba(9,14,26,.4) !important; opacity:1 !important; cursor:pointer; text-decoration:none !important; }
#eeChatIndicator .close-indicator::before{ content:"×"; display:block; margin-top:-1px; color:var(--jb-ink,#13161D); font:500 16px/1 var(--jb-sans,'Onest',sans-serif); }
#eeChatIndicator .close-indicator:hover{ background:var(--jb-ink,#13161D) !important; }
#eeChatIndicator .close-indicator:hover::before{ color:#fff; }
@media (max-width:760px){
  /* the open chat fills a phone screen: the accessibility button would sit on top of its messages */
  html:has(#__eechatWindow.chatbot_open) .asw-menu-btn{ opacity:0 !important; pointer-events:none !important; }
  #eeChatIndicator{ display:none !important; }
  #__eechatIcon{ right:12px !important; width:52px !important; height:52px !important; background-size:23px !important; }
  body.jb-quick-on:has(.jb-quick) #__eechatIcon{ bottom:calc(76px + env(safe-area-inset-bottom)) !important; }
  html:not(.jb-chat-nophone):has(#__eechatIcon) .jb-totop{ right:14px; bottom:calc(84px + env(safe-area-inset-bottom)); }
  html:not(.jb-chat-nophone):has(#__eechatIcon) body.jb-quick-on:has(.jb-quick) .jb-totop{ bottom:calc(140px + env(safe-area-inset-bottom)); }
}

/* ---------- Chat assistant: the opened conversation ---------- */
#__eechatWindow #chatHeader,
#__eechatWindow .headerLeftContent,
#__eechatWindow .headerRightContent{ background:var(--jb-navy,#0E1A30) !important; color:#fff !important; border:0 !important; }
#__eechatWindow #chatHeader{ padding:14px 16px !important; }
#__eechatWindow .botName,
#__eechatWindow .infoHeader{ font:600 15px var(--jb-sans,'Onest',sans-serif) !important; color:#fff !important; letter-spacing:-.01em !important; }
#__eechatWindow .chatbot-close-icon,
#__eechatWindow .chatbot-close-icon *{ color:#fff !important; opacity:.85 !important; }
#__eechatWindow .chatBody,
#__eechatWindow .newChatBody{ background:var(--jb-bg,#F3F0EB) !important; }
#__eechatWindow ._eemessage-in .ac-container,
#__eechatWindow ._eemessage-in .messageWidth{ background:#fff !important; color:var(--jb-ink,#13161D) !important;
  border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:16px 16px 16px 4px !important; font-size:14px !important; line-height:1.5 !important; }
#__eechatWindow ._eemessage-out .ac-container,
#__eechatWindow ._eemessage-out .messageWidth{ background:var(--jb-navy,#0E1A30) !important; color:#fff !important; border:0 !important;
  border-radius:16px 16px 4px 16px !important; font-size:14px !important; }
#__eechatWindow .ac-pushButton{ border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:999px !important; background:#fff !important;
  color:var(--jb-ink,#13161D) !important; font:600 13.5px var(--jb-sans,'Onest',sans-serif) !important; padding:9px 16px !important; }
#__eechatWindow .ac-pushButton:hover{ background:var(--jb-ink,#13161D) !important; color:#fff !important; }
#__eechatWindow .wrap{ background:var(--jb-surface,#FBFAF7) !important; border-top:1px solid var(--jb-line,#DFD9CF) !important; }
#__eechatWindow .submit.btn-control,
#__eechatWindow .fa-paper-plane{ color:#fff !important; }
#__eechatWindow .submit.btn-control{ display:grid !important; place-items:center !important; width:40px !important; height:40px !important;
  border-radius:50% !important; background:var(--jb-accent,#D7192A) !important; border:0 !important; }
#__eechatWindow .uploadIcon{ color:var(--jb-muted,#6D717A) !important; }
#__eechatWindow .chatCopyright,
#__eechatWindow .chatCopyrightContainer{ background:var(--jb-surface,#FBFAF7) !important; color:var(--jb-muted,#6D717A) !important; font-size:11.5px !important; }
#__eechatWindow .chatCopyright a{ color:var(--jb-accent,#D7192A) !important; }
#__eechatWindow .chatBot_icon,
#__eechatWindow .info-header-img,
#__eechatWindow .bgIcon.botIcon{ border-radius:50% !important; background-color:rgba(255,255,255,.14) !important; }

/* chat bubbles — the bot's light-blue cards become our paper cards */
#__eechatWindow .ac-container.messageWidth{ background:#fff !important; color:var(--jb-ink,#13161D) !important;
  border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:16px 16px 16px 4px !important; }
#__eechatWindow .ac-container.messageWidth .ac-container{ background:transparent !important; border:0 !important; border-radius:0 !important; }
#__eechatWindow .ac-textBlock,
#__eechatWindow .ac-container p,
#__eechatWindow .ac-container span{ color:var(--jb-ink-2,#3A3F4A) !important; font-family:var(--jb-sans,'Onest',sans-serif) !important; font-size:14px !important; line-height:1.55 !important; }
#__eechatWindow .ac-container b,
#__eechatWindow .ac-container strong{ color:var(--jb-ink,#13161D) !important; }
/* whatever the visitor sends sits on the navy side */
#__eechatWindow .userMessage,
#__eechatWindow .user-message,
#__eechatWindow ._eemessage-out,
#__eechatWindow .messageRight,
#__eechatWindow .right .ac-container{ background:var(--jb-navy,#0E1A30) !important; color:#fff !important; border:0 !important; border-radius:16px 16px 4px 16px !important; }
#__eechatWindow .userMessage *,
#__eechatWindow ._eemessage-out *,
#__eechatWindow .messageRight *{ color:#fff !important; }

/* ---------- Chat assistant: the parts the vendor sheet was still winning ----------
   Its own rules carry !important at the same weight as ours and load after us,
   so these repeat the id to take the tie. */
#__eedivChatMain #__eechatWindow#__eechatWindow > div{ background:transparent !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow #chatHeader{ background:var(--jb-navy,#0E1A30) !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .chatBody{ background:var(--jb-bg,#F3F0EB) !important; }

/* every bot card: paper, not pale blue */
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-adaptiveCard,
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-container.messageWidth{ background:var(--jb-surface,#FBFAF7) !important;
  border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:18px 18px 18px 6px !important;
  padding:14px 16px !important; box-shadow:0 12px 26px -22px rgba(9,14,26,.5) !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-adaptiveCard .ac-container{ background:transparent !important; border-color:transparent !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .__eeChatBot-custom-adaptiveCard{ border-left:3px solid var(--jb-accent,#D7192A) !important;
  border-radius:18px 18px 18px 6px !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-textBlock,
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-textBlock p{ font-family:var(--jb-sans,'Onest',sans-serif) !important;
  font-size:14px !important; line-height:1.55 !important; color:var(--jb-ink-2,#3A3F4A) !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-textBlock b,
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-textBlock strong{ color:var(--jb-ink,#13161D) !important; font-weight:600 !important; }

/* the bot's photo beside its messages (jb-vendor.js gives the follow-up messages the photo too) */
#__eedivChatMain #__eechatWindow#__eechatWindow .chatBody .botIcon.bgIcon{ background-color:#fff !important; background-size:cover !important; background-position:center !important;
  background-repeat:no-repeat !important; border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:50% !important; }

/* "Powered by ExtraaEdge" sat on top of the last message: give it a solid strip and room under the messages */
#__eedivChatMain #__eechatWindow#__eechatWindow .chatCopyright{ z-index:3 !important; background:var(--jb-surface,#FBFAF7) !important; border-top:1px solid var(--jb-line,#DFD9CF) !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .chatBody{ padding-bottom:46px !important; }

/* the "share your details" card the bot shows */
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-input.ac-textInput{ height:42px !important; padding:0 12px !important;
  border:1px solid var(--jb-line,#DFD9CF) !important; border-radius:12px !important; background:#fff !important;
  font:500 14px var(--jb-sans,'Onest',sans-serif) !important; color:var(--jb-ink,#13161D) !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-input.ac-textInput:focus{ outline:0 !important;
  border-color:var(--jb-ink,#13161D) !important; box-shadow:0 0 0 3px rgba(19,22,29,.08) !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-submitButton,
#__eedivChatMain #__eechatWindow#__eechatWindow .singleInput-ac-actionSet button{ width:100% !important; height:42px !important;
  border:0 !important; border-radius:999px !important; background:var(--jb-accent,#D7192A) !important; color:#fff !important;
  font:600 14px var(--jb-sans,'Onest',sans-serif) !important; letter-spacing:.01em !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-submitButton:hover{ background:var(--jb-ink,#13161D) !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-pushButton{ border:1px solid var(--jb-line,#DFD9CF) !important;
  border-radius:999px !important; background:#fff !important; color:var(--jb-ink,#13161D) !important;
  font:600 13.5px var(--jb-sans,'Onest',sans-serif) !important; padding:9px 16px !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow .ac-pushButton:hover{ background:var(--jb-ink,#13161D) !important; color:#fff !important; }

/* visitor's own replies keep the navy side */
#__eedivChatMain #__eechatWindow#__eechatWindow ._eemessage-out .ac-adaptiveCard,
#__eedivChatMain #__eechatWindow#__eechatWindow .__eechatmsg_user .ac-adaptiveCard{ background:var(--jb-navy,#0E1A30) !important;
  border:0 !important; border-radius:18px 18px 6px 18px !important; }
#__eedivChatMain #__eechatWindow#__eechatWindow ._eemessage-out .ac-textBlock,
#__eedivChatMain #__eechatWindow#__eechatWindow ._eemessage-out .ac-textBlock p,
#__eedivChatMain #__eechatWindow#__eechatWindow .__eechatmsg_user .ac-textBlock,
#__eedivChatMain #__eechatWindow#__eechatWindow .__eechatmsg_user .ac-textBlock p{ color:#fff !important; }

/* typing dots */
#__eedivChatMain #__eechatWindow#__eechatWindow .eeChat_loader > div,
#__eedivChatMain #__eechatWindow#__eechatWindow .typingIndicator span{ background:var(--jb-muted,#6D717A) !important; }
