/* gen.ndexr.io — Roche application portfolio site */

.gen-tag {
  color: var(--ndx-accent, #7b9ef7);
  letter-spacing: .08em;
}

.gen-label {
  color: var(--ndx-accent, #7b9ef7);
  letter-spacing: .06em;
}

/* Science section — JWST Pillars of Creation background */
.ndx-gen-science {
  position: relative;
  background: var(--ndx-deep, #08121c)
              url("/images/pillars-of-creation-jwst-head.jpg")
              center 40% / cover no-repeat;
}

.ndx-gen-science__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 18, 28, 0.78) 0%,
    rgba(8, 18, 28, 0.65) 50%,
    rgba(8, 18, 28, 0.82) 100%
  );
}

.ndx-gen-science__content {
  position: relative;
  z-index: 1;
}

/* Hover info card */
.gen-hover-card {
  background: rgba(12, 26, 34, 0.92);
  border: 1px solid rgba(123, 158, 247, 0.18);
  border-radius: 0.5rem;
  color: var(--ndx-text, #c9d4e0);
  min-height: 200px;
  transition: border-color 0.15s ease;
}

.gen-hover-card h5 {
  color: #e8eef4;
}

/* Stack comparison table */
.gen-stack-table thead th {
  color: var(--ndx-muted, #8fa3b1);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.6rem;
}

.gen-stack-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.gen-stack-table tbody tr:last-child {
  border-bottom: none;
}

.gen-stack-table td {
  vertical-align: top;
  padding: 0.75rem 0.5rem;
  line-height: 1.5;
}

.gen-req-cell {
  font-size: 0.84rem;
  min-width: 220px;
  max-width: 280px;
}

/* DT dark table override */
.gen-ndexrio .dataTables_wrapper {
  color: var(--ndx-text, #c9d4e0);
}

.gen-ndexrio .dataTables_filter input,
.gen-ndexrio .dataTables_length select {
  background: rgba(12, 26, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ndx-text, #c9d4e0);
  border-radius: 0.35rem;
  padding: 0.2rem 0.5rem;
}
