/* Support Chat Widget Styles */
.support-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 1050;
}
.support-btn button {
  background: linear-gradient(135deg,#1a365d,#2a5298);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  font-size: 20px;
}

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 28px;
  width: 340px;
  max-width: calc(100% - 40px);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.18);
  z-index: 1050;
  display: none;
  overflow: hidden;
}

.chat-header {
  background: linear-gradient(135deg,#1a365d,#2a5298);
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-body {
  max-height: 360px;
  overflow-y: auto;
  padding: 12px;
  background: #f8fafc;
}

.chat-footer {
  padding: 10px;
  border-top: 1px solid #eef2f7;
  display: flex;
  gap: 8px;
}

.chat-footer input[type="text"] {
  flex: 1;
  border-radius: 8px;
  padding: 8px 10px;
  border: 1px solid #e6edf3;
}

.chat-message {
  margin-bottom: 10px;
  display: flex;
}

.msg-user {
  margin-left: auto;
  background: linear-gradient(135deg,#1a365d,#2a5298);
  color: #fff;
  padding: 8px 10px;
  border-radius: 12px 12px 0 12px;
  max-width: 78%;
}

.msg-agent {
  margin-right: auto;
  background: #fff;
  border: 1px solid #e6edf3;
  color: #111827;
  padding: 8px 10px;
  border-radius: 12px 12px 12px 0;
  max-width: 78%;
}

.chat-footer .send-btn {
  background: #1a365d;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
}

@media (max-width: 480px){
  .chat-panel { right: 16px; left: 16px; width: auto; bottom: 80px; }
  .support-btn { right: 16px; bottom: 16px; }
}
