/* CSS-only in-frame app UI (no screenshots — no real user data) */

.mock-screen {
  position: absolute;
  inset: 0;
  padding: 26px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  overflow: hidden;
}

.mock-screen.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mock-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 18px;
  margin-bottom: 4px;
}

.mock-topbar-title {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}

.mock-back {
  position: absolute;
  left: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
}

.mock-label {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mock-label--gold {
  color: #F5B800;
}

.mock-currency-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 201, 167, 0.18);
  border: 1px solid rgba(0, 201, 167, 0.35);
  font-size: 9px;
  font-weight: 600;
  color: #fff;
  width: fit-content;
}

.mock-currency-pill--ghs {
  background: rgba(245, 184, 0, 0.15);
  border-color: rgba(245, 184, 0, 0.35);
}

.mock-amount {
  font-family: var(--mcube-font-mono, 'DM Mono', monospace);
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin: 2px 0 6px;
}

.mock-rate-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 201, 167, 0.35), rgba(245, 184, 0, 0.35));
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  margin: 4px 0;
}

.mock-fee-row {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-fee-row strong {
  color: #00C9A7;
  font-weight: 600;
}

.mock-btn {
  margin-top: auto;
  padding: 10px;
  border-radius: 12px;
  background: #00C9A7;
  color: #0A1628;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
}

.mock-success {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
}

.mock-success-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 201, 167, 0.18);
  border: 2px solid #00C9A7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00C9A7;
  font-size: 18px;
}

.mock-success h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.mock-success p {
  margin: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.45;
}

.mock-success-time {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(245, 184, 0, 0.15);
  color: #F5B800;
  font-size: 9px;
  font-weight: 700;
}

.mock-shield-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.mock-shield-card i {
  font-size: 28px;
  color: #00C9A7;
}

.mock-shield-card h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.mock-shield-card p {
  margin: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.mock-chip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 8px;
}

.mock-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 10px;
  font-weight: 600;
  color: #fff;
}

.mock-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00C9A7;
  flex-shrink: 0;
}

.mock-chip--active {
  border-color: rgba(0, 201, 167, 0.5);
  background: rgba(0, 201, 167, 0.1);
}

.mock-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.mock-welcome h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.mock-welcome p {
  margin: 0;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.5;
}

.mock-input {
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
}

/* Dashboard (app preview) */
.mock-dash-balance {
  padding: 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, #00C9A7 0%, #F5B800 100%);
  color: #0A1628;
}

.mock-dash-balance-label {
  font-size: 8px;
  font-weight: 600;
  opacity: 0.75;
}

.mock-dash-balance-value {
  font-family: var(--mcube-font-mono, 'DM Mono', monospace);
  font-size: 22px;
  font-weight: 600;
  margin: 4px 0 10px;
  letter-spacing: 0.08em;
}

.mock-dash-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.mock-dash-action {
  padding: 6px;
  border-radius: 10px;
  background: rgba(10, 22, 40, 0.22);
  font-size: 8px;
  font-weight: 700;
  text-align: center;
}

.mock-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.mock-quick-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 7px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

.mock-quick-tile i {
  font-size: 11px;
  color: #00C9A7;
}

.mock-live-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-live-rate strong {
  display: block;
  font-size: 9px;
  color: #fff;
}

.mock-live-rate span {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.5);
}

.mock-live-pill {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(0, 201, 167, 0.18);
  color: #00C9A7;
  font-size: 8px;
  font-weight: 700;
}

.mock-tx-list {
  display: grid;
  gap: 6px;
  margin-top: 4px;
}

.mock-tx-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.mock-tx-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(0, 201, 167, 0.2);
  color: #00C9A7;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-tx-meta {
  flex: 1;
  min-width: 0;
}

.mock-tx-meta strong {
  display: block;
  font-size: 8px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-tx-meta span {
  font-size: 7px;
  color: rgba(255, 255, 255, 0.45);
}

.mock-tx-amount {
  text-align: right;
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.mock-tx-amount em {
  display: block;
  font-style: normal;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.mock-nav-bar {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 4px 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-nav-bar i {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

.mock-nav-bar i.is-active {
  color: #00C9A7;
}

.mock-nav-fab {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00C9A7, #F5B800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0A1628;
  font-size: 11px;
  margin-top: -14px;
}
