/* serum-widget.css (Patch Step 2) */

.serum-hidden { display: none !important; }

.serum-fab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  background: #111827;
  color: #fff;
  z-index: 999999;
}

.serum-popup{
  position: fixed;
  right: 18px;
  bottom: 84px;
  width: 360px;
  max-width: calc(100vw - 36px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #0b1220;
  color: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
  z-index: 999999;
  border: 2px solid rgba(255,255,255,.08);
}

.serum-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 12px;
  background: rgba(255,255,255,.04);
}

.serum-title{
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .2px;
}

.serum-close{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
}

.serum-body{
  padding: 12px;
  height: calc(100% - 56px - 56px);
  overflow-y: auto;
}

.serum-footer{
  display:flex;
  gap: 10px;
  padding: 12px;
  background: rgba(255,255,255,.03);
}

.serum-input{
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: #fff;
  outline: none;
}

.serum-send{
  padding: 10px 12px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  background: #1f2937;
  color: #fff;
  font-weight: 700;
}

.serum-msg{
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.serum-user{
  margin-left: auto;
  background: rgba(255,255,255,.12);
}

.serum-assistant{
  margin-right: auto;
  background: rgba(101, 163, 255, .14);
  border: 1px solid rgba(101, 163, 255, .18);
}

.serum-status{
  margin: 8px 0;
  font-size: 12px;
  opacity: .85;
}
