/* General styles */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  text-align: center;
  background: radial-gradient(circle, #0f2027, #203a43, #2c5364);
  color: white;
  overflow-x: hidden;
}

.container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

h2 {
  margin: 0;
  font-size: 48px;
  text-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
}

/* Buttons row */
.button-row {
  display: flex;
  justify-content: center;
  margin: 20px;
}

button {
  padding: 15px;
  margin: 10px;
  font-size: 24px;
  cursor: pointer;
  background: linear-gradient(to bottom right, #477ae8, #2c6dfc);
  border: none;
  border-radius: 50%;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.4);
  transition: background 0.3s ease, transform 0.2s ease;
  color: white;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

button:hover {
  background: linear-gradient(to bottom right, #45a049, #3c9e38);
  transform: scale(1.1);
}

button:active {
  background: #3e8e41;
  transform: scale(0.9);
}

button i {
  font-size: 28px;
}

/* Output box */
#output {
  margin-top: 20px;
  padding: 15px;
  width: 80%;
  max-width: 600px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  min-height: 150px;
  border-radius: 12px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
  font-size: 18px;
  overflow-y: auto;
  text-align: left;
}

/* Status Indicator */
#status-indicator {
  display: flex;
  align-items: center;
  margin: 20px;
  font-size: 18px;
}

.dot {
  height: 15px;
  width: 15px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: gray; /* Default state */
  transition: background-color 0.3s ease;
}

#status-text {
  color: white;
}

/* Responsive styles */
@media only screen and (max-width: 600px) {
  h2 {
    font-size: 32px;
  }

  button {
    width: 60px;
    height: 60px;
    font-size: 20px;
  }

  #output {
    font-size: 16px;
  }
}

@media only screen and (min-width: 768px) {
  h2 {
    font-size: 50px;
  }

  button {
    width: 80px;
    height: 80px;
  }

  #output {
    font-size: 20px;
  }
}
