:root {
  --green: #1f8f6f;
  --green-hover: #1c7f62;
  --bg: #f4f4f8;
  --banner: #e1f1ff;
  --text: #1b1b1b;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

#chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  color: var(--text);
}

.chat-float {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: #047046;
  box-shadow: #878a99 0 5px 15px;
  cursor: pointer;
  padding: 0;
  display: grid;
  place-items: center;
}
.chat-float img {
  width: 32px;
  height: 32px;
}

.chat-panel {
  display: none !important;
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 400px;
  max-height: 600px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.chat-panel.opened {
  display: flex !important;
}

.chat-header {
  padding: 16px;
  font-weight: 700;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chat-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.chat-banner {
  background: var(--banner);
  color: #34495e;
  padding: 12px 14px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.chat-content {
  background: var(--bg);
  padding: 14px;
  overflow-y: auto;
  flex: 1;
  min-height: 350px;
}

.quick-questions {
  display: flex;
  flex-wrap: wrap;
	justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}
.pill {
  border: none;
  background: #45cb85;
  color: #fff;
  padding: 10px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 5px 10px #1e20251f;
  text-align: center;
}
.pill:hover {
  background: var(--green-hover);
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bubble {
  max-width: max-content;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
}
.msg.user .bubble {
  background: #45cb85;
  color: #fff;
  margin-left: auto;
}

.chat-input {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
}
.chat-input input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  background: #f9f9fb;
  outline: none;
  font-size: 14px;
}
.chat-input button {
  width: 48px;
  border: none;
  border-radius: 12px;
  background: #f0f0f0;
  color: #999;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.chat-input button.enabled {
  background: var(--green);
  color: #fff;
}
.chat-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media(max-width:991px){
	.bundle-box {
		flex-direction: column;
	}
}
@media (max-width: 767px) {
	.chat-panel {
		width: calc(100vw - 24px);
		right: 12px;
		bottom: 90px;
	}
	.chat-float {
		width: 56px;
		height: 56px;
	}
	.bundles,
	.bundle-box ul{
		flex-direction: column;
	}
}
