/* Training Lab support widget — refined compact premium 2026-09-11 */
.site-chat-with-us{
  position:fixed!important;
  right:24px!important;
  bottom:22px!important;
  z-index:9998!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  min-width:0!important;
  width:auto!important;
  height:54px!important;
  padding:0 20px!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:999px!important;
  background:#071a36!important;
  color:#fff!important;
  text-decoration:none!important;
  box-shadow:0 12px 30px rgba(6,19,39,.18)!important;
  font:800 15px/1 Manrope,system-ui,sans-serif!important;
  letter-spacing:-.01em!important;
  transform:none!important;
  transition:background .22s ease,box-shadow .22s ease,transform .22s ease!important;
  -webkit-tap-highlight-color:transparent;
}
.site-chat-with-us:hover{
  background:#0a2246!important;
  box-shadow:0 15px 36px rgba(6,19,39,.22)!important;
  transform:translateY(-1px)!important;
}
.site-chat-with-us__icon{
  display:grid!important;
  place-items:center!important;
  width:28px!important;
  height:28px!important;
  flex:0 0 28px!important;
  color:#071a36!important;
}
.site-chat-with-us__icon svg{
  width:28px!important;
  height:24px!important;
  display:block!important;
  overflow:visible!important;
}
.site-chat-with-us__icon svg rect,
.site-chat-with-us__icon svg path{fill:#fff!important;stroke:none!important}
.site-chat-with-us__icon svg circle{fill:#071a36!important;stroke:none!important}
.site-chat-with-us__label{white-space:nowrap!important}

.tl-chat-backdrop{
  position:fixed;
  inset:0;
  z-index:9996;
  background:rgba(6,14,26,.14);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .18s ease,visibility .18s ease;
}
.tl-chat-backdrop.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.tl-chat-panel{
  position:fixed;
  right:24px;
  bottom:88px;
  z-index:9999;
  width:min(372px,calc(100vw - 40px));
  max-height:min(610px,calc(100vh - 120px));
  overflow:auto;
  padding:22px;
  border:1px solid rgba(10,25,48,.08);
  border-radius:26px;
  background:rgba(255,255,255,.98);
  color:#0a1932;
  box-shadow:0 24px 70px rgba(7,18,36,.18),0 8px 18px rgba(7,18,36,.08);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(10px) scale(.985);
  transform-origin:bottom right;
  transition:opacity .18s ease,visibility .18s ease,transform .22s cubic-bezier(.2,.8,.2,1);
  font-family:Manrope,system-ui,sans-serif;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.tl-chat-panel.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0) scale(1);
}
.tl-chat-close{
  position:absolute;
  top:14px;
  right:14px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid rgba(10,25,48,.06);
  border-radius:50%;
  background:#f6f7f9;
  color:#7d8696;
  font-size:22px;
  line-height:1;
  cursor:pointer;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}
.tl-chat-close:hover{background:#eef2f6;color:#0a1932;border-color:rgba(10,25,48,.10)}
.tl-chat-head{
  display:grid;
  grid-template-columns:50px 1fr;
  gap:12px;
  align-items:center;
  padding-right:44px;
  margin-bottom:18px;
}
.tl-chat-whatsapp{
  width:50px;
  height:50px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#e9f8f0;
  color:#079653;
}
.tl-chat-whatsapp svg{width:27px;height:27px;display:block;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.tl-chat-head strong{
  display:block;
  margin:0 0 3px;
  color:#0a1932;
  font-size:20px;
  line-height:1.08;
  letter-spacing:-.035em;
}
.tl-chat-head span{
  display:block;
  color:#0a9856;
  font-size:13px;
  line-height:1.25;
  font-weight:700;
}
.tl-chat-question{
  margin:0 0 16px;
  color:#697386;
  font-size:15px;
  line-height:1.42;
  letter-spacing:-.015em;
}
.tl-chat-options{display:grid;gap:10px}
.tl-chat-option{
  display:grid;
  grid-template-columns:minmax(0,1fr) 18px;
  align-items:center;
  gap:10px;
  min-height:58px;
  padding:0 16px;
  border:1px solid #e0e5ea;
  border-radius:17px;
  background:#fff;
  color:#0a1932;
  text-decoration:none;
  box-shadow:0 1px 0 rgba(10,25,50,.03);
  transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.tl-chat-option:hover{
  border-color:#cfd6df;
  background:#fcfcfb;
  transform:translateY(-1px);
  box-shadow:0 8px 20px rgba(7,18,36,.05);
}
.tl-chat-option span:first-child{
  min-width:0;
  font-size:14px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:-.02em;
}
.tl-chat-option__arrow{
  color:#b78a3c;
  font-size:18px;
  line-height:1;
  text-align:right;
  font-weight:500;
}
.tl-chat-call{
  display:grid;
  grid-template-columns:minmax(0,1fr) 24px;
  align-items:center;
  gap:10px;
  min-height:60px;
  margin-top:12px;
  padding:0 16px;
  border-radius:17px;
  background:#071a36;
  color:#fff;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(7,26,54,.11);
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.tl-chat-call:hover{background:#0b2449;transform:translateY(-1px);box-shadow:0 14px 30px rgba(7,26,54,.16)}
.tl-chat-call span:first-child{
  min-width:0;
  font-size:14px;
  line-height:1.3;
  font-weight:800;
  letter-spacing:-.02em;
}
.tl-chat-call svg{width:20px;height:20px;justify-self:end;fill:#d8b66a}
.tl-chat-note{
  margin:12px 0 0;
  color:#8a94a6;
  font-size:12px;
  line-height:1.4;
}
@media (max-width:640px){
  .site-chat-with-us{
    right:14px!important;
    bottom:14px!important;
    height:46px!important;
    padding:0 15px!important;
    gap:8px!important;
    font-size:14px!important;
  }
  .site-chat-with-us__icon{width:24px!important;height:24px!important;flex-basis:24px!important}
  .site-chat-with-us__icon svg{width:24px!important;height:21px!important}
  .tl-chat-backdrop{background:rgba(2,9,18,.28);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
  .tl-chat-panel{
    left:auto;
    right:12px;
    bottom:70px;
    width:min(338px,calc(100vw - 24px));
    max-height:calc(100vh - 92px);
    padding:18px;
    border-radius:22px;
    transform-origin:bottom right;
  }
  .tl-chat-close{top:12px;right:12px;width:32px;height:32px;font-size:21px}
  .tl-chat-head{grid-template-columns:46px 1fr;gap:10px;margin-bottom:16px;padding-right:40px}
  .tl-chat-whatsapp{width:46px;height:46px}
  .tl-chat-whatsapp svg{width:24px;height:24px}
  .tl-chat-head strong{font-size:18px}
  .tl-chat-head span{font-size:12.5px}
  .tl-chat-question{font-size:14px;margin-bottom:14px}
  .tl-chat-option{min-height:54px;padding:0 14px;border-radius:16px}
  .tl-chat-option span:first-child,.tl-chat-call span:first-child{font-size:13.5px}
  .tl-chat-option__arrow{font-size:17px}
  .tl-chat-call{min-height:56px;padding:0 14px;border-radius:16px}
  .tl-chat-call svg{width:18px;height:18px}
  .tl-chat-note{font-size:11.5px}
}
@media (prefers-reduced-motion:reduce){
  .tl-chat-panel,.tl-chat-backdrop,.site-chat-with-us,.tl-chat-option,.tl-chat-call,.tl-chat-close{transition:none!important}
}
