
#gamepad-test-container {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 10px;
  color: #fff;
  font-family: "Comic Sans MS", cursive, sans-serif;
  z-index: 100;
  min-width: 300px;
}

#gamepad-display {
  margin-top: 10px;
}

.axis, .button {
  margin-bottom: 5px;
}

.axis-label, .button-label {
  display: inline-block;
  width: 80px;
}

.axis-value {
  display: inline-block;
  width: 50px;
  text-align: right;
  font-weight: bold;
  color: #3ad29f;
}

.button-meter {
  display: inline-block;
  width: 150px;
  height: 15px;
  background-color: #555;
  border-radius: 3px;
  overflow: hidden;
  vertical-align: middle;
}

.button-meter-fill {
  width: 0%;
  height: 100%;
  background-color: #3ad29f;
  transition: width 0.1s;
}

.button-pressed .button-meter-fill {
    width: 100%;
}
