/* BlockChainLab: fully isolated public visitor chat styles */
#bcl-chat-mount{--ch-bg:#131b19;--ch-card:#192521;--ch-mint:#35e5a2;--ch-text:#effff7;--ch-muted:#9bb5a7;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;position:relative;z-index:999;box-sizing:border-box}
#bcl-chat-mount *{box-sizing:border-box}
#bcl-chat-mount button,#bcl-chat-mount input,#bcl-chat-mount textarea{font:inherit}
.bcl-chat-toggle{position:fixed;right:27px;bottom:24px;border:1px solid #7dffd0aa!important;width:65px;height:65px;border-radius:22px!important;background:linear-gradient(145deg,#49ffc0,#09b577)!important;color:#06271b!important;box-shadow:0 14px 44px #00df8c44,0 0 0 6px #14dc8320!important;display:grid;place-items:center;cursor:pointer;z-index:999;transition:transform .25s,box-shadow .25s}
.bcl-chat-toggle:hover{transform:translateY(-4px);box-shadow:0 18px 50px #00df8c66,0 0 0 9px #14dc8320!important}
.bcl-chat-toggle svg{width:30px;height:30px}
.bcl-chat-notification{position:absolute;width:12px;height:12px;background:#ffae6a;border:2px solid #12231b;border-radius:50%;right:-4px;top:-4px;display:none}
.bcl-chat-notification.on{display:block}
.bcl-chat-panel{position:fixed;bottom:104px;right:24px;width:min(390px,calc(100vw - 30px));height:min(590px,calc(100dvh - 122px));min-height:360px;background:#111a16;border:1px solid #3d755c;border-radius:19px;box-shadow:0 35px 100px #000a,0 0 55px #00dc7218;z-index:999;display:none;overflow:hidden;color:var(--ch-text);flex-direction:column;isolation:isolate}
.bcl-chat-panel.open{display:flex;animation:bcl-chat-in .23s ease both}
@keyframes bcl-chat-in{from{transform:translateY(12px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}
.bcl-chat-head{background:radial-gradient(ellipse at 75% -20%,#3cff8c22,transparent 65%),linear-gradient(120deg,#1b3f31,#143026 70%,#17241f);padding:17px 19px;border-bottom:1px solid #2e6750;display:flex;align-items:center;gap:10px;flex:none}
.bcl-chat-headmark{width:42px;height:42px;flex:none;border:1px solid #62cc9d55;border-radius:13px;background:#123324;display:grid;place-items:center;padding:7px}.bcl-chat-headmark img{width:100%;height:100%;object-fit:contain}
.bcl-chat-headtitle{font-size:15px;font-weight:790;color:#effff7;line-height:1.3;letter-spacing:-.01em}
.bcl-chat-headsub{display:flex;align-items:center;gap:6px;color:#b2d4be;font-size:11px;margin-top:4px}
.bcl-chat-dot{height:7px;width:7px;display:inline-block;border-radius:50%;background:#49eba4;box-shadow:0 0 10px #22e09e80}
.bcl-chat-close{margin-left:auto;align-self:flex-start;flex:none;border:0;background:#ffffff10;color:#def9e8;border-radius:9px;width:31px;height:31px;cursor:pointer;font-size:20px;line-height:1}
.bcl-chat-close:hover{background:#ffffff25}
.bcl-chat-history{overflow-y:auto;flex:1;min-height:0;display:flex;flex-direction:column;gap:11px;padding:20px 17px 14px;background:radial-gradient(circle at 30% 20%,#04db8010,transparent 55%),repeating-linear-gradient(0deg,transparent,transparent 39px,#59ff9b07 40px)}
.bcl-chat-welcome{align-self:flex-start;max-width:92%;border-radius:16px 16px 16px 4px;background:#24372e;border:1px solid #38694a;padding:14px 15px;line-height:1.6;color:#d7f5e4;font-size:13px}
.bcl-chat-msg{max-width:87%;display:flex;flex-direction:column;gap:4px;align-self:flex-start}
.bcl-chat-msg.visitor{align-self:flex-end}
.bcl-chat-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:15px 15px 15px 4px;background:#23392d;border:1px solid #366f53;padding:10px 13px;font-size:13px;line-height:1.5;color:#effff7}
.bcl-chat-msg.visitor .bcl-chat-bubble{border-radius:15px 15px 4px 15px;background:linear-gradient(135deg,#2fd996,#13aa77);border-color:#2bd996;color:#062416;font-weight:500}
.bcl-chat-time{font-size:10px;color:#869e90}.bcl-chat-msg.visitor .bcl-chat-time{text-align:right}
.bcl-chat-bottom{border-top:1px solid #2e4a3d;background:#18251f;padding:12px 14px 14px;flex:none}
.bcl-chat-name-row{margin-bottom:9px}.bcl-chat-name-row input{width:100%;height:36px;background:#0e1b16;border:1px solid #365344;padding:8px 11px;color:#eaf9f0;border-radius:9px;outline:none;font-size:12px}
.bcl-chat-composer{display:flex;align-items:flex-end;gap:8px}.bcl-chat-composer textarea{flex:1;min-width:0;min-height:43px;max-height:105px;resize:vertical;background:#0e1b16;border:1px solid #365344;border-radius:11px;padding:11px 12px;outline:none;color:#eaf9f0;font-size:13px;line-height:1.45}
.bcl-chat-name-row input:focus,.bcl-chat-composer textarea:focus{border-color:#4beeac}
.bcl-chat-composer button{width:43px;height:43px;border:0;border-radius:12px;background:#31e6a0;color:#062619;flex:none;display:grid;place-items:center;cursor:pointer;transition:.18s}
.bcl-chat-composer button:hover{background:#73ffc1}.bcl-chat-composer button:disabled{opacity:.45;cursor:wait}
.bcl-chat-composer button svg{width:19px;height:19px}
.bcl-chat-consent{font-size:10px;line-height:1.5;color:#9ab2a5;display:flex;gap:7px;align-items:flex-start;margin-top:10px;cursor:pointer}
.bcl-chat-consent input{accent-color:#2de79a;margin:2px 0 0;min-width:14px;width:14px;height:14px}
.bcl-chat-consent a{color:#75f4b6;text-decoration:underline}.bcl-chat-status{font-size:11px;color:#9bb5a7;min-height:14px;margin:8px 0 0;line-height:1.35}.bcl-chat-status.error{color:#ffb4aa}
.bcl-chat-hidden{display:none!important}
@media(max-width:600px){.bcl-chat-toggle{right:17px;bottom:17px;width:58px;height:58px;border-radius:18px!important}.bcl-chat-panel{right:10px;bottom:86px;width:calc(100vw - 20px);height:min(600px,calc(100dvh - 106px));border-radius:15px}.bcl-chat-head{padding:13px 15px}}
@media(prefers-reduced-motion:reduce){.bcl-chat-panel.open{animation:none}.bcl-chat-toggle{transition:none}}

.bcl-chat-restart{border:1px solid #3d9363;border-radius:9px;background:#173e29;color:#9ef5bc;padding:9px 12px;margin-top:9px;cursor:pointer;font-size:12px;font-weight:700}.bcl-chat-restart:hover{background:#205a3c}

/* V15 — explicit reset prevents global site `section` paddings from creating
   blank top/bottom stripes in the support widget.  All selectors are scoped. */
#bcl-chat-mount .bcl-chat-panel{
  padding:0!important;margin:0!important;
  height:min(615px,calc(100dvh - 110px));min-height:0;
  display:none;flex-direction:column;
}
#bcl-chat-mount .bcl-chat-panel.open{display:flex}
#bcl-chat-mount .bcl-chat-head{min-height:77px;padding:13px 16px;gap:10px}
#bcl-chat-mount .bcl-chat-heading{min-width:0;flex:1}
#bcl-chat-mount .bcl-chat-headsub{margin-top:3px}
#bcl-chat-mount .bcl-chat-dot.offline{background:#7c9687;box-shadow:none}
#bcl-chat-mount .bcl-chat-close{align-self:center}
#bcl-chat-mount .bcl-chat-availability{display:flex;flex:none;align-items:center;gap:8px;padding:10px 16px;min-height:39px;background:#1d2e27;color:#b8d6c4;font-size:11px;line-height:1.45;border-bottom:1px solid #2c4839}
#bcl-chat-mount .bcl-chat-availability.offline{background:#252d24;color:#e7dcb7}
#bcl-chat-mount .bcl-chat-availability-dot{background:#789386;height:7px;width:7px;border-radius:50%;flex:none}
#bcl-chat-mount .bcl-chat-availability.online .bcl-chat-availability-dot{background:#39e6a2;box-shadow:0 0 10px #39e6a280}
#bcl-chat-mount .bcl-chat-availability.offline .bcl-chat-availability-dot{background:#e8bc78}
#bcl-chat-mount .bcl-chat-tabs{display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:11px 15px 9px;border-bottom:1px solid #2b4436;background:#131f19;flex:none}
#bcl-chat-mount .bcl-chat-tabs button{border-radius:9px;padding:10px 7px;min-height:39px;border:1px solid #2b4939;background:#1c2d24;color:#a9c1b2;font-size:12px;font-weight:700;cursor:pointer}
#bcl-chat-mount .bcl-chat-tabs button[aria-selected=true]{background:#1f5b3c;color:#b4ffdc;border-color:#3c986e;box-shadow:0 0 17px #18eb8430}
#bcl-chat-mount [hidden]{display:none!important}
#bcl-chat-mount .bcl-chat-chatview{display:flex;flex-direction:column;min-height:0;flex:1}
#bcl-chat-mount .bcl-chat-history{flex:1;min-height:0;padding:15px 15px 10px}
#bcl-chat-mount .bcl-chat-welcome{padding:11px 13px;font-size:12px;line-height:1.55}
#bcl-chat-mount .bcl-chat-bottom{padding:11px 13px 13px}
#bcl-chat-mount .bcl-chat-composer textarea{min-height:43px}
#bcl-chat-mount .bcl-chat-consent{margin-top:8px}
#bcl-chat-mount .bcl-chat-callback{flex:1;min-height:0;overflow:auto;padding:17px 17px 20px;background:radial-gradient(circle at 30% 20%,#04db800c,transparent 65%),#131e18}
#bcl-chat-mount .bcl-chat-callback h3{font-size:18px;line-height:1.25;color:#eafcf0;letter-spacing:-.02em;margin:1px 0 6px}
#bcl-chat-mount .bcl-chat-callback-lead{font-size:12px;line-height:1.55;color:#aac9b3;margin:0 0 15px}
#bcl-chat-mount .bcl-callback-form{display:grid;gap:12px;margin:0}
#bcl-chat-mount .bcl-callback-form>label:not(.bcl-chat-consent){font-size:11px;font-weight:650;color:#bbd7c6;display:grid;gap:6px}
#bcl-chat-mount .bcl-callback-form input:not([type=checkbox]),#bcl-chat-mount .bcl-callback-form textarea,#bcl-chat-mount .bcl-callback-form select{width:100%;display:block;background:#0d1b15;border:1px solid #365a44;border-radius:9px;color:#ebfff3;padding:11px 12px;font-size:13px;outline:0;min-width:0;min-height:42px}
#bcl-chat-mount .bcl-callback-form textarea{min-height:66px;resize:vertical;max-height:120px}
#bcl-chat-mount .bcl-callback-form select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='12'%3E%3Cpath d='m2 2 6 6 6-6' fill='none' stroke='%2380d7a5' stroke-width='1.8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;padding-right:37px}
#bcl-chat-mount .bcl-callback-form input:focus,#bcl-chat-mount .bcl-callback-form textarea:focus,#bcl-chat-mount .bcl-callback-form select:focus{border-color:#2fe7a1}
#bcl-chat-mount .bcl-callback-submit{border:0;border-radius:10px;background:#34e7a1;color:#052b19;min-height:43px;padding:10px 14px;cursor:pointer;font-size:13px;font-weight:800}
#bcl-chat-mount .bcl-callback-submit:disabled{opacity:.5;cursor:wait}
#bcl-chat-mount .bcl-chat-callback-done{height:100%;min-height:245px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;gap:11px}
#bcl-chat-mount .bcl-chat-callback-done p{font-size:13px;color:#c0e4cd;line-height:1.6;margin:0 0 7px}
#bcl-chat-mount .bcl-chat-done-icon{width:51px;height:51px;border-radius:50%;border:1px solid #3bcb84;display:grid;place-items:center;background:#1b633e;color:#b5ffd8;font-size:23px}
#bcl-chat-mount .bcl-chat-status{margin:5px 0 0}
@media(max-width:600px){
  #bcl-chat-mount .bcl-chat-panel{bottom:86px;right:10px;width:calc(100vw - 20px);height:min(650px,calc(100dvh - 100px))}
  #bcl-chat-mount .bcl-chat-head{padding:11px 13px;min-height:69px}
  #bcl-chat-mount .bcl-chat-availability{padding:8px 13px}
  #bcl-chat-mount .bcl-chat-tabs{padding:8px 11px}
  #bcl-chat-mount .bcl-chat-callback{padding:13px 15px 16px}
  #bcl-chat-mount .bcl-chat-history{padding:12px}
}
@media(max-height:520px){#bcl-chat-mount .bcl-chat-panel{bottom:76px;height:calc(100dvh - 86px)}#bcl-chat-mount .bcl-chat-head{min-height:57px}#bcl-chat-mount .bcl-chat-availability{min-height:28px}#bcl-chat-mount .bcl-chat-tabs{padding:6px 10px}}
/* More usable phone layout: keep the callback action visible without large dead space. */
@media(max-width:600px){
  #bcl-chat-mount .bcl-chat-panel{bottom:8px;right:8px;width:calc(100vw - 16px);height:min(740px,calc(100dvh - 16px))}
  #bcl-chat-mount .bcl-chat-callback{padding:12px 14px 14px}
  #bcl-chat-mount .bcl-callback-form{gap:10px}
  #bcl-chat-mount .bcl-chat-callback-lead{margin-bottom:10px}
}
/* Callback form is content-sized; long forms scroll inside without blank trailing area. */
#bcl-chat-mount .bcl-chat-panel.callback-mode{height:auto;max-height:min(650px,calc(100dvh - 112px))}
#bcl-chat-mount .bcl-chat-panel.callback-mode .bcl-chat-callback{flex:0 1 auto;max-height:min(505px,calc(100dvh - 255px));overflow-y:auto}
@media(max-width:600px){
  #bcl-chat-mount .bcl-chat-panel.callback-mode{max-height:calc(100dvh - 16px)}
  #bcl-chat-mount .bcl-chat-panel.callback-mode .bcl-chat-callback{max-height:calc(100dvh - 175px)}
}

/* V16.3: show the named recruiter and their uploaded avatar to candidates. */
#bcl-chat-mount .bcl-chat-recruiter{display:flex;align-items:center;gap:7px;color:#c5ffe0;font-size:11px;line-height:1.35;margin-bottom:3px;max-width:100%}
#bcl-chat-mount .bcl-chat-recruiter strong{font-size:11px;overflow-wrap:anywhere}
#bcl-chat-mount .bcl-chat-recruiter-avatar{display:grid;place-items:center;flex:none;width:27px;height:27px;border-radius:50%;background:#16432d;border:1px solid #55df9b;color:#dbffeb;overflow:hidden;font-weight:800;font-size:12px}
#bcl-chat-mount .bcl-chat-recruiter-avatar img{width:100%;height:100%;object-fit:cover}
.bcl-chat-recruiter-avatar,
.bcl-chat-message-avatar,
.bcl-chat-avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bcl-chat-recruiter-avatar img,
.bcl-chat-message-avatar img,
.bcl-chat-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.bcl-chat-message-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bcl-chat-message-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.bcl-chat-message-meta strong,
.bcl-chat-message-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
