#ondas-ai-btn {
  position: fixed;
  left: 22px;
  bottom: 108px;
  z-index: 900;
  border: none;
  border-radius: 999px;
  padding: 13px 18px;
  background: linear-gradient(135deg, #004b86, #0077b6);
  color: #fff;
  font-family: Inter, sans-serif;
  font-size: 15px;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(0, 61, 115, 0.35);
}

#ondas-ai-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(6px);
}

#ondas-ai-panel {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.35);
  overflow: hidden;
  font-family: Inter, sans-serif;
}

.ondas-ai-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  background: linear-gradient(135deg, #003b6f, #0077b6);
  color: #fff;
}

.ondas-ai-title {
  font-size: 20px;
  font-weight: 900;
}

.ondas-ai-subtitle {
  font-size: 12px;
  opacity: 0.9;
  margin-top: 3px;
}

.ondas-ai-close {
  border: none;
  background: rgba(255,255,255,0.18);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 26px;
  line-height: 1;
}

#ondas-ai-messages {
  padding: 16px;
  max-height: 48vh;
  overflow-y: auto;
  background: #f8fafc;
}

.ondas-ai-msg {
  max-width: 88%;
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-wrap;
}

.ondas-ai-msg.bot {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-bottom-left-radius: 6px;
}

.ondas-ai-msg.user {
  margin-left: auto;
  background: #0077b6;
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.ondas-ai-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

#ondas-ai-input {
  flex: 1;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 13px 15px;
  font-size: 15px;
  outline: none;
}

.ondas-ai-input-row button {
  border: none;
  border-radius: 999px;
  padding: 0 18px;
  background: #004b86;
  color: #fff;
  font-weight: 800;
}

@media (max-width: 480px) {
  #ondas-ai-btn {
    left: 18px;
    bottom: 105px;
    font-size: 14px;
    padding: 12px 15px;
  }
}
