/* ——————————————————————————————
   AIW WIDGET GLOBAL — ISOLÉ
—————————————————————————————— */

.aiw-widget{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999999;
}

.aiw-launcher{
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: #00cf6a;
  color: #002614;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(0,255,150,.4);
  transition: transform .2s ease;
}
.aiw-launcher:hover{ transform: scale(1.05); }

/* Panel */
.aiw-panel{
  position: fixed;
  right: 22px;
  bottom: 100px;
  width: 320px;
  max-height: 70vh;
  overflow-y: auto;

  background: #08101c;
  border: 1px solid #1e324c;
  border-radius: 16px;
  padding-bottom: 10px;

  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .22s ease, transform .22s ease;
}

.aiw-panel.open{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.aiw-panel-header{
  display: flex;
  gap: 12px;
  padding: 14px;
  align-items: center;
}

.aiw-avatar img{
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.aiw-header-title{ font-size: 1rem; color: #d4fdf1; }
.aiw-header-sub{ font-size: .8rem; opacity: .7; color: #cce5ff; }

.aiw-close{
  margin-left: auto;
  border: none;
  background: none;
  color: #8fa5c7;
  font-size: 1.4rem;
  cursor: pointer;
}

.aiw-panel-body{ padding: 0 14px; }
.aiw-panel-intro{ color: #cce5ff; opacity: .9; margin: 0 0 10px; }

.aiw-suggestions{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.aiw-chip{
  background: #0b1b30;
  border: 1px solid #20344f;
  color: #cce5ff;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-size: .85rem;
}

.aiw-panel-footer{
  display: flex;
  gap: 10px;
  padding: 14px;
}

.aiw-footer-btn{ flex: 1; }


.aiw-panel{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .22s ease, transform .22s ease;
}

.aiw-panel.open{
  opacity: 1;
  transform: translateY(0);
}

.aiw-panel{
  will-change: opacity, transform;
}
.aiw-launcher { width: 56px; height: 56px; }
/* === AIW Widget — Glass transparency === */
.aiw-panel {
  background: rgba(8, 18, 30, 0.55); /* transparence principale */
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
background: rgba(8, 18, 30, 0.45);

