/* Unified chat buttons (mic + send) */
.chat-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2BB3F3 0%, #0D8AF0 100%);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s;
  margin-left: 6px;
}
.chat-btn img {
  width: 20px;
  height: 20px;
}
.chat-btn.recording {
  background: #e63946;
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(230, 57, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

/* Voice recording waves */
.mic-btn.recording::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid rgba(230, 57, 70, 0.6);
  animation: mic-wave 1.5s infinite ease-out;
}

@keyframes mic-wave {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* Recording hint */
.recording-hint {
  background: rgba(0,0,0,0.75);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-family: sans-serif;
  pointer-events: none;
  z-index: 9999;
}

/* Hide number input spinners globally */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button{ -webkit-appearance:none; margin:0; }
input[type=number]{ -moz-appearance:textfield; appearance:textfield; }
textarea{ resize: none; }


.siri-wave-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  overflow: hidden;
  z-index: 9999;
  background: transparent;
}

.siri-bg {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 180deg at 50% 50%, #6366F1, #EC4899, #8B5CF6, #3B82F6, #6366F1);
  animation: rotateGradient 6s linear infinite, siriPulse 2s ease-in-out infinite;
}

.siri-inner {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mic-icon {
  width: 28px;
  height: 28px;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes siriPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
}
