.ddr2-chatbot-widget{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:99999;
  font-family:Arial, Helvetica, sans-serif;
}

.ddr2-chatbot-toggle{
  background:#111827;
  color:#fff;
  border:none;
  border-radius:999px;
  padding:14px 20px;
  cursor:pointer;
  font-weight:700;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}

.ddr2-chatbot-panel{
  width:360px;
  max-width:calc(100vw - 30px);
  height:560px;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 20px 45px rgba(0,0,0,.18);
  margin-top:12px;
  display:flex;
  flex-direction:column;
}

.ddr2-chatbot-header{
  background:#111827;
  color:#fff;
  padding:16px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
}

.ddr2-chatbot-subtitle{
  font-size:12px;
  opacity:.8;
  margin-top:4px;
}

.ddr2-chatbot-close{
  background:transparent;
  color:#fff;
  border:none;
  font-size:24px;
  cursor:pointer;
}

.ddr2-chatbot-messages{
  flex:1;
  overflow:auto;
  padding:14px;
  background:#f9fafb;
}

.ddr2-chatbot-message{
  margin-bottom:12px;
  padding:12px 14px;
  border-radius:14px;
  line-height:1.5;
  font-size:14px;
}

.ddr2-chatbot-message.bot{
  border:1px solid #e5e7eb;
}

.ddr2-chatbot-message.user{
  margin-left:40px;
}

.ddr2-chatbot-message.loading{
  opacity:.7;
}

.ddr2-chatbot-suggestions{
  padding:10px 14px;
  border-top:1px solid #eee;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  background:#fff;
}

.ddr2-chatbot-chip{
  border:1px solid #ddd;
  background:#fff;
  border-radius:999px;
  padding:8px 12px;
  cursor:pointer;
  font-size:12px;
}

.ddr2-chatbot-form{
  display:flex;
  gap:8px;
  padding:14px;
  border-top:1px solid #eee;
  background:#fff;
}

.ddr2-chatbot-form input{
  flex:1;
  border:1px solid #d1d5db;
  border-radius:12px;
  padding:10px 12px;
}

.ddr2-chatbot-form button{
  border:none;
  background:#111827;
  color:#fff;
  border-radius:12px;
  padding:10px 14px;
  cursor:pointer;
  font-weight:700;
}
.ddr2-chatbot-suggestions{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  padding:10px 14px !important;
  border-top:1px solid #eee !important;
  background:#fff !important;
}

.ddr2-chatbot-chip{
  display:inline-block !important;
  visibility:visible !important;
  opacity:1 !important;
  border:1px solid #ddd !important;
  background:#fff !important;
  border-radius:999px !important;
  padding:8px 12px !important;
  cursor:pointer !important;
  font-size:12px !important;
  color:#111 !important;
}

/* ── Mobile fix ── */
@media (max-width: 480px) {
  .ddr2-chatbot-widget {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
  }

  .ddr2-chatbot-toggle {
    position: fixed;
    right: 16px;
    bottom: 16px;
    left: auto;
    width: auto;
  }

  .ddr2-chatbot-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 75vh;
    max-height: 75vh;
    border-radius: 20px 20px 0 0;
    margin-top: 0;
  }

  .ddr2-chatbot-header {
    padding: 14px 16px;
    min-height: 60px;
    position: sticky;
    top: 0;
    z-index: 10;
  }

  .ddr2-chatbot-close {
    font-size: 28px;
    padding: 4px 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    flex-shrink: 0;
  }
}
