/* Urgent Bot - stiluri (culorile și dimensiunile vin din configurare prin variabile CSS --ub-*). */
.ub, .ub * { box-sizing: border-box; }
.ub { position: fixed; z-index: 240; bottom: max(16px, env(safe-area-inset-bottom)); font-family: var(--font, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif); font-size: 15px; line-height: 1.5; color: var(--ub-text); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.ub--left { left: max(16px, env(safe-area-inset-left)); }
.ub--right { right: max(16px, env(safe-area-inset-right)); }
.ub[data-peek="1"][data-open="0"].ub--left { transform: translateX(calc(-100% + 26px)); }
.ub[data-peek="1"][data-open="0"].ub--right { transform: translateX(calc(100% - 26px)); }
.ub button, .ub input, .ub textarea { font: inherit; }
.ub-launch { display: inline-flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px); padding: 6px 18px 6px 6px; border: 1px solid var(--ub-border); border-radius: 999px; background: var(--ub-bg); color: var(--ub-text); cursor: pointer; box-shadow: 0 14px 34px -12px rgba(11,37,69,.45); position: relative; transition: box-shadow .25s, transform .25s; }
.ub-launch:hover { box-shadow: 0 18px 40px -12px rgba(11,37,69,.55); transform: translateY(-2px); }
.ub-launch:focus-visible, .ub-btn:focus-visible, .ub-ico:focus-visible, .ub-send:focus-visible, .ub-input:focus-visible, .ub-f input:focus-visible, .ub-f textarea:focus-visible, .ub-card-btn:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.ub-launch-txt { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ub-dot { position: absolute; top: 6px; left: calc(var(--ub-av) - 8px); width: 12px; height: 12px; border-radius: 50%; background: #22c55e; border: 2px solid var(--ub-bg); }
.ub-av { display: inline-grid; place-items: center; width: var(--ub-av); height: var(--ub-av); border-radius: 50%; background: linear-gradient(145deg, #fff, #eef2f7); flex: none; overflow: hidden; box-shadow: inset 0 0 0 1px var(--ub-border); }
.ub-av--sm { width: 40px; height: 40px; }
.ub-av .ub-svg, .ub-av .ub-img { width: 88%; height: 88%; object-fit: cover; border-radius: 50%; }
.ub[data-open="1"] .ub-launch { display: none; }
@media (min-width: 561px) { .ub[data-open="1"] .ub-launch { display: inline-flex; } .ub[data-open="1"] .ub-launch .ub-launch-txt { display: none; } .ub[data-open="1"] .ub-launch { padding-right: 6px; } }
.ub-panel { position: absolute; bottom: calc(var(--ub-av) + 18px); left: 0; width: var(--ub-w); max-width: calc(100vw - 32px); height: min(var(--ub-h), calc(100dvh - var(--ub-av) - 56px)); display: flex; flex-direction: column; background: var(--ub-bg); border: 1px solid var(--ub-border); border-radius: calc(var(--ub-radius) + 6px); overflow: hidden; box-shadow: 0 30px 70px -20px rgba(2,8,20,.55); animation: ub-in .3s cubic-bezier(.22,1,.36,1) both; }
.ub--right .ub-panel { left: auto; right: 0; }
.ub-panel[hidden] { display: none; }
@keyframes ub-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.ub-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; color: #fff; background: linear-gradient(135deg, var(--ub-primary), var(--ub-primary-2)); }
.ub-head .ub-av { background: #fff; }
.ub-title { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
.ub-title strong { font-size: 1rem; }
.ub-title small { display: flex; align-items: center; gap: 6px; opacity: .9; }
.ub-online { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; display: inline-block; }
.ub-ico { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.ub-ico:hover { background: rgba(255,255,255,.26); }
.ub-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; background: var(--ub-bg); }
.ub-msg { display: flex; max-width: 100%; animation: ub-pop .25s ease both; }
@keyframes ub-pop { from { opacity: 0; transform: translateY(6px); } }
.ub-msg--user { justify-content: flex-end; }
.ub-bub { max-width: 88%; padding: 10px 13px; border-radius: var(--ub-radius); background: var(--ub-bot); color: var(--ub-text); white-space: pre-line; overflow-wrap: anywhere; }
.ub-msg--user .ub-bub { background: var(--ub-user); color: #fff; border-bottom-right-radius: 6px; }
.ub-msg--bot .ub-bub { border-bottom-left-radius: 6px; }
.ub-src { margin-top: 8px; font-size: .84rem; color: var(--ub-muted); white-space: normal; }
.ub-src a { color: var(--ub-btn); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ub-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; white-space: normal; }
.ub-bub .ub-opts { margin-top: 10px; }
.ub-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--ub-btn); background: var(--ub-btn); color: #fff; font-weight: 700; font-size: .8rem; text-decoration: none; cursor: pointer; transition: filter .2s, transform .2s; }
.ub-btn:hover { filter: brightness(1.08); color: #fff; }
.ub-btn:disabled { opacity: .6; cursor: default; }
.ub-btn--ghost, .ub-btn--chip { background: transparent; color: var(--ub-btn); }
.ub-btn--ghost:hover, .ub-btn--chip:hover { background: color-mix(in srgb, var(--ub-btn) 10%, transparent); color: var(--ub-btn); filter: none; }
.ub-btn--chip { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: .88rem; }
.ub-think .ub-bub { display: flex; align-items: center; gap: 10px; color: var(--ub-muted); }
.ub-dots { display: inline-flex; gap: 4px; }
.ub-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--ub-secondary); animation: ub-bounce 1s infinite ease-in-out; }
.ub-dots i:nth-child(2) { animation-delay: .15s; } .ub-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes ub-bounce { 0%, 80%, 100% { transform: scale(.5); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
.ub-form { display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ub-border); background: var(--ub-bg); }
.ub-input { flex: 1; min-width: 0; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ub-border); background: var(--ub-bot); color: var(--ub-text); font-size: 16px; }
.ub-send { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ub-btn); color: #fff; cursor: pointer; flex: none; }
.ub-formwrap { width: 100%; }
.ub-card-form { width: 100%; padding: 16px; border-radius: var(--ub-radius); background: var(--ub-bg); border: 1px solid var(--ub-border); box-shadow: 0 12px 30px -16px rgba(11,37,69,.35); border-top: 4px solid var(--ub-secondary); }
.ub-card-form h3 { margin: 0 0 6px; font-size: 1.1rem; color: var(--ub-primary); }
.ub-desc { margin: 0 0 12px; color: var(--ub-muted); font-size: .9rem; }
.ub-f { margin: 0 0 10px; }
.ub-f label { display: block; margin-bottom: 4px; font-weight: 600; font-size: .85rem; }
.ub-f input:not([type=checkbox]), .ub-f textarea { width: 100%; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--ub-border); background: var(--ub-bot); color: var(--ub-text); font-size: 16px; }
.ub-f input[aria-invalid="true"], .ub-f textarea[aria-invalid="true"] { border-color: #dc2626; }
.ub-hint { display: block; margin-top: 4px; color: var(--ub-muted); font-size: .78rem; line-height: 1.4; }
.ub-hint a { color: var(--ub-btn); }
.ub-err { display: block; min-height: 0; color: #dc2626; font-size: .8rem; margin-top: 3px; }
.ub-err--gen { margin: 4px 0 8px; }
.ub-method { border: 0; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ub-method legend { padding: 0; margin-bottom: 6px; font-weight: 600; font-size: .85rem; }
.ub-pill { position: relative; margin: 0; }
.ub-pill input { position: absolute; opacity: 0; }
.ub-pill span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 2px solid var(--ub-border); cursor: pointer; font-weight: 600; }
.ub-pill input:checked + span { border-color: var(--ub-btn); background: color-mix(in srgb, var(--ub-btn) 12%, transparent); color: var(--ub-btn); }
.ub-pill input:focus-visible + span { outline: 3px solid #1d4ed8; outline-offset: 2px; }
.ub-consent label { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: .8rem; }
.ub-consent input { margin-top: 3px; flex: none; }
.ub-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ub-done { width: 100%; padding: 18px; text-align: center; border-radius: var(--ub-radius); background: var(--ub-bot); }
.ub-check { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 8px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 1.5rem; font-weight: 800; }
.ub-done h3 { margin: 0 0 6px; color: var(--ub-primary); }
.ub-done p { margin: 0 0 10px; }
.ub-done dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--ub-bg); text-align: left; font-size: .9rem; }
.ub-done dt { color: var(--ub-muted); } .ub-done dd { margin: 0; font-weight: 700; }
.ub-thanks { margin-top: 10px !important; font-weight: 600; color: var(--ub-primary); }
/* Avatar: stări vizuale */
.ub-svg .ub-eye, .ub-svg .ub-mouth, .ub-svg .ub-ant-ring, .ub-svg .ub-mail { transform-box: fill-box; transform-origin: center; }
.ub-svg .ub-mail { opacity: 0; transition: opacity .3s; }
.ub[data-state="idle"] .ub-eye { animation: ub-blink 4.2s infinite; }
.ub[data-state="idle"] .ub-ant-ring { animation: ub-ring 2.6s infinite ease-out; }
.ub[data-state="thinking"] .ub-eyes { animation: ub-look 1.1s infinite ease-in-out; }
.ub[data-state="thinking"] .ub-ant-ring { stroke-dasharray: 4 6; animation: ub-spin 1s infinite linear; }
.ub[data-state="answering"] .ub-mouth { animation: ub-talk .35s infinite alternate ease-in-out; }
.ub[data-state="contact"] .ub-mail { opacity: 1; }
.ub[data-state="contact"] .ub-mouth { transform: scaleY(1.35); }
@keyframes ub-blink { 0%, 94%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@keyframes ub-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }
@keyframes ub-look { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
@keyframes ub-spin { to { transform: rotate(360deg); } }
@keyframes ub-talk { from { transform: scaleY(.6); } to { transform: scaleY(1.5); } }
/* Card pentru shortcode [urgent_bot_card] */
.ub-card { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg, #fff, #fff7ed); border: 1px solid #fed7aa; color: var(--ub-text); }
.ub-card p { margin: 2px 0 0; font-size: .9rem; color: var(--ub-muted); }
.ub-card > div { flex: 1; min-width: 200px; }
.ub-card-btn { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--ub-btn); color: #fff; font-weight: 600; font-size: .92rem; cursor: pointer; }
/* Mobil: fereastra ocupă ecranul, cu safe area */
@media (max-width: 560px) {
	.ub-panel { position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); width: auto; max-width: none; height: min(86dvh, 680px); border-radius: 22px; }
	.ub--right .ub-panel { left: 8px; right: 8px; }
	.ub-launch-txt { max-width: 42vw; }
}
@media (prefers-reduced-motion: reduce) { .ub *, .ub { animation: none !important; transition: none !important; } }
@media print { .ub { display: none !important; } }

/* ===== v3.6: Urgent Bot - rotund, centrat deasupra butonului WhatsApp (dreapta), fără ieșire din ecran ===== */
.ub, .ub--left, .ub--right { left: auto; right: calc(max(16px, env(safe-area-inset-right)) + var(--ub-shift, 0px)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 148px + var(--cookie-h, 0px)); transition: right .3s cubic-bezier(.22,1,.36,1), bottom .3s cubic-bezier(.22,1,.36,1); z-index: 250; }
.ub[data-peek][data-open] { transform: none !important; }
.ub-launch { width: 60px; height: 60px; padding: 0; justify-content: center; gap: 0; box-sizing: border-box; }
.ub-launch .ub-av { width: 52px; height: 52px; display: grid; place-items: center; }
.ub-launch .ub-av svg { width: 100%; height: 100%; }
.ub-launch .ub-dot { top: 4px; left: auto; right: 4px; }
.ub-launch .ub-launch-txt { position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%); white-space: nowrap; background: var(--ub-bg); color: var(--ub-text); border: 1px solid var(--ub-border); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .85rem; box-shadow: 0 10px 24px -12px rgba(11,37,69,.45); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
@media (hover: hover) { .ub-launch:hover .ub-launch-txt, .ub-launch:focus-visible .ub-launch-txt { opacity: 1; transform: translate(0, -50%); } }
.ub[data-open="1"] .ub-launch .ub-launch-txt { display: none; }
.ub .ub-panel, .ub--right .ub-panel, .ub--left .ub-panel { left: auto; right: 0; bottom: calc(100% + 14px); }
@media (max-width: 560px) { .ub .ub-panel { position: fixed; left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom)); } }

/* ===== v3.6.20: același afișaj ca butonul WhatsApp: lung sus, rotund după derulare ===== */
.ub .ub-launch { width: auto; min-width: 60px; height: 60px; padding: 0 22px 0 4px; gap: 10px; justify-content: center; transition: padding .3s cubic-bezier(.22,1,.36,1), box-shadow .25s, transform .25s; }
.ub .ub-launch .ub-launch-txt, .ub .ub-launch:hover .ub-launch-txt, .ub .ub-launch:focus-visible .ub-launch-txt {
	position: static; transform: none; opacity: 1; pointer-events: none; background: none; border: 0; box-shadow: none; border-radius: 0; padding: 0;
	font-size: 1rem; font-weight: 700; max-width: 220px; overflow: hidden; white-space: nowrap; text-overflow: clip; transition: max-width .3s cubic-bezier(.22,1,.36,1), opacity .2s;
}
.ub .ub-launch .ub-dot { top: 4px; left: 44px; right: auto; }
.ub.is-compact .ub-launch, .ub[data-open="1"] .ub-launch { padding: 0; width: 60px; gap: 0; }
.ub.is-compact .ub-launch .ub-launch-txt, .ub.is-compact .ub-launch:hover .ub-launch-txt, .ub[data-open="1"] .ub-launch .ub-launch-txt { max-width: 0; opacity: 0; }
@media (max-height: 480px) and (orientation: landscape) { .ub .ub-launch { height: 48px; min-width: 48px; } .ub.is-compact .ub-launch { width: 48px; } .ub .ub-launch .ub-av { width: 42px; height: 42px; } .ub .ub-launch .ub-dot { left: 34px; } }

/* ---- 3.6.24: aceeasi marime ca WhatsApp si Contact; clic garantat deasupra celorlalte ---- */
.ub { z-index: 260; }
.ub:not(.is-compact):not([data-open="1"]) .ub-launch { width: 220px; padding: 0 16px 0 4px; justify-content: center; gap: 8px; }
.ub:not(.is-compact):not([data-open="1"]) .ub-launch .ub-av { width: 46px; height: 46px; }
.ub:not(.is-compact):not([data-open="1"]) .ub-launch .ub-launch-txt { font-size: .92rem; max-width: 156px; }
.ub:not(.is-compact):not([data-open="1"]) .ub-launch .ub-dot { left: 38px; }
.ub .ub-launch { pointer-events: auto; cursor: pointer; }
.ub .ub-launch-txt, .ub .ub-av, .ub .ub-dot { pointer-events: none; }
@media (max-width: 899px) {
	.ub:not(.is-compact):not([data-open="1"]) .ub-launch { width: 60px; padding: 0; gap: 0; }
	.ub:not(.is-compact):not([data-open="1"]) .ub-launch .ub-av { width: 52px; height: 52px; }
	.ub:not(.is-compact):not([data-open="1"]) .ub-launch .ub-launch-txt { max-width: 0; opacity: 0; }
	.ub:not(.is-compact):not([data-open="1"]) .ub-launch .ub-dot { left: 44px; }
}
.ub, .ub--left, .ub--right { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 152px + var(--cookie-h, 0px)); }


/* ===== v3.7.5: aspect minimalist, text normal (fără CAPS), aer între mesaje, puține butoane ===== */
.ub-panel { border-radius: 20px; border: 1px solid var(--ub-border); box-shadow: 0 24px 60px -24px rgba(11,37,69,.35), 0 2px 8px rgba(11,37,69,.06); }
.ub-head { gap: 12px; padding: 14px 14px 14px 18px; color: var(--ub-text); background: var(--ub-bg); border-bottom: 1px solid var(--ub-border); }
.ub-head .ub-av { background: var(--ub-bot); box-shadow: none; }
.ub-title { gap: 2px; }
.ub-title strong { font-size: 1rem; font-weight: 700; color: var(--ub-text); }
.ub-title small { font-size: .8rem; color: var(--ub-muted); opacity: 1; font-weight: 500; }
.ub-ico { width: 34px; height: 34px; border-radius: 10px; background: transparent; color: var(--ub-muted); }
.ub-ico:hover { background: var(--ub-bot); color: var(--ub-text); }
.ub-log { padding: 20px 18px; gap: 16px; scroll-behavior: smooth; }
.ub-bub { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: .95rem; line-height: 1.6; }
.ub-msg--bot .ub-bub { border-bottom-left-radius: 6px; }
.ub-msg--user .ub-bub { border-bottom-right-radius: 6px; }
.ub-bub--list { white-space: normal; }
.ub-bub--list .ub-steps { margin: 10px 0 2px; padding: 0 0 0 20px; }
.ub-bub--list .ub-steps li { margin: 0 0 8px; padding-left: 2px; }
.ub-bub--list .ub-steps li:last-child { margin-bottom: 0; }
.ub-think .ub-bub { padding: 14px 16px; gap: 12px; }
.ub-think-txt { font-size: .88rem; }
.ub-dots i { width: 6px; height: 6px; background: var(--ub-muted); }
/* Butoane: text normal, un singur principal, restul discrete */
.ub-btn { min-height: 44px; padding: 10px 18px; border-radius: 14px; border: 1px solid var(--ub-btn); font-size: .92rem; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.3; text-align: center; }
.ub-btn--chip, .ub-btn--ghost { background: var(--ub-bg); border-color: var(--ub-border); color: var(--ub-text); justify-content: flex-start; text-align: left; }
.ub-btn--chip:hover, .ub-btn--ghost:hover { background: var(--ub-bot); border-color: var(--ub-btn); color: var(--ub-text); }
.ub-btn--link { min-height: 36px; padding: 6px 4px; border: 0; background: transparent; color: var(--ub-muted); font-weight: 500; font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; }
.ub-btn--link:hover { color: var(--ub-btn); filter: none; background: transparent; }
.ub-opts { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 8px; width: min(100%, 340px); margin: 0; }
.ub-bub .ub-opts { width: 100%; margin-top: 12px; }
.ub-opts--quiet { align-items: flex-start; width: auto; margin-top: -4px; }
.ub-form { gap: 10px; padding: 12px 14px calc(12px + env(safe-area-inset-bottom)); }
.ub-input { min-height: 46px; padding: 0 16px; border-radius: 14px; background: var(--ub-bg); }
.ub-send { width: 46px; height: 46px; border-radius: 14px; }
/* Formular specialist */
.ub-card-form { padding: 20px 18px; border-radius: 18px; border-top: 1px solid var(--ub-border); box-shadow: none; }
.ub-card-form h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 700; color: var(--ub-text); }
.ub-desc { margin: 0 0 16px; line-height: 1.55; }
.ub-f { margin: 0 0 14px; }
.ub-f label { margin-bottom: 6px; font-weight: 600; }
.ub-f input:not([type=checkbox]), .ub-f textarea { padding: 11px 14px; border-radius: 12px; }
.ub-method { margin: 0 0 16px; gap: 10px; }
.ub-pill span { border-width: 1px; border-radius: 12px; font-weight: 500; }
.ub-card-form .ub-opts { margin-top: 6px; width: 100%; }
.ub-card-btn { border-radius: 14px; }
@media (max-width: 560px) { .ub-panel { border-radius: 20px; } .ub-log { padding: 18px 14px; } .ub-opts { width: 100%; } }

/* ===== v3.7.6 ===== */
.ub.ub-away { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
/* Selectoare: rând simplu, săgeată fină */
.ub-btn--chip { position: relative; min-height: 44px; padding: 10px 40px 10px 16px; border: 1px solid var(--ub-border); border-radius: 12px; background: var(--ub-bg); color: var(--ub-text); font-size: .9rem; font-weight: 500; box-shadow: none; }
.ub-btn--chip::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--ub-muted); border-right: 1.5px solid var(--ub-muted); transform: translateY(-50%) rotate(45deg); transition: transform .2s, border-color .2s; }
.ub-btn--chip:hover { border-color: var(--ub-btn); background: var(--ub-bg); }
.ub-btn--chip:hover::after { border-color: var(--ub-btn); transform: translate(3px, -50%) rotate(45deg); }
.ub-btn--primary { font-weight: 600; }
/* Ofertă și certificat online: culori diferite, ușor de deosebit */
.ub-btn--online { background: linear-gradient(135deg, #1d4ed8, #2563eb); border-color: #1d4ed8; color: #fff; }
.ub-btn--offer { background: linear-gradient(135deg, #ea580c, #fb923c); border-color: #ea580c; color: #fff; }
.ub-btn--online:hover, .ub-btn--offer:hover { color: #fff; filter: brightness(1.07); }

/* ===== v3.7.10: acord + informare într-un singur bloc; trimiterea cere bifa ===== */
.ub-consent { margin: 0 0 14px; padding: 14px; border: 1px solid var(--ub-border); border-radius: 12px; background: var(--ub-bot); }
.ub-consent label { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-weight: 400; cursor: pointer; }
.ub-consent input[type=checkbox] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ub-btn); cursor: pointer; }
.ub-consent-txt { display: block; }
.ub-consent-main { display: block; font-size: .9rem; font-weight: 500; line-height: 1.5; color: var(--ub-text); }
.ub-consent-info { display: block; margin-top: 6px; font-size: .8rem; line-height: 1.5; color: var(--ub-muted); }
.ub-consent-info a { color: var(--ub-btn); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ub-card-form .ub-btn:disabled { opacity: 1; background: var(--ub-border); border-color: var(--ub-border); color: var(--ub-muted); cursor: not-allowed; filter: none; }
.ub-err--gen:empty { display: none; }

/* Mesajele de eroare au loc rezervat: butoanele nu se mută când apare o eroare (un click nu se mai pierde) */
.ub-f > .ub-err { min-height: 1.3em; margin-top: 4px; line-height: 1.3; }
.ub-consent > .ub-err { min-height: 0; }
.ub-err--gen { min-height: 0; }

/* ===== v3.7.12: punct verde de stare, jos-dreapta pe avatar (ca la Messenger); acțiuni și linkuri discrete ===== */
.ub-avw { position: relative; display: inline-grid; flex: none; }
.ub .ub-avw .ub-dot, .ub-head .ub-avw .ub-dot { display: block !important; position: absolute !important; top: auto !important; left: auto !important; right: 1px !important; bottom: 1px !important; width: 14px; height: 14px; box-sizing: border-box; border-radius: 50%; background: #22c55e; border: 2.5px solid var(--ub-bg, #fff); pointer-events: none; }
.ub-avw--sm .ub-dot { width: 12px !important; height: 12px !important; border-width: 2px !important; right: 0 !important; bottom: 0 !important; }
.ub-opts--quiet { align-items: center; width: 100%; margin-top: -2px; }
.ub-src { margin-top: 10px; font-size: .8rem; color: var(--ub-muted); }
.ub-src a { color: var(--ub-muted); font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.ub-src a:hover { color: var(--ub-btn); }
.ub-bub .ub-opts .ub-btn { font-size: .88rem; }

/* v3.7.19: aceeași grosime pentru toate opțiunile/acțiunile din răspunsuri (link <a> și buton <button> arătau diferit) */
.ub .ub-btn--chip, .ub a.ub-btn--chip, .ub button.ub-btn--chip, .ub .ub-opts .ub-btn:not(.ub-btn--link):not(.ub-btn--online):not(.ub-btn--offer) { font-weight: 600 !important; font-size: .9rem; line-height: 1.35; }

/* Acțiuni de conversație: nouă / închide (mereu vizibile) */
.ub-foot { display: flex; justify-content: space-between; gap: 8px; padding: 6px 12px 10px; border-top: 1px solid var(--ub-border); background: var(--ub-bg); }
.ub-foot-btn { appearance: none; background: transparent; border: 0; padding: 6px 4px; font: inherit; font-size: .82rem; color: var(--ub-muted); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.ub-foot-btn:hover, .ub-foot-btn:focus-visible { color: var(--ub-text); }
.ub-msg--bot .ub-bub { line-height: 1.5; }

/* ===== v3.9.20: aceleași butoane pe ambele site-uri (culorile vin din tema fiecărui site), mereu bold ===== */
.ub .ub-btn--offer, .ub a.ub-btn--offer {
	background: var(--ub-btn) !important; border: 2px solid var(--ub-btn) !important; color: #fff !important;
	font-weight: 700 !important; font-size: .92rem; letter-spacing: .02em; justify-content: center !important; text-align: center !important; text-decoration: none;
}
.ub .ub-btn--offer:hover { filter: brightness(1.08); color: #fff !important; }
.ub .ub-btn--specialist {
	background: var(--ub-bg) !important; border: 2px solid var(--ub-btn) !important; color: var(--ub-btn) !important;
	font-weight: 700 !important; font-size: .92rem; letter-spacing: .02em; justify-content: center !important; text-align: center !important;
}
.ub .ub-btn--specialist:hover { background: color-mix(in srgb, var(--ub-btn) 10%, var(--ub-bg)) !important; }
.ub .ub-btn--chip, .ub a.ub-btn--chip, .ub button.ub-btn--chip { font-weight: 700 !important; }
.ub .ub-btn--primary { font-weight: 700 !important; }
