body {
  margin: 0;
  padding: 0;
  background-color: #0d0d0d;
  color: #fff;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
}

.title {
  margin-top: 40px;
  font-size: 24px;
  text-align: center;
  color: #ccc;
}

.mic-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mic-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px; /* Distance between mic and stop buttons */
}

.mic-btn {
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1a1a1a 60%, #111);
  border: 2px solid #333;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
}

.mic-icon {
  color: #7d7dff;
  font-size: 96px;
}

.mic-btn.listening {
  animation: pulse 1.5s infinite;
  border-color: #3f51b5;
  box-shadow: 0 0 25px #3f51b5;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px #3f51b5;
  }
  50% {
    box-shadow: 0 0 30px #3f51b5;
  }
  100% {
    box-shadow: 0 0 10px #3f51b5;
  }
}

.stop-btn {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ff2d55;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px #ff2d55;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stop-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.stop-icon {
  color: #fff;
  font-size: 30px;
}

/* Responsive Text */
@media (max-width: 600px) {
  .title {
    font-size: 1.2rem;
  }

  .mic-icon {
    font-size: 2rem;
  }

  .stop-icon {
    font-size: 0.9rem;
  }
}

.conversaion {
  position: absolute;
  bottom: 10%;
}

#status{
  position: absolute;
  bottom: 20px;
}