.mutercim-chatbot {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  font-family: "Open Sans", sans-serif;
}

.mutercim-chatbot__launcher {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #4154f1 0%, #012970 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(65, 84, 241, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.mutercim-chatbot__launcher:hover {
  transform: scale(1.05);
}

.mutercim-chatbot__panel {
  position: absolute;
  right: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 32px));
  height: 520px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(1, 41, 112, 0.2);
  border: 1px solid #e7ecff;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

.mutercim-chatbot.is-open .mutercim-chatbot__panel {
  display: flex;
}

.mutercim-chatbot__header {
  background: linear-gradient(90deg, #012970 0%, #4154f1 100%);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mutercim-chatbot__header strong {
  display: block;
  font-size: 15px;
}

.mutercim-chatbot__header small {
  opacity: 0.9;
  font-size: 12px;
}

.mutercim-chatbot__close {
  border: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}

.mutercim-chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f8faff;
}

.mutercim-chatbot__msg {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.mutercim-chatbot__msg--bot {
  background: #fff;
  color: #334155;
  border: 1px solid #e6ebfa;
  border-bottom-left-radius: 4px;
}

.mutercim-chatbot__msg--user {
  margin-left: auto;
  background: #4154f1;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.mutercim-chatbot__typing {
  font-size: 12px;
  color: #64748b;
  padding: 0 14px 8px;
}

.mutercim-chatbot__quick {
  padding: 8px 12px 12px;
  border-top: 1px solid #edf1ff;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 130px;
  overflow-y: auto;
}

.mutercim-chatbot__quick button {
  border: 1px solid #cdd7ff;
  background: #fff;
  color: #4154f1;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.mutercim-chatbot__quick button:hover {
  background: #eef1ff;
}

.mutercim-chatbot__input {
  display: flex;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid #edf1ff;
}

.mutercim-chatbot__input input {
  flex: 1;
  border: 1px solid #dce3f1;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 13px;
}

.mutercim-chatbot__input button {
  border: 0;
  background: #4154f1;
  color: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .mutercim-chatbot {
    bottom: 82px;
  }
}
