#nexora-lc-root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;position:relative;z-index:99990;color:#f6f7fb}
#nexora-lc-root *{box-sizing:border-box}
.nexora-chat-launcher{position:fixed;right:24px;bottom:24px;display:flex;align-items:center;gap:11px;background:#ff6a00;color:#fff;border:1px solid #ff7a1a;border-radius:999px;padding:10px 11px 10px 19px;box-shadow:0 8px 28px #ff6a0038;cursor:pointer;font-size:13px;font-weight:700;letter-spacing:.1px;transition:transform .2s,filter .2s}
.nexora-chat-launcher:hover{transform:translateY(-2px);border-color:#ff7a1a}.nexora-chat-launcher b{font-size:17px;color:#ff8a2b}.nexora-chat-dot,.nexora-chat-heading small i{width:8px;height:8px;background:#6ee7b7;border-radius:50%;display:inline-block;box-shadow:0 0 12px #6ee7b777}
.nexora-chat-panel{position:fixed;right:24px;bottom:88px;width:min(380px,calc(100vw - 28px));height:min(590px,calc(100dvh - 120px));background:#111216;border:1px solid #303139;border-radius:23px;box-shadow:0 24px 90px #0008;display:flex;flex-direction:column;overflow:hidden}
.nexora-chat-panel[hidden]{display:none}.nexora-chat-panel header{display:flex;align-items:center;gap:12px;padding:17px 17px;border-bottom:1px solid #292a31;background:linear-gradient(120deg,#191a21,#111216)}
.nexora-brand-mark{display:grid;place-items:center;width:39px;height:39px;border-radius:13px;background:linear-gradient(135deg,#ff7a1a,#ff4d00);font-size:20px;font-weight:800;color:white}
.nexora-chat-heading{display:flex;flex-direction:column;gap:5px;flex:1}.nexora-chat-heading strong{font-size:14px}.nexora-chat-heading small{font-size:11px;color:#9b9ca9}.nexora-chat-heading small i{width:6px;height:6px;margin-right:5px}
.nexora-chat-min{border:0;background:#25262d;color:#ddd;border-radius:9px;width:31px;height:31px;font-size:21px;cursor:pointer}
.nexora-chat-body{padding:18px 15px 8px;display:flex;flex-direction:column;flex:1;min-height:0}.nexora-chat-intro{padding:5px 2px 16px}.nexora-eyebrow{font-size:9px;letter-spacing:2px;color:#ff8a2b;font-weight:800}.nexora-chat-intro h3{font-size:28px;line-height:1.2;margin:8px 0;color:#fafafa}.nexora-chat-intro p{font-size:12px;line-height:1.6;color:#9a9ba8;margin:0}.nexora-chat-messages{display:flex;flex-direction:column;gap:11px;overflow-y:auto;flex:1;padding:4px 2px 12px}
.nexora-message{display:flex;flex-direction:column;max-width:88%;gap:4px}.nexora-message.is-visitor{align-self:flex-end;align-items:flex-end}.nexora-message.is-agent{align-self:flex-start;align-items:flex-start}.nexora-message-bubble{padding:11px 13px;border-radius:15px;background:#25262d;color:#eeeef4;font-size:13px;line-height:1.55;overflow-wrap:anywhere}.nexora-message.is-visitor .nexora-message-bubble{background:linear-gradient(135deg,#ff7a1a,#ff5a00);color:#fff;border-bottom-right-radius:5px}.nexora-message.is-agent .nexora-message-bubble{border-bottom-left-radius:5px}.nexora-message time{font-size:9px;color:#777987;padding:0 3px}
.nexora-chat-form{display:flex;align-items:flex-end;gap:9px;margin:0 12px;padding:10px;background:#1b1c22;border:1px solid #30313a;border-radius:15px}.nexora-chat-form textarea{resize:none;max-height:100px;flex:1;min-width:0;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;color:#f4f4f8!important;font:13px/1.5 inherit;padding:5px!important}.nexora-chat-form textarea::placeholder{color:#777987}.nexora-chat-form button{width:34px;height:34px;flex:0 0 34px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:#ff6a00;color:#fff;font-size:0;line-height:1;cursor:pointer;position:relative}
.nexora-chat-form button::before{content:"";position:absolute;width:2px;height:13px;background:#fff;border-radius:2px;left:16px;top:10px}
.nexora-chat-form button::after{content:"";position:absolute;width:8px;height:8px;border-top:2px solid #fff;border-left:2px solid #fff;transform:rotate(45deg);left:13px;top:9px}.nexora-chat-form button:disabled{opacity:.5}.nexora-chat-foot{text-align:center;color:#626470;font-size:9px;padding:10px 0 12px}
@media(max-width:480px){.nexora-chat-panel{right:10px;bottom:78px;width:calc(100vw - 20px);height:min(620px,calc(100dvh - 100px));border-radius:20px}.nexora-chat-launcher{right:82px;bottom:14px;max-width:calc(100vw - 100px);white-space:nowrap;gap:7px;padding:9px 10px 9px 13px;font-size:12px}.nexora-chat-launcher b{font-size:15px}}

.nexora-contact-form{display:flex;flex-direction:column;gap:13px;padding:4px 2px 10px;overflow-y:auto;flex:1}
.nexora-contact-copy{padding:2px 0 5px}.nexora-contact-copy h3{font-size:24px;line-height:1.2;margin:8px 0;color:#fafafa}.nexora-contact-copy p{font-size:12px;line-height:1.6;color:#9a9ba8;margin:0}
.nexora-contact-form label{display:flex;flex-direction:column;gap:6px;color:#e9e9ef;font-size:12px;font-weight:600}.nexora-contact-form label span{color:#858694;font-weight:400}
.nexora-contact-form input{width:100%;min-height:42px;background:#1b1c22!important;color:#f6f6fa!important;border:1px solid #34353e!important;border-radius:10px!important;padding:10px 12px!important;font:13px inherit;box-shadow:none!important;outline:none}.nexora-contact-form input:focus{border-color:#ff6a00!important}
.nexora-contact-form button{display:flex;align-items:center;justify-content:center;gap:12px;border:0;border-radius:999px;background:#ff6a00;color:#fff;padding:12px 16px;font-size:13px;font-weight:700;cursor:pointer}.nexora-contact-form button span{display:grid;place-items:center;background:#151515;color:#fff;border-radius:50%;width:24px;height:24px;font-size:15px}.nexora-contact-form button:disabled{opacity:.6}.nexora-contact-form>small{color:#777987;text-align:center;font-size:10px;line-height:1.5}

/* Nexora interaction states: keep the orange/black brand and avoid theme-purple hover effects. */
#nexora-lc-root .nexora-chat-launcher,
#nexora-lc-root .nexora-chat-launcher:hover,
#nexora-lc-root .nexora-chat-launcher:focus,
#nexora-lc-root .nexora-chat-launcher:focus-visible{background:#ff6a00!important;color:#fff!important;border-color:#ff6a00!important;box-shadow:0 8px 28px #ff6a0038!important;outline:none}
#nexora-lc-root .nexora-chat-min,
#nexora-lc-root .nexora-chat-min:hover,
#nexora-lc-root .nexora-chat-min:focus,
#nexora-lc-root .nexora-chat-min:focus-visible{background:#25262d!important;color:#fff!important;border-color:#34353b!important;box-shadow:none!important;outline:none}
#nexora-lc-root .nexora-chat-form button,
#nexora-lc-root .nexora-chat-form button:hover,
#nexora-lc-root .nexora-chat-form button:focus,
#nexora-lc-root .nexora-chat-form button:focus-visible{background:#ff6a00!important;color:#fff!important;border:0!important;box-shadow:none!important;outline:none}
#nexora-lc-root .nexora-contact-form button,
#nexora-lc-root .nexora-contact-form button:hover,
#nexora-lc-root .nexora-contact-form button:focus,
#nexora-lc-root .nexora-contact-form button:focus-visible{background:#ff6a00!important;color:#fff!important;box-shadow:none!important;outline:none}
#nexora-lc-root button{-webkit-appearance:none;appearance:none}
#nexora-lc-root .nexora-chat-min{border-radius:9px}

/* Minimize control reset: prevent Elementor/theme button styles from distorting it. */
#nexora-lc-root .nexora-chat-panel header button.nexora-chat-min{
  appearance:none!important;-webkit-appearance:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:32px!important;min-width:32px!important;max-width:32px!important;
  height:32px!important;min-height:32px!important;max-height:32px!important;
  margin:0!important;padding:0!important;flex:0 0 32px!important;
  border:0!important;border-radius:9px!important;background:#25262d!important;
  color:transparent!important;font-size:0!important;line-height:0!important;
  box-shadow:none!important;text-shadow:none!important;outline:none!important;
  transform:none!important;overflow:hidden!important;position:relative!important;cursor:pointer!important;
}
#nexora-lc-root .nexora-chat-panel header button.nexora-chat-min::before{
  content:""!important;display:block!important;position:absolute!important;
  width:11px!important;height:2px!important;left:50%!important;top:50%!important;
  margin-left:-5.5px!important;margin-top:-1px!important;
  background:#f5f5f7!important;border:0!important;border-radius:2px!important;
  transform:none!important;box-shadow:none!important;
}
#nexora-lc-root .nexora-chat-panel header button.nexora-chat-min::after{content:none!important;display:none!important}
#nexora-lc-root .nexora-chat-panel header button.nexora-chat-min:hover,
#nexora-lc-root .nexora-chat-panel header button.nexora-chat-min:active,
#nexora-lc-root .nexora-chat-panel header button.nexora-chat-min:focus,
#nexora-lc-root .nexora-chat-panel header button.nexora-chat-min:focus-visible{
  background:#303139!important;color:transparent!important;border:0!important;
  box-shadow:none!important;outline:none!important;filter:none!important;transform:none!important;
}

/* First-contact screen occupies the message area cleanly instead of competing with the intro. */
#nexora-lc-root .nexora-chat-body{min-height:0;overflow:hidden}
#nexora-lc-root .nexora-contact-form{width:100%;min-height:0;max-height:100%;flex:1 1 auto;overflow-y:auto;overflow-x:hidden;margin:0;padding:8px 2px 14px}
#nexora-lc-root .nexora-contact-form[hidden]{display:none!important}
#nexora-lc-root .nexora-chat-intro[hidden],
#nexora-lc-root .nexora-chat-messages[hidden]{display:none!important}
#nexora-lc-root .nexora-contact-copy{flex:0 0 auto;padding:6px 0 12px}
#nexora-lc-root .nexora-contact-form label{flex:0 0 auto;width:100%;margin:0}
#nexora-lc-root .nexora-contact-form input{display:block;width:100%;max-width:100%;min-width:0;min-height:44px;height:44px;flex:0 0 auto}
#nexora-lc-root .nexora-contact-form button{flex:0 0 auto;width:100%;min-height:44px}
#nexora-lc-root .nexora-contact-form>small{flex:0 0 auto;margin-top:1px}


/* Mobile full-screen chat: respect iPhone safe areas and keep desktop unchanged. */
@media (max-width: 480px) {
  #nexora-lc-root .nexora-chat-panel {
    position: fixed !important;
    inset: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    z-index: 2147483000 !important;
  }
  #nexora-lc-root .nexora-chat-panel header {
    padding-top: calc(17px + env(safe-area-inset-top, 0px)) !important;
    flex: 0 0 auto;
  }
  #nexora-lc-root .nexora-chat-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  #nexora-lc-root .nexora-chat-form {
    flex: 0 0 auto;
    margin-bottom: 0 !important;
  }
  #nexora-lc-root .nexora-chat-foot {
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    flex: 0 0 auto;
  }
}


/* iOS keyboard fix: resize the fullscreen panel to the visible visual viewport. */
@media (max-width: 480px) {
  #nexora-lc-root .nexora-chat-panel.nexora-keyboard-open {
    top: var(--nexora-visual-top, 0px) !important;
    height: var(--nexora-visual-height, 100dvh) !important;
    min-height: 0 !important;
    bottom: auto !important;
  }
  #nexora-lc-root .nexora-chat-panel.nexora-keyboard-open .nexora-chat-body {
    min-height: 0 !important;
    overflow: auto !important;
    overscroll-behavior: contain;
  }
  #nexora-lc-root .nexora-chat-panel.nexora-keyboard-open .nexora-chat-form {
    flex-shrink: 0 !important;
  }
}

/* File attachments */
#nexora-lc-root .nexora-chat-form{position:relative}
#nexora-lc-root .nexora-chat-attach{width:30px;height:34px;flex:0 0 30px;border:0!important;background:transparent!important;color:#a5a6b2!important;font-size:25px;line-height:1;box-shadow:none!important;padding:0;cursor:pointer}
#nexora-lc-root .nexora-chat-file-preview{position:absolute;left:10px;right:10px;bottom:calc(100% + 5px);padding:8px 11px;background:#25262d;color:#f5f5f7;border:1px solid #3a3b44;border-radius:10px;font-size:12px;overflow-wrap:anywhere;cursor:pointer}
#nexora-lc-root .nexora-attachment-link{display:block;margin-top:6px;color:inherit;text-decoration:underline;overflow-wrap:anywhere;font-size:12px}
#nexora-lc-root .nexora-attachment-image{display:block;max-width:220px;max-height:220px;object-fit:contain;border-radius:9px;margin-top:7px}
#nexora-lc-root .nexora-chat-file-preview[hidden]{display:none!important}

/* Operator availability: green online dot, grey offline; orange online launcher. */
#nexora-lc-root { --nexora-presence-color:#858694; }
#nexora-lc-root[data-online="true"] { --nexora-presence-color:#6ee7b7; }
#nexora-lc-root .nexora-chat-dot,
#nexora-lc-root .nexora-chat-heading small i {
 background:var(--nexora-presence-color); box-shadow:none;
}
#nexora-lc-root[data-online="true"] .nexora-chat-dot,
#nexora-lc-root[data-online="true"] .nexora-chat-heading small i { box-shadow:0 0 10px #6ee7b777; }
#nexora-lc-root[data-online="false"] .nexora-chat-launcher,
#nexora-lc-root[data-online="false"] .nexora-chat-launcher:is(:hover,:active,:focus,:focus-visible) {
 background:#454650!important; border-color:#666874!important; box-shadow:0 8px 24px #0004!important;
}
#nexora-lc-root[data-online="false"] .nexora-chat-launcher b { color:#b8bac5; }
#nexora-lc-root .nexora-chat-heading small { display:flex;align-items:center;gap:5px; }
#nexora-lc-root .nexora-chat-heading small i { flex:0 0 6px;margin-right:0; }
