.demo-banner {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #1c2340 0%, #2d3073 55%, #3e3b8c 100%);
  color: #f4f7fb;
  font-size: 0.8125rem;
  line-height: 1.35;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 200;
}

.demo-banner > i {
  color: #f5c542;
}

.demo-banner > .demo-banner__label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.demo-banner button {
  flex-shrink: 0;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.demo-banner button:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* Lien de retour vers la fiche Tracebay sur kouzia.com */
.demo-banner__back {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 8px;
  color: #f4f7fb;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.demo-banner__back:hover {
  background: rgba(255, 255, 255, 0.12);
}

.demo-banner__back:focus-visible {
  outline: 2px solid #f4f7fb;
  outline-offset: 2px;
}

.demo-banner__back i {
  font-size: 0.75rem;
}

.demo-banner__back-short {
  display: none;
}

@media (max-width: 640px) {
  .demo-banner > .demo-banner__label {
    flex-basis: calc(100% - 28px);
  }
}

@media (max-width: 420px) {
  .demo-banner {
    gap: 8px;
    padding: 8px 12px;
  }

  .demo-banner__back {
    padding: 4px 6px;
  }

  .demo-banner__back-long {
    display: none;
  }

  .demo-banner__back-short {
    display: inline;
  }
}
