/* ========================================================
   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: #94a3b8;
  --text-muted: #64748b;
  
  --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: 0;
  display: block;
}

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

/* ========================================================
   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 {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.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.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.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;
  max-width: 1360px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 4rem;
}

.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, #2D9FFF 0%, #00F59B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.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: 1fr 380px;
  gap: 2rem;
  align-items: start;
}

@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: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
  visibility: hidden;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.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;
}

.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(320px, 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: 40px;
  height: 40px;
  padding: 8px 7px;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 105;
  outline: none;
}

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

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

/* Morph to X when active */
.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(6px) 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(-6px) 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.75rem 1rem;
    gap: 0.75rem;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100vw;
    background: rgba(6, 11, 24, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0, 245, 155, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.25rem 2rem;
    gap: 0.65rem;
    transform: translateY(-130%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s;
    z-index: 99;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
  }

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

  .nav-link {
    font-size: 0.95rem;
    padding: 0.85rem 1.2rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    justify-content: flex-start;
  }

  .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;
  }

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

  .lang-selector-select {
    padding: 0.4rem 0.6rem;
    font-size: 0.76rem;
  }
}

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

  .logo-area {
    gap: 0.6rem;
  }

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

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

  .logo-sub {
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .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;
  }
}

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

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

  .logo-sub {
    display: none;
  }

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

  .lang-selector-select {
    max-width: 90px;
  }

  .hero-main-title {
    font-size: 1.7rem;
  }

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

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

.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;
  }
}
