/* ===== sup chat (STYLE ONLY) ===== */
.sup-chat-box{
  background:#fff;
  border-radius:14px;
  box-shadow:0 6px 20px rgba(0,0,0,0.07);
  overflow:hidden;
  margin:30px 0 60px;
}

.sup-chat-head{
  padding:16px 18px;
  background:#f0f4ff;
  font-weight:700;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.sup-chat-status{
  font-size:13px;
  font-weight:700;
  color:#666;
}

.sup-chat-log{
  height:520px;
  overflow:auto;
  padding:18px;
  background:#fafafa;
}

.sup-msg{
  max-width:78%;
  margin:10px 0;
  padding:12px 13px;
  border-radius:14px;
  line-height:1.4;
  font-size:14px;
  white-space:pre-wrap;
  word-break:break-word;
}

.sup-msg.visitor{
  background:#2b67f6;
  color:#fff;
  margin-left:auto;
  border-bottom-right-radius:6px;
}

.sup-msg.admin{
  background:#fff;
  border:1px solid #e8e8e8;
  margin-right:auto;
  border-bottom-left-radius:6px;
}

.sup-meta{
  font-size:11px;
  opacity:.75;
  margin-top:4px;
}

.sup-chat-input{
  display:flex;
  gap:10px;
  padding:14px;
  background:#fff;
  border-top:1px solid #eee;
}

.sup-chat-input textarea{
  flex:1;
  resize:none;
  height:52px;
  border:1px solid #ddd;
  border-radius:12px;
  padding:12px;
  font-size:14px;
}

.sup-chat-input button{
  width:120px;
  border:none;
  border-radius:12px;
  background:#2b67f6;
  color:#fff;
  font-weight:700;
  cursor:pointer;
}

.sup-chat-input button:disabled{
  opacity:.5;
  cursor:not-allowed;
}

@media (max-width:768px){
  .sup-chat-log{height:420px;}
  .sup-chat-input button{width:96px;}
}
