* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  background-color: #f5f5f7;
}

.app-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
}

.webvis-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Voice button styling */
.voice-button {
  position: fixed;
  bottom: 20px;
  right: 500px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  overflow: hidden;
  padding: 0;
  z-index: 100;
}

.voice-button:hover {
  transform: translateX(-50%) scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.6);
}

.voice-button:active {
  transform: translateX(-50%) scale(0.95);
}

.voice-button.recording {
  background-color: #ff3b30;
  box-shadow: 0 4px 10px rgba(255, 59, 48, 0.5);
}

.mic-icon {
  transition: transform 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Animation for recording state */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes wave {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.mic-pulse {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 59, 48, 0.4);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
  display: none;
}

.wave-pulse {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 59, 48, 0.2);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -2;
  display: none;
}

.recording .mic-pulse {
  display: block;
  animation: pulse 1.5s infinite ease-in-out;
}

.recording .wave-pulse {
  display: block;
  animation: wave 2s infinite ease-out;
}

.recording .mic-icon {
  transform: scale(1.1);
}

.text-input-container {
  z-index: 1;
  position: fixed;
  bottom: 20px;
  right: 30px;
  display: flex;
  gap: 10px;
  align-items: center; /* Vertically align items */
}