.job-list {
  display: grid;
  gap: 14px;
}

.job-card {
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 16px;
  background: #fbfcfd;
}

.job-card header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.job-card h3 {
  margin: 4px 0;
  font-size: 15px;
}

.job-card code,
.job-card small,
.shipment-list code,
.shipment-list small {
  font-size: 10px;
  color: var(--muted);
}

.progress {
  height: 7px;
  border-radius: 99px;
  background: #e7eaed;
  overflow: hidden;
  margin: 13px 0;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange), #ffac61);
}

.job-lines,
.shipment-list {
  display: grid;
  gap: 9px;
}

.job-line {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 8px;
}

.job-line.done {
  border-color: #9bd8bd;
  background: #f2fbf7;
}

.job-line img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 7px;
  background: #fff;
}

.job-line span b,
.job-line span small,
.shipment-list article div > * {
  display: block;
}

.job-line strong {
  font-size: 12px;
}

.job-card footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}

.scan-box {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.scan-box input {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px;
}

.scan-box small {
  grid-column: 1 / -1;
}

.shipment-list article {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

@media (max-width: 620px) {
  .job-line {
    grid-template-columns: 38px 1fr;
  }

  .job-line img {
    width: 38px;
    height: 38px;
  }

  .job-line strong {
    grid-column: 2;
  }

  .scan-box,
  .shipment-list article {
    grid-template-columns: 1fr;
  }

  .scan-box small {
    grid-column: auto;
  }

  .job-card header {
    flex-direction: column;
  }
}
