html, body {
  margin: 0;
  padding: 0;
}

.picture-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: black;
  position: relative; /* Added for positioning user-display */
}

img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.loading {
  color: white;
  font-size: 24px;
}

.error {
  color: red;
  font-size: 18px;
}

.user-display {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(33, 150, 243, 0.4); /* Material Design Blue 500 with transparency */
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
  z-index: 10; /* Ensure it's above the image */
  border: 1px solid rgba(33, 150, 243, 0.8); /* Same blue, less transparency for border */
}

.token-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background-color: #f0f0f0;
  /* Or any other background color */
}

.token-input label,
.token-input input,
.token-input button {
  margin-bottom: 10px;
  padding: 8px;
}


.token-input input[type="text"] {
  border: 1px solid #ccc;
  border-radius: 4px;
}

.token-input button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.token-input button:hover {
  background-color: #0056b3;
}

/*# sourceMappingURL=style.css.map */

/* Controls */
.controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 20px;
  padding: 10px;
  display: flex;
  gap: 10px;
  transition: opacity 0.3s ease-in-out;
  opacity: 1;
}

.controls.hidden {
  opacity: 0;
}

.control-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: white;
}

#play-button {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

#pause-button {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 19h4V5H6v14zm8-14v14h4V5h-4z'/%3E%3C/svg%3E");
}

.control-button.active {
  background-color: #2196F3; /* Material Design Blue */
}
