/* Orbiba simple chatbot widget - light modern theme */
#orbiba-chatbot {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
}

.orbiba-chatbot-toggle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .2s ease;
}
.orbiba-chatbot-toggle:hover { transform: translateY(-1px); box-shadow: 0 12px 34px rgba(0,0,0,0.24); }

.orbiba-chatbot-panel {
  position: fixed;
  right: 20px;
  bottom: 76px;
  width: 360px;
  max-height: 520px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.orbiba-chatbot-panel.open { display: flex; }

@media (max-width: 640px) {
  .orbiba-chatbot-panel { right: 0; bottom: 68px; left: 0; margin: 0 12px; width: auto; }
}

.orbiba-chatbot-header {
  padding: 10px 14px;
  font-weight: 600;
  border-bottom: 1px solid #eef2f7;
}

.orbiba-chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: #f8fafc;
}

.orbiba-bubble { max-width: 85%; margin: 8px 0; padding: 8px 10px; border-radius: 10px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.orbiba-bubble.user { background: #e0f2fe; margin-left: auto; }
.orbiba-bubble.bot { background: #eef2ff; margin-right: auto; }
.orbiba-bubble p { margin: 0; }

.orbiba-redirect-btn {
  margin-top: 6px;
  padding: 6px 10px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.orbiba-redirect-btn:hover { background: #1d4ed8; }

.orbiba-chatbot-typing { padding: 8px 12px; color: #64748b; font-style: italic; }
.hidden { display: none; }

.orbiba-chatbot-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #eef2f7; background: #fff; }
.orbiba-chatbot-input { flex: 1; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 10px; resize: none; font-size: 14px; }
.orbiba-chatbot-send { padding: 8px 12px; background: #2563eb; color: #fff; border: none; border-radius: 10px; cursor: pointer; }
.orbiba-chatbot-send:hover { background: #1d4ed8; }