.rec-button {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 4px solid var(--bs-primary);
  background: var(--bs-body-bg);
  color: var(--bs-primary);
  font-size: 3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .08s ease, background-color .15s ease, box-shadow .15s ease;
  touch-action: none;
  user-select: none;
}
.rec-button:hover { background: var(--bs-primary-bg-subtle); }
.rec-button:disabled { opacity: .5; cursor: not-allowed; }

.rec-button.recording {
  background: var(--bs-danger);
  border-color: var(--bs-danger);
  color: #fff;
  transform: scale(1.06);
  animation: rec-pulse 1.4s ease-out infinite;
}
@keyframes rec-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--bs-danger-rgb), .55); }
  100% { box-shadow: 0 0 0 28px rgba(var(--bs-danger-rgb), 0); }
}
@media (prefers-reduced-motion: reduce) {
  .rec-button.recording { animation: none; }
}

.rec-timer {
  font-size: 1.5rem;
  margin-top: .75rem;
  color: var(--bs-secondary-color);
}

.rec-wave {
  width: 100%;
  height: 120px;
  display: block;
  border-radius: .5rem;
  background: var(--bs-tertiary-bg);
  cursor: ew-resize;
  touch-action: none;
}
