/* ========================================================
   Halaman Cek Status Pendaftar - GST Bangka Belitung
   ======================================================== */

.status-page {
  padding: 40px 0 80px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f6 100%);
  min-height: calc(100vh - 200px);
}

.status-container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header Top Link & Banner */
.status-top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-form-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 10px;
  background: var(--sch-body-color-yellow, #f1b20c);
  color: #0f1d3a;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(241, 178, 12, 0.25);
  transition: all 0.2s ease;
}

.btn-form-cta:hover {
  background: #ffc107;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(241, 178, 12, 0.35);
}

/* Card Utama */
.status-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 29, 58, 0.08);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
}

.status-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #191970 0%, #2563eb 50%, #f1b20c 100%);
}

.status-form-header {
  text-align: center;
  margin-bottom: 30px;
}

.status-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(25, 25, 112, 0.08);
  color: var(--sch-main-color, #191970);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 16px;
}

.status-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.status-subtitle {
  font-size: 14px;
  color: #64748b;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Form Input Cek Status */
.status-input-wrap {
  position: relative;
}

.status-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 16px;
  pointer-events: none;
}

.status-input-wrap .form-input {
  padding-left: 42px;
}

/* Alert Notification */
.status-alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-alert.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.status-alert.info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1e40af;
}

/* Banner Status Terverifikasi / Pending / Ditolak */
.status-banner {
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.status-banner.pending {
  background: #fefce8;
  border: 1px solid #fef08a;
  color: #854d0e;
}

.status-banner.pending .sb-icon {
  color: #ca8a04;
  font-size: 32px;
}

.status-banner.verified {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.status-banner.verified .sb-icon {
  color: #16a34a;
  font-size: 32px;
}

.status-banner.rejected {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.status-banner.rejected .sb-icon {
  color: #dc2626;
  font-size: 32px;
}

.sb-content h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.sb-content p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* User Header Meta */
.student-header-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e2e8f0;
  flex-wrap: wrap;
  gap: 16px;
}

.sh-info h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.sh-info .sh-reg-id {
  font-size: 13px;
  font-weight: 700;
  color: var(--sch-main-color, #191970);
  background: rgba(25, 25, 112, 0.08);
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-block;
}

.sh-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-logout-student {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #fca5a5;
  background: #fff;
  color: #dc2626;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-logout-student:hover {
  background: #fee2e2;
}

/* Grid Rincian Siswa */
.info-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
}

.info-section-title {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px 20px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-key {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.info-val {
  font-size: 14px;
  color: #0f172a;
  font-weight: 600;
}

/* Berkas list */
.doc-status-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}

.doc-status-item:last-child {
  margin-bottom: 0;
}

.ds-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #334155;
  font-weight: 600;
}

.ds-badge {
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.ds-badge.ready {
  background: #dcfce7;
  color: #15803d;
}

.ds-badge.empty {
  background: #f1f5f9;
  color: #94a3b8;
}

/* Catatan Admin */
.admin-notes-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.admin-notes-box h4 {
  font-size: 13px;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-notes-box p {
  font-size: 13px;
  color: #78350f;
  margin: 0;
  line-height: 1.5;
}

/* Action bar bawah */
.status-action-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .status-card {
    padding: 24px 18px;
  }
  .student-header-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .status-banner {
    flex-direction: column;
  }
  .info-grid {
    grid-template-columns: 1fr;
  }
  .status-action-row {
    flex-direction: column;
    width: 100%;
  }
  .status-action-row .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-actions .btn-form-cta {
    display: none !important;
  }
}
