.pmuk-sgif-ocr {
  margin: 0 0 22px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fffdf7;
}

.pmuk-sgif-ocr__head span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background: #111827;
  color: #d8ff4f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pmuk-sgif-ocr__head h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.pmuk-sgif-ocr__head p,
.pmuk-sgif-ocr__drop span,
.pmuk-sgif-ocr__drop em,
.pmuk-sgif-ocr__status {
  color: #64748b;
  line-height: 1.5;
}

.pmuk-sgif-ocr__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.pmuk-sgif-ocr__drop {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 236px;
  padding: 104px 16px 16px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.pmuk-sgif-ocr__drop:hover {
  border-color: #d8ff4f;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.1);
  transform: translateY(-1px);
}

.pmuk-sgif-ocr__drop::before,
.pmuk-sgif-ocr__drop::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.pmuk-sgif-ocr__drop::before {
  top: 22px;
  left: 22px;
  width: 46px;
  height: 34px;
  border-radius: 9px;
  background:
    radial-gradient(circle at 50% 58%, #ffffff 0 5px, #111827 6px 10px, transparent 11px),
    linear-gradient(#111827, #111827);
  box-shadow: 0 -8px 0 -4px #111827;
  animation: pmuk-sgif-camera 2.8s ease-in-out infinite;
}

.pmuk-sgif-ocr__drop::after {
  top: 24px;
  right: 22px;
  width: 58px;
  height: 76px;
  border: 2px solid #111827;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 44px, rgba(216, 255, 79, 0.45) 44px 48px, transparent 48px),
    repeating-linear-gradient(#f8fafc 0 10px, #e2e8f0 11px 12px);
  transform-origin: center;
  animation: pmuk-sgif-document-scan 3.4s ease-in-out infinite;
}

@keyframes pmuk-sgif-camera {
  0%, 100% { transform: translateY(0); }
  45% { transform: translateY(4px); }
  55% { transform: translateY(4px) scale(0.98); }
}

@keyframes pmuk-sgif-document-scan {
  0%, 100% { transform: rotate(-2deg); background-position: 0 0, 0 0; }
  50% { transform: rotate(2deg); background-position: 22px 0, 0 0; }
}

.pmuk-sgif-ocr__drop.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.25);
}

.pmuk-sgif-ocr__drop.is-disabled:hover {
  border-color: #cbd5e1;
  box-shadow: none;
  transform: none;
}

.pmuk-sgif-ocr__drop strong {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #111827;
  font-size: 17px;
}

.pmuk-sgif-ocr__drop input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pmuk-sgif-ocr__drop em {
  display: inline-flex;
  width: fit-content;
  margin-top: 4px;
  padding: 7px 9px;
  border-radius: 7px;
  background: #f1f5f9;
  color: #334155;
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
  word-break: break-word;
}

.pmuk-sgif-ocr__actions {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.pmuk-sgif-ocr__actions button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: #d8ff4f;
  color: #111827;
  font-weight: 950;
  cursor: pointer;
}

.pmuk-sgif-ocr__actions button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.pmuk-sgif-ocr.is-reading {
  opacity: 0.82;
}

.pmuk-sgif-ocr.is-complete {
  border-color: #86efac;
  background: #f0fdf4;
}

.pmuk-sgif-ocr__review {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #ffffff;
}

.pmuk-sgif-ocr__review strong {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 16px;
}

.pmuk-sgif-ocr__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.pmuk-sgif-ocr__fields label {
  display: grid;
  grid-template-columns: minmax(120px, 0.34fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.pmuk-sgif-ocr__fields span {
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.pmuk-sgif-ocr__fields input {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  font: inherit;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pmuk-sgif-ocr__summary {
  margin: 12px 0 0;
  padding: 12px;
  border-radius: 8px;
  background: #f8fafc;
  color: #334155;
  line-height: 1.5;
}

.pmuk-sgif-hidden,
.pmuk-sgif-form-hidden {
  display: none !important;
}

.pmuk-sgif-stepper {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.pmuk-sgif-stepper__label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #111827;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.pmuk-sgif-stepper__bar {
  height: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  border-radius: 999px;
  background: #e5e7eb;
}

.pmuk-sgif-stepper__bar span {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: #d8ff4f;
  transition: width 180ms ease;
}

.pmuk-sgif-stepper__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
}

.pmuk-sgif-stepper__steps span {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.pmuk-sgif-stepper__steps span.is-active {
  background: #111827;
  color: #d8ff4f;
}

.pmuk-sgif-stepper__actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.pmuk-sgif-stepper__actions--bottom {
  margin: 18px 0;
}

.pmuk-sgif-stepper__actions button {
  min-height: 42px;
  min-width: 112px;
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #ffffff;
  font-weight: 900;
  cursor: pointer;
}

.pmuk-sgif-stepper__actions button:first-child {
  background: #e5e7eb;
  color: #111827;
}

.pmuk-sgif-stepper__actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.pmuk-sgif-highlight-field {
  padding: 12px;
  border: 1px solid #d8ff4f;
  border-radius: 8px;
  background: #fbffe8;
}

.pmuk-sgif-helper-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid #d8ff4f;
  border-radius: 8px;
  background: #fbffe8;
  color: #334155;
  font-size: 14px;
  line-height: 1.45;
}

.pmuk-sgif-signage-detail {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.pmuk-sgif-signage-detail span {
  color: #111827;
  font-weight: 850;
}

.pmuk-sgif-signage-detail textarea {
  width: 100%;
  min-height: 104px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  resize: vertical;
}

.pmuk-sgif-assessment {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
}

.pmuk-sgif-details-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #d8ff4f;
  border-radius: 8px;
  background: #fbffe8;
  color: #111827;
}

.pmuk-sgif-details-note strong,
.pmuk-sgif-details-note span {
  display: block;
}

.pmuk-sgif-details-note strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.pmuk-sgif-details-note span {
  color: #475569;
  line-height: 1.5;
}

.pmuk-sgif-assessment__score {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

.pmuk-sgif-assessment__score span {
  display: inline-flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #111827;
  color: #d8ff4f;
  font-size: 24px;
  font-weight: 950;
}

.pmuk-sgif-assessment__score strong {
  color: #111827;
  font-size: 20px;
}

.pmuk-sgif-assessment p {
  color: #475569;
  line-height: 1.55;
}

.pmuk-sgif-assessment ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #1f2937;
}

.pmuk-sgif-payment-wrap {
  margin: 18px 0 0;
}

.pmuk-sgif-payment-note {
  margin: 0 0 14px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
}

.pmuk-sgif-payment-note strong {
  display: block;
  margin-bottom: 12px;
  color: #111827;
  font-size: 18px;
}

.pmuk-sgif-payment-note div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  border-top: 1px solid #eef2f7;
}

.pmuk-sgif-payment-note span {
  color: #475569;
}

.pmuk-sgif-payment-note b {
  color: #111827;
}

@media (max-width: 680px) {
  .pmuk-sgif-ocr__grid {
    grid-template-columns: 1fr;
  }

  .pmuk-sgif-stepper__steps {
    grid-template-columns: 1fr;
  }

  .pmuk-sgif-ocr__fields {
    grid-template-columns: 1fr;
  }

  .pmuk-sgif-ocr__fields label {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .pmuk-sgif-assessment__score {
    grid-template-columns: 1fr;
  }
}
