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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* ══════════════════════════════════════════════════════════════
   3D TACTILE SURFACES & NEO-SKEUOMORPHIC DEPTH
   ══════════════════════════════════════════════════════════════ */

/* Tactile Card with Top Light Reflection and Deep Ambient Shadow */
.tactile-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1rem;
  box-shadow: 
    0 1px 2px 0 rgba(15, 23, 42, 0.03),
    0 4px 16px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tactile-card:hover {
  box-shadow: 
    0 2px 4px 0 rgba(15, 23, 42, 0.04),
    0 8px 24px -4px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

/* Tactile Inset Well (Recessed Surface for Metrics and Code) */
.tactile-well {
  background: #f8fafc;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: inset 0 2px 4px 0 rgba(15, 23, 42, 0.04);
}

/* 3D Hardware-Style Tactile Buttons */
.tactile-btn {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #cbd5e1;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: all 0.12s ease;
}

.tactile-btn:hover {
  background: #ffffff;
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.tactile-btn:active {
  transform: translateY(1px);
  background: #f1f5f9;
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.08);
}

.tactile-btn-primary {
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  border: 1px solid #115e59;
  box-shadow: 0 2px 4px rgba(13, 148, 136, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.tactile-btn-primary:hover {
  background: linear-gradient(180deg, #14b8a6 0%, #0d9488 100%);
  box-shadow: 0 4px 10px rgba(13, 148, 136, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

/* Tactile Micro-Pills / Status Chips */
.badge-SENT { 
  background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%);
  color: #15803d; 
  border: 1px solid #bbf7d0; 
  box-shadow: 0 1px 2px rgba(22, 163, 74, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.badge-FAILED { 
  background: linear-gradient(180deg, #fef2f2 0%, #fee2e2 100%);
  color: #b91c1c; 
  border: 1px solid #fecaca; 
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.badge-RETRYING { 
  background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%);
  color: #b45309; 
  border: 1px solid #fde68a; 
  box-shadow: 0 1px 2px rgba(217, 119, 6, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.badge-QUEUED { 
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  color: #1d4ed8; 
  border: 1px solid #bfdbfe; 
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Navigation Tab Active Indicator */
.tab-active {
  border-bottom: 2px solid #4f46e5 !important;
  color: #312e81 !important;
  font-weight: 700 !important;
  background: rgba(238, 242, 255, 0.65);
}

/* Pipeline Connector Animated Beam */
.pipeline-beam {
  position: relative;
  overflow: hidden;
}

.pipeline-beam::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.4), transparent);
  animation: pulse-beam 2.5s infinite linear;
}

@keyframes pulse-beam {
  0% { left: -100%; }
  100% { left: 200%; }
}
