/**
 * Vendor Reports stylesheet for AI Compliance Bot
 * Scorecards, requirement matrices, gaps, strengths/risks, embedded PDF viewer.
 */

.reports-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.report-vendor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-radius: 1.15rem;
  background: var(--product-surface);
  border: 1px solid var(--product-border);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Clickable Evidence Reference Tags */
.evidence-ref {
  display: inline-flex;
  align-items: center;
  padding: 0.02rem 0.32rem;
  border-radius: 999px;
  background: var(--glass-accent-wash);
  border: 1px solid var(--glass-accent-rim);
  color: var(--product-accent) !important;
  font-size: 0.94em;
  font-weight: 640;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none !important;
  transition: background var(--motion-micro) var(--ease-micro), border-color var(--motion-micro) var(--ease-micro), transform var(--motion-micro) var(--ease-spring);
  gap: 0.15rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  user-select: none;
}

.evidence-ref:hover {
  border-color: var(--product-accent);
  background: color-mix(in srgb, var(--product-accent) 26%, transparent);
  transform: translateY(-1px);
}

.evidence-ref:active {
  transform: scale(0.96);
}

.evidence-ref:focus-visible {
  outline: 2px solid var(--product-accent);
  outline-offset: 2px;
}

/* Category Scores Matrix */
.category-progress-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-mini-bar {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.category-mini-bar-fill {
  height: 100%;
  background: var(--product-accent);
  border-radius: 3px;
}

/* PDF Viewer Container */
.pdf-viewer-wrap {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--product-border);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--product-soft);
  margin-top: 1rem;
}

.pdf-viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--product-surface);
  border-bottom: 1px solid var(--product-border);
}

.pdf-viewer-frame {
  width: 100%;
  height: 620px;
  border: none;
  background: #525659;
}
