/* Qrypt MCP Server — simulation overrides.
   Copyright (c) 2026 Qrypt, Inc. SPDX-License-Identifier: Apache-2.0
   Loaded after the Transaction Monitor's styles.css (copied unmodified at
   build time). */

/* height:auto lets the embedding page size the iframe to the content, up and down. */
html,
body {
  height: auto;
  min-height: 0;
}

.sim-banner {
  padding: 10px 24px;
  background: rgba(34, 211, 238, 0.1);
  border-bottom: 1px solid rgba(34, 211, 238, 0.35);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}
.sim-banner strong {
  color: #67e8f9;
}

/* "Simulated" labels on every result. */
.demo-tag.sim-tag {
  color: #67e8f9;
}

/* The simulated password looks like a real one, so it carries a warning. */
.demo-tag.sim-warn {
  color: #fcd34d;
  font-weight: 700;
}
.sim-warn-line {
  margin: 0 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(252, 211, 77, 0.45);
  border-radius: var(--radius-sm);
  background: rgba(252, 211, 77, 0.08);
  color: var(--text);
  font-size: 13px;
  line-height: 1.45;
}
.sim-warn-line strong {
  color: #fcd34d;
}

/* The Qrypt EaaS hop is simulated: dashed, never solid. */
.flow li.sim-hop {
  border-style: dashed;
}
.flow li.sim-hop .flow-detail {
  color: #67e8f9;
}

/* WCAG 2.2.2: the status dot would pulse forever once ready. The page has no
   pause control because nothing else moves for more than a second, so stop
   the pulse here. */
.status.is-ok .status-dot {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Keyboard focus stays visible on the dark theme, including on inputs. */
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 2px;
}

/* Recent-call rows wrap on a phone, so the time and duration stay visible. */
.history-list li {
  flex-wrap: wrap;
  min-width: 0;
}
.history-value {
  min-width: 0;
}

/* Long values (base64, passwords) wrap instead of widening a phone screen. */
.result-json,
.protocol,
.entropy-hex,
.uuid-face {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
