:root{
  --sol-yellow:#FFD200;
  --sol-yellow-strong:#f5c400;
  --sol-dark:#0b1220;
  --sol-ink:#162033;
  --sol-muted:#5e6b82;
  --sol-line:rgba(11,18,32,.10);
  --sol-panel:#ffffff;
  --sol-soft:#f5f7fb;
  --sol-soft-2:#eef2f8;
  --sol-shadow:0 18px 50px rgba(8,15,30,.18);
  --sol-radius-xl:24px;
  --sol-radius-lg:18px;
  --sol-radius-md:14px;
  --sol-radius-sm:10px;
  --sol-font:"Inter","Segoe UI",Arial,sans-serif;
}

#janiele-sol-widget,
#janiele-sol-widget *{
  box-sizing:border-box;
}

#janiele-sol-widget{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:999999 !important;
  font-family:var(--sol-font);
}

#janiele-sol-widget *{
  pointer-events:auto;
}

.jsol-widget{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:999999 !important;
  font-family:var(--sol-font);
  pointer-events:auto;
}

.jsol-fab{
  position:relative;
  width:68px;
  height:68px;
  border:none;
  border-radius:999px;
  background:linear-gradient(135deg,var(--sol-yellow),#ffe580);
  box-shadow:0 14px 34px rgba(0,0,0,.18);
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .25s ease, box-shadow .25s ease;
  z-index:999999;
}

.jsol-fab:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 40px rgba(0,0,0,.22);
}

.jsol-fab__icon svg{
  width:28px;
  height:28px;
  fill:var(--sol-dark);
}

.jsol-fab__pulse{
  position:absolute;
  inset:-6px;
  border-radius:999px;
  border:1px solid rgba(255,210,0,.45);
  animation:jsolPulse 2.3s infinite;
}

@keyframes jsolPulse{
  0%{transform:scale(1);opacity:.95;}
  70%{transform:scale(1.18);opacity:0;}
  100%{transform:scale(1.18);opacity:0;}
}

.jsol-fab--avatar{
  position:relative;
  width:116px;
  height:116px;
  padding:0;
  border:none;
  border-radius:50%;
  background:linear-gradient(135deg,#FFD200,#ffe57a);
  box-shadow:0 18px 38px rgba(0,0,0,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  cursor:pointer;
  transition:transform .25s ease, box-shadow .25s ease;
  z-index:999999;
}

.jsol-fab--avatar:hover{
  transform:translateY(-3px) scale(1.02);
  box-shadow:0 22px 46px rgba(0,0,0,.26);
}

.jsol-fab__ring{
  position:absolute;
  inset:-7px;
  border-radius:50%;
  border:2px solid rgba(255,210,0,.38);
  animation:jsolAvatarPulse 2.2s infinite;
}

@keyframes jsolAvatarPulse{
  0%{transform:scale(1);opacity:.9;}
  70%{transform:scale(1.10);opacity:0;}
  100%{transform:scale(1.10);opacity:0;}
}

.jsol-fab__avatar-wrap{
  position:relative;
  width:104px;
  height:104px;
  border-radius:50%;
  overflow:hidden;
  background:linear-gradient(180deg,#fff7cf 0%,#fff 100%);
  border:4px solid #FFD200;
  box-shadow:inset 0 0 0 1px rgba(11,18,32,.06);
}

.jsol-fab__avatar{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.jsol-fab__avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ffe17a,#fff2b0);
  color:#0b1220;
  font-weight:800;
  font-size:28px;
}

.jsol-fab__badge{
  position:absolute;
  right:2px;
  bottom:4px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#0b1220;
  border:3px solid #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(0,0,0,.20);
}

.jsol-fab__badge svg{
  width:16px;
  height:16px;
  fill:#FFD200;
}

.jsol-panel{
  width:390px;
  max-width:calc(100vw - 24px);
  height:min(720px, calc(100vh - 110px));
  background:var(--sol-panel);
  border:1px solid rgba(255,210,0,.35);
  border-radius:28px;
  box-shadow:var(--sol-shadow);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  position:absolute;
  right:0;
  bottom:132px;
  isolation:isolate;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px) scale(.98);
  transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
}

.jsol-widget.is-open .jsol-panel{
  opacity:1;
  visibility:visible;
  transform:translateY(0) scale(1);
}

.jsol-widget.is-open .jsol-fab{
  transform:scale(.96);
}

.jsol-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:16px 16px 14px;
  background:
    linear-gradient(180deg, rgba(255,210,0,.20), rgba(255,255,255,.96)),
    linear-gradient(135deg, #fff8cc 0%, #ffffff 65%);
  border-bottom:1px solid var(--sol-line);
}

.jsol-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.jsol-back{
  margin-right:2px;
}

.jsol-avatar-wrap{
  width:48px;
  height:48px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid rgba(255,210,0,.6);
  background:linear-gradient(180deg,#fff4b5,#fff);
  flex:0 0 48px;
}

.jsol-avatar{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.jsol-avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:14px;
  color:var(--sol-dark);
  background:linear-gradient(135deg,#ffe071,#fff4bf);
}

.jsol-meta{
  min-width:0;
}

.jsol-meta h3{
  margin:0;
  font-size:18px;
  line-height:1.1;
  letter-spacing:.03em;
  color:var(--sol-dark);
  font-weight:800;
}

.jsol-meta p{
  margin:4px 0 0;
  font-size:12px;
  color:var(--sol-muted);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.jsol-actions{
  display:flex;
  align-items:center;
  gap:6px;
}

.jsol-icon-btn{
  width:38px;
  height:38px;
  border:none;
  border-radius:999px;
  background:transparent;
  color:var(--sol-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:background .2s ease, transform .2s ease;
}

.jsol-icon-btn:hover{
  background:rgba(11,18,32,.06);
  transform:translateY(-1px);
}

.jsol-icon-btn svg{
  width:22px;
  height:22px;
  fill:currentColor;
}

.jsol-body{
  flex:1;
  min-height:0;
  overflow:auto;
  padding:14px 14px 10px;
  background:
    radial-gradient(circle at top right, rgba(255,210,0,.09), transparent 26%),
    linear-gradient(180deg,#ffffff 0%,#fbfcff 100%);
}

.jsol-history-end{
  display:flex;
  align-items:center;
  gap:12px;
  margin:4px 8px 16px;
  color:#93a0b5;
  font-size:12px;
}

.jsol-history-end span{
  height:1px;
  flex:1;
  background:linear-gradient(90deg, transparent, rgba(147,160,181,.4), transparent);
}

.jsol-messages{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.jsol-msg{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.jsol-msg.is-user{
  justify-content:flex-end;
}

.jsol-msg__avatar{
  width:30px;
  height:30px;
  border-radius:50%;
  flex:0 0 30px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ffe58a,#fff7db);
  border:1px solid rgba(255,210,0,.45);
  font-size:11px;
  font-weight:800;
  color:var(--sol-dark);
}

.jsol-msg__bubble{
  max-width:82%;
  border-radius:18px;
  padding:13px 14px;
  font-size:14px;
  line-height:1.55;
  box-shadow:0 6px 18px rgba(12,17,27,.05);
  word-break:break-word;
}

.jsol-msg.is-bot .jsol-msg__bubble{
  background:#f1f4f9;
  color:var(--sol-ink);
  border-top-left-radius:6px;
}

.jsol-msg.is-user .jsol-msg__bubble{
  background:linear-gradient(135deg,var(--sol-yellow),#ffe57f);
  color:var(--sol-dark);
  border-top-right-radius:6px;
  font-weight:600;
}

.jsol-msg__title{
  margin:0 0 6px;
  font-size:12px;
  font-weight:800;
  color:#4a5870;
  letter-spacing:.02em;
}

.jsol-msg__bubble p{
  margin:0 0 10px;
}

.jsol-msg__bubble p:last-child{
  margin-bottom:0;
}

.jsol-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.jsol-links a{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(11,18,32,.08);
  background:#fff;
  color:var(--sol-dark);
  font-weight:700;
  font-size:12px;
  transition:all .2s ease;
}

.jsol-links a:hover{
  border-color:rgba(255,210,0,.75);
  background:#fff9db;
}

.jsol-quick-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  padding:14px 2px 4px;
}

.jsol-chip{
  border:none;
  background:#fff;
  border:1px solid rgba(11,18,32,.10);
  color:var(--sol-dark);
  min-height:38px;
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
}

.jsol-chip:hover{
  transform:translateY(-1px);
  border-color:rgba(255,210,0,.75);
  background:#fff9db;
}

.jsol-footer{
  border-top:1px solid var(--sol-line);
  padding:12px 14px 14px;
  background:#fff;
}

.jsol-form{
  display:flex;
  align-items:center;
  gap:10px;
}

.jsol-form input{
  flex:1;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(11,18,32,.12);
  background:#f8fafd;
  outline:none;
  padding:0 14px;
  font-size:14px;
  color:var(--sol-dark);
  transition:border-color .2s ease, box-shadow .2s ease;
}

.jsol-form input:focus{
  border-color:rgba(255,210,0,.95);
  box-shadow:0 0 0 4px rgba(255,210,0,.18);
}

.jsol-send{
  width:48px;
  height:48px;
  border:none;
  border-radius:14px;
  cursor:pointer;
  background:linear-gradient(135deg,var(--sol-dark),#24344f);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:transform .2s ease, box-shadow .2s ease;
}

.jsol-send:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(11,18,32,.22);
}

.jsol-send svg{
  width:20px;
  height:20px;
  fill:#fff;
}

.jsol-note{
  margin:10px 2px 0;
  font-size:11px;
  line-height:1.45;
  color:#7a869b;
}

@media (max-width: 575.98px){
  #janiele-sol-widget,
  .jsol-widget{
    right:12px;
    bottom:12px;
  }

  .jsol-panel{
    width:calc(100vw - 24px);
    height:min(78vh, 680px);
    right:0;
    bottom:112px;
  }

  .jsol-meta h3{
    font-size:16px;
  }

  .jsol-msg__bubble{
    max-width:88%;
  }

 /* =========================
   JANIELE SOL PREMIUM
   Avatar respirando + selo online
   ========================= */

.jsol-fab--avatar{
  position:relative;
  width:118px;
  height:118px;
  padding:0;
  border:none;
  border-radius:50%;
  background:linear-gradient(135deg,#FFD200,#ffe57a);
  box-shadow:0 18px 38px rgba(0,0,0,.22);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:visible;
  cursor:pointer;
  z-index:999999;
  animation:jsolBreath 3.8s ease-in-out infinite;
  transition:box-shadow .25s ease, transform .25s ease;
}

.jsol-fab--avatar:hover{
  box-shadow:0 24px 48px rgba(0,0,0,.28);
}

@keyframes jsolBreath{
  0%{
    transform:scale(1);
  }
  50%{
    transform:scale(1.035);
  }
  100%{
    transform:scale(1);
  }
}

.jsol-fab__ring{
  position:absolute;
  inset:-8px;
  border-radius:50%;
  border:2px solid rgba(255,210,0,.35);
  animation:jsolHalo 2.8s ease-out infinite;
}

@keyframes jsolHalo{
  0%{
    transform:scale(1);
    opacity:.8;
  }
  70%{
    transform:scale(1.10);
    opacity:0;
  }
  100%{
    transform:scale(1.10);
    opacity:0;
  }
}

.jsol-fab__avatar-wrap{
  position:relative;
  width:106px;
  height:106px;
  border-radius:50%;
  overflow:hidden;
  background:linear-gradient(180deg,#fff7cf 0%,#fff 100%);
  border:4px solid #FFD200;
  box-shadow:
    inset 0 0 0 1px rgba(11,18,32,.06),
    0 10px 24px rgba(0,0,0,.14);
}

.jsol-fab__avatar{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.jsol-fab__avatar-fallback{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg,#ffe17a,#fff2b0);
  color:#0b1220;
  font-weight:800;
  font-size:28px;
}

.jsol-fab__badge{
  position:absolute;
  right:2px;
  bottom:4px;
  width:34px;
  height:34px;
  border-radius:50%;
  background:#0b1220;
  border:3px solid #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 18px rgba(0,0,0,.20);
}

.jsol-fab__badge svg{
  width:16px;
  height:16px;
  fill:#FFD200;
}

/* pequeno estado online */
.jsol-fab__online{
  position:absolute;
  left:6px;
  bottom:8px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#1bbf5c;
  border:3px solid #fff;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}

/* cabeçalho premium */
.jsol-header{
  background:
    linear-gradient(180deg, rgba(255,210,0,.20), rgba(255,255,255,.97)),
    linear-gradient(135deg, #fff8cc 0%, #ffffff 65%);
}

.jsol-meta p{
  font-size:11px;
  letter-spacing:.04em;
  text-transform:uppercase;
}

/* botão premium de acção */
.jsol-action-primary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  border:none;
  background:linear-gradient(135deg,#0b1220,#24344f);
  color:#fff;
  font-size:12px;
  font-weight:800;
  transition:transform .2s ease, box-shadow .2s ease;
}

.jsol-action-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(11,18,32,.20);
}

.jsol-action-wa{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  background:#fff;
  border:1px solid rgba(11,18,32,.10);
  color:#0b1220;
  font-size:12px;
  font-weight:800;
  transition:all .2s ease;
}

.jsol-action-wa:hover{
  border-color:rgba(255,210,0,.75);
  background:#fff9db;
}

@media (max-width:575.98px){
  .jsol-fab--avatar{
    width:98px;
    height:98px;
  }

  .jsol-fab__avatar-wrap{
    width:88px;
    height:88px;
  }

  .jsol-fab__badge{
    width:30px;
    height:30px;
  }

  .jsol-fab__online{
    width:16px;
    height:16px;
  }
}
  .jsol-fab__badge{
    width:30px;
    height:30px;
  }
}