#noesis-widget{
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#noesis-btn{
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00e5ff, #b300ff);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0,229,255,0.35);
}

#noesis-chat{
  width: 360px;
  height: 520px;
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
  overflow: hidden;
  display:none;
  flex-direction: column;
  position: relative;
}

#noesis-chat::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(120deg, rgba(0,255,255,0.4), rgba(255,0,255,0.3), rgba(0,255,0.2));
  filter: blur(10px);
  opacity:0.6;
  z-index:0;
  animation: glow 8s infinite;
}

@keyframes glow{
  0%{ transform: translateX(-20%); }
  50%{ transform: translateX(20%); }
  100%{ transform: translateX(-20%); }
}

.noesis-header{
  position: relative;
  z-index:1;
  padding: 15px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
}

.noesis-header h3{
  margin:0;
  font-size:18px;
}
.noesis-header p{
  margin:0;
  font-size:12px;
  opacity:0.8;
}

#noesis-close{
  background: transparent;
  border: none;
  color:#fff;
  font-size: 24px;
  cursor:pointer;
}

#noesis-messages{
  position: relative;
  z-index:1;
  padding: 15px;
  height: 330px;
  overflow-y: auto;
  display:flex;
  flex-direction: column;
}

.noesis-msg{
  padding: 12px 14px;
  border-radius: 14px;
  margin-bottom: 12px;
  max-width: 80%;
  font-size: 14px;
  line-height: 1.6;
}

.noesis-msg.user{
  margin-left:auto;
  background: rgba(0,180,255,0.12);
  border: 1px solid rgba(0,180,255,0.4);
}

.noesis-msg.bot{
  margin-right:auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
}

.noesis-quick{
  position: relative;
  z-index:1;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}

.noesis-quick button{
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color:#fff;
  cursor:pointer;
  font-size: 12px;
}

.noesis-input{
  position: relative;
  z-index:1;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.25);
  display:flex;
  gap:10px;
}

.noesis-input input{
  width:100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color:#fff;
}

.noesis-input button{
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  cursor:pointer;
  background: linear-gradient(135deg, #00e5ff, #b300ff);
  color:#fff;
  font-weight:bold;
}
