/* Research portal dashboard and public landing refinements */

.portal-hero-panel {
  background: linear-gradient(135deg, #1e2f45 0%, #2f496a 100%);
  color: #fff;
  border-radius: 15px;
}

.portal-hero-visual {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portal-hero-mosquito {
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(31, 51, 74, 0.25);
  object-fit: cover;
  width: 100%;
  max-height: 140px;
  align-self: flex-end;
  max-width: 220px;
}

@media (max-width: 991.98px) {
  .portal-hero-mosquito {
    display: none;
  }

  .portal-hero-cta {
    margin-bottom: 0.5rem;
  }
}

.badge-metadata {
  background-color: #1e2f45;
  color: #fff;
}

.bootstrap-table .fixed-table-toolbar {
  padding: 10px;
  border-bottom: 1px solid #dee2e6;
  background-color: #f8f9fa;
}

.bootstrap-table .fixed-table-toolbar .search {
  margin-right: 10px;
}

.bootstrap-table .fixed-table-toolbar .search input {
  width: 200px;
}

.bootstrap-table .fixed-table-toolbar .btn-group > .btn {
  border-color: #ced4da;
}

.portal-hero-spectrum {
  height: 300px;
  min-height: 280px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 51, 74, 0.18);
  overflow: hidden;
}

.portal-hero-spectrum-wide {
  height: 320px;
  margin-bottom: 1rem;
}

.portal-hero-cta,
.portal-footer-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}

.portal-hero-cta {
  margin-top: 1.15rem;
}

.portal-footer-cta {
  justify-content: center;
  gap: 1rem 1.5rem;
}

.portal-hero-cta .btn,
.portal-footer-cta .btn {
  font-size: 0.96rem;
  padding: 10px 24px;
  white-space: nowrap;
}

@media (max-width: 991.98px) {
  .portal-hero-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
}

@media (min-width: 992px) {
  .portal-hero-cta {
    flex-wrap: nowrap;
  }
}

.workflow-stepper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.workflow-step {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #d9dee6;
  opacity: 0.65;
}

.workflow-step.completed,
.workflow-step.current {
  opacity: 1;
  border-color: #9fb0c3;
}

.workflow-step.current {
  box-shadow: 0 0 0 2px rgba(31, 75, 122, 0.15);
}

.workflow-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.82rem;
  background: #e9eff6;
  color: #475569;
  flex-shrink: 0;
}

.workflow-step.completed .workflow-step-number {
  background: #198754;
  color: #fff;
}

.workflow-step.current .workflow-step-number {
  background: #1f4b7a;
  color: #fff;
}

.workflow-step-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e2f45;
  line-height: 1.2;
}

.workflow-progress-bar {
  height: 6px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.workflow-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #1f4b7a, #3d7ab8);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.public-demo-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #eef3f9 100%);
  border-radius: 15px;
  border: 1px solid #d9dee6;
}

.public-demo-chart {
  height: clamp(420px, 50vh, 540px);
  min-height: 420px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(30, 47, 69, 0.08);
}

.public-demo-note {
  font-size: 0.88rem;
  color: #64748b;
}

.btn-dashboard-primary {
  background-color: #1f4b7a;
  border-color: #1f4b7a;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
}

.btn-dashboard-primary:hover {
  background-color: #173a5e;
  border-color: #173a5e;
  color: #fff;
}

.btn-dashboard-secondary {
  background-color: #fff;
  border: 1px solid #9fb0c3;
  color: #1f334a;
  font-weight: 600;
  border-radius: 10px;
}

.btn-dashboard-secondary:hover {
  background-color: #eef3f9;
  border-color: #7f95ad;
  color: #172739;
}
