#pt02Panel {
  margin-top: 18px;
  border: 1px solid #d7dce2;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
}

.pt02-head {
  padding: 16px;
  background: #f5f7fa;
  border-bottom: 1px solid #e2e6eb;
}

.pt02-head-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.pt02-head h2 {
  margin: 0;
  font-size: 1.1rem;
}

.pt02-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: .82rem;
  font-weight: 700;
  background: #e9edf2;
}

.pt02-badge.ok {
  background: #e6f6ec;
  color: #146c38;
}

.pt02-badge.error {
  background: #fde8e8;
  color: #a11616;
}

.pt02-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.pt02-card {
  border: 1px solid #e3e7ec;
  border-radius: 12px;
  padding: 12px;
  background: #fff;
}

.pt02-card span {
  display: block;
  color: #667085;
  font-size: .78rem;
  margin-bottom: 4px;
}

.pt02-card strong {
  font-size: 1rem;
}

.pt02-progress {
  padding: 0 14px 14px;
}

.pt02-progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #e9edf2;
  overflow: hidden;
}

.pt02-progress-fill {
  height: 100%;
  width: 0%;
  background: #1f7a45;
  transition: width .18s ease;
}

.pt02-products {
  padding: 0 14px 14px;
}

.pt02-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border-top: 1px solid #edf0f3;
  padding: 12px 2px;
}

.pt02-code {
  font-weight: 800;
  word-break: break-word;
}

.pt02-desc {
  color: #667085;
  font-size: .82rem;
  margin-top: 3px;
}

.pt02-qty {
  min-width: 72px;
  text-align: center;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f2f4f7;
}

.pt02-qty.complete {
  background: #e6f6ec;
  color: #146c38;
}

.pt02-qty.excess {
  background: #fde8e8;
  color: #a11616;
}

.pt02-last {
  margin: 0 14px 14px;
  border-radius: 12px;
  padding: 12px;
  background: #f5f7fa;
  font-size: .9rem;
}

.pt02-last.ok {
  background: #e6f6ec;
  color: #146c38;
}

.pt02-last.error {
  background: #fde8e8;
  color: #a11616;
}

.pt02-actions {
  padding: 0 14px 16px;
}

#btnFinalizarPt02 {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  background: #202a35;
  color: #fff;
}

#btnFinalizarPt02:disabled {
  opacity: .45;
  cursor: not-allowed;
}

@media (max-width: 720px) {
  .pt02-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* ================================================
   ALERTA BLOQUEANTE PT02
   ================================================ */

.pt02-alert-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    rgba(16, 24, 40, .80);

  backdrop-filter:
    blur(4px);
}

.pt02-alert-box {
  width: min(
    100%,
    460px
  );

  padding:
    26px 22px 22px;

  border:
    3px solid #d92d20;

  border-radius:
    20px;

  background:
    #fff;

  text-align:
    center;

  box-shadow:
    0 24px 70px
    rgba(0,0,0,.35);
}

.pt02-alert-icon {
  width: 66px;
  height: 66px;

  margin:
    0 auto 14px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius:
    50%;

  background:
    #d92d20;

  color:
    #fff;

  font-size:
    2.2rem;

  font-weight:
    900;
}

.pt02-alert-box h2 {
  margin:
    0 0 12px;

  color:
    #b42318;

  font-size:
    1.35rem;
}

.pt02-alert-box p {
  margin:
    0 0 22px;

  color:
    #344054;

  line-height:
    1.45;
}

#btnCerrarAlertaPt02 {
  width: 100%;
  min-height: 54px;

  border:
    0;

  border-radius:
    12px;

  background:
    #b42318;

  color:
    #fff;

  font-weight:
    900;
}
