/* ========================================================
   NEXUS SHIELD — Digital Asset Recovery & Forensics
   Bespoke Web3 & FinTech UI (Trust Wallet & Coinbase Grade)
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #060913;
  --bg-card: rgba(9, 15, 30, 0.62);
  --bg-card-hover: rgba(14, 22, 42, 0.78);
  --bg-card-subtle: rgba(7, 11, 22, 0.52);
  --bg-input: #070b16;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: #2D9FFF;
  --border-card: rgba(255, 255, 255, 0.09);
  
  --primary: #0500FF;
  --primary-hover: #0400cc;
  --primary-light: #2D9FFF;
  --primary-glow: rgba(45, 159, 255, 0.2);
  
  --accent-cyan: #38bdf8;
  --accent-emerald: #00F59B;
  --accent-amber: #fbbf24;
  --accent-rose: #f43f5e;
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  
  --shadow-card: 0 8px 24px -4px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  --shadow-elevated: 0 20px 50px -10px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #040812;
  background-image: 
    radial-gradient(circle at 50% 280px, rgba(13, 35, 75, 0.45) 0%, rgba(4, 8, 18, 0.85) 60%, #040812 100%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
  background-position: center top, center center, center center;
  background-attachment: fixed;
  font-family: var(--font-sans);
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden;
}

#crypto3dCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -2;
  display: block;
}

.cosmic-gaussian-veil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  background: radial-gradient(circle at 50% 320px, rgba(4, 8, 18, 0.45) 0%, rgba(4, 8, 18, 0.70) 55%, rgba(4, 8, 18, 0.92) 95%);
}

/* Hero Header Text Backdrop Protection (Zero Background Logo Clashes) */
.hero-header-top {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 1.75rem 0 !important;
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
  box-sizing: border-box;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse at center, rgba(4, 8, 18, 0.75) 0%, rgba(4, 8, 18, 0.35) 75%, transparent 100%);
}

.hero-header-top .hero-main-title {
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-header-top .hero-main-title .gradient-text,
.gradient-text {
  background: linear-gradient(135deg, #00f59b 0%, #38bdf8 55%, #00d2ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 18px rgba(0, 245, 155, 0.5)) drop-shadow(0 0 35px rgba(56, 189, 248, 0.3)) !important;
  display: inline-block;
  font-weight: 800;
}

.hero-header-top .hero-subtext {
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.8);
  color: #f1f5f9 !important;
}

/* ========================================================
   SECRET COSMIC GEM — Easter Egg 360° Celestial Controller
   Tiny, mysterious, unobtrusive stardust gem in corner
   ======================================================== */
.cosmic-gem {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 45;
  user-select: none;
  -webkit-user-select: none;
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  pointer-events: auto;
}

/* Collapsed Gem State: Tiny 32px glowing orb */
.cosmic-gem-capsule {
  display: flex;
  align-items: center;
  background: rgba(6, 11, 24, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 245, 155, 0.22);
  border-radius: 9999px;
  padding: 3px;
  height: 32px;
  width: 32px;
  overflow: hidden;
  opacity: 0.38;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 245, 155, 0.08);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease,
              border-color 0.3s ease,
              box-shadow 0.3s ease,
              background 0.3s ease;
  cursor: pointer;
}

/* Expanded state on hover / tap / discovery */
.cosmic-gem:hover .cosmic-gem-capsule,
.cosmic-gem.expanded .cosmic-gem-capsule {
  width: 158px;
  opacity: 1;
  background: rgba(6, 11, 24, 0.90);
  border-color: rgba(0, 245, 155, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 245, 155, 0.25);
  padding: 3px 6px 3px 3px;
}

/* Tiny rotating gem icon inside */
.cosmic-gem-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 245, 155, 0.15) 0%, rgba(45, 159, 255, 0.05) 100%);
}

.cosmic-gem-svg {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 3px rgba(0, 245, 155, 0.5));
}

/* Secret controls revealed on expansion */
.cosmic-gem-tray {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.25s ease 0.05s, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) 0.05s;
  pointer-events: none;
}

.cosmic-gem:hover .cosmic-gem-tray,
.cosmic-gem.expanded .cosmic-gem-tray {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.cosmic-gem-bearing {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  color: #00f59b;
  min-width: 28px;
  letter-spacing: -0.02em;
}

.cosmic-gem-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 2px 7px;
  height: 22px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.cosmic-gem-btn:hover {
  background: rgba(0, 245, 155, 0.25);
  border-color: rgba(0, 245, 155, 0.6);
  color: #ffffff;
  box-shadow: 0 0 8px rgba(0, 245, 155, 0.4);
}

.cosmic-gem-btn:active {
  transform: scale(0.93);
}

.cosmic-gem-btn.active {
  background: rgba(0, 245, 155, 0.16);
  border-color: rgba(0, 245, 155, 0.45);
  color: #00f59b;
}

/* Secret Discovery Toast (Achievement Pill) */
.cosmic-secret-toast {
  position: fixed;
  bottom: 3.8rem;
  left: 1.25rem;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(7, 13, 27, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(0, 245, 155, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 16px rgba(0, 245, 155, 0.2);
  padding: 5px 12px;
  border-radius: 9999px;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cosmic-secret-toast.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.cosmic-secret-toast .toast-key {
  background: rgba(0, 245, 155, 0.2);
  border: 1px solid rgba(0, 245, 155, 0.4);
  color: #00f59b;
  padding: 0 4px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.65rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

p {
  color: var(--text-secondary);
  font-size: 0.94rem;
}

code, .mono {
  font-family: var(--font-mono);
}

/* ========================================================
   HEADER & NAVIGATION
   ======================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 9, 19, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0.85rem clamp(1rem, 2.5vw, 2.5rem) !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(45, 159, 255, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.logo-area:hover .brand-logo-img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 15px rgba(0, 245, 155, 0.65));
}

.logo-icon-badge {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0500FF 0%, #2D9FFF 100%);
  border: 1px solid rgba(45, 159, 255, 0.4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.logo-text-col {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.logo-title span {
  color: #ffffff;
}

.logo-sub {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: #ffffff;
  background: var(--primary);
  font-weight: 600;
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.status-help-pill {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.2);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
}

.lang-selector-select {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  outline: none;
}

.lang-selector-select:focus {
  border-color: var(--border-focus);
}

.nav-track-btn {
  background: rgba(45, 159, 255, 0.1);
  border: 1px solid rgba(45, 159, 255, 0.25);
  color: #93c5fd;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.nav-track-btn:hover {
  background: rgba(45, 159, 255, 0.2);
  color: #fff;
}

/* ========================================================
   PAGE LAYOUT & HERO
   ======================================================== */

.container {
  position: relative;
  z-index: 5;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 1.5rem clamp(1rem, 2.5vw, 2.5rem) 4rem !important;
  box-sizing: border-box !important;
}

.hero-banner {
  padding: 2.2rem 0 2rem;
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  align-items: center;
  gap: 3rem;
  position: relative;
}

@media (max-width: 960px) {
  .hero-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.hero-text-col {
  display: flex;
  flex-direction: column;
}

.hero-eyebrow {
  background: rgba(45, 159, 255, 0.08);
  border: 1px solid rgba(45, 159, 255, 0.25);
  border-radius: 9999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  width: fit-content;
}

.hero-main-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: #fff;
}

@media (max-width: 640px) {
  .hero-main-title {
    font-size: 2.1rem;
  }
}

.gradient-text {
  background: linear-gradient(135deg, #00f59b 0%, #38bdf8 55%, #00d2ff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  text-shadow: none !important;
  filter: drop-shadow(0 0 16px rgba(0, 245, 155, 0.45)) !important;
}

.hero-subtext {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.65;
  max-width: 640px;
}

/* Supported Tokens Strip (Original Brand Colors) */
.supported-tokens-strip {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.tokens-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.07em;
  margin-bottom: 0.75rem;
}

.tokens-list {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.token-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  transition: all 0.2s ease;
}

.token-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Hero Trust Card (Right Column) */
.hero-trust-card {
  background: rgba(9, 15, 30, 0.62);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.trust-card-header {
  margin-bottom: 1.25rem;
}

.trust-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  border-radius: 9999px;
  padding: 0.25rem 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}

.trust-card-header h3 {
  font-size: 1.25rem;
  color: #fff;
}

.trust-features-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trust-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.trust-feature-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.trust-feature-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(45, 159, 255, 0.12);
  border: 1px solid rgba(45, 159, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 0.95rem;
  flex-shrink: 0;
}

.trust-feature-text strong {
  display: block;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

.trust-feature-text p {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

/* Compliance & Trust Ecosystem Bar */
.compliance-trust-bar {
  margin: 0 0 2.5rem;
  padding: 1.1rem 1.6rem;
  background: rgba(13, 19, 36, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.compliance-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.compliance-badges-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.partner-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: #94a3b8;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.partner-badge:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.partner-badge i {
  color: #60a5fa;
  font-size: 0.78rem;
}

/* ========================================================
   TWO-COLUMN PORTAL WORKBENCH
   ======================================================== */

.workbench-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(360px, 440px);
  gap: 2rem;
  align-items: start;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .workbench-grid {
    grid-template-columns: 1fr;
  }
}

.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2.4rem;
  box-shadow: var(--shadow-elevated);
  backdrop-filter: blur(28px);
}

.card-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.25rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--border-subtle);
}

.card-title-group h2 {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.card-title-group h2 i {
  color: var(--primary-light);
  font-size: 1.2rem;
}

.card-subtitle {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.phase-step-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
  background: rgba(45, 159, 255, 0.1);
  border: 1px solid rgba(45, 159, 255, 0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
}

/* ========================================================
   FORM GROUPS & FIELDS
   ======================================================== */

.form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 1.6rem 0 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.section-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.input-group {
  margin-bottom: 1.2rem;
}

label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.45rem;
}

label .label-tip {
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--text-muted);
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.82rem 1.05rem;
  color: var(--text-main);
  font-size: 0.92rem;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
  outline: none;
}

input[type="text"]:hover,
input[type="number"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
select:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(45, 159, 255, 0.2);
  background: rgba(10, 16, 32, 0.95);
}

/* Monospaced inputs for crypto data */
input.input-mono {
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

/* Chain detection badge */
.chain-badge {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
}

/* Dynamic Multi-Wallet Movement Cards */
.wallet-movement-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.35rem 1.4rem;
  margin-bottom: 1.1rem;
  position: relative;
  transition: all 0.2s ease;
}

.wallet-movement-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

.wallet-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.wallet-card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.btn-remove-wallet {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #fb7185;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.btn-remove-wallet:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #fff;
}

.multi-wallet-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 1.6rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
}

.btn-add-wallet {
  background: rgba(45, 159, 255, 0.1);
  border: 1px solid rgba(45, 159, 255, 0.3);
  color: #93c5fd;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-add-wallet:hover {
  background: rgba(45, 159, 255, 0.2);
  color: #fff;
  border-color: rgba(45, 159, 255, 0.5);
}

.aggregated-loss-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: #94a3b8;
}

.aggregated-loss-chip strong {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: #6ee7b7;
}

.wallet-count-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Primary Trust Blue Button */
.btn-primary {
  background: linear-gradient(135deg, #0500FF 0%, #2D9FFF 100%);
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
  filter: brightness(1.08);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Form warning & error alerts */
.warning-msg {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.error-msg {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(190, 18, 60, 0.1));
  border: 1.5px solid rgba(244, 63, 94, 0.5);
  color: #fecdd3;
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.15);
}

.input-error,
input.input-error,
select.input-error,
textarea.input-error {
  border-color: #f43f5e !important;
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.28) !important;
  animation: shakeField 0.35s ease-in-out;
}

@keyframes shakeField {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.email-dispatch-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(45, 159, 255, 0.08);
  border: 1px solid rgba(45, 159, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.email-dispatch-notice i {
  color: var(--accent-cyan);
  font-size: 1.25rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.email-dispatch-notice strong {
  color: #fff;
}

/* ========================================================
   RIGHT SIDEBAR: INTELLIGENCE PANELS
   ======================================================== */

.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.intel-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.intel-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.intel-card h3 i {
  color: var(--primary-light);
}

.tracking-widget {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 0.85rem;
}

.tracking-input-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.agency-link-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.95rem;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
  transition: all 0.15s;
  margin-bottom: 0.55rem;
}

.agency-link-pill:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: var(--bg-card-hover);
  transform: translateX(2px);
}

.agency-link-pill i {
  color: var(--primary-light);
}

/* ========================================================
   COMPACT RECOVERY SUMMARY STRIP
   ======================================================== */

.recovery-compact-strip {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.compact-strip-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2rem;
}

.compact-strip-header .badge-mini {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-emerald);
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.compact-strip-header h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.4rem;
}

.compact-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .compact-steps-grid {
    grid-template-columns: 1fr;
  }
}

.compact-step-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.compact-step-item.featured {
  border-color: rgba(45, 159, 255, 0.35);
  background: linear-gradient(180deg, rgba(45, 159, 255, 0.06) 0%, var(--bg-card) 100%);
}

.compact-step-num {
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.compact-step-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compact-step-item p {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.compact-strip-footer {
  text-align: center;
  margin-top: 1.5rem;
}

/* ========================================================
   MODALS
   ======================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none !important;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  display: flex !important;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: rgba(13, 19, 36, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-card.modal-lg {
  max-width: 800px;
}

/* ========================================================
   WIDESCREEN & FULLSCREEN CASE DOSSIER WORKSPACE (EXPANDABLE)
   ======================================================== */
/* Default / Small Screen Mode */
#caseDetailModal {
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#caseDetailModal:not(.is-fullscreen) {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
}

#caseDetailModal:not(.is-fullscreen) .modal-card.modal-lg {
  max-width: 820px !important;
  width: 90% !important;
  height: 84vh !important;
  max-height: 84vh !important;
  margin: auto !important;
  border-radius: var(--radius-lg) !important;
  border: 1.5px solid rgba(56, 189, 248, 0.35) !important;
  background: rgba(10, 16, 32, 0.98) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.85) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 1.4rem 1.6rem !important;
  resize: both !important;
  transform: none !important;
  transition: max-width 0.25s ease, width 0.25s ease, height 0.25s ease !important;
}

#caseDetailModal:not(.is-fullscreen) .case-inspector-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
}

/* Full Screen Expanded Mode */
#caseDetailModal.is-fullscreen {
  padding: 0 !important;
  margin: 0 !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: block !important;
}

#caseDetailModal.is-fullscreen .modal-card.modal-lg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  margin: 0 !important;
  border: none !important;
  resize: none !important;
  padding: 1.25rem 2.25rem !important;
  box-sizing: border-box !important;
  z-index: 999999 !important;
  transform: none !important;
  overflow-y: auto !important;
  background: rgba(8, 14, 28, 0.99) !important;
  transition: none !important;
}

#caseDetailModal.is-fullscreen .case-inspector-grid {
  display: grid !important;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1.25fr) !important;
  gap: 1.75rem !important;
  align-items: start !important;
}

.modal-size-btn {
  transition: all 0.2s ease;
  user-select: none;
}
.modal-size-btn:hover {
  background: rgba(56, 189, 248, 0.18) !important;
  color: #ffffff !important;
}

/* Responsive across all screen sizes & platforms */
@media (max-width: 992px) {
  #caseDetailModal.is-fullscreen .case-inspector-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  #caseDetailModal {
    padding: 0 !important;
  }
  #caseDetailModal .modal-card.modal-lg,
  #caseDetailModal:not(.is-fullscreen) .modal-card.modal-lg {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    padding: 1rem 0.85rem !important;
    margin: 0 !important;
    border: none !important;
    resize: none !important;
  }
  .modal-size-controls {
    display: none !important;
  }
  .modal-summary-box .summary-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.25rem !important;
    padding: 0.5rem 0 !important;
  }
  .modal-summary-box .summary-value {
    word-break: break-all !important;
    font-size: 0.8rem !important;
  }
}

.modal-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-classification-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.modal-close-icon {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s;
}

.modal-close-icon:hover {
  color: var(--text-main);
}

.modal-summary-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin: 1.1rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.86rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-label {
  color: var(--text-muted);
  font-weight: 500;
}

.summary-value {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
  max-width: 65%;
  word-break: break-all;
}

.report-id-badge {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1rem 0;
}

.report-id-badge span {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: #93c5fd;
}

.copy-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.copy-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* Email Dispatch Card in Modal */
.email-dispatch-card {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin: 1rem 0;
}

.email-dispatch-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.email-live-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #6ee7b7;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.email-live-badge i {
  font-size: 0.45rem;
}

/* Staged Recovery Activation Section */
.activation-section-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  margin: 1.2rem 0;
}

.activation-header {
  margin-bottom: 1rem;
}

.activation-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.activation-sub {
  font-size: 0.79rem;
  color: var(--text-muted);
}

.activation-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 680px) {
  .activation-cards-grid {
    grid-template-columns: 1fr;
  }
}

.activation-card {
  background: var(--bg-card-subtle);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.activation-card.active-card {
  border-color: var(--primary-light);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.09) 0%, var(--bg-card-subtle) 100%);
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary);
  color: #fff;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  position: absolute;
  top: -10px;
  right: 12px;
}

.act-plan-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.35rem;
}

.act-price {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #60a5fa;
  margin-bottom: 0.45rem;
}

.act-period {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.act-credit-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(45, 159, 255, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.65rem;
  width: fit-content;
}

.act-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.act-perks {
  list-style: none;
  font-size: 0.76rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
  margin-top: auto;
  padding-left: 0;
}

.act-perks li {
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.act-perks li i {
  color: var(--accent-emerald);
  font-size: 0.72rem;
}

.contingency-guarantee-note {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  color: #a7f3d0;
  line-height: 1.45;
  margin-top: 0.75rem;
}

.action-checklist {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin: 1.1rem 0;
}

.action-checklist h4 {
  font-size: 0.84rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-checklist ul {
  list-style: none;
}

.action-checklist li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 0.35rem 0;
  display: flex;
  gap: 0.55rem;
  line-height: 1.45;
}

.action-checklist li i {
  margin-top: 0.2rem;
}

/* ========================================================
   PROGRESS TRACKER & STEPPER
   ======================================================== */

.progress-bar-container {
  background: #090e18;
  border-radius: 9999px;
  height: 8px;
  overflow: hidden;
  margin: 1.2rem 0 0.6rem;
  border: 1px solid var(--border-subtle);
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent-emerald));
  border-radius: 9999px;
  transition: width 0.5s ease-out;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin: 1.5rem 0 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  width: 19%;
  text-align: center;
  transition: all 0.2s;
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #090e18;
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.progress-step.active {
  color: var(--primary-light);
}

.progress-step.active .step-circle {
  border-color: var(--primary-light);
  background: rgba(37, 99, 235, 0.2);
  color: #fff;
}

.progress-step.completed {
  color: var(--accent-emerald);
}

.progress-step.completed .step-circle {
  border-color: var(--accent-emerald);
  background: var(--accent-emerald);
  color: #06110a;
  font-weight: 700;
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-pending { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.status-approved { background: rgba(6, 182, 212, 0.12); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.3); }
.status-investigating { background: rgba(168, 85, 247, 0.12); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.status-recovering1 { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-recovering2 { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.status-recovered { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.4); }
.status-failed { background: rgba(244, 63, 94, 0.12); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.3); }

/* ========================================================
   ADMIN DASHBOARD LAYOUT & TABLES
   ======================================================== */

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.kpi-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-card);
}

.kpi-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.kpi-title {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.kpi-icon {
  color: var(--primary-light);
  font-size: 1.1rem;
}

.kpi-num {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.admin-table-wrapper {
  overflow: auto;
  max-height: 480px;
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: var(--bg-card-subtle);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 159, 255, 0.5) rgba(0, 0, 0, 0.4);
}

.admin-table-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}
.admin-table-wrapper::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
}
.admin-table-wrapper::-webkit-scrollbar-thumb {
  background: rgba(45, 159, 255, 0.5);
  border-radius: 5px;
}
.admin-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 245, 155, 0.7);
}

.admin-table {
  min-width: 1100px;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #080d1a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.admin-table th {
  background: #090e18;
  color: var(--text-secondary);
  font-weight: 600;
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  white-space: nowrap;
}

/* Sticky first column (Case Reference) */
.admin-table th:first-child,
.admin-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  background: #0b1224;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.45);
}
.admin-table thead th:first-child {
  z-index: 15;
  background: #080d1a !important;
}

/* Sticky last column (Actions) */
.admin-table th:last-child,
.admin-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 5;
  background: #0b1224;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.45);
  text-align: right;
}
.admin-table thead th:last-child {
  z-index: 15;
  background: #080d1a !important;
}

.admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}
.admin-table tr:hover td:first-child,
.admin-table tr:hover td:last-child {
  background: #0f1a33;
}

/* Treasury Cases Table Sticky & Scroll Styles */
#paymentsTableContainer {
  overflow: auto;
  max-height: 380px;
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 245, 155, 0.5) rgba(0, 0, 0, 0.4);
}
#paymentsTableContainer::-webkit-scrollbar {
  width: 8px;
  height: 10px;
}
#paymentsTableContainer::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4);
}
#paymentsTableContainer::-webkit-scrollbar-thumb {
  background: rgba(0, 245, 155, 0.5);
  border-radius: 5px;
}

.cases-table {
  min-width: 900px;
}
.cases-table thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #080d1a !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.cases-table th:first-child,
.cases-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  background: #0b1224;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.45);
}
.cases-table thead th:first-child {
  z-index: 15;
  background: #080d1a !important;
}
.cases-table th:last-child,
.cases-table td:last-child {
  position: sticky;
  right: 0;
  z-index: 5;
  background: #0b1224;
  box-shadow: -4px 0 10px rgba(0, 0, 0, 0.45);
}
.cases-table thead th:last-child {
  z-index: 15;
  background: #080d1a !important;
}

/* Quick Slide Navigation Toolbar Above Tables */
.table-scroll-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
  padding: 0.55rem 0.85rem;
}

.scroll-helper-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  color: #94a3b8;
  font-weight: 500;
}

.table-scroll-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.btn-slide-nav {
  background: rgba(45, 159, 255, 0.12);
  border: 1px solid rgba(45, 159, 255, 0.35);
  color: #93c5fd;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}
.btn-slide-nav:hover {
  background: rgba(45, 159, 255, 0.25);
  color: #fff;
  border-color: var(--primary-light);
}

.btn-slide-jump {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.72rem;
  padding: 0.3rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-slide-jump:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.table-scroll-controls-bar + .admin-table-wrapper,
.table-scroll-controls-bar + #paymentsTableContainer {
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}

.explorer-link {
  color: #38bdf8;
  text-decoration: none;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.explorer-link:hover {
  text-decoration: underline;
  color: #7dd3fc;
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  background: #05070d;
  padding: 2.5rem 1.5rem max(4.5rem, calc(env(safe-area-inset-bottom, 0px) + 4.5rem));
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  position: relative;
  z-index: 5;
}

footer a {
  color: var(--primary-light);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Discreet Compliance Desk Link */
.compliance-portal-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.2s;
}

.compliance-portal-link:hover {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(37, 99, 235, 0.08);
}

/* Admin Login Screen Overlay */
.admin-login-wrapper {
  max-width: 440px;
  margin: 4rem auto;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2.2rem;
  box-shadow: var(--shadow-elevated);
  text-align: center;
}

.admin-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}

.admin-login-icon {
  width: 54px;
  height: 54px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.5rem;
  color: var(--primary-light);
}

/* Floating Email Toast */
.email-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0f172a;
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #fff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 99999;
  font-size: 0.85rem;
  animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes toastSlideIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
/* ========================================================
   CLIENT ADVISORY & POPUP SYSTEM (ADMIN MANAGED)
   ======================================================== */

/* Tag badges */
.alert-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

.alert-tag-badge.severity-urgent {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fb7185;
}

.alert-tag-badge.severity-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fbbf24;
}

.alert-tag-badge.severity-info {
  background: rgba(45, 159, 255, 0.15);
  border: 1px solid rgba(45, 159, 255, 0.45);
  color: #93c5fd;
}

.alert-tag-badge.severity-success {
  background: rgba(0, 245, 155, 0.15);
  border: 1px solid rgba(0, 245, 155, 0.45);
  color: #6ee7b7;
}

/* Copyable Address Box */
.copyable-address-box {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.copyable-address-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.25rem;
}

.copyable-address-value {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #38bdf8;
  word-break: break-all;
}

.copy-address-btn {
  background: rgba(45, 159, 255, 0.15);
  border: 1px solid rgba(45, 159, 255, 0.4);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.copy-address-btn:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

/* Client Alert Email Delivery Notice */
.client-alert-email-notice {
  background: rgba(45, 159, 255, 0.08);
  border: 1px solid rgba(45, 159, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  color: #93c5fd;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Pinned Alert Banner inside Tracker */
.client-pinned-alert-banner {
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.client-pinned-alert-banner.severity-urgent {
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fecdd3;
}

.client-pinned-alert-banner.severity-warning {
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fef3c7;
}

.client-pinned-alert-banner.severity-info {
  background: rgba(45, 159, 255, 0.08);
  border: 1px solid rgba(45, 159, 255, 0.3);
  color: #dbeafe;
}

.client-pinned-alert-banner.severity-success {
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.3);
  color: #d1fae5;
}

/* Admin Alert Manager in detail modal */
.admin-alert-manager-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  margin: 1.4rem 0;
}

.admin-alert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.admin-alert-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Range Slider Styling for Desk Inspector */
input[type="range"]#progressPercentSlider {
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  height: 8px;
  outline: none;
  cursor: pointer;
}

input[type="range"]#progressPercentSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00f59b;
  border: 2px solid #040812;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 245, 155, 0.6);
  transition: transform 0.15s ease;
}

input[type="range"]#progressPercentSlider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

input[type="range"]#progressPercentSlider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #00f59b;
  border: 2px solid #040812;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0, 245, 155, 0.6);
}

/* Smart Queue Filter Tabs */
.smart-tab-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.75rem;
  margin-bottom: 1.1rem;
  scrollbar-width: thin;
}

.smart-tab-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s ease;
}

.smart-tab-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.smart-tab-item.active {
  background: rgba(45, 159, 255, 0.15);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 0 12px rgba(45, 159, 255, 0.2);
}

.tab-badge {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
}

.smart-tab-item.active .tab-badge {
  background: var(--primary);
  color: #fff;
}

.tab-badge.badge-danger {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

/* SLA Timers */
.sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.sla-fresh {
  background: rgba(0, 245, 155, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(0, 245, 155, 0.3);
}

.sla-warning {
  background: rgba(245, 158, 11, 0.12);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.sla-overdue {
  background: rgba(244, 63, 94, 0.16);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.4);
  animation: pulseOverdue 2s infinite ease-in-out;
}

@keyframes pulseOverdue {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* Mini copy & explorer button suite */
.wallet-actions-suite {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
}

.mini-tool-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  font-size: 0.68rem;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s ease;
}

.mini-tool-btn:hover {
  background: rgba(45, 159, 255, 0.2);
  color: #fff;
  border-color: var(--primary-light);
}

.mini-tool-btn.arkham:hover {
  background: rgba(245, 158, 11, 0.25);
  color: #fde68a;
  border-color: #f59e0b;
}


/* ========================================================
   SEAMLESS CINEMATIC PAGE TRANSITIONS (Smooth Fade & Glide)
   ======================================================== */
html {
  background: #040812;
  color: #f8fafc;
}

body {
  overflow-x: hidden;
  background: #040812;
  color: #f8fafc;
}

/* ========================================================
   STREAMLINED UNCLUTTERED INTAKE WITH INTEGRATED CHAINEXPLORER
   ======================================================== */
.smart-intake-hero-box {
  background: linear-gradient(135deg, rgba(11, 18, 36, 0.72), rgba(7, 12, 26, 0.8));
  border: 1.5px solid rgba(0, 245, 155, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.8rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 245, 155, 0.08);
}

.smart-intake-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.6rem;
}

.smart-intake-hero-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.smart-intake-hero-box p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.smart-tx-input-row {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}

@media (max-width: 640px) {
  .smart-tx-input-row {
    flex-direction: column;
  }
}

.smart-tx-field-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.smart-input-icon {
  position: absolute;
  left: 1.1rem;
  color: var(--accent-cyan);
  font-size: 1.05rem;
  pointer-events: none;
}

.smart-tx-input {
  width: 100%;
  background: #040812;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.95rem 1rem 0.95rem 2.8rem;
  font-family: var(--font-mono);
  font-size: 0.92rem;
  color: #fff;
  transition: all 0.2s ease;
}

.smart-tx-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 155, 0.25);
  outline: none;
}

.smart-inspect-btn {
  white-space: nowrap;
  padding: 0 1.6rem;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.smart-samples-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.smart-sample-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-right: 0.2rem;
}

.sample-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.sample-chip:hover {
  background: rgba(0, 245, 155, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* Verified On-Chain Card */
.verified-tx-card {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(6, 182, 212, 0.03));
  border: 1.5px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  animation: slideDownFade 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDownFade {
  0% { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.verified-tx-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1rem;
}

.verified-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

.verified-timestamp {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.verified-tx-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.verified-summary-col {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
}

.v-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.v-val-large {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

.v-val-mono {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}

.v-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.verified-confirm-bar {
  background: rgba(45, 159, 255, 0.08);
  border: 1px solid rgba(45, 159, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.82rem;
  color: #dbeafe;
}

/* Detected Holding Platform Banner */
.verified-platform-banner {
  background: linear-gradient(135deg, rgba(45, 159, 255, 0.12), rgba(5, 0, 255, 0.08));
  border: 1.5px solid rgba(45, 159, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.platform-detect-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(45, 159, 255, 0.2);
  border: 1px solid rgba(45, 159, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.platform-detect-info {
  flex: 1;
  min-width: 240px;
}

.platform-detect-title {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 0.2rem;
}

.platform-detect-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
}

.platform-detect-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.4;
}

.platform-feasibility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(0, 245, 155, 0.15);
  border: 1px solid rgba(0, 245, 155, 0.4);
  color: var(--accent-green);
}

.feasibility-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}



/* --- Restitution Address Safety Validator --- */
.restitution-safety-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.restitution-safety-badge.safety-valid {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #a7f3d0;
}

.restitution-safety-badge.safety-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
}

.restitution-safety-badge.safety-danger {
  background: rgba(244, 63, 94, 0.14);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fecdd3;
}

/* --- Notification Preferences Selector --- */
.notification-prefs-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
  margin-top: 0.9rem;
}

.notification-channels-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.notification-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  font-size: 0.8rem;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.notification-chip input[type="checkbox"] {
  cursor: pointer;
  accent-color: var(--accent-cyan);
}

.notification-chip:hover {
  border-color: rgba(0, 245, 155, 0.4);
  color: #fff;
}

.notification-chip.active {
  background: rgba(0, 245, 155, 0.12);
  border-color: var(--accent-cyan);
  color: #fff;
}

/* --- In-Form ChainExplorer Auto-Lookup Assistant --- */
.tx-hash-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.4rem;
}

.btn-inspect-tx {
  background: rgba(45, 159, 255, 0.12);
  border: 1px solid rgba(45, 159, 255, 0.35);
  color: #93c5fd;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s;
}

.btn-inspect-tx:hover {
  background: rgba(45, 159, 255, 0.22);
  border-color: #60a5fa;
  color: #fff;
}

.tx-inspection-result-card {
  margin-top: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  line-height: 1.5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.tx-inspection-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tx-inspection-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  margin: 0.5rem 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

/* --- Printable Official Case Card Modal --- */
.case-card-modal-content {
  background: #070b14;
  border: 1px solid rgba(0, 245, 155, 0.3);
  border-radius: 16px;
  padding: 2.2rem;
  max-width: 650px;
  width: 90%;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 245, 155, 0.1);
  position: relative;
}

.official-case-card {
  background: linear-gradient(145deg, #0d1527, #060913);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 0 20px rgba(0, 245, 155, 0.05);
}

.official-case-card::before {
  content: "OFFICIAL FORENSIC RECORD";
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-25deg);
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  font-family: var(--font-mono);
}

.case-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}

.case-card-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.case-card-brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0500FF, #00F59B);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
}

.case-card-qr-box {
  background: #fff;
  padding: 6px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.case-card-qr-img {
  width: 80px;
  height: 80px;
  display: block;
}

.case-card-id-highlight {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
  text-shadow: 0 0 10px rgba(0, 245, 155, 0.3);
  margin-bottom: 0.35rem;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.case-card-field-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.case-card-field-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  word-break: break-all;
}

.case-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.9rem;
  font-size: 0.76rem;
  color: #94a3b8;
}

/* --- Partners Grid & Page Styling --- */
.partners-section {
  padding: 3rem 0;
}

.partner-category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-category-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.4rem;
}

.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.partner-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-emerald));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 159, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(45, 159, 255, 0.1);
}

.partner-card:hover::after {
  opacity: 1;
}

.partner-top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.partner-logo-pill {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.partner-badge-tier {
  font-size: 0.68rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.55rem;
  border-radius: 9999px;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.3);
  color: var(--accent-cyan);
}

.partner-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.partner-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.partner-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.partner-tag {
  font-size: 0.72rem;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

/* --- Dedicated ChainExplorer UI --- */
.explorer-search-card {
  background: var(--bg-card);
  border: 1.5px solid rgba(0, 245, 155, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  margin: 2rem 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.explorer-input-wrapper {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.explorer-input {
  flex: 1;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.2s;
}

.explorer-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 155, 0.25);
  outline: none;
}

.explorer-result-container {
  margin-top: 2rem;
}

.explorer-tx-dossier {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.tx-header-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.5rem;
}

.tx-status-confirmed {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
}

.tx-timestamp-pill {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
}

.tx-key-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.tx-metric-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.tx-metric-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.tx-metric-val {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.tx-flow-board {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  margin-bottom: 1.8rem;
}

.tx-flow-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (max-width: 768px) {
  .tx-flow-grid {
    flex-direction: column;
    align-items: stretch;
  }
}

.tx-flow-node-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.tx-flow-arrow-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.4rem;
  padding: 0 0.5rem;
}

/* --- Print Stylesheet for Official Case Card --- */
@media print {
  body * {
    visibility: hidden;
  }
  .case-card-printable-area, .case-card-printable-area * {
    visibility: visible;
  }
  .case-card-printable-area {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    margin: 0;
    padding: 20px;
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
  }
  .official-case-card {
    background: #fff !important;
    color: #000 !important;
    border: 2px solid #000 !important;
    box-shadow: none !important;
  }
  .official-case-card * {
    color: #000 !important;
  }
  .case-card-id-highlight {
    color: #000 !important;
    text-shadow: none !important;
  }
  .no-print {
    display: none !important;
  }
}

/* ========================================================
   FINAL TRUST & INSTITUTIONAL VERIFICATION ASSURANCE
   ======================================================== */
.final-trust-assurance-section {
  margin: 3.5rem 0 2rem;
}

.final-trust-card {
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.95), rgba(6, 9, 19, 0.98));
  border: 1.5px solid rgba(0, 245, 155, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.8rem;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 35px rgba(0, 245, 155, 0.08);
  position: relative;
  overflow: hidden;
}

.final-trust-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0500FF, #00F59B, #2D9FFF);
}

.final-trust-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.final-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 0.8rem;
}

.final-trust-header h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
}

.final-trust-header p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.final-trust-pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-bottom: 2.5rem;
}

.final-trust-pillar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.final-trust-pillar:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 159, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(45, 159, 255, 0.12);
  border: 1px solid rgba(45, 159, 255, 0.3);
  color: #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.final-trust-pillar h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.final-trust-pillar p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex: 1;
}

.pillar-seal {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.final-trust-seal-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 1.4rem;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
}

.seal-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
}

.seal-item i {
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

/* ========================================================
   DUAL INTAKE MODE SWITCHER (Automatic vs Manual)
   ======================================================== */
.intake-mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 640px) {
  .intake-mode-switcher {
    grid-template-columns: 1fr;
  }
}

.intake-tab-btn {
  background: rgba(13, 21, 39, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.intake-tab-btn:hover {
  background: rgba(13, 21, 39, 0.95);
  border-color: rgba(45, 159, 255, 0.35);
  transform: translateY(-1px);
}

.intake-tab-btn.active {
  background: linear-gradient(135deg, rgba(45, 159, 255, 0.15), rgba(5, 0, 255, 0.08));
  border-color: var(--primary-light);
  box-shadow: 0 4px 20px rgba(5, 0, 255, 0.25), 0 0 15px rgba(45, 159, 255, 0.15);
}

.intake-tab-btn i {
  font-size: 1.35rem;
  color: #94a3b8;
  transition: color 0.2s;
  flex-shrink: 0;
}

.intake-tab-btn.active i {
  color: var(--accent-cyan);
}

.tab-btn-text {
  flex: 1;
}

.tab-btn-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.2rem;
}

.tab-btn-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.tab-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  background: rgba(0, 245, 155, 0.15);
  border: 1px solid rgba(0, 245, 155, 0.35);
  color: var(--accent-green);
  white-space: nowrap;
}

/* ========================================================
   MULTI-TRANSACTION HASH INPUTS & DYNAMIC FEE BAR
   ======================================================== */
.multi-tx-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}

.tx-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fadeInTx 0.25s ease;
}

@keyframes fadeInTx {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.tx-index-chip {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.25);
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.btn-remove-tx {
  background: rgba(244, 63, 94, 0.1);
  border: 1px solid rgba(244, 63, 94, 0.3);
  color: #fb7185;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-remove-tx:hover {
  background: rgba(244, 63, 94, 0.25);
  color: #fff;
}

.multi-tx-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.4rem;
  padding-top: 0.8rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.btn-add-tx {
  background: rgba(45, 159, 255, 0.1);
  border: 1px solid rgba(45, 159, 255, 0.3);
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-add-tx:hover {
  background: rgba(45, 159, 255, 0.2);
  color: #fff;
  border-color: var(--primary-light);
}

.fee-calc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

/* ========================================================
   REDACTED / TEASER FORENSIC RESULT STYLING
   ======================================================== */
.redacted-locked-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px dashed rgba(244, 63, 94, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.compact-scrollable-teaser {
  max-height: 190px;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(45, 159, 255, 0.45) rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: max-height 0.35s ease;
}

.compact-scrollable-teaser::-webkit-scrollbar {
  width: 6px;
}
.compact-scrollable-teaser::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}
.compact-scrollable-teaser::-webkit-scrollbar-thumb {
  background: rgba(45, 159, 255, 0.45);
  border-radius: 4px;
}

.compact-scrollable-teaser.unlocked,
.redacted-locked-box.unlocked .compact-scrollable-teaser {
  max-height: none !important;
  overflow-y: visible !important;
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
}

.redacted-locked-box.unlocked {
  border: 1.5px solid rgba(0, 245, 155, 0.45);
  background: rgba(0, 245, 155, 0.05);
}

.redacted-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.redacted-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fb7185;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.redacted-locked-box.unlocked .redacted-title {
  color: var(--accent-green);
}

.redacted-content {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
  color: #94a3b8;
  filter: blur(8px);
  -webkit-filter: blur(8px);
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  opacity: 0.38;
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.redacted-locked-box.unlocked .redacted-content {
  filter: none !important;
  -webkit-filter: none !important;
  user-select: text !important;
  -webkit-user-select: text !important;
  pointer-events: auto !important;
  color: #e2e8f0 !important;
  opacity: 1 !important;
}

.redacted-trigger-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0.9rem;
  margin: 0.75rem -1rem -0.9rem -1rem;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.redacted-trigger-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #cbd5e1;
  font-weight: 500;
}

.btn-view-more {
  background: linear-gradient(135deg, #00F59B, #00c77d);
  color: #040812;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s;
  box-shadow: 0 3px 12px rgba(0, 245, 155, 0.3);
}

.btn-view-more:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 5px 18px rgba(0, 245, 155, 0.45);
}

.redacted-locked-box.unlocked .redacted-trigger-bar {
  display: none !important;
}

/* 5-Section Forensic Dossier Components */
.dossier-sec-block {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  margin-bottom: 0.9rem;
}

.dossier-sec-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 0.4rem;
}

.forensic-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
  margin: 0.5rem 0;
}

.forensic-table th,
.forensic-table td {
  padding: 0.5rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.forensic-table th {
  background: rgba(255, 255, 255, 0.04);
  color: #94a3b8;
  font-weight: 700;
}

.subpoena-notice-box {
  background: #030712;
  border: 1px solid rgba(45, 159, 255, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #cbd5e1;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-all;
  margin-top: 0.6rem;
}

.examiner-seal-stamp {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
  background: rgba(0, 245, 155, 0.05);
  border: 1px solid rgba(0, 245, 155, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-top: 0.6rem;
  font-size: 0.74rem;
}

.redacted-blur-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(13, 21, 39, 0.75);
  backdrop-filter: blur(1.5px);
  gap: 0.5rem;
  transition: opacity 0.3s ease;
}

.redacted-locked-box.unlocked .redacted-blur-overlay {
  display: none;
}

/* Call to Action Unlock Box */
.unlock-cta-card {
  background: linear-gradient(135deg, rgba(5, 0, 255, 0.2), rgba(0, 245, 155, 0.12));
  border: 1.5px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.4rem;
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(0, 245, 155, 0.15);
}

.unlock-cta-info {
  flex: 1;
  min-width: 260px;
}

.unlock-cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(0, 245, 155, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  margin-bottom: 0.4rem;
}

.unlock-cta-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.unlock-cta-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.unlock-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

@media (max-width: 640px) {
  .unlock-cta-actions {
    width: 100%;
    align-items: stretch;
  }
}

.btn-unlock-pdf {
  background: linear-gradient(135deg, #00F59B, #00c77d);
  color: #040812;
  font-size: 0.96rem;
  font-weight: 800;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 18px rgba(0, 245, 155, 0.35);
  transition: all 0.25s;
}

.btn-unlock-pdf:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 245, 155, 0.5);
  filter: brightness(1.08);
}

/* Post-Unlock Action Buttons */
.post-unlock-actions-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.btn-download-pdf {
  background: linear-gradient(135deg, #2D9FFF, #0500FF);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 4px 18px rgba(5, 0, 255, 0.35);
  transition: all 0.2s;
}

.btn-download-pdf:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
}

.btn-continue-recovery {
  background: rgba(0, 245, 155, 0.15);
  border: 1.5px solid var(--accent-green);
  color: var(--accent-green);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s;
}

.btn-continue-recovery:hover {
  background: var(--accent-green);
  color: #040812;
  transform: translateY(-2px);
}

/* ========================================================
   $10/TX PAYMENT MODAL DIALOG
   ======================================================== */
.pay-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 18, 0.88);
  backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pay-modal-card {
  background: linear-gradient(135deg, #0d1527, #070b16);
  border: 1.5px solid rgba(45, 159, 255, 0.35);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 35px rgba(45, 159, 255, 0.15);
  overflow: hidden;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from { transform: scale(0.95) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

.pay-modal-header {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pay-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pay-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.pay-modal-close:hover {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
}

.pay-modal-body {
  padding: 1.4rem;
}

.pay-summary-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pay-summary-total {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-green);
}

.crypto-tabs-row {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.crypto-tab-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.crypto-tab-chip:hover {
  border-color: var(--primary-light);
  color: #fff;
}

.crypto-tab-chip.active {
  background: rgba(0, 245, 155, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
}

.crypto-pay-display {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.2rem;
}

.crypto-addr-mono {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #93c5fd;
  word-break: break-all;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  margin: 0.8rem 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-confirm-simulated-pay {
  width: 100%;
  background: linear-gradient(135deg, #00F59B, #00c77d);
  color: #040812;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 18px rgba(0, 245, 155, 0.35);
  transition: all 0.2s;
}

.btn-confirm-simulated-pay:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ========================================================
   HIGH-URGENCY FORENSIC ALERT & PSYCHOLOGICAL TRIGGERS
   ======================================================== */
.urgency-freeze-alert {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(185, 28, 28, 0.05));
  border: 1.5px solid rgba(239, 68, 68, 0.45);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.15);
  animation: pulseAlert 2.5s infinite;
}

@keyframes pulseAlert {
  0%, 100% { border-color: rgba(239, 68, 68, 0.45); }
  50% { border-color: rgba(239, 68, 68, 0.85); box-shadow: 0 0 25px rgba(239, 68, 68, 0.25); }
}

.urgency-alert-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.urgency-alert-content {
  flex: 1;
}

.urgency-alert-title {
  font-size: 0.96rem;
  font-weight: 800;
  color: #f87171;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.25rem;
}

.urgency-alert-desc {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.liquidation-meter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.risk-meter-bar-container {
  flex: 1;
  min-width: 180px;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  overflow: hidden;
  margin: 0 0.8rem;
}

.risk-meter-fill {
  height: 100%;
  width: 92%;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  border-radius: 9999px;
}

/* ========================================================
   DUAL PATHWAY DECISION CARDS (Pay $10 PDF vs Continue Recovery)
   ======================================================== */
.decision-pathways-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.3rem;
  margin-bottom: 1rem;
}

@media (max-width: 680px) {
  .decision-pathways-grid {
    grid-template-columns: 1fr;
  }
}

.pathway-card {
  border-radius: var(--radius-md);
  padding: 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pathway-card-highlight {
  background: linear-gradient(135deg, rgba(5, 0, 255, 0.2), rgba(0, 245, 155, 0.12));
  border: 1.5px solid var(--accent-cyan);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 245, 155, 0.15);
}

.pathway-card-highlight:hover {
  transform: translateY(-2px);
  border-color: #00F59B;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 245, 155, 0.25);
}

.pathway-card-secondary {
  background: rgba(13, 21, 39, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}

.pathway-card-secondary:hover {
  background: rgba(13, 21, 39, 0.95);
  border-color: rgba(45, 159, 255, 0.4);
  transform: translateY(-2px);
}

.pathway-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.pathway-badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.pathway-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.35;
}

.pathway-desc {
  font-size: 0.78rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 1.1rem;
  flex: 1;
}

.btn-pathway-primary {
  width: 100%;
  background: linear-gradient(135deg, #00F59B, #00c77d);
  color: #040812;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 18px rgba(0, 245, 155, 0.35);
  transition: all 0.2s;
}

.btn-pathway-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-pathway-secondary {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-pathway-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

/* ========================================================
   DEEP FORENSIC DOSSIER LOCKED POPUP MODAL
   ======================================================== */
.dossier-locked-modal-card {
  max-width: 680px;
  width: 100%;
  background: linear-gradient(135deg, #0d1527, #070b16);
  border: 1.5px solid rgba(45, 159, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(5, 0, 255, 0.2);
}

.modal-lock-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid rgba(244, 63, 94, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fb7185;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.modal-lock-badge {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fb7185;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.15rem;
}

.dossier-modal-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.dossier-modal-lead {
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.dossier-modal-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .dossier-modal-options-grid {
    grid-template-columns: 1fr;
  }
}

.dossier-option-card {
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dossier-option-pay {
  background: linear-gradient(135deg, rgba(0, 245, 155, 0.08), rgba(5, 0, 255, 0.12));
  border: 1.5px solid rgba(0, 245, 155, 0.4);
  box-shadow: 0 4px 20px rgba(0, 245, 155, 0.1);
}

.dossier-option-recovery {
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.dossier-opt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.badge-fasttrack {
  background: rgba(0, 245, 155, 0.18);
  border: 1px solid rgba(0, 245, 155, 0.4);
  color: var(--accent-green);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.badge-recovery {
  background: rgba(45, 159, 255, 0.15);
  border: 1px solid rgba(45, 159, 255, 0.35);
  color: #93c5fd;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
}

.dossier-opt-price {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-green);
}

.dossier-opt-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.dossier-opt-desc {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 0.75rem;
}

.dossier-opt-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #cbd5e1;
}

.dossier-opt-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.dossier-opt-list li i {
  color: var(--accent-cyan);
  margin-top: 0.15rem;
  font-size: 0.68rem;
}

.btn-dossier-pay {
  width: 100%;
  background: linear-gradient(135deg, #00F59B, #00c77d);
  color: #040812;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 3px 14px rgba(0, 245, 155, 0.35);
  transition: all 0.2s;
}

.btn-dossier-pay:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-dossier-continue {
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.2s;
}

.btn-dossier-continue:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

/* ========================================================
   PROOF UPLOAD & ADMIN VERIFICATION STATES
   ======================================================== */
.proof-upload-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1.5px dashed rgba(45, 159, 255, 0.35);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-top: 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.proof-upload-box:hover {
  border-color: var(--accent-cyan);
  background: rgba(45, 159, 255, 0.05);
}

.receipt-preview-thumb {
  max-height: 120px;
  max-width: 100%;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 0.6rem;
  object-fit: contain;
}

.waiting-approval-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(217, 119, 6, 0.05));
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  border-radius: var(--radius-md);
  padding: 1.3rem;
  margin-top: 1rem;
  animation: pulseApproval 2.5s infinite;
}

@keyframes pulseApproval {
  0%, 100% { border-color: rgba(245, 158, 11, 0.45); }
  50% { border-color: rgba(245, 158, 11, 0.85); box-shadow: 0 0 25px rgba(245, 158, 11, 0.2); }
}

.waiting-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.waiting-officer-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fcd34d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
}

/* ========================================================
   OFFICIAL PRINT / PDF FORENSIC REPORT STYLES
   ======================================================== */
@media print {
  body {
    background: #ffffff !important;
    color: #111827 !important;
    font-size: 11pt !important;
  }

  .site-header,
  .hero-banner,
  .partner-ticker-wrap,
  .intake-mode-switcher,
  .smart-intake-hero-box,
  .smart-samples-row,
  .multi-tx-controls,
  .unlock-cta-card,
  .post-unlock-actions-row,
  .pay-modal-backdrop,
  .sidebar-col,
  .site-footer,
  #advancedWalletDetails,
  .restitution-safety-badge,
  .btn-primary,
  .btn-secondary,
  .btn-add-wallet,
  .btn-unlock-pdf,
  .btn-download-pdf,
  .btn-continue-recovery {
    display: none !important;
  }

  .workbench-grid {
    display: block !important;
  }

  .portal-card {
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .verified-tx-card {
    border: 2px solid #000000 !important;
    background: #f8fafc !important;
    color: #000000 !important;
    page-break-inside: avoid;
    box-shadow: none !important;
  }

  .verified-platform-banner {
    border: 1.5px solid #2563eb !important;
    background: #eff6ff !important;
    color: #000000 !important;
  }

  .platform-detect-name,
  .v-val-large,
  .v-val-mono,
  .v-label {
    color: #000000 !important;
  }

  .redacted-locked-box {
    border: 1.5px solid #16a34a !important;
    background: #f0fdf4 !important;
  }

  .redacted-content {
    filter: none !important;
    color: #0f172a !important;
  }

  .redacted-blur-overlay {
    display: none !important;
  }
}

/* ========================================================
   UNIVERSAL MOBILE RESPONSIVENESS SYSTEM (ALL PLATFORMS)
   Supports: iPhone SE, Pro Max, iPad, Android, Foldables
   ======================================================== */

/* Prevent horizontal overflow on any device */
html {
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  max-width: 100vw;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

/* Prevent iOS Safari auto-zoom when tapping inputs on mobile */
@media (max-width: 768px) {
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* Mobile Hamburger Toggle */
.mobile-nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px 8px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 10005;
  outline: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  background: rgba(45, 159, 255, 0.15);
  border-color: rgba(45, 159, 255, 0.4);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  pointer-events: none;
}

/* Morph to X when active */
.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--accent-cyan);
}
.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--accent-cyan);
}

/* Tablet & Mobile Breakpoint: 991px and down */
@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: flex;
  }

  .navbar {
    padding: 0.65rem 0.85rem;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
  }

  .logo-area {
    min-width: 0;
    flex-shrink: 1;
    gap: 0.55rem;
  }

  .brand-logo-img {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
  }

  .logo-title {
    font-size: 1.05rem;
    white-space: nowrap;
  }

  .logo-sub {
    display: none !important;
  }

  .header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
  }

  .header-actions .nav-track-btn,
  .header-actions .nav-utility-link {
    display: none;
  }

  .lang-selector-select {
    padding: 0.35rem 0.5rem;
    font-size: 0.74rem;
    max-width: 92px;
    flex-shrink: 0;
  }

  /* Full-bleed Mobile Nav Drawer */
  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    width: 100vw;
    background: rgba(6, 11, 24, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid rgba(0, 245, 155, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1rem 3.5rem;
    gap: 0.65rem;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    z-index: 9999;
    max-height: calc(100vh - 56px);
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-radius: 0;
    box-sizing: border-box;
  }

  .nav-links.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 0.95rem;
    min-height: 46px;
    padding: 0.8rem 1.15rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    text-decoration: none;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
  }

  .nav-link:hover,
  .nav-link:active {
    background: rgba(45, 159, 255, 0.15);
    border-color: rgba(45, 159, 255, 0.35);
    color: #ffffff;
  }

  .nav-link.active {
    background: linear-gradient(135deg, rgba(45, 159, 255, 0.25) 0%, rgba(0, 245, 155, 0.15) 100%);
    border-color: rgba(0, 245, 155, 0.4);
    color: #fff;
    font-weight: 700;
  }

  .mobile-only-spin {
    background: rgba(0, 245, 155, 0.08) !important;
    border: 1px solid rgba(0, 245, 155, 0.25) !important;
    color: var(--accent-cyan) !important;
    font-weight: 600;
    cursor: pointer;
  }
}

/* Background scroll lock & iOS Safari containing block fix */
body.nav-drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

body.nav-drawer-open .header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(6, 11, 24, 0.99) !important;
  z-index: 10000 !important;
}

/* Small Smartphone Breakpoint: 680px and down */
@media (max-width: 680px) {
  .container {
    padding: 1rem 0.85rem 3.5rem;
  }

  .logo-area {
    gap: 0.55rem;
  }

  .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  .logo-title {
    font-size: 1rem;
  }

  .logo-sub {
    display: none !important;
  }

  .hero-banner {
    padding: 1rem 0 1.2rem;
    gap: 1.5rem;
  }

  .hero-main-title {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 0.75rem;
  }

  .hero-subtext {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .supported-tokens-strip {
    margin-top: 1.2rem;
    padding-top: 1rem;
  }

  .token-pill {
    padding: 0.25rem 0.55rem;
    font-size: 0.74rem;
  }

  .hero-trust-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  .workbench-grid {
    gap: 1.5rem;
  }

  .portal-card {
    padding: 1.25rem 1rem;
    border-radius: var(--radius-lg);
  }

  .card-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
  }

  .smart-intake-hero-box {
    padding: 1.25rem 1rem;
  }

  .smart-tx-input-row {
    flex-direction: column;
    gap: 0.65rem;
  }

  .smart-inspect-btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1rem;
    height: 46px;
  }

  .smart-samples-row {
    gap: 0.35rem;
  }

  .sample-chip {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
  }

  .compliance-trust-bar {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .compliance-badges-row {
    justify-content: flex-start;
  }

  .partner-badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.72rem;
  }

  /* Modals on mobile */
  .modal-card {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    margin: 10px !important;
    padding: 1.25rem 1rem !important;
    max-height: 92vh !important;
  }

  .case-card-modal-content {
    width: calc(100% - 20px) !important;
    max-width: 100% !important;
    padding: 1.2rem 0.9rem !important;
  }

  .official-case-card {
    padding: 1.1rem 0.85rem !important;
  }

  .case-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .case-card-qr-box {
    align-self: center;
    margin: 0.4rem auto;
  }

  .case-card-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
  }

  .case-card-id-highlight {
    font-size: 1.2rem !important;
    word-break: break-all;
  }

  /* ChainExplorer on mobile */
  .tx-inspection-flow {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 0.75rem;
  }

  .flow-arrow i {
    transform: rotate(90deg);
  }

  .tx-key-metrics-grid {
    grid-template-columns: 1fr !important;
    gap: 0.85rem;
  }

  .verified-tx-summary-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
  }

  .partners-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .partner-card {
    padding: 1.2rem 1rem;
  }

  /* Secret Cosmic Gem safe areas on mobile */
  .cosmic-gem {
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem)) !important;
    left: max(0.85rem, env(safe-area-inset-left, 0.85rem)) !important;
  }

  .cosmic-secret-toast {
    bottom: max(3.5rem, calc(env(safe-area-inset-bottom, 1rem) + 2.5rem)) !important;
    left: max(0.85rem, env(safe-area-inset-left, 0.85rem)) !important;
    font-size: 0.68rem !important;
    padding: 4px 10px !important;
  }

  /* Table horizontal touch scroll */
  .admin-table-wrapper,
  #paymentsTableContainer {
    -webkit-overflow-scrolling: touch;
  }

  .table-scroll-controls-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* Hero Header Top Mobile Enhancements */
  .hero-header-top {
    padding: 0.25rem 0.4rem 0 !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-header-top .hero-main-title {
    font-size: clamp(1.65rem, 6.2vw, 2.15rem) !important;
    line-height: 1.22 !important;
    margin-bottom: 0.55rem !important;
  }

  .hero-header-top .hero-subtext {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  /* Urgent Phishing Containment Mobile Layout */
  .urgent-containment-box {
    padding: 0.85rem 0.95rem !important;
    gap: 0.75rem !important;
  }

  .urgent-containment-box a {
    width: 100%;
    justify-content: center;
    min-height: 44px;
    font-size: 0.84rem !important;
  }

  /* Touch-friendly checkbox label */
  .checkbox-label {
    min-height: 44px;
    padding: 0.35rem 0;
  }
  .checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* Tx Input Row on Mobile */
  .tx-input-row {
    gap: 0.45rem;
  }
}

/* Very Small Screen (iPhone SE, Galaxy Fold 320px - 380px) */
@media (max-width: 380px) {
  .navbar {
    padding: 0.5rem 0.65rem;
  }

  .logo-title {
    font-size: 0.92rem;
  }

  .brand-logo-img {
    width: 28px;
    height: 28px;
  }

  .lang-selector-select {
    max-width: 80px;
    padding: 0.3rem 0.35rem;
    font-size: 0.7rem;
  }

  .mobile-nav-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 8px 7px;
  }

  .hero-header-top .hero-main-title,
  .hero-main-title {
    font-size: 1.5rem !important;
  }

  .portal-card {
    padding: 1rem 0.75rem;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 0.84rem;
    padding: 0.65rem 1rem;
    min-height: 44px;
  }

  .tx-index-chip {
    font-size: 0.65rem;
    padding: 0.25rem 0.4rem;
  }
}

.mobile-only-track {
  display: none;
}
@media (max-width: 991px) {
  .mobile-only-track {
    display: flex !important;
    background: rgba(0, 245, 155, 0.12) !important;
    border-color: rgba(0, 245, 155, 0.3) !important;
    color: var(--accent-cyan) !important;
    font-weight: 700;
  }
}

.mobile-only-spin {
  display: none;
}
@media (max-width: 991px) {
  .mobile-only-spin {
    display: flex !important;
    background: rgba(45, 159, 255, 0.12) !important;
    border: 1px solid rgba(45, 159, 255, 0.3) !important;
    color: #93c5fd !important;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
  }
  .mobile-only-spin:hover {
    background: rgba(0, 245, 155, 0.2) !important;
    border-color: rgba(0, 245, 155, 0.5) !important;
    color: #ffffff !important;
  }
}

/* Trust Standard & Forensic Pipeline Section */
.trust-standard-strip {
  margin-bottom: 2.5rem;
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.95), rgba(8, 14, 28, 0.98));
  border: 1px solid rgba(0, 245, 155, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  box-shadow: 0 16px 36px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.trust-standard-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 860px) {
  .trust-standard-strip {
    padding: 1.4rem 1.2rem;
  }
  .trust-standard-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.pipeline-step-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.pipeline-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 155, 0.45) !important;
  box-shadow: 0 8px 24px rgba(0, 245, 155, 0.12);
}

/* Responsive Banner */
@media (max-width: 860px) {
  .ai-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
}

/* Case Study Cards Hover */
.case-study-card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.case-study-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 245, 155, 0.5) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}
.btn-sample-track:hover {
  background: rgba(0, 245, 155, 0.25) !important;
  color: #fff !important;
}

/* ========================================================
   STRUCTURED DEFENSIBLE METHODOLOGY TIMELINE (IMAGE-1 ALIGNED)
   ======================================================== */
.methodology-hero-container {
  background: radial-gradient(circle at 85% 15%, rgba(0, 245, 155, 0.12), transparent 55%),
              radial-gradient(circle at 15% 85%, rgba(5, 0, 255, 0.2), transparent 60%),
              linear-gradient(135deg, #060b1c 0%, #0a1435 100%);
  border: 1px solid rgba(0, 245, 155, 0.28);
  border-radius: var(--radius-lg);
  padding: 3.2rem 2.5rem;
  margin-bottom: 2.8rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.methodology-kicker {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--accent-green);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.methodology-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
}

.methodology-subheading {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 680px;
  line-height: 1.6;
  margin: 0 0 3.5rem;
}

/* Horizontal Timeline Track */
.methodology-track {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4.5rem 1rem 4rem;
  min-height: 380px;
}

.methodology-axis-line {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 22%;
  height: 2px;
  background: linear-gradient(90deg, #2D9FFF 0%, #00F59B 100%);
  box-shadow: 0 0 10px rgba(0, 245, 155, 0.4);
  z-index: 1;
}

.method-node {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.node-number-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  color: #0b1536;
  font-weight: 800;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(0, 245, 155, 0.6);
  border: 2px solid #00F59B;
  position: relative;
  z-index: 3;
  transition: transform 0.25s ease;
}
.method-node:hover .node-number-badge {
  transform: scale(1.15);
}

.node-icon-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(45, 159, 255, 0.45);
  background: rgba(10, 20, 50, 0.9);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), 0 0 15px rgba(45, 159, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}
.method-node:hover .node-icon-circle {
  border-color: #00F59B;
  color: #00F59B;
  box-shadow: 0 0 20px rgba(0, 245, 155, 0.4);
  transform: translateY(-2px);
}

.node-stem-line {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.3);
}

.node-text-block {
  max-width: 175px;
}

.node-text-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.node-text-desc {
  font-size: 0.76rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* Position alternating top/bottom */
.node-top-icon .node-content-top {
  position: absolute;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.node-top-icon .node-content-bottom {
  position: absolute;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-bottom-icon .node-content-top {
  position: absolute;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.node-bottom-icon .node-content-bottom {
  position: absolute;
  top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Node 5: Prominent Glowing White Card with Orbit Ring */
.node-prominent {
  flex: 1.35;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.prominent-orbit-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1.5px dashed rgba(0, 245, 155, 0.45);
  pointer-events: none;
  animation: orbitRotate 18s linear infinite;
  box-shadow: 0 0 25px rgba(0, 245, 155, 0.15);
}

.prominent-orbit-dot-1 {
  position: absolute;
  top: 15px;
  right: 25px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00F59B;
  box-shadow: 0 0 12px #00F59B;
}

.prominent-orbit-dot-2 {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2D9FFF;
  box-shadow: 0 0 14px #2D9FFF;
}

.prominent-white-circle {
  width: 175px;
  height: 175px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  color: #0c1538;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 245, 155, 0.35);
  border: 2px solid #00F59B;
  position: relative;
  z-index: 4;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.node-prominent:hover .prominent-white-circle {
  transform: scale(1.05);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 245, 155, 0.55);
}

.prominent-icon {
  font-size: 1.45rem;
  color: #0500FF;
  margin-bottom: 0.35rem;
}

.prominent-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0c1538;
  margin-bottom: 0.2rem;
  line-height: 1.2;
}

.prominent-desc {
  font-size: 0.68rem;
  color: #334155;
  line-height: 1.35;
}

/* Medium Desktop & Laptop Adjustments (1025px - 1240px) */
@media (min-width: 1025px) and (max-width: 1240px) {
  .methodology-track {
    padding: 3.5rem 0.5rem 3rem;
  }
  .node-text-block {
    max-width: 145px;
  }
  .node-text-title {
    font-size: 0.88rem;
  }
  .node-text-desc {
    font-size: 0.72rem;
  }
  .prominent-white-circle {
    width: 155px;
    height: 155px;
    padding: 1rem;
  }
  .prominent-title {
    font-size: 0.88rem;
  }
  .prominent-desc {
    font-size: 0.64rem;
  }
  .prominent-orbit-ring {
    width: 190px;
    height: 190px;
  }
}

/* ========================================================
   RESPONSIVE METHODOLOGY TIMELINE (ALL PLATFORMS)
   Supports: Laptops, Tablets, iPads, Foldables, Smartphones
   ======================================================== */
@media (max-width: 1024px) {
  .methodology-hero-container {
    padding: 2.2rem 1.4rem;
    overflow: hidden;
  }
  .methodology-heading {
    font-size: clamp(1.6rem, 5vw, 2rem) !important;
  }
  .methodology-subheading {
    font-size: 0.92rem !important;
    margin-bottom: 2rem !important;
  }
  .methodology-track {
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: auto !important;
    padding: 1rem 0 !important;
    gap: 1.1rem !important;
    position: relative !important;
  }
  .methodology-axis-line {
    top: 25px !important;
    bottom: 80px !important;
    left: 28px !important;
    width: 2px !important;
    height: auto !important;
    right: auto !important;
    background: linear-gradient(180deg, #2D9FFF 0%, #00F59B 100%) !important;
    box-shadow: 0 0 10px rgba(0, 245, 155, 0.4) !important;
    z-index: 1 !important;
  }
  .method-node {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    position: relative !important;
    z-index: 2 !important;
    padding: 0.95rem 1.1rem !important;
    background: linear-gradient(135deg, rgba(13, 21, 39, 0.88) 0%, rgba(7, 12, 24, 0.95) 100%) !important;
    border: 1px solid rgba(45, 159, 255, 0.25) !important;
    border-radius: var(--radius-md) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
    gap: 0.9rem !important;
    text-align: left !important;
  }
  .node-number-badge {
    order: 1 !important;
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.82rem !important;
    margin: 0 !important;
  }
  .node-stem-line {
    display: none !important;
  }
  .node-content-top,
  .node-content-bottom {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  /* Consistent order: 1=Badge, 2=Icon, 3=Text across all steps */
  .node-top-icon .node-content-top {
    order: 2 !important;
    flex-shrink: 0 !important;
  }
  .node-top-icon .node-content-bottom {
    order: 3 !important;
    flex: 1 !important;
  }
  .node-bottom-icon .node-content-bottom {
    order: 2 !important;
    flex-shrink: 0 !important;
  }
  .node-bottom-icon .node-content-top {
    order: 3 !important;
    flex: 1 !important;
  }
  .node-icon-circle {
    display: flex !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    background: rgba(10, 20, 50, 0.9) !important;
  }
  .node-text-block {
    max-width: 100% !important;
    text-align: left !important;
  }
  .node-text-title {
    font-size: 0.95rem !important;
    color: #ffffff !important;
    margin-bottom: 0.2rem !important;
    font-weight: 700 !important;
  }
  .node-text-desc {
    font-size: 0.78rem !important;
    color: #94a3b8 !important;
    line-height: 1.45 !important;
  }
  
  /* Step 5: Highlight Card on Mobile & Tablet */
  .node-prominent {
    width: 100% !important;
    margin-top: 0.25rem !important;
    position: relative !important;
    z-index: 2 !important;
  }
  .prominent-orbit-ring {
    display: none !important;
  }
  .prominent-white-circle {
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius-md) !important;
    padding: 1.1rem 1.25rem !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 1rem !important;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%) !important;
    border: 2px solid #00F59B !important;
    box-shadow: 0 8px 25px rgba(0, 245, 155, 0.25) !important;
  }
  .prominent-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
  }
  .prominent-title {
    font-size: 0.98rem !important;
    margin-bottom: 0.2rem !important;
    font-weight: 800 !important;
  }
  .prominent-desc {
    font-size: 0.76rem !important;
    color: #334155 !important;
  }
}

/* Very Small Smartphones (<= 440px: iPhone SE, Galaxy Fold) */
@media (max-width: 440px) {
  .methodology-hero-container {
    padding: 1.75rem 1rem !important;
  }
  .method-node {
    padding: 0.8rem 0.85rem !important;
    gap: 0.65rem !important;
  }
  .node-number-badge {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.75rem !important;
  }
  .node-icon-circle {
    width: 35px !important;
    height: 35px !important;
    font-size: 0.88rem !important;
  }
  .node-text-title {
    font-size: 0.88rem !important;
  }
  .node-text-desc {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
  }
  .prominent-white-circle {
    padding: 0.9rem 1rem !important;
    gap: 0.75rem !important;
  }
  .prominent-icon {
    font-size: 1.3rem !important;
  }
}

/* Nav Icon Only Link (e.g. X / Twitter) */
.nav-link.nav-icon-link {
  padding: 0.45rem 0.65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.nav-link.nav-icon-link:hover {
  color: #38bdf8;
}

/* ========================================================
   LIVE AI INTAKE TRIAGE BOT & FLOATING LIAISON
   ======================================================== */
/* Floating Live Support Representative Launcher Container */
.triage-launcher-wrap {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9998;
  display: flex;
  align-items: center;
  pointer-events: none;
}

/* Sleek Circular Launcher Button */
.nexus-triage-launcher {
  pointer-events: auto;
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.98), rgba(8, 14, 28, 0.99));
  border: 2px solid rgba(0, 245, 155, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.65), 0 0 18px rgba(0, 245, 155, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.nexus-triage-launcher:hover {
  transform: translateY(-2px) scale(1.08);
  border-color: var(--accent-green);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.75), 0 0 26px rgba(0, 245, 155, 0.45);
}
.nexus-triage-launcher:active {
  transform: translateY(0) scale(0.95);
}

/* Static Quiet Circular Bot Launcher (No jumping, no popping out) */
.nexus-triage-launcher.is-jumping {
  animation: none !important;
}
.triage-bubble-hint {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.launcher-avatar-wrap {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f59b, #2d9fff);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080d1a;
  font-size: 1.18rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}
.launcher-icon-chat {
  display: block;
}
.launcher-icon-close {
  display: none;
  color: #ffffff;
  font-size: 1.25rem;
}
.nexus-triage-launcher.is-open {
  border-color: rgba(244, 63, 94, 0.6);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(244, 63, 94, 0.35);
}
.nexus-triage-launcher.is-open .launcher-avatar-wrap {
  background: linear-gradient(135deg, #f43f5e, #fb7185);
}
.nexus-triage-launcher.is-open .launcher-icon-chat {
  display: none;
}
.nexus-triage-launcher.is-open .launcher-icon-close {
  display: block;
}
.nexus-triage-launcher.is-open .launcher-status-dot {
  display: none;
}

.launcher-status-dot {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #00f59b;
  border: 2px solid #080e1c;
  animation: pulseGreen 2s infinite;
}
@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(0, 245, 155, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(0, 245, 155, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 245, 155, 0); }
}

/* Floating Speech Bubble Callout ("I'm here to help you") */
.triage-bubble-hint {
  pointer-events: none;
  position: absolute;
  right: calc(100% + 14px);
  bottom: 6px;
  background: linear-gradient(135deg, rgba(13, 21, 39, 0.98), rgba(8, 14, 28, 0.99));
  border: 1px solid rgba(0, 245, 155, 0.5);
  border-radius: 14px;
  padding: 8px 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 245, 155, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(12px) scale(0.92);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  z-index: 9999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.triage-bubble-hint::after {
  content: '';
  position: absolute;
  right: -6px;
  bottom: 18px;
  width: 10px;
  height: 10px;
  background: #0a1122;
  border-right: 1px solid rgba(0, 245, 155, 0.5);
  border-top: 1px solid rgba(0, 245, 155, 0.5);
  transform: rotate(45deg);
}
.triage-bubble-hint.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}
.triage-bubble-hint-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}
.triage-bubble-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f59b, #2d9fff);
  color: #080d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.triage-bubble-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.triage-bubble-msg {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}
.triage-bubble-sub {
  font-size: 0.65rem;
  color: #94a3b8;
}
.triage-bubble-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.05rem;
  line-height: 1;
  padding: 2px 4px;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
  margin-left: 2px;
}
.triage-bubble-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

/* Chatbot Floating Window */
.nexus-triage-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 510px;
  max-height: calc(100vh - 100px);
  z-index: 9999;
  background: linear-gradient(180deg, rgba(13, 21, 39, 0.98), rgba(8, 14, 28, 0.99));
  border: 1px solid rgba(45, 159, 255, 0.35);
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 24px rgba(45, 159, 255, 0.15);
  display: none;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(16px);
  animation: slideUpTriage 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.nexus-triage-window.active {
  display: flex;
}
@keyframes slideUpTriage {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.triage-header {
  padding: 0.85rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.triage-officer-info {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.triage-officer-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d9fff, #00f59b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080d1a;
  font-size: 1.05rem;
  font-weight: 700;
  flex-shrink: 0;
}
.triage-officer-name {
  font-size: 0.86rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.triage-officer-status {
  font-size: 0.68rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.triage-header-actions {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.triage-hdr-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 0.95rem;
  padding: 0.35rem;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s;
}
.triage-hdr-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Chat Tab Switcher (AI Bot vs WhatsApp) */
.triage-channel-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.triage-channel-tab {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.74rem;
  font-weight: 600;
  text-align: center;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}
.triage-channel-tab.active {
  color: var(--accent-green);
  border-bottom: 2px solid var(--accent-green);
  background: rgba(0, 245, 155, 0.06);
}
.triage-channel-tab:hover:not(.active) {
  color: #cbd5e1;
}

/* Message List */
.triage-chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.triage-msg {
  display: flex;
  flex-direction: column;
  max-width: 86%;
  animation: fadeInMsg 0.2s ease-out;
}
@keyframes fadeInMsg {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.triage-msg.bot {
  align-self: flex-start;
}
.triage-msg.user {
  align-self: flex-end;
}
.triage-bubble {
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  word-break: break-word;
}
.triage-msg.bot .triage-bubble {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border-bottom-left-radius: 3px;
}
.triage-msg.user .triage-bubble {
  background: linear-gradient(135deg, #2d9fff, #1e40af);
  color: #fff;
  border-bottom-right-radius: 3px;
}
.triage-msg-time {
  font-size: 0.64rem;
  color: #64748b;
  margin-top: 0.25rem;
  padding: 0 0.35rem;
}
.triage-msg.user .triage-msg-time {
  text-align: right;
}

/* Interactive Quick Reply Chips */
.triage-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.triage-chip {
  background: rgba(0, 245, 155, 0.1);
  border: 1px solid rgba(0, 245, 155, 0.35);
  color: #6ee7b7;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}
.triage-chip:hover {
  background: var(--accent-green);
  color: #080d1a;
  transform: translateY(-1px);
}

/* Chat Input Bar */
.triage-input-bar {
  padding: 0.75rem 0.9rem;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.triage-input-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  font-size: 0.8rem;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}
.triage-input-field:focus {
  border-color: var(--accent-cyan);
}
.triage-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-green);
  border: none;
  color: #080d1a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.triage-send-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 12px rgba(0, 245, 155, 0.5);
}

/* WhatsApp Screen in Chat */
.triage-whatsapp-pane {
  display: none;
  flex: 1;
  padding: 1.5rem;
  text-align: center;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.triage-whatsapp-pane.active {
  display: flex;
}
.triage-wa-icon-large {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* Agent Verification Modal Styles */
.verify-agent-input-group {
  display: flex;
  gap: 0.5rem;
  margin: 1.2rem 0;
}
.verify-result-card {
  padding: 1.25rem;
  border-radius: 12px;
  margin-top: 1rem;
  text-align: left;
  display: none;
}
.verify-result-card.success {
  display: block;
  background: rgba(0, 245, 155, 0.08);
  border: 1px solid rgba(0, 245, 155, 0.4);
}
.verify-result-card.failure {
  display: block;
  background: rgba(244, 63, 94, 0.08);
  border: 1px solid rgba(244, 63, 94, 0.4);
}

/* Responsive adjustment for Triage window on mobile: NEVER take over whole screen */
@media (max-width: 640px) {
  .nexus-triage-window {
    bottom: 74px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    height: 72vh;
    max-height: 520px;
    border-radius: 16px;
    border: 1px solid rgba(45, 159, 255, 0.45);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(45, 159, 255, 0.2);
  }
  .triage-launcher-wrap {
    bottom: 16px;
    right: 16px;
  }
  .nexus-triage-launcher {
    width: 48px;
    height: 48px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6), 0 0 12px rgba(0, 245, 155, 0.25);
  }
  .launcher-avatar-wrap {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
  .launcher-status-dot {
    width: 9px;
    height: 9px;
  }
  .triage-bubble-hint {
    right: 0;
    bottom: calc(100% + 10px);
    transform: translateY(8px) scale(0.92);
    max-width: 220px;
    white-space: normal;
    padding: 7px 10px;
    border-radius: 12px;
  }
  .triage-bubble-hint::after {
    right: 16px;
    bottom: -6px;
    top: auto;
    border-right: 1px solid rgba(0, 245, 155, 0.5);
    border-bottom: 1px solid rgba(0, 245, 155, 0.5);
    border-top: none;
    transform: rotate(45deg);
  }
  .triage-bubble-hint.visible {
    transform: translateY(0) scale(1);
  }
  .triage-bubble-msg {
    font-size: 0.76rem;
  }
  .triage-bubble-sub {
    font-size: 0.62rem;
  }
}


/* ==================== ADMIN WORKSPACE VIEW TABS ==================== */
.admin-workspace-nav {
  display: none !important;
}

.admin-workspace-tabs {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.workspace-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 0.35rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.admin-view-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.admin-view-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.admin-view-btn.active {
  background: rgba(45, 159, 255, 0.16);
  border-color: var(--primary-light);
  color: #fff;
  box-shadow: 0 0 14px rgba(45, 159, 255, 0.25);
}

.view-tab-count {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.admin-view-btn.active .view-tab-count {
  background: var(--primary);
  color: #fff;
}

.admin-view-btn[data-view="payments"].active {
  background: rgba(0, 245, 155, 0.16);
  border-color: var(--accent-green);
  box-shadow: 0 0 14px rgba(0, 245, 155, 0.25);
}
.admin-view-btn[data-view="payments"].active .view-tab-count {
  background: var(--accent-green);
  color: #080d1a;
}

.admin-view-btn[data-view="security"].active {
  background: rgba(192, 132, 252, 0.16);
  border-color: #c084fc;
  box-shadow: 0 0 14px rgba(192, 132, 252, 0.25);
}

.admin-view-btn[data-view="intake"].active {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
  color: #fff;
}
.admin-view-btn[data-view="intake"].active .view-tab-count {
  background: #38bdf8;
  color: #080d1a;
}

.admin-view-btn[data-view="wallets"].active {
  background: rgba(56, 189, 248, 0.16);
  border-color: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.25);
}

.admin-view-btn[data-view="metrics"].active {
  background: rgba(253, 230, 138, 0.16);
  border-color: #fde68a;
  box-shadow: 0 0 14px rgba(253, 230, 138, 0.25);
}

.admin-view-btn-stacked {
  opacity: 0.85;
}
.admin-view-btn-stacked.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

.workspace-badge-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
  .admin-workspace-nav {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }
  .admin-workspace-tabs {
    overflow-x: auto;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }
}

.status-closed { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.35); }
.status-archived { background: rgba(148, 163, 184, 0.15); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.35); }

/* ========================================================
   ENTERPRISE BATCH ACTIONS COMMAND DOCK & SLA EXPLAINER
   ======================================================== */
.batch-actions-dock {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  animation: slideUpBatchDock 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUpBatchDock {
  from { opacity: 0; transform: translate(-50%, 25px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.batch-dock-inner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(10, 16, 32, 0.96);
  border: 1px solid rgba(0, 245, 155, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75), 0 0 25px rgba(0, 245, 155, 0.15);
  border-radius: 999px;
  padding: 0.55rem 1.35rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.batch-dock-info {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  color: #fff;
  white-space: nowrap;
}

.batch-dock-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.row-selected {
  background: rgba(0, 245, 155, 0.08) !important;
}

.sla-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.sla-fresh { background: rgba(0, 245, 155, 0.12); color: #00f59b; border: 1px solid rgba(0, 245, 155, 0.3); }
.sla-warning { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.sla-overdue { background: rgba(244, 63, 94, 0.15); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.4); }

/* Inline Batch Actions Command Bar (Sticky directly above case queue) */
.inline-batch-bar {
  display: none;
  margin-bottom: 1rem;
  padding: 0.75rem 1.15rem;
  background: rgba(13, 21, 39, 0.95);
  border: 1px solid rgba(0, 245, 155, 0.45);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 15px rgba(0, 245, 155, 0.12);
  animation: slideDownBatch 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDownBatch {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.quick-row-done-btn:hover {
  background: rgba(0, 245, 155, 0.2) !important;
  color: #00f59b !important;
  border-color: #00f59b !important;
}

.quick-row-end-btn:hover {
  background: rgba(148, 163, 184, 0.25) !important;
  color: #ffffff !important;
  border-color: #cbd5e1 !important;
}

.quick-row-reopen-btn:hover {
  background: rgba(96, 165, 250, 0.25) !important;
  color: #93c5fd !important;
  border-color: #93c5fd !important;
}

/* ========================================================
   NEW VS OLD REPORT DIFFERENTIATION STYLING
   ======================================================== */
.pulsing-green-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f59b;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(0, 245, 155, 0.7);
  animation: pulseGreenDot 1.8s infinite;
  vertical-align: middle;
}

@keyframes pulseGreenDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 155, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(0, 245, 155, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 155, 0); }
}

.badge-new-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 245, 155, 0.18);
  border: 1px solid rgba(0, 245, 155, 0.45);
  color: #00f59b;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-legacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
  font-size: 0.63rem;
  font-weight: 600;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  letter-spacing: 0.3px;
}

.row-new-report {
  border-left: 3px solid #00f59b !important;
  background: rgba(0, 245, 155, 0.035) !important;
}

.row-new-report:hover {
  background: rgba(0, 245, 155, 0.06) !important;
}

.badge-fresh {
  background: #00f59b !important;
  color: #080d1a !important;
  font-weight: 800 !important;
}

.intake-summary-banner {
  animation: fadeInBanner 0.25s ease-out;
}

@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================
   ADMIN MANUAL INTAKE & WALLET SCANNER STYLES
   ======================================================== */
.intake-subtab-btn {
  background: transparent;
  color: #94a3b8;
  transition: all 0.2s ease;
}
.intake-subtab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.05);
}
.intake-subtab-btn.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(45, 159, 255, 0.15)) !important;
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.15);
}

.intake-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.intake-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 820px) {
  .intake-grid-2, .intake-grid-3 {
    grid-template-columns: 1fr;
  }
}

.forensic-hop-trail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.85rem 0.5rem;
}
.forensic-hop-node {
  flex: 1;
  min-width: 175px;
  background: rgba(13, 21, 39, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 0.75rem;
  position: relative;
}
.forensic-hop-node.urgent {
  border-color: rgba(244, 63, 94, 0.4);
  background: rgba(244, 63, 94, 0.05);
}
.forensic-hop-arrow {
  color: #38bdf8;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.anomaly-tx-card {
  background: rgba(13, 21, 39, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
  transition: all 0.2s ease;
}
.anomaly-tx-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(13, 21, 39, 0.98);
}
.anomaly-tx-card.critical-drain {
  border-left: 4px solid #f43f5e;
  background: linear-gradient(90deg, rgba(244, 63, 94, 0.08) 0%, rgba(13, 21, 39, 0.9) 100%);
}
.anomaly-tx-card.approval-drain {
  border-left: 4px solid #f59e0b;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.08) 0%, rgba(13, 21, 39, 0.9) 100%);
}
.anomaly-tx-card.benign-tx {
  border-left: 4px solid #00f59b;
  background: linear-gradient(90deg, rgba(0, 245, 155, 0.04) 0%, rgba(13, 21, 39, 0.9) 100%);
  opacity: 0.85;
}

.email-response-container {
  background: #060b18;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  padding: 1rem 1.2rem;
  position: relative;
}
.email-response-text {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: #cbd5e1;
  white-space: pre-wrap;
  line-height: 1.6;
  max-height: 380px;
  overflow-y: auto;
}

/* ==================== VICTIM INTELLIGENCE FAQ ==================== */
.victim-faq-section {
  margin: 3.5rem 0 2rem;
  padding-top: 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
.faq-card {
  background: rgba(13, 21, 39, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  transition: all 0.2s ease;
}
.faq-card:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(13, 21, 39, 0.95);
  transform: translateY(-1px);
}
.faq-question {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.55rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  line-height: 1.4;
}
.faq-question i {
  color: #38bdf8;
  margin-top: 0.2rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.faq-answer {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.55;
  margin: 0;
}


/* ========================================================
   SINGLE FOCUSED PRIMARY ACTION (HERO CTA DOMINANCE)
   Fix for DesignMeter: Competing CTAs reduction
   ======================================================== */
.hero-dominant-cta {
  background: linear-gradient(135deg, #0500FF 0%, #00d2ff 100%) !important;
  border: 1px solid rgba(0, 245, 155, 0.6) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  padding: 1.1rem 2rem !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 25px rgba(5, 0, 255, 0.45), 0 0 20px rgba(0, 245, 155, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.hero-dominant-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(5, 0, 255, 0.6), 0 0 30px rgba(0, 245, 155, 0.45) !important;
}

.hero-dominant-cta:active {
  transform: translateY(0) !important;
}

/* Subtle Secondary Utility Link */
.link-secondary-subtle {
  transition: color 0.15s ease;
}
.link-secondary-subtle:hover {
  color: #38bdf8 !important;
}

/* Header Small Utility Link */
.nav-utility-link {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  padding: 0.32rem 0.7rem !important;
  border-radius: var(--radius-sm) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  transition: all 0.15s ease !important;
}

.nav-utility-link:hover {
  color: #f1f5f9 !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

/* Intake Method Accordion Card Below Hero */
.intake-method-accordion-box {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.intake-method-accordion-box:hover {
  border-color: rgba(56, 189, 248, 0.25);
}

.intake-method-summary {
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  transition: background 0.15s ease;
}

.intake-method-summary::-webkit-details-marker {
  display: none;
}

.intake-method-summary:hover {
  background: rgba(255, 255, 255, 0.03);
}

.intake-method-summary-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #cbd5e1;
  font-weight: 600;
}

.intake-method-summary-left i {
  color: var(--accent-cyan);
}

.intake-method-summary-arrow {
  font-size: 0.76rem;
  color: #38bdf8;
  transition: transform 0.2s ease;
}

.intake-method-details[open] .intake-method-summary-arrow {
  transform: rotate(180deg);
}

.intake-method-accordion-body {
  padding: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(2, 6, 23, 0.5);
}

.intake-method-note {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0 0 0.85rem 0;
  line-height: 1.5;
}

.samples-overflow-control summary::-webkit-details-marker {
  display: none;
}
.samples-overflow-control summary:hover {
  color: #94a3b8 !important;
}


/* ========================================================
   DESIGNMETER AUDIT COMPREHENSIVE FIXES (UI 69 -> 85+, UX 52 -> 80+)
   Addressing all 23 audit criteria:
   - Fix 1: Competing primary actions (Single dominant CTA)
   - Fix 2: Hero scanner buttons & visual contrast
   - Fix 3: Recent case chips quiet overflow
   - Fix 4: Submit vs Inspect button hierarchy & distinction
   - Fix 5: Hero copy and mobile interaction spacing
   - WCAG AA Contrast, 48px touch targets, focus-visible states
   ======================================================== */

/* High-contrast explicit input placeholders (WCAG AA compliant) */
input::placeholder,
textarea::placeholder,
select::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

/* 2-Step Progression Visualizer */
.recovery-flow-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 auto 1.25rem;
  max-width: 540px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  padding: 0.4rem 1rem;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #94a3b8;
}

.flow-step.active {
  color: #00F59B;
}

.flow-step .step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
}

.flow-step.active .step-num {
  background: #00F59B;
  color: #020617;
}

.flow-step-arrow {
  color: #475569;
  font-size: 0.7rem;
}

/* Clear Distinction between Step 1 (Scanner) and Step 2 (Submit) */
.hero-dominant-cta {
  background: linear-gradient(135deg, #0500FF 0%, #00d2ff 100%) !important;
  border: 1.5px solid rgba(0, 245, 155, 0.7) !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  min-height: 52px !important;
  padding: 0.95rem 2rem !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 25px rgba(5, 0, 255, 0.45), 0 0 20px rgba(0, 245, 155, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hero-dominant-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(5, 0, 255, 0.6), 0 0 30px rgba(0, 245, 155, 0.5) !important;
}

/* Distinct Step 2 Final Submission CTA (High Trust & Authority) */
.final-submit-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  border: 1.5px solid #00F59B !important;
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  min-height: 54px !important;
  padding: 1.1rem 2rem !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 6px 24px rgba(0, 245, 155, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.final-submit-cta:hover {
  background: linear-gradient(135deg, #1e293b 0%, #00F59B 250%) !important;
  box-shadow: 0 8px 32px rgba(0, 245, 155, 0.4) !important;
  transform: translateY(-2px) !important;
}

/* Accessible Focus-Visible Outline for Keyboard Users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid #00F59B !important;
  outline-offset: 3px !important;
}

/* Form Labels High Contrast & Legibility */
.input-group label span:first-child {
  color: #f1f5f9 !important;
  font-weight: 600 !important;
}

.label-tip {
  color: #94a3b8 !important;
  font-size: 0.74rem !important;
}

/* Mobile Minimum Touch Targets (48px WCAG AA) & Spacing */
@media (max-width: 768px) {
  .hero-dominant-cta,
  .final-submit-cta,
  .btn-add-tx,
  .btn-secondary,
  .intake-tab-btn,
  .smart-tx-input,
  .input-group input,
  .input-group select {
    min-height: 48px !important;
    font-size: 0.95rem !important;
  }

  .smart-intake-hero-box {
    padding: 1.25rem !important;
  }

  .portal-card {
    padding: 1.25rem !important;
  }

  .recovery-flow-steps {
    max-width: 100% !important;
    gap: 0.4rem !important;
    padding: 0.35rem 0.65rem !important;
  }
}

/* ==================== EDGE-TO-EDGE FULL-WIDTH ADMIN APP LAYOUT ==================== */
.admin-app-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  min-height: calc(100vh - 66px);
  position: relative;
  z-index: 5;
}

.admin-app-layout {
  display: flex !important;
  width: 100vw !important;
  min-width: 100% !important;
  max-width: 100% !important;
  min-height: calc(100vh - 66px);
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg-body, #050814);
  box-sizing: border-box;
}

.admin-sidebar {
  width: 260px !important;
  flex: 0 0 260px !important;
  background: rgba(8, 13, 25, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  overflow-y: auto;
  box-sizing: border-box;
}

.sidebar-brand-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.5rem 1rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0.5rem;
}

.sidebar-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
}

.sidebar-brand-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
}

.sidebar-brand-sub {
  font-size: 0.64rem;
  font-family: var(--font-mono);
  color: #94a3b8;
  letter-spacing: 0.1em;
}

.sidebar-section-label {
  padding: 0.4rem 0.65rem;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sidebar-nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.sidebar-nav-item.active {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border-left: 3px solid #38bdf8;
  box-shadow: inset 0 0 14px rgba(56, 189, 248, 0.08);
}

.sidebar-nav-item .nav-icon {
  width: 20px;
  text-align: center;
  font-size: 0.88rem;
}

.sidebar-nav-item .nav-text {
  flex: 1;
}

.sidebar-nav-item .nav-badge {
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

.sidebar-security-card {
  margin-top: auto;
  padding: 0.85rem;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.25);
  font-size: 0.72rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.sidebar-security-card strong {
  display: block;
  color: #fde68a;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}

.sidebar-footer {
  margin-top: 0.75rem;
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.5;
  padding: 0 0.4rem;
}

.admin-main-pane {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: calc(100% - 260px) !important;
  max-width: calc(100% - 260px) !important;
  padding: 1.5rem clamp(1.2rem, 2.5vw, 3rem) 4rem !important;
  box-sizing: border-box !important;
  overflow-x: hidden;
}

/* ==================== EVIDENCE UPLOADER & TRACE CHART STYLES ==================== */
.trace-chart {
  width: 100%;
  min-height: 130px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 50%, rgba(13, 35, 64, 0.35), rgba(8, 15, 29, 0.9));
  margin: 0.6rem 0;
}
.trace-chart text {
  font-family: var(--font-mono);
  fill: #c5d4e7;
}
.trace-chart .sub {
  fill: #7d90aa;
}
.trace-chart .link {
  stroke: #587894;
  stroke-width: 1.4;
  stroke-dasharray: 4 4;
}
.trace-chart .node {
  fill: #10253a;
  stroke: #38bdf8;
  stroke-width: 1.8;
}
.trace-chart .risk {
  fill: #341923;
  stroke: #f43f5e;
  stroke-width: 1.8;
}
.trace-chart .destination {
  fill: #0c3028;
  stroke: #00f59b;
  stroke-width: 2;
}

.evidence-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
}
.evidence-list {
  display: grid;
  gap: 0.45rem;
  max-height: 150px;
  overflow-y: auto;
}
.evidence-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(10, 16, 30, 0.8);
  font-size: 0.78rem;
}
.file-badge {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
  font: 700 0.68rem var(--font-mono);
  flex-shrink: 0;
}
.preview-box {
  min-height: 90px;
  max-height: 230px;
  display: grid;
  place-items: center;
  overflow: auto;
  margin-top: 0.65rem;
  padding: 0.65rem;
  border: 1px dashed rgba(56, 189, 248, 0.3);
  border-radius: 8px;
  background: rgba(7, 12, 23, 0.85);
  color: #94a3b8;
  text-align: center;
  font-size: 0.8rem;
}
.preview-box img {
  max-width: 100%;
  max-height: 210px;
  object-fit: contain;
}
.preview-box iframe {
  width: 100%;
  height: 210px;
  border: 0;
}
.draft-text {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-align: left;
  color: #d3deeb;
  font: 0.78rem/1.6 var(--font-mono);
}

@media (max-width: 1024px) {
  .admin-sidebar {
    width: 210px;
    flex: 0 0 210px;
    padding: 1.2rem 0.7rem;
  }
}

@media (max-width: 768px) {
  .admin-app-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    flex: none;
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.85rem;
  }
  .sidebar-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.4rem;
  }
  .sidebar-nav-item {
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
  }
  .sidebar-security-card {
    display: none;
  }
}


/* ========================================================
   FULL SCREEN EDGE-TO-EDGE WIDESCREEN & LAPTOP RESPONSIVENESS
   Eliminates all narrow center cropping and fixed max-width traps
   ======================================================== */
@media (min-width: 1024px) {
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  
  .container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1.75rem clamp(1.2rem, 3.5vw, 3.5rem) 4rem !important;
    box-sizing: border-box !important;
  }

  .navbar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.85rem clamp(1.2rem, 3.5vw, 3.5rem) !important;
    box-sizing: border-box !important;
  }

  .hero-header-top {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1.75rem 0 !important;
  }

  .workbench-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.85fr) minmax(360px, 440px) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 2rem !important;
  }

  .hero-banner {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1.25fr 1fr !important;
  }

  .portal-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .methodology-hero-container,
  .live-proof-section,
  .victim-faq-section,
  .recovery-compact-strip {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  footer > div {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 clamp(1.2rem, 3.5vw, 3.5rem) !important;
    box-sizing: border-box !important;
  }

  .admin-app-layout {
    display: flex !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
  }

  .admin-main-pane {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: calc(100% - 260px) !important;
    max-width: calc(100% - 260px) !important;
    padding: 1.5rem clamp(1.2rem, 2.5vw, 3rem) 4rem !important;
  }

  .admin-section-pane {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}
