/* css/swap-bridge.css
 *
 * Styles for the native Swap & Bridge pages, the AI chat transaction
 * card, and the wallet connect modal. Kept in its own file rather than
 * appended to css/style.css so the diff for this feature stays isolated
 * — reuses every existing design token (--surface, --border, --primary,
 * --radius-*, --font-*) from css/style.css's :root block rather than
 * declaring new colors, so it inherits Light/Dark theme switching for
 * free.
 *
 * Animation note: this project has no frontend build step (see
 * netlify.toml — `publish = "."`), so the actual Framer Motion library
 * (an npm/React package) isn't something a plain <script> tag can load
 * the normal way. These CSS keyframe/transition rules are the
 * dependency-free equivalent — same fade/slide/scale motion language
 * Framer Motion defaults typically use, without requiring a bundler.
 */

.view-panel {
  padding: 24px;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

@keyframes rgpt-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes rgpt-scale-in {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.trade-card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  padding: 22px;
  animation: rgpt-fade-in 0.35s ease both;
}

.trade-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}
.trade-card-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text-primary);
}

/* Public Beta badge — Swap & Bridge headers only. Purely decorative,
   no state, no logic. */
.beta-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--warning-dim);
  border: 1px solid rgba(232, 185, 59, 0.3);
  color: var(--warning);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  vertical-align: middle;
}

.trade-chain-select select,
.trade-chain-full {
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 10px;
  width: 100%;
}

.trade-field {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 10px;
  transition: border-color 0.18s ease;
}
.trade-field:focus-within { border-color: var(--border-strong); }

.trade-field-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-tertiary);
  margin-bottom: 9px;
}

.trade-field-label-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trade-balance {
  font-size: 11px;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.trade-max-btn {
  background: var(--primary-dim);
  color: var(--primary-2);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.trade-max-btn:hover { background: var(--primary-glow); }

.trade-field-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trade-field-row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 22px;
}
.trade-field-row select {
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  flex-shrink: 0;
}

.trade-flip-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: -4px auto 6px;
  border-radius: var(--radius-pill);
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  color: var(--text-secondary);
  cursor: pointer;
  transition: transform 0.2s ease, color 0.15s ease;
  position: relative;
  z-index: 1;
}
.trade-flip-btn:hover { color: var(--primary-2); transform: rotate(180deg); }

.trade-quote-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 12px 0;
  font-size: 13px;
  animation: rgpt-fade-in 0.25s ease both;
}
.trade-quote-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-secondary);
  padding: 3px 0;
}
.trade-quote-row span:last-child { color: var(--text-primary); font-family: var(--font-mono); }
.trade-quote-row--muted span { color: var(--text-tertiary) !important; font-family: var(--font-body) !important; }

.trade-submit-btn {
  width: 100%;
  padding: 15px;
  border-radius: var(--radius-md);
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #08090C;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
}
.trade-submit-btn:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); box-shadow: var(--shadow-soft); }
.trade-submit-btn:active:not(:disabled) { transform: scale(0.98); }
.trade-submit-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.trade-status {
  margin-top: 10px;
  font-size: 13px;
  text-align: center;
  padding: 8px;
  border-radius: var(--radius-sm);
}
.trade-status--info { color: var(--text-secondary); background: var(--surface); }
.trade-status--success { color: var(--primary-2); background: var(--primary-dim); }
.trade-status--error { color: var(--danger); background: var(--danger-dim); }

/* --- AI chat transaction card ------------------------------------------ */

.tx-card {
  background: linear-gradient(180deg, var(--surface) 0%, rgba(255,255,255,0.015) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 10px;
  max-width: 380px;
  animation: rgpt-scale-in 0.25s ease both;
}
.tx-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
  margin-bottom: 10px;
}
.tx-card-sub { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }
.tx-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 4px 0;
  color: var(--text-secondary);
}
.tx-card-row span:last-child { color: var(--text-primary); font-family: var(--font-mono); }
.tx-card-route { font-size: 11px; color: var(--text-tertiary); margin-top: 6px; }
.tx-card-provider-status { font-size: 11px; color: var(--warning); margin-top: 8px; }
.tx-card-actions { display: flex; gap: 8px; margin-top: 14px; }
.tx-card-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--border-strong);
}
.tx-card-btn--ghost { background: transparent; color: var(--text-secondary); }
.tx-card-btn--ghost:hover { background: var(--surface-hover); }
.tx-card-btn--primary { background: var(--primary); color: #08090C; border-color: transparent; }
.tx-card-btn--primary:hover:not(:disabled) { filter: brightness(1.08); }
.tx-card-btn--primary:disabled { opacity: 0.4; cursor: not-allowed; }
.tx-card-status { margin-top: 10px; font-size: 12px; text-align: center; padding: 6px; border-radius: var(--radius-sm); }
.tx-card-status--info { color: var(--text-secondary); }
.tx-card-status--success { color: var(--primary-2); }
.tx-card-status--error { color: var(--danger); }

/* --- Token select button (Swap/Bridge) — replaces the old <select> ------ */

.token-select-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  padding: 6px 12px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.token-select-btn:hover { background: var(--surface-hover); border-color: var(--primary-2); }
.token-select-btn--filled { padding: 5px 10px 5px 6px; }
.token-select-btn-logo,
.token-select-btn-logo-fallback {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
}
.token-select-btn-logo-fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-dim); color: var(--primary-2);
  font-weight: 700; font-size: 10px;
}

.tx-card-token-change {
  background: none;
  border: none;
  color: var(--primary-2);
  font-size: 11px;
  font-weight: 600;
  padding: 0 0 0 6px;
  cursor: pointer;
  text-decoration: underline;
}
.tx-card-token-change:hover { color: var(--primary); }

/* --- Shared Token Selector Modal (Uniswap-style) ------------------------- */

.modal--token-select { width: 420px; display: flex; flex-direction: column; max-height: calc(100vh - 64px); }
.modal--token-select .modal-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 16px 16px; min-height: 0; flex: 1; overflow: hidden; }

.chain-pill-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; flex-shrink: 0; }
.chain-pill-row::-webkit-scrollbar { height: 4px; }
.chain-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.chain-pill:hover { background: var(--surface-hover); }
.chain-pill.active { background: var(--primary-dim); border-color: rgba(0,200,5,0.35); color: var(--primary-2); }
.chain-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  font-size: 8px; font-weight: 800; color: #08090C; flex-shrink: 0;
}

.token-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-tertiary);
  flex-shrink: 0;
}
.token-search-box:focus-within { border-color: var(--primary-2); color: var(--text-primary); }
.token-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  outline: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13.5px;
}
.token-search-input::placeholder { color: var(--text-tertiary); }

.token-import-panel {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 12px;
  flex-shrink: 0;
}
.token-import-panel--loading { color: var(--text-tertiary); font-size: 13px; text-align: center; padding: 18px 12px; }
.token-import-panel--error { color: var(--danger); font-size: 12.5px; background: var(--danger-dim); border-color: rgba(255,92,92,0.25); }
.token-import-panel--found { display: flex; flex-direction: column; gap: 10px; }
.token-row--import { border: none; padding: 0; }
.source-verified-pill, .source-unverified-pill {
  font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: var(--radius-pill);
}
.source-verified-pill { color: var(--primary-2); background: var(--primary-dim); }
.source-unverified-pill { color: var(--warning); background: rgba(240,185,11,0.12); }
.token-import-stats { display: flex; gap: 14px; font-size: 12px; color: var(--text-tertiary); flex-wrap: wrap; }
.token-import-stats > div { display: flex; flex-direction: column; gap: 2px; }
.token-import-stats span:last-child { color: var(--text-primary); font-family: var(--font-mono); font-weight: 600; }
.token-import-warning {
  font-size: 11.5px;
  color: var(--warning);
  background: rgba(240,185,11,0.1);
  border: 1px solid rgba(240,185,11,0.25);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  line-height: 1.4;
}

.token-chip-group { flex-shrink: 0; }
.token-chip-group-label { font-size: 11px; color: var(--text-tertiary); margin-bottom: 6px; font-weight: 600; }
.token-chip-row { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.token-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 6px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}
.token-chip:hover { background: var(--surface-hover); border-color: var(--border-strong); }
.token-chip .token-row-logo, .token-chip .token-row-logo-fallback { width: 18px; height: 18px; }

.token-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 -8px;
  padding: 0 8px;
}
.token-list-loading, .token-list-empty {
  text-align: center;
  padding: 28px 12px;
  color: var(--text-tertiary);
  font-size: 13px;
}

.token-row {
  display: flex;
  align-items: center;
  gap: 4px;
  border-radius: var(--radius-md);
}
.token-row:hover { background: var(--surface-hover); }
.token-row--disabled { opacity: 0.4; }

.token-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: inherit;
}
.token-row-main:disabled { cursor: not-allowed; }

.token-row-logo, .token-row-logo-fallback {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  object-fit: cover;
}
.token-row-logo-fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-dim); color: var(--primary-2);
  font-weight: 700; font-size: 13px;
}

.token-row-id { min-width: 0; flex: 1; }
.token-row-symbol-line { display: flex; align-items: center; gap: 5px; }
.token-row-symbol { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text-primary); }
.token-verified-badge { flex-shrink: 0; }
.token-row-name { font-size: 12px; color: var(--text-tertiary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 4px; }

.token-row-balance { font-family: var(--font-mono); font-size: 12.5px; color: var(--text-secondary); flex-shrink: 0; }

.token-row-fav {
  flex-shrink: 0;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  cursor: pointer;
  border-radius: var(--radius-sm);
}
.token-row-fav:hover { color: var(--text-secondary); background: var(--surface-hover); }
.token-row-fav.active { color: #F0B90B; }

/* --- Mobile: full-height sheet, matches this file's existing 640px break */
@media (max-width: 640px) {
  .modal--token-select {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    margin: 0;
  }
  #tokenSelectModal.open { align-items: stretch; }
  .token-list { margin: 0 -4px; padding: 0 4px; }
}

/* --- Wallet badge + modal ----------------------------------------------- */

.wallet-connect-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.wallet-connect-btn:hover { background: var(--surface-hover); }

.wallet-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-dim);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 6px 12px;
  cursor: pointer;
}
.wallet-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--primary-2); box-shadow: 0 0 6px var(--primary-glow); }
.wallet-badge-address { font-family: var(--font-mono); font-size: 12px; color: var(--text-primary); }
.wallet-badge-chain { font-size: 10px; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.04em; }

.wallet-options-list { display: flex; flex-direction: column; gap: 8px; }
.wallet-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wallet-option:hover:not(:disabled) { background: var(--surface-hover); border-color: var(--border-strong); }
.wallet-option--disabled { opacity: 0.4; cursor: not-allowed; }
.wallet-option--connecting { opacity: 0.7; }

/* --- Mobile ------------------------------------------------------------- */
@media (max-width: 640px) {
  .view-panel { padding: 14px; }
  .trade-card { padding: 16px; border-radius: var(--radius-md); }
  .trade-field-row input { font-size: 18px; }
}

/* Matches css/style.css's existing 480px rule that hides `.ghost-btn span`
 * and shrinks its padding (icon-only on narrow phones) — applied the same
 * way here so the topbar doesn't overflow once Connect Wallet / the
 * wallet badge are added alongside the pre-existing Trending/Clear chat
 * buttons. The wallet button needed its own icon added in index.html
 * first (it previously had none), since hiding a text-only button's
 * label the way `.ghost-btn` does would otherwise leave it empty. */
@media (max-width: 480px) {
  .wallet-connect-btn span { display: none; }
  .wallet-connect-btn { padding: 8px 10px; }
  .wallet-badge-chain { display: none; }
  .wallet-badge { padding: 6px 8px; }
}

/* --- Swap transaction modal (progress + success/failure UX) ------------
 * Uniswap-style: minimal, one focal action per screen, restrained motion.
 * Reuses css/style.css's .modal-overlay/.modal/.modal-header/.modal-body
 * shell (see index.html's #swapTxModal) — only the inner content here is
 * new, so it inherits focus-trap/Escape/backdrop-click-to-close and
 * Light/Dark theming for free, the same way every other modal in this
 * project already does. */

.modal--swap-tx { width: 420px; }

.tx-steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tx-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 4px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-secondary);
  animation: rgpt-fade-in 0.25s ease both;
}
.tx-step--done { color: var(--text-primary); }
.tx-step--active { color: var(--text-primary); font-weight: 600; }
.tx-step--pending { opacity: 0.55; }

.tx-step-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
}
.tx-step-icon--done { background: var(--primary-dim); color: var(--primary-2); }
.tx-step-icon--active { background: var(--primary-dim); }
.tx-step-icon--pending { border: 1.5px solid var(--border-strong); }

.tx-spinner {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--primary-dim);
  border-top-color: var(--primary);
  display: inline-block;
  animation: rgpt-spin 0.7s linear infinite;
}
@keyframes rgpt-spin { to { transform: rotate(360deg); } }

.tx-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px 4px 4px;
  animation: rgpt-scale-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.tx-result-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 8px;
  filter: drop-shadow(0 4px 16px rgba(0, 200, 5, 0.25));
}
.tx-result-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tx-amount-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 8px 2px;
  border-bottom: 1px solid var(--border);
}
.tx-amount-row span:last-child { color: var(--text-primary); font-weight: 600; }

.tx-hash-label {
  width: 100%;
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-top: 10px;
}
.tx-hash-box {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: var(--font-mono, monospace);
  font-size: 12.5px;
  color: var(--text-primary);
  word-break: break-all;
  text-align: left;
  user-select: all;
}

.tx-substatus {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 12px;
}

.tx-explorer-note {
  font-size: 12px;
  color: var(--text-secondary);
  opacity: 0.8;
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

.tx-error-box {
  width: 100%;
  background: var(--danger-dim);
  border: 1px solid rgba(255,92,92,0.3);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--danger);
  text-align: left;
  margin-top: 4px;
}

.tx-result-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}
.tx-result-actions .ghost-btn { flex: 1; justify-content: center; text-align: center; }

@media (max-width: 480px) {
  .modal--swap-tx { width: 100%; }
  .trade-card-header { flex-wrap: wrap; }
  .trade-card-header h2 { font-size: 18px; flex-wrap: wrap; }
  .beta-badge { font-size: 10px; padding: 3px 8px; }
}

/* --- Swap tx state badges (Pending / Success / Failed / Timed Out) ----- */
.tx-state-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 2px;
}
.tx-state-badge--pending { background: var(--primary-dim); color: var(--primary-2); }
.tx-state-badge--success { background: var(--primary-dim); color: var(--primary-2); }
.tx-state-badge--failed { background: var(--danger-dim); color: var(--danger); }
.tx-state-badge--timeout { background: rgba(255, 184, 0, 0.14); color: #E0A500; }
