/* VerikeysHub live chat add-on (uses the theme's colours). */
.chatbot.vk-live-on .chatbot__who small i { background: #16b364; box-shadow: 0 0 0 3px rgba(22, 179, 100, .25); }
.chatbot.vk-live-on .chatbot__chip--team { background: #0b0d12; border-color: #0b0d12; color: #fff; letter-spacing: .01em; }
.chatbot.vk-live-on .chatbot__chip--team:hover { background: #1f2430; border-color: #1f2430; }
/* Professional look: no green dot on the team button, a small chat icon instead */
.chatbot .chatbot__chip--team::before { content: none; }
/* Live mode: a small green dot on the left while the team is online */
.chatbot.vk-live-on .chatbot__chip--team::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .28); animation: vk-live-dot 1.8s ease-in-out infinite; }
@keyframes vk-live-dot { 0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, .35); } 50% { box-shadow: 0 0 0 5px rgba(34, 197, 94, .08); } }
@media (prefers-reduced-motion: reduce) { .chatbot.vk-live-on .chatbot__chip--team::before { animation: none; } }
.chatbot .chatbot__chip--team { gap: 8px; }
.chatbot.vk-live-active [data-act="restart"] { display: none; }
.chatbot.vk-live-active .chatbot__panel { height: min(600px, calc(100vh - 130px)); }
.chatbot.vk-live-active .chatbot__body { flex: 1 1 auto; }
.vk-live__sys { align-self: center; max-width: 92%; margin: 2px 0; padding: 6px 12px; border-radius: 99px; background: rgba(17, 26, 43, .06); color: var(--muted, #5b6474); font-size: .78rem; font-weight: 600; text-align: center; line-height: 1.4; }
.vk-live__msg { display: flex; flex-direction: column; gap: 4px; white-space: pre-wrap; overflow-wrap: anywhere; }
.vk-live__who { display: block; font-size: .72rem; font-weight: 700; color: #12a35b; white-space: normal; }
.vk-live__file { display: flex; flex-direction: column; gap: 6px; color: inherit; font-size: .84rem; font-weight: 600; text-decoration: underline; }
.vk-live__file img { display: block; max-width: 220px; max-height: 220px; border-radius: 10px; object-fit: cover; }
.vk-live__bar { display: flex; align-items: flex-end; gap: 6px; flex-wrap: wrap; padding: 10px 12px; border-top: 1px solid var(--line, #e3e7ee); background: #fff; }
.vk-live__bar.is-busy { opacity: .6; pointer-events: none; }
.vk-live__attach { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: var(--muted, #5b6474); cursor: pointer; flex: 0 0 auto; }
.vk-live__attach:hover { background: rgba(17, 26, 43, .06); }
.vk-live__attach svg, .vk-live__send svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vk-live__input { flex: 1; min-width: 0; }
.vk-live__input textarea { display: block; width: 100%; min-height: 40px; max-height: 120px; padding: 9px 12px; border: 1px solid var(--line, #e3e7ee); border-radius: 12px; font: inherit; font-size: .92rem; resize: none; }
.vk-live__input textarea:focus { outline: 2px solid var(--accent, #1F7A92); outline-offset: 1px; }
.vk-live__fname { display: block; margin-bottom: 4px; font-size: .74rem; font-weight: 700; color: var(--accent, #1F7A92); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vk-live__fname[hidden] { display: none; }
.vk-live__send { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--accent, #1F7A92); color: #fff; cursor: pointer; flex: 0 0 auto; }
.vk-live__end { flex-basis: 100%; padding: 2px; border: 0; background: none; color: var(--muted, #5b6474); font-size: .74rem; font-weight: 600; text-decoration: underline; cursor: pointer; text-align: center; }
.vk-live__end:hover { color: #c0392b; }
/* Waiting for a team member */
.vk-live__wait { align-self: stretch; display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0; padding: 16px 14px; border: 1px solid var(--line, #e3e7ee); border-radius: 16px; background: #fff; text-align: center; animation: chatbot-in .28s ease both; }
.vk-live__wait strong { font-size: .95rem; color: var(--text, #111a2b); }
.vk-live__wait p { margin: 0; font-size: .84rem; line-height: 1.45; color: var(--muted, #5b6474); }
.vk-live__clock { font-size: .78rem; font-weight: 700; color: #12a35b; font-variant-numeric: tabular-nums; }
.vk-live__spin { display: inline-flex; gap: 5px; margin-bottom: 2px; }
.vk-live__spin i { width: 8px; height: 8px; border-radius: 50%; background: #12a35b; animation: vk-live-dot 1.2s ease-in-out infinite; }
.vk-live__spin i:nth-child(2) { animation-delay: .15s; }
.vk-live__spin i:nth-child(3) { animation-delay: .3s; }
@keyframes vk-live-dot { 0%, 80%, 100% { transform: scale(.6); opacity: .4; } 40% { transform: scale(1); opacity: 1; } }
.vk-live__sys--joined { background: rgba(18, 163, 91, .12); color: #0d7a44; }
.vk-live__missed { border-color: rgba(192, 57, 43, .25); }