@charset "utf-8";
/* CSS Document */
/******** BOT ICON ********/
.bot-container {
  position: fixed;
  bottom: 70px;
  left: 20px;
  z-index: 9999;
}

/* Bot Button */
.bot-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: #fff;
  font-size: 32px;
  border: none;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s infinite;
}

/* Popup */
.bot-popup {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
  padding: 15px;
}

.bot-popup h6 {
  margin: 0;
  font-weight: 600;
}

.bot-popup p {
  font-size: 14px;
  margin: 10px 0;
}

.bot-popup button {
  width: 100%;
}

/* Pulse animation */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13,110,253,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(13,110,253,0); }
  100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); }
}

/* CHAT BOX / CHAT CARD */
.chat-card {
	max-width: 100%;
	height: 90vh;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0,0,0,0.25);
	background: #fff;
	display: flex;
	flex-direction: column;
}

.chat-header {
	background: linear-gradient(135deg, #6a11cb, #2575fc);
	color: #fff;
	padding: 15px;
	text-align: center;
	font-weight: 600;
	font-size: 18px;
}

.chat-body {
	flex: 1;
	padding: 15px;
	overflow-y: auto;
	background: #f5f7fb;
}

.message {
	max-width: 75%;
	padding: 10px 14px;
	border-radius: 15px;
	margin-bottom: 12px;
	font-size: 14px;
	animation: fadeIn 0.3s ease-in-out;
}

.message.user {
	background: #2575fc;
	color: #fff;
	margin-left: auto;
	border-bottom-right-radius: 5px;
}

.message.bot {
	background: #fff;
	color: #333;
	margin-right: auto;
	border-bottom-left-radius: 5px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.chat-footer {
	border-top: 1px solid #eee;
	padding: 12px;
	background: #fff;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(5px); }
	to { opacity: 1; transform: translateY(0); }
}