.status-layanan-page,
.status-layanan-page * {
  box-sizing: border-box;
}

.status-layanan-page {
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.status-layanan-page::before,
.status-layanan-page::after {
  display: none !important;
}
.status-container {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
}

/* === Status Layanan: hapus background & full width === */
.status-layanan-page {
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.status-layanan-page::before,
.status-layanan-page::after {
  display: none !important;
}

/* TITLE */

.status-title {
  text-align: center;
  margin-bottom: 28px;
}

.status-label {
  display: inline-block;
  background: #eaf2ff;
  color: #0f3d91;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

.status-title h1 {
  margin: 0 0 10px;
  color: #0b1f4d;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
}

.status-title p {
  max-width: 760px;
  margin: 0 auto;
  color: #64748b;
  font-size: 16px;
  line-height: 1.6;
}

/* SEARCH FORM */

.status-search-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 18px;
  align-items: start;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  margin-bottom: 22px;
}

.status-search-single {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.status-form-group label {
  display: block;
  color: #1e293b;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

.status-form-group input {
  width: 100%;
  height: 48px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 15px;
  color: #0f172a;
  outline: none;
  background: #ffffff;
}

.status-form-group input:focus {
  border-color: #0f3d91;
  box-shadow: 0 0 0 3px rgba(15, 61, 145, 0.12);
}

.status-input-help {
  display: block;
  margin-top: 7px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.4;
}

.status-form-action {
  padding-top: 0;
}

.status-form-action::before {
  content: "";
  display: block;
  height: 30px; /* setinggi label (14px font + 8px margin-bottom + sedikit line-height) */
}

.status-form-action button {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: #0f3d91;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.status-form-action button:hover {
  background: #0b2f73;
}

.status-form-action button:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* LOADING & ALERT */

.status-loading {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 14px 16px;
  border-radius: 12px;
  margin-bottom: 18px;
  font-weight: 600;
}

.status-alert {
  background: #fff1f2;
  color: #9f1239;
  border: 1px solid #fecdd3;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 18px;
}

.status-alert strong {
  display: block;
  margin-bottom: 4px;
}

.status-alert p {
  margin: 0;
  color: #be123c;
  line-height: 1.5;
}

/* RESULT CARD */

.status-result-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
}

.status-result-header {
  padding: 26px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.status-result-header span {
  display: block;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.status-result-header h2 {
  margin: 0;
  color: #0b1f4d;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.status-badge {
  min-width: 160px;
  text-align: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #eaf2ff;
  color: #0f3d91;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

/* BADGE STATUS */

.status-badge.status-diterima {
  background: #eaf2ff;
  color: #0f3d91;
}

.status-badge.status-verifikasi {
  background: #f3e8ff;
  color: #7e22ce;
}

.status-badge.status-diproses {
  background: #fef9c3;
  color: #a16207;
}

.status-badge.status-perbaikan {
  background: #ffedd5;
  color: #c2410c;
}

.status-badge.status-selesai {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.status-ditolak {
  background: #fee2e2;
  color: #b91c1c;
}

/* INFO GRID */

.status-info-grid {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.status-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
}

.status-info-full {
  grid-column: 1 / -1;
}

.status-info-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background: #eaf2ff;
  color: #0f3d91;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-info-icon svg {
  width: 22px;
  height: 22px;
}

.status-info-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-info-item small {
  display: block;
  color: #64748b;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.status-info-item strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.45;
}

/* FILE / SURVEY / DOWNLOAD BOX */

.status-file-box {
  margin: 0 24px 24px;
  background: #f8fafc;
  border: 1px solid #dbeafe;
  border-radius: 16px;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.status-file-info {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.status-file-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  background: #eaf2ff;
  color: #0f3d91;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-file-icon svg {
  width: 24px;
  height: 24px;
}

.status-file-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-file-box small {
  display: block;
  color: #0f3d91;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 4px;
}

.status-file-box strong {
  display: block;
  color: #0f172a;
  font-size: 16px;
  margin-bottom: 4px;
}

.status-file-box p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.5;
}

.status-file-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.status-survey-button,
.status-confirm-survey-button,
.status-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: none;
  text-decoration: none;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: 0.2s ease;
}

.status-survey-button {
  background: #0f3d91;
  color: #ffffff !important;
}

.status-survey-button:hover {
  background: #0b2f73;
  color: #ffffff !important;
  text-decoration: none;
}

.status-confirm-survey-button {
  background: #f59e0b;
  color: #ffffff;
}

.status-confirm-survey-button:hover {
  background: #d97706;
}

.status-download-button {
  background: #16a34a;
  color: #ffffff !important;
}

.status-download-button:hover {
  background: #15803d;
  color: #ffffff !important;
  text-decoration: none;
}

/* TIMELINE */

.status-timeline {
  border-top: 1px solid #e2e8f0;
  padding: 24px;
}

.status-timeline h3 {
  margin: 0 0 20px;
  color: #0b1f4d;
  font-size: 20px;
  font-weight: 800;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding-bottom: 24px;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: #cbd5e1;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step:last-child::before {
  display: none;
}

.timeline-marker {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #64748b;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  z-index: 1;
}

.timeline-content strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  margin-bottom: 4px;
}

.timeline-content p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.timeline-step.done .timeline-marker {
  position: relative;
  background: #16a34a;
  color: transparent;
  font-size: 0;
  overflow: hidden;
}

.timeline-step.done .timeline-marker::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 18px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;
  transform: rotate(45deg);
  top: 9px;
  left: 16px;
}

.timeline-step.done::before {
  background: #16a34a;
}

.timeline-step.active .timeline-marker {
  background: #2563eb;
  color: #ffffff;
}

.timeline-step.active .timeline-content strong {
  color: #2563eb;
}

.timeline-step.problem .timeline-marker {
  background: #f97316;
  color: #ffffff;
}

.timeline-step.problem .timeline-content strong {
  color: #c2410c;
}

.timeline-step.rejected .timeline-marker {
  background: #dc2626;
  color: #ffffff;
}

.timeline-step.rejected .timeline-content strong {
  color: #b91c1c;
}

/* HELP CARD */

.status-help-card {
  max-width: 1080px;
  margin: 24px auto 0;
  background: #ffffff;
  border: 1px solid #dbe7ff;
  border-left: 5px solid #0f3d91;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.status-help-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  background: #eaf2ff;
  color: #0f3d91;
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-help-icon svg {
  width: 24px;
  height: 24px;
}

.status-help-icon svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-help-content span {
  display: inline-block;
  color: #0f3d91;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.status-help-content h3 {
  margin: 0 0 8px;
  color: #0b1f4d;
  font-size: 21px;
  font-weight: 800;
}

.status-help-content p {
  margin: 0 0 16px;
  max-width: 760px;
  color: #475569;
  font-size: 14px;
  line-height: 1.6;
}

.status-help-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.status-help-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #0f3d91;
  color: #ffffff !important;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 800;
  transition: 0.2s ease;
}

.status-help-button svg {
  width: 18px;
  height: 18px;
}

.status-help-button svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-help-button:hover {
  background: #0b2f73;
  color: #ffffff !important;
  text-decoration: none;
}

.status-help-note {
  margin-top: 12px;
  color: #64748b;
  font-size: 13px;
}

.status-help-note strong {
  color: #0f172a;
}

/* HIDDEN */

[hidden] {
  display: none !important;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .status-search-card {
    grid-template-columns: 1fr;
  }

  .status-search-single {
    max-width: 100%;
  }

  .status-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .status-result-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-file-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-file-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .status-layanan-page {
    padding: 38px 12px;
  }

  .status-title h1 {
    font-size: 27px;
  }

  .status-title p {
    font-size: 14px;
  }

  .status-search-card {
    padding: 18px;
    border-radius: 14px;
  }

  .status-result-card {
    border-radius: 14px;
  }

  .status-result-header {
    padding: 20px;
  }

  .status-result-header h2 {
    font-size: 26px;
  }

  .status-badge {
    width: 100%;
  }

  .status-info-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .status-info-item {
    padding: 14px;
  }

  .status-file-box {
    margin: 0 18px 18px;
  }

  .status-file-info {
    width: 100%;
  }

  .status-file-actions {
    width: 100%;
  }

  .status-survey-button,
  .status-confirm-survey-button,
  .status-download-button {
    width: 100%;
  }

  .status-timeline {
    padding: 18px;
  }

  .status-help-card {
    flex-direction: column;
    padding: 18px;
  }

  .status-help-actions {
    width: 100%;
  }

  .status-help-button {
    width: 100%;
  }
}