/* Shared by the Z-Code sample websites: bilingual switching, the sample banner and the notice. */
html[lang='en'] [lang='ar'],
html[lang='ar'] [lang='en'] { display: none !important; }
[hidden] { display: none !important; }
.zc-demo-bar {
  position: relative; z-index: 60; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px;
  padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px));
  background: #0b1014; color: #e9f2f5; font: 500 13px/1.4 system-ui, 'Segoe UI', Tahoma, sans-serif; text-align: center;
}
.zc-demo-bar p { margin: 0; }
.zc-demo-bar b { color: #22d3ee; font-weight: 700; }
.zc-demo-bar a { background: #22d3ee; color: #04252c; font-weight: 700; padding: 4px 12px; border-radius: 999px; text-decoration: none; }
.zc-demo-bar button { background: transparent; color: #e9f2f5; border: 1px solid #3a4a52; border-radius: 999px; padding: 3px 12px; font: inherit; cursor: pointer; }
.zc-demo-bar a:focus-visible, .zc-demo-bar button:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.zc-demo-toast {
  position: fixed; z-index: 70; inset-inline: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  margin-inline: auto; max-width: 460px; background: #0b1014; color: #e9f2f5; border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); font: 500 14px/1.5 system-ui, 'Segoe UI', Tahoma, sans-serif;
  display: grid; gap: 10px; transform: translateY(140%); opacity: 0; transition: transform 0.35s, opacity 0.35s;
}
.zc-demo-toast.show { transform: none; opacity: 1; }
.zc-demo-toast p { margin: 0; }
.zc-demo-toast a { justify-self: start; background: #22d3ee; color: #04252c; font-weight: 700; padding: 6px 14px; border-radius: 999px; text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .zc-demo-toast { transition: none; } }
