/* Investor Analytics terminal — page-specific styles */

.investor-body {
  font-family: "PP Mori", serif;
  background: #f8fafc;
}

.stat-skeleton {
  display: inline-block;
  height: 0.85em;
  width: 72px;
  border-radius: 4px;
  vertical-align: middle;
  background: linear-gradient(90deg, #e9edf3 25%, #dbe2ec 37%, #e9edf3 63%);
  background-size: 400% 100%;
  animation: statSkeletonLoading 1.4s ease infinite;
}

.investor-skeleton-bar {
  background: linear-gradient(90deg, #dbe2ec 25%, #c7d1de 37%, #dbe2ec 63%);
  background-size: 400% 100%;
  animation: statSkeletonLoading 1.4s ease infinite;
}

@keyframes statSkeletonLoading {
  0% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0 50%;
  }
}

.investor-sidebar {
  background: #ffffff;
  border-right: 1px solid #e5e7eb;
}

.investor-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #52525b;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.investor-nav-item:hover {
  background: #f5f9ff;
  color: #09090b;
}

.investor-nav-item.active {
  background: #0e63f4;
  color: #ffffff;
}

.investor-nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.investor-tab-panel {
  display: none;
}

.investor-tab-panel.active {
  display: block;
  animation: investorFadeIn 0.35s ease;
}

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

.investor-card {
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.03);
}

.investor-mini-bar {
  width: 6px;
  border-radius: 3px;
  background: #e2e8f0;
}

.investor-table th {
  text-align: left;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
  font-weight: 600;
  padding: 10px 16px;
  border-bottom: 1px solid #eef1f6;
}

.investor-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f4f6f9;
  font-size: 14px;
  color: #27272a;
  vertical-align: middle;
}

.investor-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
}

.investor-status-confirmed {
  background: #ecfdf3;
  color: #16a34a;
}

.investor-status-failed {
  background: #fef2f2;
  color: #dc2626;
}

.investor-status-pending {
  background: #fffbeb;
  color: #d97706;
}

.investor-mobile-drawer {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.investor-mobile-drawer.open {
  transform: translateX(0);
}

.investor-sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.investor-sidebar-scroll::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}

.investor-chart-wrap {
  position: relative;
  height: 260px;
}

.investor-chart-wrap.short {
  height: 200px;
}

@media (max-width: 1023px) {
  .investor-chart-wrap {
    height: 220px;
  }
}
