/* ZBot Assistant UI v1.5.0 - Debug: This file is loading */
.zbot-wrap{ 
  --zbot-h:480px; 
  max-width:960px; 
  margin:12px auto; 
  font: 14px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif; 
  color:#e6eefc; 
  display: block;
  position: relative;
}
.zbot-chat{ 
  background:#0e1320; 
  border:1px solid #1b2535; 
  border-radius:16px; 
  padding:12px; 
  height:var(--zbot-h); 
  min-height:400px; 
  max-height:600px;
  overflow:auto; 
  display: block;
  position: relative;
}
.zbot-row{ display:flex; gap:12px; margin:10px 0; align-items:flex-start; }
.zbot-ai,.zbot-me{ padding:12px 14px; border-radius:14px; max-width:82%; white-space:pre-wrap; line-height:1.45; }
.zbot-ai{ background:#0f1a2a; border:1px solid #15243a; }
.zbot-me{ background:#0e232c; border:1px solid #16323f; margin-left:auto; }
.zbot-composer{ display:flex; gap:10px; margin:10px 2px 0; }
.zbot-input{ flex:1; border:1px solid #1b2a3f; background:#0d1722; color:#e6eefc; border-radius:12px; padding:10px 12px; }
.zbot-send,.zbot-tts,.zbot-mic{ border:1px solid #1b2a3f; background:#121c2b; color:#e6eefc; padding:10px 12px; border-radius:12px; cursor:pointer; }
.zbot-send:hover,.zbot-tts:hover,.zbot-mic:hover{ background:#162338; }
.zbot-typing{ display:inline-flex; gap:6px; align-items:center; }
.zbot-dot{ width:6px; height:6px; border-radius:50%; background:#7aa2f7; animation: bounce 1.2s infinite; }
.zbot-dot:nth-child(2){ animation-delay:.2s }
.zbot-dot:nth-child(3){ animation-delay:.4s }
@keyframes bounce{ 0%,80%,100%{ transform: translateY(0) } 40%{ transform: translateY(-4px) } }
.zbot-hint{ margin-top:6px; opacity:.8; font-size:12px; color:#a9b7d0; }
.zbot-cta{ margin-top:12px; display:flex; flex-direction:column; gap:6px; align-items:flex-start; }
.zbot-btn{ display:inline-block; padding:10px 16px; border-radius:12px; border:1px solid #3b82f6; background:#1d4ed8; color:#fff; text-decoration:none; font-weight:600; }
.zbot-btn:hover{ background:#2563eb; }
.zbot-cta-note{ font-size:12px; color:#a9b7d0; }

/* ===== ZBot visibility fixes (force readable text & correct colors) ===== */

/* Chat container & everything inside should inherit light text */
.zbot-wrap .zbot-chat,
.zbot-wrap .zbot-chat * {
  color: #e6eefc !important;
}

/* Bubbles: lock in backgrounds, borders, and text color */
.zbot-wrap .zbot-ai {
  background: #0f1a2a !important;
  border: 1px solid #15243a !important;
  color: #e6eefc !important;
}
.zbot-wrap .zbot-me {
  background: #0e232c !important;
  border: 1px solid #16323f !important;
  color: #e6eefc !important;
}

/* Links inside bubbles stay readable */
.zbot-wrap .zbot-chat a {
  color: #cfe0ff !important;
  text-decoration: underline;
}

/* Hint & placeholder tones */
.zbot-wrap .zbot-hint { color: #a9b7d0 !important; }
.zbot-wrap .zbot-input::placeholder { color: #a9b7d0 !important; }

/* Buttons & composer (ensure they don't get themed) */
.zbot-wrap .zbot-send,
.zbot-wrap .zbot-tts,
.zbot-wrap .zbot-mic {
  border: 1px solid #1b2a3f !important;
  background: #121c2b !important;
  color: #e6eefc !important;
}
.zbot-wrap .zbot-send:hover,
.zbot-wrap .zbot-tts:hover,
.zbot-wrap .zbot-mic:hover { background: #162338 !important; }

/* CTA button */
.zbot-wrap .zbot-btn {
  background: #1d4ed8 !important;
  border: 1px solid #3b82f6 !important;
  color: #fff !important;
}
.zbot-wrap .zbot-btn:hover { background: #2563eb !important; }

/* Force readable text inside bubbles (beats Divi/body overrides) */
.zbot-wrap .zbot-ai,
.zbot-wrap .zbot-me { color: #e6eefc !important; }

.zbot-wrap .zbot-ai *,
.zbot-wrap .zbot-me * { color: inherit !important; }

/* Keep links readable inside bubbles */
.zbot-wrap .zbot-chat a { color: #cfe0ff !important; text-decoration: underline; }

/* Hint styling - positioned within chat area */
.zbot-hint { 
  font-size: .875rem; 
  opacity: .8; 
  padding: 8px 12px; 
  margin: 8px 0; 
  display: block;
  text-align: center;
  color: #a9b7d0 !important;
  background: rgba(15, 26, 42, 0.8) !important;
  border: 1px solid #1b2a3f !important;
  border-radius: 8px;
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro section removed - handled by page content */

/* ===== Website Input Section ===== */
.zbot-website-input {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}

.zbot-website-field {
  flex: 1;
  border: 1px solid #1b2a3f;
  background: #0d1722;
  color: #e6eefc;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 1rem;
}

.zbot-website-field::placeholder {
  color: #a9b7d0 !important;
}

.zbot-start-btn {
  background: #1d4ed8;
  border: 1px solid #3b82f6;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.zbot-start-btn:hover {
  background: #2563eb;
}

/* ===== Demo Button Styling ===== */
.zbot-demo-btn {
  background: #059669;
  border: 1px solid #10b981;
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-right: 8px;
}

.zbot-demo-btn:hover {
  background: #047857;
}

/* Demo button styling only - modal removed */

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .zbot-website-input {
    flex-direction: column;
  }
  
  .zbot-website-field,
  .zbot-start-btn {
    width: 100%;
  }
}