/* ==========================================================================
   Barang PO — small additions on top of laporan-impor.css, which already
   supplies the card/list/stepper/attachment styling this page reuses.
   ========================================================================== */

/* Status pill sits where laporan-impor's index code used to. */
.po-status-badge {
  font-size: 0.7rem;
}

/* Single done/not-done indicator, replacing the multi-stage stepper —
   a PO doesn't have the same per-stage dates an import shipment does. */
.po-complete-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--muted);
}

.po-complete-badge svg {
  width: 12px;
  height: 12px;
}

.po-complete-badge.done {
  background: #17803D;
  border-color: #17803D;
  color: #fff;
  box-shadow: 0 0 0 2px rgba(23, 128, 61, .14);
}

.impor-card-status-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* laporan-impor.css splits .impor-card-main into three flex columns (top,
   progress stepper, footer) at desktop width. This page has no stepper
   column, so the footer's leftover flex:1 stretches it much wider than its
   content needs — leaving a large, uneven-looking gap before the status/
   attachment icons. Let the footer hug its own content instead. */
@media (min-width: 860px) {
  #po-list .impor-card-top {
    flex: 1;
  }

  #po-list .impor-card-footer {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 20px;
  }
}
