#sgs-ai-widget-root{display:none!important}iframe[title="SmartGSM AI"]{display:none!important}
#sgs-ainw-root,#sgs-ainw-root *{box-sizing:border-box}
#sgs-ainw-root{position:fixed;z-index:9990;bottom:22px;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#171a21}
#sgs-ainw-root.sgs-ainw-pos-right{right:22px}#sgs-ainw-root.sgs-ainw-pos-left{left:22px}
.sgs-ainw-launcher{border:0;text-decoration:none;background:radial-gradient(circle at 20% 15%,rgba(255,255,255,.22),transparent 26%),linear-gradient(135deg,#101114 0%,#242832 58%,#d0121a 145%);color:#fff;border-radius:999px;padding:11px 16px 11px 12px;min-width:202px;box-shadow:0 18px 52px rgba(15,17,22,.26);display:flex;align-items:center;gap:11px;cursor:pointer}
.sgs-ainw-dot{width:38px;height:38px;border-radius:15px;background:linear-gradient(135deg,#d0121a 0%,#9f0e14 100%);position:relative;flex:0 0 auto;box-shadow:inset 0 1px 0 rgba(255,255,255,.24),0 10px 24px rgba(208,18,26,.28)}
.sgs-ainw-dot:after{content:"AI";position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:950}.sgs-ainw-dot:before{content:"";position:absolute;right:-2px;top:-2px;width:11px;height:11px;border-radius:999px;background:#2ed573;border:2px solid #fff}
.sgs-ainw-launcher-text{text-align:left;line-height:1.08}.sgs-ainw-launcher-text strong{display:block;font-size:14px;font-weight:950}.sgs-ainw-launcher-text small{display:block;margin-top:4px;font-size:11px;font-weight:650;color:rgba(255,255,255,.76)}
.sgs-ainw-panel{position:absolute;bottom:72px;width:405px;height:635px;max-height:calc(100vh - 112px);background:radial-gradient(circle at 18% -12%,rgba(208,18,26,.18),transparent 34%),radial-gradient(circle at 88% 2%,rgba(13,15,20,.12),transparent 32%),linear-gradient(180deg,#f7f8fb 0%,#eff2f6 100%);border-radius:26px;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.34);border:1px solid rgba(255,255,255,.52);display:none;flex-direction:column}
.sgs-ainw-pos-right .sgs-ainw-panel{right:0}.sgs-ainw-pos-left .sgs-ainw-panel{left:0}#sgs-ainw-root.is-open .sgs-ainw-panel{display:flex}
.sgs-ainw-panel-top{flex:0 0 auto;min-height:58px;padding:12px 12px 11px 14px;background:radial-gradient(circle at 14% 18%,rgba(255,255,255,.16),transparent 24%),linear-gradient(135deg,#0d0f14 0%,#1f232d 58%,#d0121a 158%);color:#fff;display:flex;align-items:center;justify-content:space-between}.sgs-ainw-panel-top strong{display:block;font-size:15px;font-weight:950;line-height:1.1}.sgs-ainw-panel-top small{display:block;margin-top:3px;font-size:11px;color:rgba(255,255,255,.76)}
.sgs-ainw-close{width:40px;height:40px;border-radius:14px;border:0;color:#fff;background:rgba(255,255,255,.12);cursor:pointer;font-size:28px;line-height:1}
.sgs-ainw-suggestions{flex:0 0 auto;padding:10px;background:rgba(244,246,249,.94);border-bottom:1px solid rgba(21,25,34,.06)}.sgs-ainw-suggestions-head{display:flex;justify-content:space-between;gap:8px;margin:0 1px 8px;font-size:11px;line-height:1;font-weight:900;color:#505967;text-transform:uppercase}.sgs-ainw-suggestions-head em{color:#d0121a;font-style:normal;text-transform:none}.sgs-ainw-quick{display:flex;flex-wrap:wrap;gap:7px}.sgs-ainw-quick button{border:1px solid rgba(21,25,34,.08);background:rgba(255,255,255,.92);color:#202631;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:850;line-height:1;cursor:pointer;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sgs-ainw-messages{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:12px 10px;-webkit-overflow-scrolling:touch}.sgs-ainw-message{width:fit-content;max-width:96%;padding:11px 12px;border-radius:18px;font-size:15px;line-height:1.5;margin-bottom:10px;white-space:normal;word-break:break-word}.sgs-ainw-message.assistant{background:rgba(255,255,255,.96);border:1px solid rgba(21,25,34,.075);border-top-left-radius:7px;box-shadow:0 10px 30px rgba(13,15,20,.075)}.sgs-ainw-message.user{margin-left:auto;color:#fff;background:linear-gradient(135deg,#d0121a 0%,#9e0d13 100%);border-top-right-radius:7px;box-shadow:0 12px 30px rgba(208,18,26,.24)}.sgs-ainw-message.assistant a{color:#d0121a;font-weight:900;text-decoration:underline;text-underline-offset:3px}
.sgs-ainw-form{flex:0 0 auto;display:flex;gap:8px;align-items:flex-end;padding:10px;background:rgba(255,255,255,.96);border-top:1px solid rgba(21,25,34,.08)}.sgs-ainw-form textarea{flex:1 1 auto;min-width:0;width:100%;min-height:54px;max-height:126px;resize:none;border:1px solid rgba(21,25,34,.13);border-radius:16px;padding:14px;font:inherit;font-size:18px;line-height:1.42;outline:none;background:#fff;color:#151922;-webkit-appearance:none;appearance:none}.sgs-ainw-form textarea:focus{border-color:rgba(208,18,26,.46);box-shadow:0 0 0 4px rgba(208,18,26,.09)}.sgs-ainw-form button{flex:0 0 54px;width:54px;height:54px;border:0;border-radius:16px;background:linear-gradient(135deg,#d0121a 0%,#9e0d13 100%);color:#fff;font-weight:950;cursor:pointer;box-shadow:0 12px 26px rgba(208,18,26,.26)}.sgs-ainw-disclaimer{flex:0 0 auto;padding:0 12px 10px;font-size:11.4px;line-height:1.42;color:#717987;background:rgba(255,255,255,.96)}
@media(max-width:767px){#sgs-ainw-root[data-show-mobile="0"]{display:none!important}#sgs-ainw-root{right:12px!important;left:auto!important;bottom:12px!important}.sgs-ainw-panel{display:none!important}}
@media(min-width:768px){#sgs-ainw-root[data-show-desktop="0"]{display:none!important}}


/* v24: Sugestii complete, fără text tăiat */
.sgs-ainw-quick,
.sgs_ai_native_widget .quick,
#sgs-ainw .quick,
#sgs_ainw .quick {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  overflow: visible !important;
}

.sgs-ainw-quick button,
.sgs_ai_native_widget .quick button,
#sgs-ainw .quick button,
#sgs_ainw .quick button {
  width: 100% !important;
  min-height: 44px !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  line-height: 1.22 !important;
  text-align: left !important;
  border-radius: 14px !important;
  padding: 9px 10px !important;
}

@media (max-width: 380px) {
  .sgs-ainw-quick,
  .sgs_ai_native_widget .quick,
  #sgs-ainw .quick,
  #sgs_ainw .quick {
    grid-template-columns: 1fr !important;
  }
}


/* v25: SmartGSM bubble logo */
.sgs-ainw-launcher-logo,
.sgs-ainw-avatar-logo,
.sgs-ainw-bubble-logo,
.sgs_ai_native_widget .sgs-ainw-launcher-logo,
#sgs-ainw .sgs-ainw-launcher-logo,
#sgs_ainw .sgs-ainw-launcher-logo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  border-radius: inherit !important;
}

.sgs-ainw-launcher.has-logo,
.sgs-ai-launcher.has-logo,
#sgs-ainw-launcher.has-logo,
#sgs_ai_launcher.has-logo {
  background: #ffffff !important;
  color: transparent !important;
  overflow: hidden !important;
  padding: 6px !important;
}

.sgs-ainw-avatar.has-logo,
.sgs-ai-avatar.has-logo {
  background: #ffffff !important;
  overflow: hidden !important;
}


/* v26: bulina SmartGSM este randată direct în HTML */
.sgs-ainw-dot.sgs-ainw-dot-logo {
  background: #ffffff !important;
  overflow: hidden !important;
  padding: 4px !important;
  display: grid !important;
  place-items: center !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo::after {
  content: none !important;
  display: none !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  border-radius: 10px !important;
}


/* v27: încadrăm strict imaginea din bulină */
.sgs-ainw-dot {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  max-width: 28px !important;
  max-height: 28px !important;
  padding: 3px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  overflow: hidden !important;
  flex: 0 0 28px !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 0 !important;
}

/* dacă launcherul are altă dimensiune, păstrăm logo-ul proporțional */
.sgs-ainw-launcher .sgs-ainw-dot.sgs-ainw-dot-logo,
.sgs-ai-launcher .sgs-ainw-dot.sgs-ainw-dot-logo,
#sgs-ainw-launcher .sgs-ainw-dot.sgs-ainw-dot-logo,
#sgs_ai_launcher .sgs-ainw-dot.sgs-ainw-dot-logo {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex-basis: 30px !important;
}


/* v28: logo SmartGSM doar în iconița mică, nu pe tot butonul */
.sgs-ainw-launcher.has-logo,
.sgs-ai-launcher.has-logo,
#sgs-ainw-launcher.has-logo,
#sgs_ai_launcher.has-logo {
  background: inherit !important;
  color: inherit !important;
  overflow: visible !important;
  padding: inherit !important;
}

.sgs-ainw-launcher > img.sgs-ainw-launcher-logo,
.sgs-ai-launcher > img.sgs-ainw-launcher-logo,
#sgs-ainw-launcher > img.sgs-ainw-launcher-logo,
#sgs_ai_launcher > img.sgs-ainw-launcher-logo {
  display: none !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  min-height: 30px !important;
  max-width: 30px !important;
  max-height: 30px !important;
  flex: 0 0 30px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid rgba(208,18,26,.16) !important;
  padding: 4px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo::before,
.sgs-ainw-dot.sgs-ainw-dot-logo::after {
  content: none !important;
  display: none !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* imaginea nu are voie să determine dimensiunea launcherului */
.sgs-ainw-launcher .sgs-ainw-dot.sgs-ainw-dot-logo img {
  position: static !important;
}


/* v29: logo oficial SmartGSM procesat pentru iconița mică */
.sgs-ainw-dot.sgs-ainw-dot-logo {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid rgba(208,18,26,.14) !important;
  padding: 5px !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo::before,
.sgs-ainw-dot.sgs-ainw-dot-logo::after {
  content: none !important;
  display: none !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* siguranță: imaginea nu poate deveni fundalul sau conținutul întregului launcher */
.sgs-ainw-launcher > img.sgs-ainw-launcher-logo,
.sgs-ai-launcher > img.sgs-ainw-launcher-logo,
#sgs-ainw-launcher > img.sgs-ainw-launcher-logo,
#sgs_ai_launcher > img.sgs-ainw-launcher-logo {
  display: none !important;
}


/* v30: iconița SmartGSM trebuie să umple complet bulina */
.sgs-ainw-dot.sgs-ainw-dot-logo {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo::before,
.sgs-ainw-dot.sgs-ainw-dot-logo::after {
  content: none !important;
  display: none !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 999px !important;
  transform: none !important;
}


/* v31: eliminăm efectul negru din transparență */
.sgs-ainw-dot.sgs-ainw-dot-logo {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  flex: 0 0 34px !important;
  border-radius: 999px !important;
  box-sizing: border-box !important;
  background: #ffffff !important;
  border: 1px solid rgba(208,18,26,.14) !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo::before,
.sgs-ainw-dot.sgs-ainw-dot-logo::after {
  content: none !important;
  display: none !important;
}

.sgs-ainw-dot.sgs-ainw-dot-logo img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  border-radius: 999px !important;
  transform: none !important;
}
