/* IBD Dashboard — Loading Overlay */
.loading-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center; justify-content: center;
  pointer-events: none;
}
.loading-overlay.show { display: flex; pointer-events: all; }

.loading-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 36px 32px;
  width: 100%; max-width: 300px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.loading-card-icon {
  font-size: 36px; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; height: 44px;
}
.loading-card h3 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.loading-card p  { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }

.loading-bar-track {
  width: 100%; height: 5px;
  background: #f3f4f6;
  border-radius: 99px; overflow: hidden;
}
.loading-bar-fill {
  height: 100%; width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, #534AB7, #7F77DD, #534AB7);
  background-size: 200% 100%;
  animation: barfill 2.5s ease forwards, shimmer 1.5s linear infinite;
  transition: width 0.4s ease;
}
.loading-bar-fill.done {
  width: 100%;
  animation: none;
  background: linear-gradient(90deg, #2d7a2d, #4caf50);
}


