/* istanbul BOSPHORA voice assistant bar inside the live-chat panel. Uses the site tokens from site.css. */
.vc-bar { padding: 10px 12px 8px; background: var(--paper); border-bottom: 1px solid var(--line); }
.vc-talk {
  width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px;
  border-radius: 12px; border: 1px solid rgba(212, 170, 94, .7); background: var(--ink); color: var(--on-ink);
  font: inherit; text-align: start; cursor: pointer;
}
.vc-talk:hover { background: var(--ink-2); }
.vc-talk:focus-visible, .vc-end:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.vc-talk svg { width: 22px; height: 22px; flex: none; color: var(--brass); }
.vc-talk-text, .vc-live-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vc-talk strong { font-size: 15px; font-weight: 600; }
.vc-talk small { font-size: 12px; color: var(--on-ink-muted); }
.vc-talk[hidden], .vc-live[hidden] { display: none; }

.vc-live { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.vc-status { font-size: 14px; font-weight: 600; }
.vc-caption { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-time { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.vc-end {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 0; background: #b3261e; color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; flex: none;
}
.vc-end svg { width: 18px; height: 18px; }

/* Orb: breathes with the mic level while listening, pulses while the assistant speaks. */
.vc-orb { --lvl: 0; position: relative; width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.vc-orb i { width: 18px; height: 18px; border-radius: 50%; background: var(--brass); transform: scale(calc(1 + var(--lvl) * .9)); transition: transform .08s linear; }
.vc-orb::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(212, 170, 94, .45); }
[data-state="connecting"] .vc-orb::before, [data-state="reconnecting"] .vc-orb::before {
  border-color: rgba(212, 170, 94, .25); border-top-color: var(--brass); animation: vc-spin 1s linear infinite;
}
[data-state="speaking"] .vc-orb::before { animation: vc-pulse 1.1s ease-out infinite; }
[data-state="speaking"] .vc-orb i { background: var(--ink); }
@keyframes vc-spin { to { transform: rotate(360deg); } }
@keyframes vc-pulse { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .vc-orb i { transition: none; }
  [data-state] .vc-orb::before { animation: none !important; }
}
.vc-note { margin: 6px 2px 0; font-size: 11px; line-height: 1.4; color: var(--muted); }
@media (max-width: 560px) { .vc-end span { display: none; } .vc-end { padding: 0 12px; } }
