* {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

footer {
  margin-top: auto;
}

/* API Status Indicator */
#api-status-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease-out;
  z-index: 9999;
}
#api-status-text {
  color: white;
  font-size: 2em;
}
#api-status-indicator {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease-out;
}
.hidden {
  opacity: 0;
  pointer-events: none;
}

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

.loader {
  animation: spin 1s linear infinite;
}

/* If you also want to change the color while spinning, you can add the following */
.loader {
  border-color: #f3f3f3 #f3f3f3 #3498db transparent; /* Change #3498db to the desired color */
}

.numbers-container {
  display: flex;
  justify-content: space-between;
}

.buttons-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.buttons-container button {
  width: 200px; /* Set a fixed width */
  text-align: center; /* Center the text */
}
