/* Căutarea cu vocea (public/js/voice-search.js) */
.vs-wrap { display: flex; gap: 8px; width: 100%; }
.vs-wrap > button[type="submit"] { flex: 1; min-width: 0; }
.vs-wrap > button[type="submit"] svg { flex-shrink: 0; }
.vs-mic { flex: none; width: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; border-radius: .5rem; cursor: pointer; transition: background-color .15s ease; }
.vs-mic:hover { background: #dbeafe; }
.vs-mic:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.vs-mic.is-on { background: #dc2626; border-color: #dc2626; color: #fff; animation: vs-pulse 1.2s ease-in-out infinite; }
@keyframes vs-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, .45); } 50% { box-shadow: 0 0 0 7px rgba(220, 38, 38, 0); } }
@media (prefers-reduced-motion: reduce) { .vs-mic.is-on { animation: none; } }

.vs-panel { margin-top: 12px; border: 1px solid #dbeafe; background: #f8fafc; border-radius: 12px; padding: 12px 14px; text-align: left; color: #111827; }
.vs-panel[hidden] { display: none; }
.vs-head { display: flex; align-items: center; gap: 8px; }
.vs-title { font-size: .95rem; font-weight: 600; flex: 1; }
.vs-dot { width: 10px; height: 10px; border-radius: 50%; background: #9ca3af; flex: none; }
.vs-panel.is-listening .vs-dot { background: #dc2626; animation: vs-blink 1s ease-in-out infinite; }
.vs-panel.is-done .vs-dot { background: #16a34a; }
.vs-panel.is-error .vs-dot { background: #f59e0b; }
@keyframes vs-blink { 50% { opacity: .3; } }
.vs-close { background: none; border: 0; font-size: 1.4rem; line-height: 1; color: #6b7280; cursor: pointer; padding: 0 4px; }
.vs-text { margin-top: 6px; color: #374151; font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.vs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vs-chips:empty { display: none; }
.vs-chip { display: inline-flex; padding: 3px 10px; border-radius: 999px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1d4ed8; font-size: .84rem; font-weight: 600; }
.vs-note { margin-top: 8px; font-size: .84rem; color: #92400e; }
.vs-note[hidden] { display: none; }
.vs-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 10px; }
.vs-actions[hidden], .vs-go[hidden] { display: none; }
.vs-go { padding: .5rem 1rem; }
.vs-again { background: none; border: 0; padding: 0; color: #2563eb; font-size: .9rem; text-decoration: underline; cursor: pointer; }
