/* ================================================================
   PORTAL PPID - SMP NEGERI 2 CISAAT
   Desain Profesional & Selaras dengan Sistem Web Sekolah
   ================================================================ */

:root {
  --ppid-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ppid-font-display: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Standarisasi Tipografi Seluruh Komponen PPID */
.ppid-nav,
.ppid-form-card,
.ppid-tracking-bar,
.ppid-stat-box,
.ppid-doc-card,
.ppid-guide-card,
.ppid-success-box,
.profile-card,
.ppid-sop-step,
.ppid-input,
.ppid-select,
.ppid-textarea {
  font-family: var(--ppid-font-sans);
}

.ppid-section-title,
.ppid-form-title,
.ppid-step-header,
.ppid-doc-title,
.ppid-guide-title,
.ppid-success-box h2,
.page-title {
  font-family: var(--ppid-font-display);
}

/* Standarisasi Ukuran & Perataan Ikon */
.ppid-nav-link i,
.ppid-hero-badge i,
.ppid-step-header i,
.ppid-notice-box i,
.ppid-alert-box i,
.ppid-doc-icon i,
.ppid-org-icon i {
  font-style: normal;
  line-height: 1;
  vertical-align: middle;
}

/* ---- HERO & HEADER ---- */
.ppid-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-family: var(--ppid-font-sans);
  font-size: 0.813rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.ppid-hero-desc {
  font-family: var(--ppid-font-sans);
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  max-width: 680px;
  margin: 0.5rem auto 0;
  line-height: 1.65;
}

/* ---- NAV TABS SUBMENU (CLEAN GOVERNMENT INSTITUTIONAL BAR) ---- */
.ppid-nav {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 65px;
  z-index: 80;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.ppid-nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.ppid-nav-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  width: 100%;
}

@media (max-width: 900px) {
  .ppid-nav-track {
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0.5rem;
  }
  .ppid-nav-track::-webkit-scrollbar {
    display: none;
  }
}

.ppid-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.813rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.ppid-nav-link i {
  font-size: 0.813rem;
  color: #64748b;
  transition: color 0.15s ease;
}

.ppid-nav-link:hover {
  color: #1e40af;
  background: #f1f5f9;
}

.ppid-nav-link:hover i {
  color: #2563eb;
}

.ppid-nav-link.active {
  color: #1e40af;
  background: #eff6ff;
  border-color: #bfdbfe;
  font-weight: 700;
}

.ppid-nav-link.active i {
  color: #2563eb;
}

/* ---- SECTION HEADER ---- */
.ppid-section-header {
  margin-bottom: 2rem;
}

.ppid-section-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.ppid-section-subtitle {
  color: #64748b;
  font-size: 0.925rem;
  margin: 0;
}

/* ---- STATISTIK UTAMA (GRID 5 KOLOM) ---- */
.ppid-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 1024px) {
  .ppid-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .ppid-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ppid-stats-grid > *:first-child {
    grid-column: span 2;
  }
}

.ppid-stat-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.ppid-stat-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

.ppid-stat-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 0.85rem;
  transition: transform 0.25s ease;
}

.ppid-stat-box:hover .ppid-stat-icon-wrap {
  transform: scale(1.1);
}

.ppid-stat-icon-wrap.blue {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1px solid rgba(191, 219, 254, 0.6);
}

.ppid-stat-icon-wrap.green {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  color: #15803d;
  border: 1px solid rgba(187, 247, 208, 0.6);
}

.ppid-stat-icon-wrap.amber {
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  color: #b45309;
  border: 1px solid rgba(253, 230, 138, 0.6);
}

.ppid-stat-icon-wrap.purple {
  background: linear-gradient(135deg, #faf5ff, #f3e8ff);
  color: #7e22ce;
  border: 1px solid rgba(233, 213, 255, 0.6);
}

.ppid-stat-icon-wrap.red {
  background: linear-gradient(135deg, #fef2f2, #fee2e2);
  color: #b91c1c;
  border: 1px solid rgba(254, 202, 202, 0.6);
}

.ppid-stat-number {
  font-family: var(--ppid-font-display, 'Inter', sans-serif);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.ppid-stat-title {
  font-size: 0.825rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.35;
}

/* ---- SUMMARY CARDS (PERMOHONAN & KEBERATAN) ---- */
.ppid-summary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.ppid-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.ppid-summary-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.ppid-summary-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ppid-mini-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.ppid-mini-stat-item {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 10px;
  padding: 0.85rem 0.5rem;
  text-align: center;
}

.ppid-mini-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.ppid-mini-label {
  font-size: 0.725rem;
  color: #64748b;
  font-weight: 600;
  line-height: 1.2;
}

/* ---- DOKUMEN CARDS ---- */
.ppid-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

.ppid-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
}

.ppid-card-item:hover {
  transform: translateY(-3px);
  border-color: #3b82f6;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}

.ppid-card-top {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.ppid-card-icon {
  width: 44px;
  height: 44px;
  background: #eff6ff;
  color: #1e40af;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ppid-card-content {
  flex: 1;
  min-width: 0;
}

.ppid-card-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.45;
  margin: 0.4rem 0 0.35rem;
}

.ppid-card-desc {
  font-size: 0.813rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.ppid-card-meta {
  font-size: 0.775rem;
  color: #94a3b8;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.ppid-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ppid-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ppid-badge.berkala {
  background: #eff6ff;
  color: #1e40af;
}

.ppid-badge.serta-merta {
  background: #fef9c3;
  color: #854d0e;
}

.ppid-badge.setiap-saat {
  background: #f0fdf4;
  color: #166534;
}

.ppid-badge.dikecualikan {
  background: #fef2f2;
  color: #991b1b;
}

/* ---- MAKLUMAT PELAYANAN BOX ---- */
.ppid-maklumat-card {
  background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  text-align: center;
  position: relative;
  margin-bottom: 2.5rem;
}

.ppid-maklumat-card .maklumat-icon {
  width: 48px;
  height: 48px;
  background: #dbeafe;
  color: #1e40af;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

.ppid-maklumat-text {
  font-size: 1.05rem;
  color: #1e3a8a;
  line-height: 1.75;
  max-width: 720px;
  margin: 0 auto;
  font-weight: 500;
}

.ppid-maklumat-author {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #1e40af;
}

/* ---- QUICK LINKS (PROFESSIONAL SERVICE CARDS) ---- */
.ppid-quick-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.ppid-quick-item {
  flex: 1 1 220px;
  max-width: 260px;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem 1.35rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.ppid-quick-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: background 0.25s ease;
}

.ppid-quick-item:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 12px 28px -4px rgba(30, 64, 175, 0.1);
}

.ppid-quick-item:hover::before {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

.ppid-quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 1rem;
  transition: transform 0.25s ease;
}

.ppid-quick-item:hover .ppid-quick-icon {
  transform: scale(1.08);
}

.ppid-quick-item h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.ppid-quick-item p {
  font-size: 0.813rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

/* ---- DASAR HUKUM BOX ---- */
.ppid-legal-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.ppid-legal-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 1rem;
}

.ppid-legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.ppid-legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #334155;
  line-height: 1.55;
}

.ppid-legal-list li i {
  color: #16a34a;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* ---- MODERN FORM STYLING ---- */
.ppid-form-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.ppid-form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.ppid-form-subtitle {
  color: #64748b;
  font-size: 0.875rem;
  margin-bottom: 1.75rem;
}

.ppid-step-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e40af;
  margin: 1.75rem 0 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid #e2e8f0;
}

.ppid-step-num {
  width: 26px;
  height: 26px;
  background: #1e40af;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.775rem;
  font-weight: 800;
}

.ppid-field-group {
  margin-bottom: 1.25rem;
}

.ppid-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
}

.ppid-input,
.ppid-select,
.ppid-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  color: #0f172a;
  transition: all 0.2s ease;
  outline: none;
}

.ppid-input:focus,
.ppid-select:focus,
.ppid-textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ppid-textarea {
  resize: vertical;
  min-height: 110px;
}

.ppid-field-hint {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.35rem;
}

/* Custom File Upload Box */
.ppid-file-upload {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 1.25rem 1rem;
  text-align: center;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ppid-file-upload:hover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.ppid-file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.ppid-file-icon {
  font-size: 1.5rem;
  color: #3b82f6;
  margin-bottom: 0.35rem;
}

.ppid-file-text {
  font-size: 0.813rem;
  font-weight: 600;
  color: #334155;
}

.ppid-file-subtext {
  font-size: 0.725rem;
  color: #94a3b8;
}

/* Notice Box */
.ppid-notice-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.ppid-notice-icon {
  font-size: 1.25rem;
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.ppid-notice-text h5 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #166534;
  margin-bottom: 0.25rem;
}

.ppid-notice-text p {
  font-size: 0.813rem;
  color: #334155;
  margin: 0;
  line-height: 1.55;
}

/* ---- STATUS TRACKING SEARCH BAR ---- */
.ppid-tracking-bar {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  margin-bottom: 2rem;
}

.ppid-search-input-group {
  display: flex;
  gap: 0.75rem;
}

.ppid-search-input-wrap {
  position: relative;
  flex: 1;
}

.ppid-search-input-wrap i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
}

.ppid-search-input-wrap input {
  padding-left: 2.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ---- TIKET STATUS CARD ---- */
.ppid-result-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.ppid-result-header {
  background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
  padding: 1.5rem 1.75rem;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ppid-result-header.danger {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.ppid-result-no {
  font-family: 'Courier New', monospace;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.ppid-result-body {
  padding: 1.75rem;
}

.ppid-info-row {
  display: flex;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

.ppid-info-row:last-child {
  border-bottom: none;
}

.ppid-info-label {
  width: 170px;
  font-weight: 600;
  color: #64748b;
  flex-shrink: 0;
}

.ppid-info-value {
  flex: 1;
  color: #0f172a;
}

/* Status Badges */
.ppid-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ppid-status-badge.menunggu {
  background: #fef9c3;
  color: #854d0e;
}

.ppid-status-badge.diproses {
  background: #eff6ff;
  color: #1e40af;
}

.ppid-status-badge.diterima {
  background: #f0fdf4;
  color: #166534;
}

.ppid-status-badge.ditolak {
  background: #fef2f2;
  color: #991b1b;
}

.ppid-status-badge.selesai {
  background: #f0fdf4;
  color: #166534;
}

/* ---- PROFIL PPID (STRUKTUR ORGANISASI) ---- */
.ppid-org-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ppid-org-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: all 0.2s ease;
}

.ppid-org-item:hover {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.06);
}

.ppid-org-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #1e40af;
  flex-shrink: 0;
}

.ppid-org-role {
  font-size: 0.813rem;
  font-weight: 700;
  color: #1e40af;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}

.ppid-org-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

/* ---- PROFILE GRID 2-KOLOM (SELARAS PROFIL SEKOLAH) ---- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2rem;
  align-items: start;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-card {
  padding: 2rem 2.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-card {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.info-title {
  font-size: 1rem;
  color: var(--biru, #1d4ed8);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--emas, #f59e0b);
  font-weight: 700;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table td {
  padding: 0.5rem 0.5rem 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  vertical-align: top;
}

.info-table tr:last-child td {
  border-bottom: none;
}

.kepsek-card {
  text-align: center;
}

.kepsek-avatar {
  width: 150px;
  height: 180px;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 3px solid #f59e0b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.kepsek-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.kepsek-card h4 {
  font-size: 1rem;
  color: #1e40af;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.misi-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.misi-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.938rem;
  color: #475569;
  line-height: 1.65;
}

.misi-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #16a34a;
  font-size: 0.85rem;
}

.badge-emas {
  background: #fef3c7;
  color: #92400e;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.75rem;
}

/* ---- TIMELINE SOP (SPACIOUS & ELEGANT) ---- */
.ppid-sop-timeline {
  position: relative;
  padding-left: 3.75rem;
  margin-top: 1.75rem;
}

.ppid-sop-timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  background: #e2e8f0;
  border-radius: 2px;
}

.ppid-sop-step {
  position: relative;
  margin-bottom: 2.5rem;
}

.ppid-sop-step:last-child {
  margin-bottom: 0;
}

.ppid-sop-badge {
  position: absolute;
  left: -3.75rem;
  top: 0;
  width: 38px;
  height: 38px;
  background: #1e40af;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 0 0 5px #eff6ff;
}

.ppid-sop-step.danger .ppid-sop-badge {
  background: #dc2626;
  box-shadow: 0 0 0 5px #fef2f2;
}

.ppid-sop-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.6rem 1.85rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ppid-sop-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(30, 64, 175, 0.08);
}

.ppid-sop-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.45rem;
}

.ppid-sop-desc {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.ppid-sop-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #f1f5f9;
  color: #334155;
  font-size: 0.775rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
}

.ppid-sop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
  .ppid-sop-grid {
    grid-template-columns: 1fr;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .ppid-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .ppid-summary-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* --- SOP Page --- */
  .ppid-sop-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  /* Prevent diagram flow from breaking page width */
  .section .container > div[style*="border-radius:18px"],
  .section .container > div[style*="border-radius: 18px"] {
    padding: 1.25rem 1rem;
  }

  .ppid-nav {
    top: 60px;
  }
  .ppid-nav .container {
    justify-content: flex-start;
    padding: 0.45rem 0.65rem;
    gap: 0.35rem;
  }
  .ppid-nav-link {
    padding: 0.45rem 0.85rem;
    font-size: 0.813rem;
    gap: 0.35rem;
  }
  .ppid-nav-link i {
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {
  .ppid-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ppid-mini-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .ppid-quick-item {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .ppid-form-card,
  .profile-card {
    padding: 1.5rem 1.25rem;
  }

  .ppid-search-input-group {
    flex-direction: column;
  }

  /* ---- BUTTONS KONSISTEN ---- */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: 1.5px solid transparent;
    line-height: 1.4;
  }

  .btn-primary {
    background: var(--primary-700, #1d4ed8);
    color: #ffffff;
    border-color: var(--primary-700, #1d4ed8);
  }

  .btn-primary:hover {
    background: #1e40af;
    border-color: #1e40af;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
  }

  .btn-outline {
    background: transparent;
    color: #334155;
    border-color: #cbd5e1;
  }

  .btn-outline:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1e40af;
    transform: translateY(-1px);
  }

  .btn-sm {
    padding: 0.4rem 0.85rem;
    font-size: 0.813rem;
    border-radius: 8px;
  }

  .btn-lg {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    border-radius: 12px;
  }
}

/* Modern Animated PPID Alert Box */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ppid-alert-box {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* PPID Collapsible Guidelines Accordion */
details.ppid-guidelines-accordion summary::-webkit-details-marker {
  display: none;
}

details.ppid-guidelines-accordion summary {
  outline: none;
  transition: background-color 0.2s ease;
}

details.ppid-guidelines-accordion summary:hover {
  filter: brightness(0.97);
}

details.ppid-guidelines-accordion summary .guide-chevron {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

details.ppid-guidelines-accordion[open] summary .guide-chevron {
  transform: rotate(180deg);
}