/* Mangos AI — demo-only styles. Loaded after the app stylesheets. */

/* Hide account controls that make no sense in a hosted demo. */
#btn-sign-out,
#btn-billing-plan,
#btn-open-data {
  display: none !important;
}

/* ── Demo banner ─────────────────────────────────────────────────────────── */
#demo-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  background: rgba(26, 25, 21, 0.92);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  z-index: 9000;
  font-size: 0.82rem;
  color: #d9d6cf;
  white-space: nowrap;
}
.demo-banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
  animation: demo-pulse 2s ease-in-out infinite;
}
@keyframes demo-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.demo-banner-cta {
  color: #fbbf24;
  font-weight: 600;
  text-decoration: none;
}
.demo-banner-cta:hover { text-decoration: underline; }
.demo-banner-close {
  background: none;
  border: none;
  color: #8a877f;
  font-size: 1rem;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
}
.demo-banner-close:hover { color: #d9d6cf; }

/* ── Fake browser pane (over #browser-host) ─────────────────────────────── */
#demo-fake-browser {
  position: absolute;
  inset: 10px;
  display: none;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #14130f;
  border: 1px solid rgba(255, 255, 255, 0.07);
}
#demo-fake-browser.show { display: flex; }
.browser-host { position: relative; }

.dfb-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dfb-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.dfb-url {
  flex: 1;
  margin-left: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #9c9890;
  font-size: 0.75rem;
  font-family: ui-monospace, Menlo, Consolas, monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dfb-page {
  flex: 1;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
}
.dfb-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.dfb-card.dfb-active {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.12);
}
.dfb-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.12) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: dfb-shimmer 1.6s linear infinite;
}
.dfb-lines { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.dfb-line {
  height: 10px;
  border-radius: 5px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.13) 50%, rgba(255,255,255,0.06) 75%);
  background-size: 200% 100%;
  animation: dfb-shimmer 1.6s linear infinite;
}
.dfb-w30 { width: 30%; } .dfb-w40 { width: 40%; } .dfb-w45 { width: 45%; }
.dfb-w60 { width: 60%; } .dfb-w70 { width: 70%; } .dfb-w75 { width: 75%; }
.dfb-w85 { width: 85%; } .dfb-w90 { width: 90%; } .dfb-w95 { width: 95%; }
@keyframes dfb-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.dfb-note {
  margin-top: auto;
  font-size: 0.72rem;
  color: #6f6c64;
  text-align: center;
  padding-top: 10px;
}
