/* --- Sethi Mobile Hub - AI Shop Manager Widget Styles --- */
#smh-chat-widget {
  position: fixed;
  bottom: 24px;
  right: 90px; /* Right side par floating WhatsApp button ke bagal mein adjust karne ke liye */
  z-index: 99999;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#smh-chat-btn {
  background: linear-gradient(135deg, #075e54, #128c7e);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

#smh-chat-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

#smh-chat-box {
  display: none;
  position: fixed;
  bottom: 95px;
  right: 20px;
  width: 360px;
  height: 500px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

#smh-chat-header {
  background: #0f172a; /* Aapke footer/slate theme ke match karta hua */
  color: white;
  padding: 14px 16px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #25D366;
}

#smh-close-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s;
}

#smh-close-btn:hover {
  color: #fff;
}

#smh-chat-messages {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.smh-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.smh-msg.bot {
  background: #ffffff;
  color: #1e293b;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.smh-msg.user {
  background: #0f172a;
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

#smh-chat-input-area {
  display: flex;
  padding: 12px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  gap: 8px;
}

#smh-user-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  outline: none;
  font-size: 13px;
  background: #f8fafc;
  color: #1e293b;
}

#smh-user-input:focus {
  border-color: #25D366;
  background: #fff;
}

#smh-send-btn {
  background: #25D366;
  color: white;
  border: none;
  padding: 0 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
  transition: background 0.2s;
}

#smh-send-btn:hover {
  background: #1da851;
}