/* ============ SHARED VISUALIZATION HEADER (DARK) ============ */
.vis-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(26, 29, 35, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid #2e333d;
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  margin: -20px -20px 20px -20px;
}

@media (max-width: 600px) {
  .vis-topbar {
    margin: -15px -15px 15px -15px;
    padding: 8px 12px;
    flex-wrap: wrap;
    gap: 6px;
  }
}

.vis-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vis-topbar-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.vis-topbar-logo:hover {
  opacity: 1;
}

.vis-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85em;
  color: #a0a4a8;
  list-style: none;
  margin: 0;
  padding: 0;
}

.vis-breadcrumb a {
  color: #a29bfe;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.vis-breadcrumb a:hover {
  color: #c4bfff;
  text-decoration: underline;
}

.vis-breadcrumb .sep {
  color: #636e72;
  font-size: 0.9em;
}

.vis-breadcrumb .current {
  color: #e8e8e8;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px;
}

@media (max-width: 600px) {
  .vis-breadcrumb .current {
    max-width: 160px;
  }
}

.vis-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vis-topbar-right a {
  font-size: 0.82em;
  color: #a0a4a8;
  text-decoration: none;
  transition: color 0.2s;
}

.vis-topbar-right a:hover {
  color: #a29bfe;
}

/* ============ EXAM SOURCE BADGE ============ */
.vis-exam-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(108, 92, 231, 0.15);
  color: #a29bfe;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.vis-exam-badge a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vis-exam-badge a:hover {
  color: #c4bfff;
}
