/* DVS Voice Assistant — floating press-and-hold mic button + status bubble. */
.dvs-voice-btn {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 99998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #03485c;
  background: #d0dd27;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 0 0 rgba(208, 221, 39, 0.5);
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: none;
}
.dvs-voice-btn:hover { transform: translateY(-2px); }
.dvs-voice-btn:active { transform: scale(0.96); }
.dvs-voice-btn .dvs-voice-ico { width: 26px; height: 26px; position: relative; z-index: 2; }
.dvs-voice-btn .dvs-voice-ring {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(208, 221, 39, 0.55);
}
.dvs-voice-btn.is-recording { background: #ff5d5d; color: #fff; }
.dvs-voice-btn.is-recording .dvs-voice-ring { animation: dvsVoicePulse 1.2s ease-out infinite; }
@keyframes dvsVoicePulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 93, 93, 0.55); }
  100% { box-shadow: 0 0 0 22px rgba(255, 93, 93, 0); }
}
.dvs-voice-btn.is-busy { background: #00807a; color: #dfedc9; }
.dvs-voice-btn.is-busy .dvs-voice-ico { animation: dvsVoiceSpin 1s linear infinite; }
@keyframes dvsVoiceSpin { to { transform: rotate(360deg); } }

/* Label popup beside the mic button */
.dvs-voice-label {
  position: fixed;
  left: 98px;
  bottom: 31px;
  z-index: 99998;
  padding: 9px 15px;
  border-radius: 12px;
  background: rgba(3, 72, 92, 0.97);
  border: 1px solid rgba(208, 221, 39, 0.32);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.dvs-voice-label.show { opacity: 1; transform: none; }
.dvs-voice-label strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: #fff; }
.dvs-voice-label span { display: block; font-size: 12px; color: #d0dd27; margin-top: 1px; }
.dvs-voice-label:before {
  content: ''; position: absolute; left: -6px; top: 50%; width: 12px; height: 12px;
  transform: translateY(-50%) rotate(45deg);
  background: rgba(3, 72, 92, 0.97);
  border-left: 1px solid rgba(208, 221, 39, 0.32);
  border-bottom: 1px solid rgba(208, 221, 39, 0.32);
}

.dvs-voice-bubble {
  position: fixed;
  left: 24px;
  bottom: 96px;
  z-index: 99998;
  max-width: min(360px, calc(100vw - 48px));
  padding: 14px 18px;
  border-radius: 16px 16px 16px 4px;
  background: rgba(3, 72, 92, 0.96);
  color: #dfedc9;
  border: 1px solid rgba(208, 221, 39, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.dvs-voice-bubble.show { opacity: 1; transform: none; }

@media (max-width: 767px) {
  .dvs-voice-btn { left: 16px; bottom: 16px; width: 54px; height: 54px; }
  .dvs-voice-bubble { left: 16px; bottom: 82px; }
  .dvs-voice-label { left: 82px; bottom: 24px; }
}
