/* Static-demo chrome: notice banner, action toast and the "not available" page. */

.demo-banner {
  position: fixed;
  left: 12px;
  bottom: 12px;
  z-index: 2147483000;
  max-width: calc(100vw - 24px);
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(33, 33, 33, 0.88);
  color: #fff;
  font: 13px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.demo-banner a {
  color: #ffd27a;
  text-decoration: underline;
}

.demo-toast {
  position: fixed;
  left: 50%;
  top: 24px;
  z-index: 2147483001;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 8px;
  background: #212121;
  color: #fff;
  font: 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.demo-toast.is-visible {
  opacity: 1;
}

.demo-unavailable {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  color: #212121;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.demo-unavailable main {
  max-width: 520px;
  margin: 16px;
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.demo-unavailable h1 {
  margin-top: 0;
  font-size: 1.5rem;
}

.demo-unavailable a {
  color: #e8505b;
}
