/* ProjectEdge demó-sáv (app/demo/demo-bar.css másolata — statikus oldal, a Next nem tölti be) */
/* ════ Mintaprojekt-sáv + demó értesítés — minden /demo oldalon ════ */

:root {
  /* a demó oldalak saját sticky fejléce ez alá tapad ki */
  --demo-bar-h: 44px;
}

.demo-bar {
  background: #11171c;
  border-bottom: 1px solid rgba(245, 245, 245, 0.12);
  color: #f5f5f5;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  height: var(--demo-bar-h);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 300;
}

.demo-bar-inner {
  align-items: center;
  display: flex;
  gap: 12px;
  height: 100%;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(14px, 4vw, 32px);
}

.demo-bar-tag {
  background: #ff5722;
  border-radius: 999px;
  color: #fff;
  flex: none;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 4px 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.demo-bar-text {
  color: rgba(245, 245, 245, 0.7);
  flex: 1 1 auto;
  font-size: 13px;
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-bar-text.short {
  display: none;
}

.demo-bar-text strong {
  color: #f5f5f5;
  font-weight: 600;
}

.demo-bar-link {
  align-items: center;
  border: 1px solid rgba(245, 245, 245, 0.28);
  border-radius: 999px;
  color: #f5f5f5;
  display: inline-flex;
  flex: none;
  font-size: 12px;
  font-weight: 600;
  gap: 7px;
  padding: 6px 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.demo-bar-link:hover {
  background: rgba(245, 245, 245, 0.1);
  border-color: rgba(245, 245, 245, 0.5);
}

.demo-bar-arrow {
  border-bottom: 1.6px solid currentColor;
  border-left: 1.6px solid currentColor;
  display: block;
  height: 7px;
  transform: rotate(45deg);
  width: 7px;
}

.demo-bar-link-short {
  display: none;
}

@media (max-width: 720px) {
  :root {
    --demo-bar-h: 40px;
  }

  .demo-bar-tag,
  .demo-bar-text:not(.short),
  .demo-bar-link-long {
    display: none;
  }

  .demo-bar-text.short {
    display: block;
  }

  .demo-bar-link-short {
    display: block;
  }
}

