/* =========================================================
   Asistent pentru Publicare v2.2.0 - CSS complet productie
   Biblioteca Didactica
   ---------------------------------------------------------
   Inlocuieste integral stil_chat.css cu acest fisier.
   Scop: eliminarea conflictelor vechi pe mobil.
   ========================================================= */

:root {
  --bd-blue: #0b4fa8;
  --bd-blue-dark: #073b80;
  --bd-green: #159947;
  --bd-orange: #d87900;
  --bd-purple: #6b35b3;
  --bd-bg: #f5f7fb;
  --bd-panel: #ffffff;
  --bd-text: #0f172a;
  --bd-muted: #5f6b7a;
  --bd-border: rgba(15, 23, 42, .12);
  --bd-shadow: 0 22px 60px rgba(15, 23, 42, .22);
  --bd-radius: 24px;
}

html, body {
  overflow-x: hidden !important;
}

#chat-popup,
#chat-popup * {
  box-sizing: border-box !important;
}

#chat-popup.bd-assistant-v21,
html body #chat-popup.bd-assistant-v21 {
  position: fixed !important;
  right: 24px !important;
  bottom: 92px !important;
  left: auto !important;
  top: auto !important;
  width: 500px !important;
  max-width: calc(100vw - 36px) !important;
  height: 740px !important;
  max-height: calc(100vh - 122px) !important;
  display: none;
  flex-direction: column !important;
  background: var(--bd-panel) !important;
  border: 1px solid var(--bd-border) !important;
  border-radius: var(--bd-radius) !important;
  overflow: hidden !important;
  resize: none !important;
  box-shadow: var(--bd-shadow) !important;
  z-index: 999999 !important;
  color: var(--bd-text) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  opacity: 0;
  transform: translateY(16px) scale(.985) !important;
  transition: opacity .18s ease, transform .18s ease !important;
}

#chat-popup.bd-assistant-v21.is-open,
html body #chat-popup.bd-assistant-v21.is-open {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* HEADER - reset complet peste vechiul CSS */
html body #chat-popup.bd-assistant-v21 #chat-header {
  display: flex !important;
  flex: 0 0 auto !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 82px !important;
  max-height: none !important;
  padding: 17px 20px !important;
  margin: 0 !important;
  background: linear-gradient(135deg, var(--bd-blue-dark), var(--bd-blue)) !important;
  color: #fff !important;
  border-radius: 0 !important;
  border: 0 !important;
  float: none !important;
  clear: both !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  text-align: left !important;
  cursor: move !important;
}

html body #chat-popup.bd-assistant-v21 .bd-header-main {
  display: grid !important;
  gap: 3px !important;
  text-align: left !important;
  min-width: 0 !important;
}

html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
  display: block !important;
  font-size: 23px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  letter-spacing: -.3px !important;
  color: #fff !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body #chat-popup.bd-assistant-v21 .bd-header-main span {
  display: block !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  opacity: .93 !important;
  color: #fff !important;
}

html body #chat-popup.bd-assistant-v21 .bd-header-main small {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font-size: 13px !important;
  margin-top: 4px !important;
  color: #fff !important;
  opacity: .98 !important;
}

html body #chat-popup.bd-assistant-v21 .bd-header-main small i {
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: #2bd66f !important;
  box-shadow: 0 0 0 4px rgba(43, 214, 111, .18) !important;
}

html body #chat-popup.bd-assistant-v21 .bd-close-btn {
  width: 38px !important;
  height: 38px !important;
  min-width: 38px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, .12) !important;
  color: #fff !important;
  font-size: 28px !important;
  line-height: 34px !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* BODY */
html body #chat-popup.bd-assistant-v21 #chat-body {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-height: 0 !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: linear-gradient(180deg, #ffffff 0%, var(--bd-bg) 100%) !important;
  overflow: hidden !important;
}

html body #chat-popup.bd-assistant-v21 #chat-form {
  display: none !important;
}

/* STEPPER */
#bd-stepper {
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 6px !important;
  padding: 14px 18px 9px !important;
  background: rgba(255, 255, 255, .96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, .06) !important;
}

.bd-step {
  position: relative !important;
  display: grid !important;
  justify-items: center !important;
  gap: 4px !important;
  color: #687386 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.bd-step:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  top: 13px !important;
  left: calc(50% + 19px) !important;
  width: calc(100% - 38px) !important;
  height: 1px !important;
  background: rgba(15, 23, 42, .16) !important;
}

.bd-step b {
  width: 26px !important;
  height: 26px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #e5e9f1 !important;
  color: #4b5563 !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

.bd-step.is-active b,
.bd-step.is-done b {
  background: var(--bd-blue) !important;
  color: #fff !important;
}

.bd-step.is-active {
  color: var(--bd-blue) !important;
}

/* ACTIONS */
#bd-top-actions {
  flex: 0 0 auto !important;
  display: flex !important;
  gap: 8px !important;
  padding: 9px 14px !important;
  background: rgba(255, 255, 255, .95) !important;
  border-bottom: 1px solid rgba(15, 23, 42, .07) !important;
}

#bd-top-actions button {
  border: 1px solid var(--bd-border) !important;
  background: #fff !important;
  color: var(--bd-text) !important;
  border-radius: 999px !important;
  padding: 7px 11px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  width: auto !important;
  min-height: auto !important;
  box-shadow: none !important;
}

#bd-selection-summary {
  flex: 0 0 auto !important;
  gap: 7px !important;
  padding: 9px 14px !important;
  overflow-x: auto !important;
  background: #fff !important;
  border-bottom: 1px solid rgba(15, 23, 42, .07) !important;
}

#bd-selection-summary span {
  white-space: nowrap !important;
  border-radius: 999px !important;
  padding: 7px 10px !important;
  background: #edf5ff !important;
  color: var(--bd-blue-dark) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

/* CONTENT AREA */
html body #chat-popup.bd-assistant-v21 #chat-messages {
  display: block !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  width: 100% !important;
  overflow-y: auto !important;
  padding: 16px 18px 12px !important;
  margin: 0 !important;
  background:
    radial-gradient(circle at 10% 8%, rgba(11, 79, 168, .07), transparent 30%),
    radial-gradient(circle at 100% 40%, rgba(21, 153, 71, .06), transparent 26%),
    transparent !important;
  color: var(--bd-text) !important;
  font-size: 15px !important;
  line-height: 1.48 !important;
  scrollbar-width: thin !important;
  resize: none !important;
}

.bd-chat-item {
  margin: 0 0 13px !important;
}

/* WELCOME */
.bd-welcome {
  display: grid !important;
  gap: 18px !important;
}

.bd-intro-card {
  border: 1px solid rgba(15, 23, 42, .08) !important;
  background: rgba(255, 255, 255, .90) !important;
  border-radius: 18px !important;
  padding: 18px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06) !important;
}

.bd-intro-card h2 {
  margin: 0 0 8px !important;
  font-size: 23px !important;
  line-height: 1.15 !important;
  letter-spacing: -.25px !important;
  color: var(--bd-text) !important;
}

.bd-intro-card p {
  margin: 0 0 14px !important;
  color: var(--bd-text) !important;
}

.bd-proof-box {
  display: grid !important;
  gap: 5px !important;
  border-radius: 14px !important;
  padding: 13px 14px !important;
  background: linear-gradient(135deg, #edf5ff, #f7fbff) !important;
  color: var(--bd-blue-dark) !important;
  font-weight: 800 !important;
}

.bd-proof-box strong,
.bd-proof-box span {
  display: block !important;
}

.bd-welcome h3 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  color: var(--bd-text) !important;
}

/* OBJECTIVE CARDS */
.bd-objective-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 13px !important;
}

.bd-objective-card {
  position: relative !important;
  min-height: 122px !important;
  display: grid !important;
  align-content: center !important;
  gap: 8px !important;
  padding: 17px 42px 17px 17px !important;
  border-radius: 18px !important;
  border: 1px solid var(--bd-border) !important;
  background: #fff !important;
  text-align: left !important;
  cursor: pointer !important;
  box-shadow: 0 7px 20px rgba(15, 23, 42, .06) !important;
  transition: transform .12s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease !important;
  width: 100% !important;
  margin: 0 !important;
}

.bd-objective-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, .10) !important;
}

.bd-objective-card.is-selected {
  transform: none !important;
  box-shadow: inset 0 0 0 2px currentColor, 0 8px 22px rgba(15, 23, 42, .08) !important;
}

.bd-card-title {
  display: block !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
}

.bd-card-text {
  display: block !important;
  color: #273244 !important;
  font-size: 14px !important;
  line-height: 1.34 !important;
}

.bd-card-arrow {
  position: absolute !important;
  right: 17px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 34px !important;
  font-weight: 300 !important;
  opacity: .88 !important;
}

.bd-card-fast {
  background: linear-gradient(135deg, #f1fbf4, #ffffff) !important;
  border-color: rgba(21, 153, 71, .28) !important;
  color: #087a34 !important;
}

.bd-card-affordable {
  background: linear-gradient(135deg, #fff8eb, #ffffff) !important;
  border-color: rgba(216, 121, 0, .28) !important;
  color: var(--bd-orange) !important;
}

.bd-card-printed {
  background: linear-gradient(135deg, #edf6ff, #ffffff) !important;
  border-color: rgba(11, 79, 168, .24) !important;
  color: var(--bd-blue) !important;
}

.bd-card-sales {
  background: linear-gradient(135deg, #f6f0ff, #ffffff) !important;
  border-color: rgba(107, 53, 179, .24) !important;
  color: var(--bd-purple) !important;
}

/* CARDS */
.bd-system-card {
  border: 1px solid rgba(15, 23, 42, .08) !important;
  background: rgba(255, 255, 255, .94) !important;
  border-radius: 18px !important;
  padding: 17px !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .07) !important;
}

.bd-system-card h3 {
  margin: 0 0 10px !important;
  font-size: 20px !important;
  line-height: 1.18 !important;
  color: var(--bd-text) !important;
}

.bd-system-card p {
  margin: 0 0 12px !important;
  color: #273244 !important;
}

.bd-selected-line {
  display: inline-flex !important;
  border-radius: 999px !important;
  padding: 7px 10px !important;
  background: #edf5ff !important;
  color: var(--bd-blue-dark) !important;
  font-size: 13px !important;
  margin-bottom: 12px !important;
}

.bd-choice-list {
  display: grid !important;
  gap: 9px !important;
}

.bd-choice-btn {
  width: 100% !important;
  min-height: 48px !important;
  border: 1px solid var(--bd-border) !important;
  border-radius: 14px !important;
  background: #fff !important;
  color: var(--bd-text) !important;
  font-weight: 850 !important;
  font-size: 15px !important;
  text-align: left !important;
  padding: 12px 14px !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.bd-kicker {
  display: inline-flex !important;
  margin-bottom: 10px !important;
  color: var(--bd-blue) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.bd-recommendation-card,
.bd-cost-card,
.bd-result-card {
  display: grid !important;
  gap: 10px !important;
}

.bd-recommendation-card h3,
.bd-cost-card h3,
.bd-result-card h3 {
  margin: 0 !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  color: var(--bd-text) !important;
}

.bd-recommendation-card ul {
  margin: 0 !important;
  padding-left: 20px !important;
}

.bd-recommendation-card li {
  margin: 5px 0 !important;
}

.bd-primary-action,
.bd-secondary-action,
.bd-primary-link {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 999px !important;
  border: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.bd-primary-action,
.bd-primary-link {
  background: var(--bd-blue) !important;
  color: #fff !important;
  box-shadow: 0 9px 20px rgba(11, 79, 168, .20) !important;
}

.bd-secondary-action {
  background: #eef4ff !important;
  color: var(--bd-blue-dark) !important;
  border: 1px solid rgba(11, 79, 168, .16) !important;
}

/* INPUT */
.bd-input-shell {
  flex: 0 0 auto !important;
  position: relative !important;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  background: rgba(255, 255, 255, .98) !important;
  border-top: 1px solid rgba(15, 23, 42, .08) !important;
}

html body #chat-popup.bd-assistant-v21 #user-input {
  width: 100% !important;
  min-height: 50px !important;
  max-height: 128px !important;
  margin: 0 !important;
  padding: 13px 104px 13px 14px !important;
  resize: vertical !important;
  border: 1px solid rgba(15, 23, 42, .14) !important;
  border-radius: 17px !important;
  background: #fff !important;
  color: var(--bd-text) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  outline: none !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

#chat-send-btn {
  position: absolute !important;
  right: 22px !important;
  bottom: calc(19px + env(safe-area-inset-bottom, 0px)) !important;
  height: 38px !important;
  min-width: 78px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--bd-blue) !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 7px 18px rgba(11, 79, 168, .22) !important;
}

#chat-send-btn:disabled {
  opacity: .45 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

/* Floating buttons */
#chat-button,
#whatsapp-button {
  z-index: 999998 !important;
}

#chat-button {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
  transform: none !important;
  height: 54px !important;
  min-width: 218px !important;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--bd-blue) !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .22) !important;
  cursor: pointer !important;
}

#whatsapp-button {
  position: fixed !important;
  right: 20px !important;
  bottom: 88px !important;
  left: auto !important;
  transform: none !important;
  height: 52px !important;
  min-width: 218px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #25d366 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .16) !important;
}

/* Hide legacy inline examples */
#chat-popup.bd-assistant-v21 div[style*="font-size:12px"],
#chat-popup.bd-assistant-v21 div[style*="font-size: 12px"],
#chat-popup.bd-assistant-v21 #quick-replies {
  display: none !important;
}

/* MOBILE - override dur, pus la final */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html body #chat-popup.bd-assistant-v21 {
    position: fixed !important;
    display: none;
    flex-direction: column !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 92dvh !important;
    max-height: 92dvh !important;
    min-height: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    transform: translateY(100%) !important;
    overflow: hidden !important;
    resize: none !important;
  }

  html body #chat-popup.bd-assistant-v21.is-open {
    transform: translateY(0) !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    width: 100% !important;
    min-height: 78px !important;
    height: auto !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 15px 18px !important;
    margin: 0 !important;
    background: linear-gradient(135deg, var(--bd-blue-dark), var(--bd-blue)) !important;
    cursor: default !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
    font-size: 22px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main span {
    font-size: 13px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-close-btn {
    position: relative !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }

  #bd-stepper {
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 11px 10px 7px !important;
    gap: 2px !important;
  }

  .bd-step {
    font-size: 10px !important;
  }

  .bd-step b {
    width: 24px !important;
    height: 24px !important;
  }

  .bd-step:not(:last-child)::after {
    top: 12px !important;
    left: calc(50% + 17px) !important;
    width: calc(100% - 34px) !important;
  }

  #bd-top-actions {
    padding: 8px 10px !important;
    overflow-x: auto !important;
  }

  #bd-top-actions button {
    white-space: nowrap !important;
    font-size: 11px !important;
    min-width: auto !important;
  }

  #bd-selection-summary {
    padding: 8px 10px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-messages {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    height: auto !important;
    width: 100% !important;
    padding: 12px 12px 10px !important;
    overflow-y: auto !important;
  }

  .bd-intro-card {
    padding: 15px !important;
    border-radius: 16px !important;
  }

  .bd-intro-card h2 {
    font-size: 21px !important;
  }

  .bd-objective-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .bd-objective-card {
    min-height: 88px !important;
    padding: 14px 42px 14px 15px !important;
    border-radius: 15px !important;
  }

  .bd-card-title {
    font-size: 17px !important;
  }

  .bd-card-text {
    font-size: 13px !important;
  }

  .bd-system-card {
    padding: 15px !important;
    border-radius: 16px !important;
  }

  .bd-input-shell {
    padding: 10px 11px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    flex: 0 0 auto !important;
  }

  html body #chat-popup.bd-assistant-v21 #user-input {
    min-height: 48px !important;
    padding: 12px 94px 12px 13px !important;
    font-size: 16px !important;
  }

  #chat-send-btn {
    right: 18px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    height: 36px !important;
    min-width: 74px !important;
  }

  #chat-button {
    right: 16px !important;
    bottom: 16px !important;
    min-width: 190px !important;
    height: 50px !important;
    font-size: 14px !important;
  }

  #whatsapp-button {
    right: 16px !important;
    bottom: 78px !important;
    min-width: 190px !important;
    height: 50px !important;
    font-size: 14px !important;
  }
}

/* =========================================================
   Asistent pentru Publicare v2.1.2 - Proportii desktop
   IMPORTANT:
   Acest patch se adauga LA FINALUL fisierului stil_chat.css v2.1.1
   sau se incarca dupa stil_chat.css.
   Scop: proportii mai bune pe desktop, fara sa strice mobilul.
   ========================================================= */

/* DESKTOP PROPORTIONS */
@media (min-width: 769px) {
  html body #chat-popup.bd-assistant-v21 {
    width: 560px !important;
    height: min(760px, calc(100vh - 118px)) !important;
    max-width: calc(100vw - 56px) !important;
    right: 28px !important;
    bottom: 104px !important;
    border-radius: 22px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 70px !important;
    padding: 13px 18px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
    font-size: 21px !important;
    line-height: 1.05 !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main span {
    font-size: 13px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main small {
    font-size: 12px !important;
    margin-top: 2px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-close-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 24px !important;
    line-height: 30px !important;
  }

  #bd-stepper {
    padding: 10px 18px 7px !important;
  }

  .bd-step {
    font-size: 10px !important;
    gap: 3px !important;
  }

  .bd-step b {
    width: 23px !important;
    height: 23px !important;
    font-size: 11px !important;
  }

  .bd-step:not(:last-child)::after {
    top: 11px !important;
    left: calc(50% + 17px) !important;
    width: calc(100% - 34px) !important;
  }

  #bd-selection-summary {
    padding: 7px 14px !important;
  }

  #bd-selection-summary span {
    padding: 6px 9px !important;
    font-size: 11px !important;
  }

  #bd-top-actions {
    padding: 7px 14px !important;
  }

  #bd-top-actions button {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-messages {
    padding: 14px 18px 10px !important;
    font-size: 14.5px !important;
  }

  .bd-intro-card {
    padding: 16px !important;
  }

  .bd-intro-card h2 {
    font-size: 21px !important;
    margin-bottom: 7px !important;
  }

  .bd-intro-card p {
    margin-bottom: 11px !important;
  }

  .bd-proof-box {
    padding: 11px 13px !important;
    font-size: 14px !important;
  }

  .bd-welcome {
    gap: 14px !important;
  }

  .bd-welcome h3 {
    font-size: 17px !important;
  }

  .bd-objective-grid {
    gap: 11px !important;
  }

  .bd-objective-card {
    min-height: 104px !important;
    padding: 14px 38px 14px 15px !important;
    border-radius: 16px !important;
  }

  .bd-card-title {
    font-size: 16.5px !important;
  }

  .bd-card-text {
    font-size: 13px !important;
  }

  .bd-card-arrow {
    right: 14px !important;
    font-size: 30px !important;
  }

  .bd-system-card {
    padding: 15px !important;
    border-radius: 16px !important;
  }

  .bd-system-card h3 {
    font-size: 18px !important;
  }

  .bd-recommendation-card h3,
  .bd-cost-card h3,
  .bd-result-card h3 {
    font-size: 20px !important;
  }

  .bd-primary-action,
  .bd-secondary-action,
  .bd-primary-link {
    min-height: 42px !important;
    font-size: 13px !important;
  }

  .bd-input-shell {
    padding: 9px 12px 10px !important;
  }

  html body #chat-popup.bd-assistant-v21 #user-input {
    min-height: 44px !important;
    max-height: 100px !important;
    padding: 10px 96px 10px 13px !important;
    border-radius: 15px !important;
    font-size: 15px !important;
  }

  #chat-send-btn {
    right: 19px !important;
    bottom: 14px !important;
    height: 34px !important;
    min-width: 74px !important;
    font-size: 12px !important;
  }

  #chat-button {
    right: 24px !important;
    bottom: 24px !important;
    height: 50px !important;
    min-width: 230px !important;
  }

  #whatsapp-button {
    right: 24px !important;
    bottom: 84px !important;
    height: 50px !important;
    min-width: 230px !important;
  }
}

/* BIG DESKTOP: allow a more comfortable reading area */
@media (min-width: 1200px) and (min-height: 780px) {
  html body #chat-popup.bd-assistant-v21 {
    width: 580px !important;
    height: 780px !important;
  }
}

/* LAPTOP SHORT HEIGHT: keep all controls usable */
@media (min-width: 769px) and (max-height: 720px) {
  html body #chat-popup.bd-assistant-v21 {
    height: calc(100vh - 96px) !important;
    bottom: 86px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 62px !important;
    padding: 10px 16px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
    font-size: 19px !important;
  }

  #bd-stepper {
    padding: 8px 16px 6px !important;
  }

  #bd-top-actions,
  #bd-selection-summary {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }
}

/* MOBILE: do not change the repaired mobile layout, only tiny polish */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html body #chat-popup.bd-assistant-v21 {
    height: 92dvh !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 76px !important;
  }
}

/* =========================================================
   Asistent pentru Publicare v2.1.6 - Desktop stabilizat
   Scop:
   - fara trunchiere sus
   - proportii corecte pe desktop
   - fara resize nativ temporar
   - mobilul ramane neschimbat
   ========================================================= */

@media (min-width: 769px) {
  html body #chat-popup.bd-assistant-v21 {
    position: fixed !important;

    /* Pozitionare sigura: nu mai calculam doar din bottom. */
    top: 96px !important;
    right: 28px !important;
    bottom: auto !important;
    left: auto !important;

    width: 560px !important;
    height: calc(100vh - 190px) !important;
    min-height: 560px !important;
    max-height: 760px !important;

    max-width: calc(100vw - 56px) !important;
    resize: none !important;
    overflow: hidden !important;

    border-radius: 22px !important;
  }

  html body #chat-popup.bd-assistant-v21.is-open {
    transform: none !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 66px !important;
    padding: 11px 18px !important;
    cursor: move !important;
    user-select: none !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
    font-size: 20px !important;
    line-height: 1.05 !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main span {
    font-size: 13px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main small {
    font-size: 12px !important;
    margin-top: 1px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-close-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    font-size: 24px !important;
    line-height: 30px !important;
  }

  #bd-stepper {
    padding: 9px 18px 6px !important;
  }

  .bd-step {
    font-size: 10px !important;
    gap: 3px !important;
  }

  .bd-step b {
    width: 22px !important;
    height: 22px !important;
    font-size: 11px !important;
  }

  .bd-step:not(:last-child)::after {
    top: 10px !important;
    left: calc(50% + 17px) !important;
    width: calc(100% - 34px) !important;
  }

  #bd-selection-summary {
    padding: 6px 14px !important;
  }

  #bd-selection-summary span {
    padding: 6px 9px !important;
    font-size: 11px !important;
  }

  #bd-top-actions {
    padding: 6px 14px !important;
  }

  #bd-top-actions button {
    padding: 6px 10px !important;
    font-size: 11px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-messages {
    padding: 14px 18px 10px !important;
    font-size: 14.5px !important;
  }

  .bd-welcome {
    gap: 13px !important;
  }

  .bd-intro-card {
    padding: 15px !important;
  }

  .bd-intro-card h2 {
    font-size: 21px !important;
    margin-bottom: 6px !important;
  }

  .bd-intro-card p {
    margin-bottom: 10px !important;
  }

  .bd-proof-box {
    padding: 10px 13px !important;
    font-size: 14px !important;
  }

  .bd-welcome h3 {
    font-size: 17px !important;
  }

  .bd-objective-grid {
    gap: 10px !important;
  }

  .bd-objective-card {
    min-height: 98px !important;
    padding: 13px 38px 13px 15px !important;
    border-radius: 16px !important;
  }

  .bd-card-title {
    font-size: 16.5px !important;
  }

  .bd-card-text {
    font-size: 13px !important;
  }

  .bd-card-arrow {
    right: 14px !important;
    font-size: 30px !important;
  }

  .bd-system-card {
    padding: 15px !important;
    border-radius: 16px !important;
  }

  .bd-input-shell {
    padding: 9px 12px 10px !important;
  }

  html body #chat-popup.bd-assistant-v21 #user-input {
    min-height: 44px !important;
    max-height: 100px !important;
    padding: 10px 96px 10px 13px !important;
    border-radius: 15px !important;
    font-size: 15px !important;
  }

  #chat-send-btn {
    right: 19px !important;
    bottom: 14px !important;
    height: 34px !important;
    min-width: 74px !important;
    font-size: 12px !important;
  }

  html body #chat-popup.bd-assistant-v21::after {
    display: none !important;
  }
}

/* Desktop mai mic pe inaltime */
@media (min-width: 769px) and (max-height: 720px) {
  html body #chat-popup.bd-assistant-v21 {
    top: 72px !important;
    height: calc(100vh - 150px) !important;
    min-height: 500px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 58px !important;
    padding: 9px 16px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
    font-size: 18px !important;
  }
}

/* Mobil: pastreaza reparatia anterioara */
@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html body #chat-popup.bd-assistant-v21 {
    top: auto !important;
    resize: none !important;
  }
}


/* =========================================================
   Asistent pentru Publicare v2.2.0 - Desktop stabil productie
   Scop:
   - desktop mai lizibil decat v2.1.6
   - fara fereastra prea mare
   - fara resize nativ, ca sa nu strice flex layout-ul
   - compatibil cu mutarea prin JS v2.2.0
   - mobilul ramane neschimbat
   ========================================================= */

@media (min-width: 769px) {
  html body #chat-popup.bd-assistant-v21 {
    position: fixed !important;
    top: 84px !important;
    right: 32px !important;
    bottom: auto !important;
    left: auto !important;

    width: 620px !important;
    height: calc(100vh - 154px) !important;
    min-width: 540px !important;
    min-height: 560px !important;
    max-width: calc(100vw - 72px) !important;
    max-height: 780px !important;

    overflow: hidden !important;
    resize: none !important;
    border-radius: 24px !important;
  }

  html body #chat-popup.bd-assistant-v21.is-open {
    transform: none !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 70px !important;
    padding: 13px 20px !important;
    cursor: move !important;
    user-select: none !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
    font-size: 21px !important;
    line-height: 1.05 !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main span {
    font-size: 13.5px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main small {
    font-size: 12px !important;
    margin-top: 2px !important;
  }

  #bd-stepper {
    padding: 10px 22px 8px !important;
  }

  .bd-step {
    font-size: 10.5px !important;
  }

  .bd-step b {
    width: 24px !important;
    height: 24px !important;
    font-size: 11px !important;
  }

  .bd-step:not(:last-child)::after {
    top: 12px !important;
    left: calc(50% + 18px) !important;
    width: calc(100% - 36px) !important;
  }

  #bd-top-actions {
    padding: 8px 18px !important;
  }

  #bd-selection-summary {
    padding: 8px 18px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-messages {
    padding: 18px 22px 14px !important;
    font-size: 15.5px !important;
    line-height: 1.56 !important;
  }

  .bd-welcome {
    gap: 15px !important;
  }

  .bd-intro-card {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .bd-intro-card h2 {
    font-size: 23px !important;
    margin-bottom: 8px !important;
  }

  .bd-proof-box {
    padding: 12px 14px !important;
    font-size: 14.5px !important;
  }

  .bd-welcome h3 {
    font-size: 18px !important;
  }

  .bd-objective-grid {
    gap: 12px !important;
  }

  .bd-objective-card {
    min-height: 112px !important;
    padding: 16px 44px 16px 17px !important;
    border-radius: 18px !important;
  }

  .bd-card-title {
    font-size: 17.5px !important;
  }

  .bd-card-text {
    font-size: 13.8px !important;
    line-height: 1.42 !important;
  }

  .bd-card-arrow {
    right: 15px !important;
    font-size: 31px !important;
  }

  .bd-system-card {
    padding: 18px !important;
    border-radius: 18px !important;
  }

  .bd-system-card h3,
  .bd-recommendation-card h3,
  .bd-cost-card h3,
  .bd-result-card h3 {
    font-size: 21px !important;
    line-height: 1.22 !important;
  }

  .bd-choice-btn {
    min-height: 50px !important;
    font-size: 15px !important;
    padding: 13px 15px !important;
  }

  .bd-primary-action,
  .bd-secondary-action,
  .bd-primary-link {
    min-height: 46px !important;
    font-size: 14px !important;
  }

  .bd-input-shell {
    padding: 11px 14px 13px !important;
  }

  html body #chat-popup.bd-assistant-v21 #user-input {
    min-height: 50px !important;
    max-height: 118px !important;
    padding: 12px 104px 12px 15px !important;
    border-radius: 16px !important;
    font-size: 15.5px !important;
  }

  #chat-send-btn {
    right: 22px !important;
    bottom: 19px !important;
    height: 38px !important;
    min-width: 80px !important;
    font-size: 12.5px !important;
    background: var(--bd-blue-dark) !important;
  }
}

@media (min-width: 1200px) and (min-height: 820px) {
  html body #chat-popup.bd-assistant-v21 {
    width: 640px !important;
    height: 720px !important;
    max-height: calc(100vh - 120px) !important;
  }
}

@media (min-width: 769px) and (max-height: 720px) {
  html body #chat-popup.bd-assistant-v21 {
    top: 64px !important;
    height: calc(100vh - 120px) !important;
    min-height: 500px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 60px !important;
    padding: 9px 17px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-messages {
    padding-top: 13px !important;
    padding-bottom: 10px !important;
  }

  .bd-objective-card {
    min-height: 96px !important;
  }
}

/* =========================================================
   Asistent pentru Publicare v2.3.3 - Chat Premium Desktop
   Fisier complet: include baza anterioara + suprascrieri stabile v2.3.0
   ========================================================= */

:root {
  --bd-chat-bg: #eef5f1;
  --bd-user-bubble: #d7f5c8;
  --bd-bot-bubble: #ffffff;
  --bd-bubble-border: rgba(15, 23, 42, .08);
  --bd-soft-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

html body #chat-popup.bd-assistant-v21 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif !important;
}

html body #chat-popup.bd-assistant-v21 #chat-body {
  background: linear-gradient(180deg, #ffffff 0%, var(--bd-chat-bg) 100%) !important;
}

html body #chat-popup.bd-assistant-v21 #chat-messages {
  background:
    radial-gradient(circle at 12% 8%, rgba(11, 79, 168, .055), transparent 28%),
    radial-gradient(circle at 90% 35%, rgba(21, 153, 71, .060), transparent 24%),
    linear-gradient(180deg, #f8fbf9 0%, #eef5f1 100%) !important;
}

.bd-message {
  display: flex !important;
  align-items: flex-end !important;
  gap: 9px !important;
  width: 100% !important;
}

.bd-message-bot {
  justify-content: flex-start !important;
}

.bd-message-user {
  justify-content: flex-end !important;
}

.bd-avatar {
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--bd-blue) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  box-shadow: 0 5px 14px rgba(11, 79, 168, .20) !important;
}

.bd-avatar-user {
  background: #188b43 !important;
  box-shadow: 0 5px 14px rgba(24, 139, 67, .16) !important;
}

.bd-bubble {
  max-width: min(78%, 620px) !important;
  padding: 14px 16px !important;
  border-radius: 19px !important;
  border: 1px solid var(--bd-bubble-border) !important;
  font-size: 15.5px !important;
  line-height: 1.58 !important;
  color: #101828 !important;
  box-shadow: var(--bd-soft-shadow) !important;
  overflow-wrap: anywhere !important;
}

.bd-message-bot .bd-bubble {
  background: var(--bd-bot-bubble) !important;
  border-bottom-left-radius: 7px !important;
}

.bd-message-user .bd-bubble {
  background: var(--bd-user-bubble) !important;
  border-color: rgba(24, 139, 67, .16) !important;
  border-bottom-right-radius: 7px !important;
}

.bd-bubble p {
  margin: 0 0 10px !important;
}

.bd-bubble p:last-child,
.bd-bubble ul:last-child,
.bd-bubble ol:last-child {
  margin-bottom: 0 !important;
}

.bd-bubble ul,
.bd-bubble ol {
  margin: 8px 0 10px !important;
  padding-left: 22px !important;
}

.bd-bubble li {
  margin: 4px 0 !important;
}

.bd-bubble a {
  color: var(--bd-blue-dark) !important;
  font-weight: 800 !important;
}

.bd-bubble-progress {
  position: relative !important;
}

.bd-bubble-progress::after {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  margin-left: 6px !important;
  border-radius: 999px !important;
  background: var(--bd-blue) !important;
  animation: bdPulse 1s infinite ease-in-out !important;
  vertical-align: baseline !important;
}

@keyframes bdPulse {
  0%, 100% { opacity: .25; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1); }
}

.bd-typing {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #46556a !important;
}

.bd-typing span {
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #8da0b8 !important;
  animation: bdTyping 1.2s infinite ease-in-out !important;
}

.bd-typing span:nth-child(2) { animation-delay: .15s !important; }
.bd-typing span:nth-child(3) { animation-delay: .30s !important; }

.bd-typing em {
  margin-left: 7px !important;
  font-style: normal !important;
  font-size: 13px !important;
  color: #667085 !important;
}

@keyframes bdTyping {
  0%, 80%, 100% { transform: translateY(0); opacity: .35; }
  40% { transform: translateY(-4px); opacity: 1; }
}

.bd-chat-item.bd-fade-out {
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  transition: opacity .16s ease, transform .16s ease !important;
}

html body #chat-popup.bd-assistant-v21 .bd-window-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

html body #chat-popup.bd-assistant-v21 .bd-max-btn,
html body #chat-popup.bd-assistant-v21 .bd-close-btn {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.13) !important;
  color: #fff !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 34px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

html body #chat-popup.bd-assistant-v21 .bd-max-btn {
  font-size: 18px !important;
}

html body #chat-popup.bd-assistant-v21 .bd-close-btn {
  font-size: 26px !important;
}

.bd-resize-handle {
  display: none !important;
}

@media (min-width: 769px) {
  html body #chat-popup.bd-assistant-v21 {
    top: 84px !important;
    right: 36px !important;
    bottom: auto !important;
    left: auto !important;
    width: 640px !important;
    height: 720px !important;
    min-width: 520px !important;
    min-height: 560px !important;
    max-width: calc(100vw - 40px) !important;
    max-height: calc(100vh - 40px) !important;
    resize: none !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24) !important;
  }

  html body #chat-popup.bd-assistant-v21.bd-is-maximized {
    top: 24px !important;
    left: 24px !important;
    right: auto !important;
    bottom: auto !important;
    width: calc(100vw - 48px) !important;
    height: calc(100vh - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    max-height: calc(100vh - 48px) !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-header {
    min-height: 66px !important;
    padding: 11px 18px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main strong {
    font-size: 21px !important;
    line-height: 1.05 !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main span {
    font-size: 13px !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-header-main small {
    font-size: 12px !important;
    margin-top: 1px !important;
  }

  #bd-stepper {
    padding: 9px 22px 7px !important;
  }

  #bd-top-actions {
    padding: 7px 18px !important;
    background: rgba(255,255,255,.92) !important;
  }

  #bd-selection-summary {
    padding: 7px 18px !important;
  }

  html body #chat-popup.bd-assistant-v21 #chat-messages {
    padding: 18px 22px 16px !important;
    font-size: 15.5px !important;
    line-height: 1.58 !important;
  }

  .bd-welcome {
    gap: 14px !important;
  }

  .bd-intro-card,
  .bd-system-card {
    border: 0 !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.92) !important;
    box-shadow: var(--bd-soft-shadow) !important;
  }

  .bd-intro-card {
    padding: 19px !important;
  }

  .bd-intro-card h2 {
    font-size: 23px !important;
  }

  .bd-objective-grid {
    gap: 12px !important;
  }

  .bd-objective-card {
    min-height: 104px !important;
    padding: 16px 44px 16px 17px !important;
    border-radius: 19px !important;
    box-shadow: 0 7px 18px rgba(15, 23, 42, .055) !important;
  }

  .bd-objective-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 13px 30px rgba(15, 23, 42, .10) !important;
  }

  .bd-card-title {
    font-size: 17.5px !important;
  }

  .bd-card-text {
    font-size: 13.8px !important;
    line-height: 1.42 !important;
  }

  .bd-system-card {
    padding: 18px !important;
  }

  .bd-input-shell {
    padding: 12px 16px 14px !important;
    background: rgba(255,255,255,.96) !important;
  }

  html body #chat-popup.bd-assistant-v21 #user-input {
    min-height: 52px !important;
    max-height: 140px !important;
    padding: 13px 108px 13px 16px !important;
    border-radius: 20px !important;
    font-size: 15.5px !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06) !important;
  }

  #chat-send-btn {
    right: 25px !important;
    bottom: 22px !important;
    height: 38px !important;
    min-width: 82px !important;
    background: var(--bd-blue-dark) !important;
  }

  .bd-resize-handle {
    position: absolute !important;
    display: block !important;
    right: 5px !important;
    bottom: 5px !important;
    width: 22px !important;
    height: 22px !important;
    border: 0 !important;
    background: transparent !important;
    cursor: nwse-resize !important;
    z-index: 6 !important;
    padding: 0 !important;
  }

  .bd-resize-handle::before {
    content: "" !important;
    position: absolute !important;
    right: 4px !important;
    bottom: 4px !important;
    width: 12px !important;
    height: 12px !important;
    border-right: 2px solid rgba(15, 23, 42, .24) !important;
    border-bottom: 2px solid rgba(15, 23, 42, .24) !important;
  }
}

@media (min-width: 769px) and (max-height: 720px) {
  html body #chat-popup.bd-assistant-v21 {
    top: 64px !important;
    height: calc(100vh - 100px) !important;
    min-height: 540px !important;
  }
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html body #chat-popup.bd-assistant-v21 .bd-window-actions .bd-max-btn,
  .bd-resize-handle {
    display: none !important;
  }

  .bd-bubble {
    max-width: 84% !important;
    font-size: 14.5px !important;
    padding: 12px 14px !important;
  }

  .bd-avatar {
    width: 30px !important;
    height: 30px !important;
    flex-basis: 30px !important;
    font-size: 10px !important;
  }
}

/* v2.3.3 - linkuri discrete în cardurile inițiale */
#chat-popup.bd-assistant-v21 .bd-inline-link {
  color: inherit !important;
  font-weight: 900 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px !important;
}

#chat-popup.bd-assistant-v21 .bd-objective-card .bd-inline-link {
  position: relative !important;
  z-index: 2 !important;
}


/* =========================================================
   v2.3.3 - Contact result row: email text + separated WhatsApp
   ========================================================= */
html body #chat-popup.bd-assistant-v21 .bd-contact-row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 14px !important;
}

html body #chat-popup.bd-assistant-v21 .bd-contact-email {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 40px !important;
  padding: 9px 13px !important;
  border-radius: 999px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(15, 23, 42, .10) !important;
  color: var(--bd-text) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

html body #chat-popup.bd-assistant-v21 .bd-contact-email strong {
  margin-right: 5px !important;
}

html body #chat-popup.bd-assistant-v21 .bd-contact-whatsapp {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  padding: 9px 15px !important;
  border-radius: 999px !important;
  background: #25d366 !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 900 !important;
  box-shadow: 0 8px 18px rgba(37, 211, 102, .22) !important;
}

@media (max-width: 768px), (hover: none) and (pointer: coarse) {
  html body #chat-popup.bd-assistant-v21 .bd-contact-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  html body #chat-popup.bd-assistant-v21 .bd-contact-email,
  html body #chat-popup.bd-assistant-v21 .bd-contact-whatsapp {
    width: 100% !important;
    justify-content: center !important;
    white-space: normal !important;
    text-align: center !important;
  }
}
