/*
 * migro.css — Custom styles for Migro.
 * Bootstrap 5 handles the heavy lifting; this file only adds project-specific overrides.
 */

/* ── Step indicator ──────────────────────────────────────────────────── */

.step-indicator {
  gap: 0;
}

.step-item {
  min-width: 72px;
  max-width: 96px;
  flex: 0 0 auto;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  line-height: 32px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 2px solid transparent;
}

/* Completed steps */
.step-done .step-circle {
  background-color: #198754;   /* Bootstrap success green */
  color: #fff;
  border-color: #198754;
}
.step-done .step-label {
  color: #198754;
}

/* Current step */
.step-active .step-circle {
  background-color: #0d6efd;  /* Bootstrap primary blue */
  color: #fff;
  border-color: #0d6efd;
}
.step-active .step-label {
  color: #0d6efd;
  font-weight: 600;
}

/* Future steps */
.step-future .step-circle {
  background-color: #f8f9fa;
  color: #adb5bd;
  border-color: #dee2e6;
}
.step-future .step-label {
  color: #adb5bd;
}

/* Connector line between steps */
.step-connector {
  height: 2px;
  background-color: #dee2e6;
  margin-top: 14px;   /* vertically centres with the 32px circle */
  flex: 1 1 auto;
  min-width: 8px;
}

/* ── Status helpers ──────────────────────────────────────────────────── */

.status-ok {
  color: #198754;
}

.status-error {
  color: #dc3545;
}

/* ── Amber warning box ───────────────────────────────────────────────── */

.warning-amber {
  color: #b45309;
  background-color: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
}

/* ── Card shadow ─────────────────────────────────────────────────────── */

.card {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ── Migro table ─────────────────────────────────────────────────────── */

table.migro-table tbody tr:hover {
  background-color: #f8f9fa;
}
