.demo-container {
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

h1 {
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
}

.controls-panel {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
}

.controls-panel h2 {
  margin: 0 0 15px 0;
  font-size: 18px;
  color: #495057;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.demo-button {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.demo-button.primary {
  background-color: #3498db;
  color: white;
}

.demo-button.primary:hover {
  background-color: #2980b9;
}

.demo-button.danger {
  background-color: #e74c3c;
  color: white;
}

.demo-button.danger:hover {
  background-color: #c0392b;
}

.demo-button:not(.primary):not(.danger) {
  background-color: #95a5a6;
  color: white;
}

.demo-button:not(.primary):not(.danger):hover {
  background-color: #7f8c8d;
}

.info-panel {
  background: white;
  padding: 15px;
  border-radius: 5px;
  border: 1px solid #dee2e6;
  margin-top: 15px;
}

.info-panel p {
  margin: 0;
  font-size: 16px;
  color: #495057;
}

#player-placeholder {
  margin: 0 auto;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}

/* Injected Component Styles */
.injected-avatar-component {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.injected-avatar-component-rounded {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
}

.avatar-image-regular {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.avatar-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  aspect-ratio: 1/1;
}
