/* Shared avspex demo chrome — top banner, action bar, credit footer */

.demo-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  padding: 0.625rem 1.25rem;
  min-height: var(--demo-banner-height, 2.75rem);
  background: #0d4f4f;
  color: #e8edf2;
  font-size: 0.8125rem;
  line-height: 1.4;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-banner__text {
  text-align: center;
}

.demo-banner__text strong {
  color: #e8c547;
  font-weight: 700;
}

.demo-banner__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0d4f4f;
  background: #e8edf2;
  border-radius: 0.375rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background 150ms ease, color 150ms ease;
}

.demo-banner__back:hover {
  background: #ffffff;
  color: #0a3d3d;
}

.demo-actions {
  position: sticky;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 1.25rem;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
  white-space: nowrap;
}

.demo-actions__btn:active {
  transform: scale(0.98);
}

.demo-actions__btn--order {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

.demo-actions__btn--order:hover {
  background: #1fb855;
  border-color: #1fb855;
  color: #ffffff;
}

.demo-actions__btn--contact {
  background: transparent;
  color: #e8edf2;
  border-color: rgba(255, 255, 255, 0.35);
}

.demo-actions__btn--contact:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.demo-credit {
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  color: #9aa8b8;
  background: #0f1419;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.demo-credit a {
  font-weight: 600;
  color: #4ecdc4;
  text-decoration: none;
}

.demo-credit a:hover {
  text-decoration: underline;
}
