/* Smart Idea demos — the Smart Idea bar on top of every demo (demos/kit/demo.js).
   Always in Smart Idea's own colours, so visitors can tell the studio's bar
   from the sample client's app underneath. */
.demo-bar {
  position: relative; z-index: 50;
  display: flex; align-items: center; gap: 14px;
  min-height: 52px; padding: 8px clamp(12px, 3vw, 28px);
  background: #030A1F; color: #EAF0FF;
  border-bottom: 1px solid rgba(255, 154, 0, .45);
  font: 500 13.5px/1.4 Inter, system-ui, sans-serif;
}
.demo-bar:lang(ar), :lang(ar) .demo-bar { font-family: Cairo, Inter, system-ui, sans-serif; }
.demo-bar a { color: inherit; text-decoration: none; }
.db-home { display: flex; align-items: center; gap: 8px; font-weight: 700; flex: none; }
.db-home img { display: block; width: 28px; height: 28px; }
.db-note { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; color: #C7D2EE; margin: 0; }
.db-chip {
  flex: none; padding: 2px 10px; border-radius: 99px;
  background: rgba(255, 154, 0, .16); border: 1px solid rgba(255, 154, 0, .55); color: #FFB547;
  font-size: 12px; font-weight: 700;
}
.db-long { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.db-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.db-btn {
  height: 34px; padding: 0 12px; border-radius: 99px; cursor: pointer;
  background: rgba(148, 184, 255, .1); border: 1px solid rgba(148, 184, 255, .3); color: #EAF0FF;
  font: inherit; font-weight: 600;
}
.db-btn:hover { border-color: #FF9A00; }
.db-cta {
  display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 99px;
  background: #FF9A00; color: #030A1F !important; font-weight: 700;
}
.db-cta:hover { background: #ffad33; }
.demo-bar :focus-visible { outline: 2px solid #FF9A00; outline-offset: 2px; }

@media (max-width: 900px) {
  .db-long { display: none; }
}
@media (max-width: 560px) {
  .demo-bar { gap: 8px; flex-wrap: wrap; }
  .db-home span { display: none; }
  .db-note { flex: 0 0 auto; }
  .db-actions { margin-inline-start: auto; gap: 6px; }
  .db-btn, .db-cta { height: 32px; padding: 0 10px; font-size: 12.5px; }
}
