/* ===== WP AI Chatbot Widget ===== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --waicb-primary: #6366f1;
  --waicb-primary-dark: #4f46e5;
  --waicb-primary-light: #e0e7ff;
  --waicb-bg: #ffffff;
  --waicb-surface: #f8f9ff;
  --waicb-border: #e5e7eb;
  --waicb-text: #111827;
  --waicb-text-muted: #6b7280;
  --waicb-user-bg: var(--waicb-primary);
  --waicb-user-text: #ffffff;
  --waicb-bot-bg: #f1f5f9;
  --waicb-bot-text: #1e293b;
  --waicb-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.08);
  --waicb-radius: 20px;
  --waicb-font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ===== TOGGLE BUTTON ===== */
#waicb-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--waicb-primary), var(--waicb-primary-dark));
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(99,102,241,0.4), 0 2px 8px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  z-index: 999998;
  outline: none;
}
#waicb-toggle.waicb-left {
  right: auto;
  left: 24px;
}
#waicb-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(99,102,241,0.5), 0 4px 12px rgba(0,0,0,0.2);
}
#waicb-toggle svg {
  width: 28px;
  height: 28px;
  fill: white;
  transition: opacity 0.2s ease, transform 0.3s ease;
}
#waicb-toggle .waicb-icon-open { display: block; }
#waicb-toggle .waicb-icon-close { display: none; position: absolute; }
#waicb-toggle.active .waicb-icon-open { display: none; }
#waicb-toggle.active .waicb-icon-close { display: block; }

/* Ping animation */
#waicb-toggle::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--waicb-primary);
  opacity: 0.4;
  animation: waicb-ping 2s cubic-bezier(0,0,0.2,1) infinite;
}
@keyframes waicb-ping {
  0% { transform: scale(1); opacity: 0.4; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}
#waicb-toggle.active::before { display: none; }

/* Unread badge */
#waicb-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--waicb-font);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
  display: none;
}
#waicb-badge.visible { display: flex; }

/* ===== CHAT WINDOW ===== */
#waicb-window {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 380px;
  height: 600px;
  max-height: calc(100vh - 120px);
  background: var(--waicb-bg);
  border-radius: var(--waicb-radius);
  box-shadow: var(--waicb-shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 999999;
  font-family: var(--waicb-font);
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.25s ease;
  transform-origin: bottom right;
  border: 1px solid rgba(255,255,255,0.5);
}
#waicb-window.waicb-left {
  right: auto;
  left: 24px;
  transform-origin: bottom left;
}
#waicb-window.open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

/* ===== HEADER ===== */
#waicb-header {
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--waicb-primary) 0%, var(--waicb-primary-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
#waicb-header::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
#waicb-header::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: 40px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.waicb-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.4);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.waicb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.waicb-avatar svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.waicb-header-info {
  flex: 1;
  position: relative;
  z-index: 1;
}
.waicb-bot-name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
}
.waicb-status {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.waicb-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  display: inline-block;
  animation: waicb-pulse-green 2s ease infinite;
}
@keyframes waicb-pulse-green {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.waicb-header-actions {
  display: flex;
  gap: 6px;
  position: relative;
  z-index: 1;
}
.waicb-header-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  color: white;
}
.waicb-header-btn:hover { background: rgba(255,255,255,0.25); }
.waicb-header-btn svg { width: 14px; height: 14px; fill: white; }

/* ===== GDPR BANNER ===== */
#waicb-gdpr {
  padding: 14px 16px;
  background: #fffbeb;
  border-bottom: 1px solid #fde68a;
  font-size: 12.5px;
  color: #92400e;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
#waicb-gdpr.hidden { display: none; }
#waicb-gdpr-text { flex: 1; line-height: 1.4; }
#waicb-gdpr-accept {
  padding: 6px 14px;
  background: var(--waicb-primary);
  color: white;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--waicb-font);
}

/* ===== MESSAGES AREA ===== */
#waicb-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
  background: var(--waicb-surface);
}
#waicb-messages::-webkit-scrollbar { width: 4px; }
#waicb-messages::-webkit-scrollbar-track { background: transparent; }
#waicb-messages::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

/* ===== DATE DIVIDER ===== */
.waicb-date-divider {
  text-align: center;
  font-size: 11px;
  color: var(--waicb-text-muted);
  font-weight: 500;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.waicb-date-divider::before,
.waicb-date-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--waicb-border);
}

/* ===== MESSAGE BUBBLES ===== */
.waicb-msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 90%;
  animation: waicb-msg-in 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}
@keyframes waicb-msg-in {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.waicb-msg.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.waicb-msg.bot {
  align-self: flex-start;
}

.waicb-msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--waicb-primary), var(--waicb-primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}
.waicb-msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.waicb-msg-avatar svg { width: 14px; height: 14px; fill: white; }

.waicb-msg-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.waicb-bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  line-height: 1.55;
  word-break: break-word;
  position: relative;
}
.waicb-msg.bot .waicb-bubble {
  background: white;
  color: var(--waicb-bot-text);
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.waicb-msg.user .waicb-bubble {
  background: linear-gradient(135deg, var(--waicb-primary), var(--waicb-primary-dark));
  color: white;
  border-bottom-right-radius: 6px;
}

/* Markdown in bot messages */
.waicb-bubble p { margin: 0 0 8px; }
.waicb-bubble p:last-child { margin-bottom: 0; }
.waicb-bubble ul, .waicb-bubble ol { margin: 6px 0; padding-left: 18px; }
.waicb-bubble li { margin: 3px 0; }
.waicb-bubble strong { font-weight: 600; }
.waicb-bubble em { font-style: italic; }
.waicb-bubble a { color: var(--waicb-primary); text-decoration: underline; }
.waicb-msg.user .waicb-bubble a { color: rgba(255,255,255,0.9); }
.waicb-bubble code {
  background: rgba(0,0,0,0.07);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 13px;
  font-family: 'Fira Code', monospace;
}
.waicb-bubble h1, .waicb-bubble h2, .waicb-bubble h3 {
  font-weight: 600;
  margin: 8px 0 4px;
}
.waicb-bubble h1 { font-size: 16px; }
.waicb-bubble h2 { font-size: 15px; }
.waicb-bubble h3 { font-size: 14px; }
.waicb-bubble blockquote {
  border-left: 3px solid var(--waicb-primary-light);
  padding-left: 10px;
  margin: 6px 0;
  color: var(--waicb-text-muted);
}

.waicb-msg-time {
  font-size: 11px;
  color: var(--waicb-text-muted);
  padding: 0 4px;
}
.waicb-msg.user .waicb-msg-time { text-align: right; }

/* Rating buttons */
.waicb-rating {
  display: flex;
  gap: 4px;
  padding: 2px 4px;
}
.waicb-rate-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s;
  font-size: 14px;
}
.waicb-rate-btn:hover { opacity: 1; transform: scale(1.2); }
.waicb-rate-btn.active { opacity: 1; }

/* ===== TYPING INDICATOR ===== */
#waicb-typing {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  align-self: flex-start;
  animation: waicb-msg-in 0.3s ease;
}
#waicb-typing.hidden { display: none; }
.waicb-typing-bubble {
  background: white;
  padding: 12px 16px;
  border-radius: 18px;
  border-bottom-left-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  display: flex;
  gap: 5px;
  align-items: center;
}
.waicb-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #94a3b8;
  animation: waicb-bounce 1.2s ease infinite;
}
.waicb-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.waicb-typing-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes waicb-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-6px); }
}

/* ===== PRODUCT CARDS ===== */
.waicb-products-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 320px;
  animation: waicb-msg-in 0.3s ease;
  align-self: flex-start;
  width: 100%;
}
.waicb-products-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--waicb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 2px;
}
.waicb-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.waicb-product-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--waicb-border);
  cursor: pointer;
}
.waicb-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.waicb-product-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f1f5f9;
}
.waicb-product-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e0e7ff, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.waicb-product-img-placeholder svg {
  width: 40px;
  height: 40px;
  fill: #a5b4fc;
}
.waicb-product-info {
  padding: 8px 10px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.waicb-product-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--waicb-text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.waicb-product-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--waicb-primary);
}
.waicb-product-sale-price { color: #ef4444; }
.waicb-product-regular-price {
  text-decoration: line-through;
  color: var(--waicb-text-muted);
  font-size: 11px;
  font-weight: 400;
}
.waicb-product-stock {
  font-size: 11px;
  font-weight: 500;
}
.waicb-in-stock { color: #22c55e; }
.waicb-out-of-stock { color: #ef4444; }
.waicb-product-rating {
  font-size: 11px;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 2px;
}
.waicb-product-badge {
  display: inline-block;
  background: #fef2f2;
  color: #ef4444;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.waicb-product-btn {
  display: block;
  text-align: center;
  padding: 7px;
  background: var(--waicb-primary);
  color: white;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0 0 13px 13px;
  text-decoration: none;
  transition: background 0.2s;
  font-family: var(--waicb-font);
  border: none;
  cursor: pointer;
}
.waicb-product-btn:hover { background: var(--waicb-primary-dark); color: white; }

/* ===== SUGGESTED QUESTIONS ===== */
#waicb-suggestions {
  padding: 8px 16px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: var(--waicb-surface);
  flex-shrink: 0;
}
#waicb-suggestions.hidden { display: none; }
.waicb-suggestion {
  padding: 6px 12px;
  background: white;
  border: 1px solid var(--waicb-border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--waicb-primary);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: var(--waicb-font);
}
.waicb-suggestion:hover {
  background: var(--waicb-primary-light);
  border-color: var(--waicb-primary);
  transform: translateY(-1px);
}

/* ===== INPUT AREA ===== */
#waicb-input-area {
  padding: 12px 16px 16px;
  background: white;
  border-top: 1px solid var(--waicb-border);
  flex-shrink: 0;
}
.waicb-input-wrapper {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: var(--waicb-surface);
  border: 1.5px solid var(--waicb-border);
  border-radius: 14px;
  padding: 6px 6px 6px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.waicb-input-wrapper:focus-within {
  border-color: var(--waicb-primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}
#waicb-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-family: var(--waicb-font);
  color: var(--waicb-text);
  resize: none;
  max-height: 100px;
  line-height: 1.5;
  min-height: 22px;
}
#waicb-input::placeholder { color: #94a3b8; }
#waicb-send {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--waicb-primary), var(--waicb-primary-dark));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s, opacity 0.2s;
  outline: none;
}
#waicb-send:hover { transform: scale(1.05); }
#waicb-send:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
#waicb-send svg { width: 18px; height: 18px; fill: white; }

.waicb-powered {
  text-align: center;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 8px;
  font-family: var(--waicb-font);
}
.waicb-powered a { color: #94a3b8; text-decoration: none; }
.waicb-powered a:hover { color: var(--waicb-primary); }

/* ===== ERROR MESSAGE ===== */
.waicb-error-bubble {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  align-self: flex-start;
  max-width: 85%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  #waicb-window {
    width: calc(100vw - 24px);
    right: 12px;
    bottom: 84px;
    height: calc(100vh - 104px);
    max-height: none;
    border-radius: 16px;
  }
  #waicb-window.waicb-left { left: 12px; right: auto; }
  #waicb-toggle { bottom: 16px; right: 16px; }
  #waicb-toggle.waicb-left { left: 16px; right: auto; }
  .waicb-products-grid { grid-template-columns: 1fr; }
}

/* ===== PRODUCT CARDS v2 — HORIZONTAL SCROLL ===== */
.waicb-products-wrap {
  align-self: flex-start;
  width: 100%;
  max-width: 340px;
  animation: waicb-msg-in 0.3s ease;
}
.waicb-products-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--waicb-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.waicb-products-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.waicb-products-row::-webkit-scrollbar { height: 3px; }
.waicb-products-row::-webkit-scrollbar-thumb { background: var(--waicb-border); border-radius: 4px; }

.waicb-product-card {
  min-width: 145px;
  max-width: 145px;
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid var(--waicb-border);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
.waicb-product-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.13); }

.waicb-prod-img-wrap {
  position: relative;
  width: 100%;
  height: 120px;
  background: #f1f5f9;
  overflow: hidden;
}
.waicb-prod-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.waicb-prod-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,#e0e7ff,#f1f5f9);
}
.waicb-prod-img-placeholder svg { width: 36px; height: 36px; fill: #a5b4fc; }

.waicb-sale-badge {
  position: absolute;
  top: 7px; left: 7px;
  background: #ef4444;
  color: white;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.4px;
}

.waicb-prod-info {
  padding: 9px 10px 7px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.waicb-prod-name {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.waicb-prod-price { display: flex; flex-direction: column; gap: 1px; }
.waicb-price-now {
  font-size: 13px;
  font-weight: 700;
  color: var(--waicb-primary);
}
.waicb-price-was {
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
}
.waicb-prod-rating {
  font-size: 11px;
  color: #f59e0b;
  display: flex; align-items: center; gap: 2px;
}
.waicb-stars { letter-spacing: 1px; }
.waicb-rev-count { color: #94a3b8; font-size: 10px; }
.waicb-prod-stock { font-size: 10.5px; font-weight: 600; }
.waicb-prod-stock.in { color: #22c55e; }
.waicb-prod-stock.out { color: #ef4444; }

.waicb-prod-btn {
  display: block;
  text-align: center;
  padding: 8px 10px;
  background: var(--waicb-primary);
  color: white !important;
  font-size: 11.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  font-family: var(--waicb-font);
  letter-spacing: 0.2px;
}
.waicb-prod-btn:hover { background: var(--waicb-primary-dark); }

/* ===== LEAD FORM ===== */
.waicb-lead-form {
  align-self: flex-start;
  background: white;
  border: 1.5px solid var(--waicb-border);
  border-radius: 16px;
  padding: 16px 16px 14px;
  max-width: 88%;
  width: 100%;
  box-shadow: 0 3px 14px rgba(0,0,0,0.07);
  animation: waicb-msg-in 0.3s ease;
}
.waicb-lead-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 3px;
}
.waicb-lead-subtitle {
  font-size: 12px;
  color: var(--waicb-text-muted);
  margin-bottom: 12px;
}
.waicb-lead-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.waicb-lead-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--waicb-border);
  border-radius: 9px;
  font-size: 13px;
  font-family: var(--waicb-font);
  color: #111827;
  background: #f8f9ff;
  outline: none;
  resize: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.waicb-lead-input:focus { border-color: var(--waicb-primary); background: white; }
.waicb-lead-submit {
  width: 100%;
  padding: 10px;
  background: linear-gradient(135deg, var(--waicb-primary), var(--waicb-primary-dark));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--waicb-font);
  transition: opacity 0.2s, transform 0.2s;
}
.waicb-lead-submit:hover { opacity: 0.92; transform: translateY(-1px); }
.waicb-lead-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.waicb-lead-msg { margin-top: 6px; font-size: 12px; min-height: 16px; }
.waicb-lead-success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
}
