.ora-chatbot { font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.ora-chatbot.is-floating { position: fixed; right: 18px; bottom: 18px; z-index: 9999; }

.ora-chatbot-launch {
  border: 1px solid rgba(0,0,0,.2);
  background: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.ora-chatbot-panel {
  width: 340px;
  height: 420px;
  margin-top: 10px;
  border: 1px solid rgba(0,0,0,.15);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
  display: none;
  overflow: hidden;
}

.ora-chatbot.is-open .ora-chatbot-panel { display: flex; flex-direction: column; }

.ora-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.ora-chatbot-title { font-weight: 600; }
.ora-chatbot-close {
  border: none; background: transparent;
  font-size: 20px; line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.ora-chatbot-log {
  flex: 1;
  overflow-y: auto;
  padding: 10px 10px 6px;
}

.ora-chatbot-msg {
  max-width: 85%;
  padding: 8px 10px;
  border-radius: 12px;
  margin: 6px 0;
  color:rgba(0,0,0,0.9);
  border: 1px solid rgba(0,0,0,.08);
  font-size: 14px;
  line-height: 1.35;
  word-wrap: break-word;
  white-space: pre-line;

}

.ora-chatbot-msg.user { margin-left: auto; }
.ora-chatbot-msg.bot { 
	background-color:var(--ora_grey_backgroundlight);
	margin-right: auto; }

.ora-chatbot-input {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid rgba(0,0,0,.08);
}

.ora-chatbot-text {
  flex: 1;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
  padding: 8px 10px;
  outline: none;
}

.ora-chatbot-send {
  border: 1px solid rgba(0,0,0,.2);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.ora-chatbot.is-busy .ora-chatbot-send { opacity: .6; cursor: default; }

.ora-chatbot-message.typing {
    display: inline-flex;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #f1f1f1;
    width: fit-content;
}
.ora-chatbot-msg a:not(.btn){
	color:var(--ora_blu);
}
.ora-chatbot-msg a:not(.btn):hover{
	color:var(--ora_grey_text);
}
.ora-chatbot-message.typing .dot {
    width: 6px;
    height: 6px;
    background-color: #666;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.ora-chatbot-message.typing .dot:nth-child(1) {
    animation-delay: 0s;
}
.ora-chatbot-message.typing .dot:nth-child(2) {
    animation-delay: 0.2s;
}
.ora-chatbot-message.typing .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0% { opacity: 0.2; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(-2px); }
    100% { opacity: 0.2; transform: translateY(0); }
}
