/**
 * PPID DPPAPP DKI Jakarta - Modern Institutional Design System
 * Focus: Clarity, Accessibility, Trust, Government Service Design
 */

:root {
  /* Brand Colors */
  --ppid-primary: #0054A6;
  --ppid-primary-hover: #004080;
  --ppid-primary-active: #003366;
  --ppid-primary-light: #F0F7FF;
  --ppid-primary-border: #D0E2FF;

  --ppid-secondary: #A9C94B;
  --ppid-secondary-dark: #5B8C24;
  --ppid-secondary-light: #F4F9EC;
  --ppid-secondary-border: #D8E8C0;

  /* Semantic Accents */
  --ppid-orange: #E67E22;
  --ppid-orange-light: #FFF7ED;
  --ppid-orange-border: #FED7AA;

  --ppid-purple: #8E44AD;
  --ppid-purple-light: #FAF5FF;
  --ppid-purple-border: #E9D5FF;

  --ppid-red: #E53E3E;
  --ppid-red-light: #FEF2F2;
  --ppid-red-border: #FECACA;

  --ppid-green: #10B981;
  --ppid-green-light: #ECFDF5;
  --ppid-green-border: #A7F3D0;

  /* Neutrals & Surfaces */
  --ppid-bg: #FFFFFF;
  --ppid-surface-subtle: #F8FAFC;
  --ppid-border: #E2E8F0;
  --ppid-border-light: #EDF2F7;
  --ppid-text-main: #1E293B;
  --ppid-text-secondary: #475569;
  --ppid-text-muted: #64748B;
  --ppid-text-light: #94A3B8;

  /* Geometry */
  --ppid-radius-hero: 20px;
  --ppid-radius-featured: 16px;
  --ppid-radius-card: 14px;
  --ppid-radius-btn: 10px;
  --ppid-radius-input: 8px;
  --ppid-radius-badge: 6px;

  /* Elevation */
  --ppid-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
  --ppid-shadow-card: 0 2px 8px -1px rgba(0, 0, 0, 0.04), 0 1px 3px -1px rgba(0, 0, 0, 0.02);
  --ppid-shadow-hover: 0 10px 25px -4px rgba(0, 84, 166, 0.08), 0 4px 10px -2px rgba(0, 0, 0, 0.03);

  /* Typography */
  --ppid-font: 'Plus Jakarta Sans', Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ppid-container: 1320px;
}

html {
  overflow-x: clip;
  max-width: 100vw;
}

/* Reset Scoped for PPID Root */
body.ppid-root,
.ppid-root {
  margin: 0;
  padding: 0;
  font-family: var(--ppid-font);
  color: var(--ppid-text-main);
  background-color: var(--ppid-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

.ppid-root *,
.ppid-root *::before,
.ppid-root *::after {
  box-sizing: border-box;
}

.ppid-container {
  width: 100%;
  max-width: var(--ppid-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* Accessible Skip Link */
.ppid-skip-link {
  position: absolute;
  top: -40px;
  left: 20px;
  background: var(--ppid-primary);
  color: #FFFFFF;
  padding: 8px 16px;
  z-index: 9999;
  border-radius: var(--ppid-radius-btn);
  font-weight: 600;
  transition: top 0.2s ease;
  text-decoration: none;
}
.ppid-skip-link:focus {
  top: 10px;
}

/* -------------------------------------------------------------
 * 1. UTILITY TOPBAR
 * ----------------------------------------------------------- */
.ppid-topbar {
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--ppid-border);
  font-size: 12.5px;
  color: var(--ppid-text-secondary);
  height: 38px;
  display: flex;
  align-items: center;
}

.ppid-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.ppid-topbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ppid-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ppid-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.ppid-topbar-link:hover {
  color: var(--ppid-primary);
  text-decoration: none;
}

.ppid-topbar-link i {
  font-size: 14px;
}

.ppid-topbar-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppid-topbar-search input {
  height: 26px;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-input);
  padding: 0 10px;
  font-size: 12px;
  color: var(--ppid-text-main);
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.15s ease;
}

.ppid-topbar-search input:focus {
  border-color: var(--ppid-primary);
}

.ppid-topbar-search button {
  background: transparent;
  border: none;
  color: var(--ppid-text-secondary);
  cursor: pointer;
  padding: 2px 4px;
}

/* -------------------------------------------------------------
 * 2. MAIN HEADER & NAVIGATION (STICKY & RESPONSIVE)
 * ----------------------------------------------------------- */
.ppid-header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.ppid-header {
  background: linear-gradient(135deg, #003366 0%, #0054A6 60%, #0A66C2 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 20px -2px rgba(0, 40, 80, 0.15);
  position: relative;
  width: 100%;
  transition: background 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              -webkit-backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphism & Compact State when Scrolled */
.ppid-header.is-scrolled {
  background: linear-gradient(135deg, #003366 0%, #0054A6 60%, #0A66C2 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 30px -4px rgba(0, 20, 50, 0.28), 0 2px 6px rgba(0, 0, 0, 0.08);
}

.ppid-header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ppid-header.is-scrolled .ppid-header-inner {
  height: 62px;
}

.ppid-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #FFFFFF;
}

.ppid-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: height;
}

.ppid-header.is-scrolled .ppid-brand-logo {
  height: 40px;
}

.ppid-brand-text {
  display: flex;
  flex-direction: column;
}

.ppid-brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.ppid-brand-gov {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.2;
}

.ppid-brand-dept {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.2;
  margin-top: 2px;
  max-width: 280px;
}

/* Desktop Nav */
.ppid-nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
}

.ppid-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.ppid-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.ppid-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border-radius: var(--ppid-radius-btn);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.ppid-header.is-scrolled .ppid-nav-link {
  font-size: 14px;
  padding: 6px 12px;
}

.ppid-nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  transform: translateY(-1px);
}

.ppid-nav-link.active {
  color: #FFFFFF;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.14);
}

.ppid-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 14px;
  right: 14px;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -1px 6px rgba(255, 255, 255, 0.5);
  transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              left 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ppid-header.is-scrolled .ppid-nav-link.active::after {
  bottom: -13px;
  left: 12px;
  right: 12px;
}

.ppid-nav-link i.ph-caret-down {
  font-size: 13px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ppid-nav-item:hover .ppid-nav-link i.ph-caret-down,
.ppid-nav-item:focus-within .ppid-nav-link i.ph-caret-down {
  transform: rotate(180deg);
}

/* Dropdown Menu - Smooth Animation & Glass Elevation */
.ppid-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  box-shadow: 0 16px 36px -4px rgba(0, 24, 60, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.22s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  pointer-events: none;
  margin-top: 4px;
}

/* Invisible bridge so moving cursor from nav-link to dropdown never leaves hover zone */
.ppid-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
  background: transparent;
}

.ppid-nav-item:hover .ppid-dropdown-menu,
.ppid-nav-item:focus-within .ppid-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.ppid-dropdown-link {
  display: block;
  padding: 10px 20px;
  font-size: 13.5px;
  color: var(--ppid-text-main);
  text-decoration: none;
  transition: all 0.15s ease;
  font-weight: 500;
  position: relative;
}

.ppid-dropdown-link:hover,
.ppid-dropdown-link.active {
  background-color: var(--ppid-primary-light);
  color: var(--ppid-primary);
  text-decoration: none;
  font-weight: 600;
  padding-left: 24px;
}

/* Header Actions */
.ppid-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ppid-search-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ppid-header.is-scrolled .ppid-search-btn {
  width: 36px;
  height: 36px;
  font-size: 15px;
}

.ppid-search-btn:hover {
  border-color: #FFFFFF;
  color: var(--ppid-primary);
  background-color: #FFFFFF;
}

.ppid-login-btn {
  height: 40px;
  padding: 0 20px;
  background-color: #FFFFFF;
  color: var(--ppid-primary);
  font-weight: 700;
  font-size: 14px;
  border: none;
  border-radius: var(--ppid-radius-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.ppid-header.is-scrolled .ppid-login-btn {
  height: 36px;
  padding: 0 16px;
  font-size: 13.5px;
}

.ppid-login-btn:hover {
  background-color: var(--ppid-primary-light);
  color: var(--ppid-primary-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.ppid-login-btn:active {
  transform: translateY(0);
}

/* Mobile Toggle */
.ppid-mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--ppid-radius-btn);
  padding: 8px 10px;
  font-size: 20px;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ppid-header.is-scrolled .ppid-mobile-toggle {
  padding: 6px 9px;
  font-size: 18px;
}

.ppid-mobile-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Mobile Drawer */
.ppid-mobile-drawer {
  background: #FFFFFF;
  border-bottom: 1px solid var(--ppid-border);
  padding: 16px 24px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1005;
}

.ppid-header.is-scrolled .ppid-mobile-drawer {
  max-height: calc(100vh - 62px);
}

.ppid-mobile-drawer.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.ppid-mobile-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ppid-mobile-nav .ppid-nav-link {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--ppid-text-main);
}

.ppid-mobile-nav .ppid-nav-link:hover {
  color: var(--ppid-primary);
  background-color: var(--ppid-primary-light);
}

.ppid-mobile-group {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.ppid-mobile-group-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ppid-text-muted);
  padding: 6px 14px 2px;
}

.ppid-mobile-subnav {
  list-style: none;
  margin: 0;
  padding: 0 0 0 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ppid-mobile-subnav .ppid-nav-link {
  font-size: 14px;
  padding: 8px 14px;
}

.ppid-mobile-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.ppid-mobile-actions .ppid-login-btn {
  flex: 1;
  background-color: var(--ppid-primary);
  color: #FFFFFF;
}

.ppid-mobile-actions .ppid-login-btn:hover {
  background-color: var(--ppid-primary-hover);
  color: #FFFFFF;
}

/* -------------------------------------------------------------
 * 3. HERO SLIDER SECTION
 * ----------------------------------------------------------- */
.ppid-hero-section {
  padding-top: 0;
  padding-bottom: 12px;
  width: 100%;
}

.ppid-hero-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1440 / 310;
  min-height: 250px;
  max-height: 330px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(0, 40, 80, 0.08);
  background-color: #003366;
}

/* Hero Background Slide */
.ppid-hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease-in-out, visibility 0.6s;
  z-index: 1;
  display: flex;
  align-items: center;
}

.ppid-hero-slide-banner {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #003366;
}

.ppid-hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Gradient Overlay - directional to keep Monas clear while text is punchy */
.ppid-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
    rgba(0, 45, 95, 0.94) 0%,
    rgba(0, 84, 166, 0.82) 42%,
    rgba(0, 84, 166, 0.35) 70%,
    rgba(0, 84, 166, 0.05) 100%);
  z-index: 3;
}

.ppid-hero-container {
  position: relative;
  z-index: 4;
  width: 100%;
  height: 100%;
  max-width: var(--ppid-container);
  margin-left: auto;
  margin-right: auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
}

.ppid-hero-content {
  max-width: 600px;
  color: #FFFFFF;
}

.ppid-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 5px;
}

.ppid-hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 13px;
  background-color: var(--ppid-secondary);
  border-radius: 2px;
}

.ppid-hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.ppid-hero-desc {
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 14px 0;
  max-width: 580px;
  font-weight: 400;
}

.ppid-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  background-color: #FFFFFF;
  color: var(--ppid-primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--ppid-radius-btn);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.ppid-hero-cta:hover {
  background-color: #F8FAFC;
  color: var(--ppid-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
  text-decoration: none;
}

/* Floating Badge in Hero */
.ppid-hero-badge-wrap {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}

.ppid-hero-badge {
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  padding: 12px;
  box-shadow: 0 12px 30px rgba(0, 30, 70, 0.25);
  transform: rotate(-6deg);
  transition: transform 0.3s ease;
}

.ppid-hero-badge:hover {
  transform: rotate(0deg) scale(1.03);
}

.ppid-hero-badge-title {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.ppid-hero-badge-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--ppid-secondary);
  margin-top: 3px;
}

/* Slider Controls */
.ppid-hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all 0.2s ease;
}

.ppid-hero-nav-btn:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: translateY(-50%) scale(1.05);
}

.ppid-hero-nav-prev {
  left: 16px;
}

.ppid-hero-nav-next {
  right: 16px;
}

.ppid-hero-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.ppid-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s ease;
}

.ppid-hero-dot.active {
  width: 20px;
  border-radius: 4px;
  background: #FFFFFF;
}

/* -------------------------------------------------------------
 * 4. SECTION: LAYANAN PPID
 * ----------------------------------------------------------- */
.ppid-section {
  padding: 18px 0;
}

.ppid-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 22px;
}

.ppid-section-title-wrap {
  display: flex;
  flex-direction: column;
}

.ppid-section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ppid-primary);
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.ppid-section-subtitle {
  font-size: 15px;
  color: var(--ppid-text-secondary);
  margin: 0;
}

.ppid-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ppid-primary);
  text-decoration: none;
  transition: gap 0.15s ease, color 0.15s ease;
}

.ppid-section-link:hover {
  color: var(--ppid-primary-hover);
  gap: 9px;
  text-decoration: none;
}

/* Layanan Unggulan (2 Cards) */
.ppid-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.ppid-featured-card {
  border-radius: var(--ppid-radius-featured);
  padding: 32px 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--ppid-shadow-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  min-height: 230px;
}

.ppid-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 45, 95, 0.12);
}

/* Blue Featured Card */
.ppid-card-blue {
  background: linear-gradient(135deg, #F3F8FF 0%, #E3EFFF 100%);
  border: 1px solid rgba(0, 84, 166, 0.2);
}
.ppid-card-blue::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 84, 166, 0.1) 0%, rgba(0, 84, 166, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Green Featured Card */
.ppid-card-green {
  background: linear-gradient(135deg, #F5FAF0 0%, #E8F5DC 100%);
  border: 1px solid rgba(91, 140, 36, 0.22);
  overflow: visible;
}
.ppid-card-green::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(91, 140, 36, 0.12) 0%, rgba(91, 140, 36, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.ppid-card-green .ppid-featured-visual {
  position: relative;
  width: 220px;
  height: 210px;
  margin-right: -25px;
  margin-top: -15px;
  margin-bottom: -15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  flex-shrink: 0;
}

.ppid-featured-body {
  max-width: 310px;
  z-index: 5;
  position: relative;
}

.ppid-featured-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #FFFFFF;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.ppid-featured-icon.blue {
  background: linear-gradient(135deg, #0054A6 0%, #0070DE 100%);
}

.ppid-featured-icon.green {
  background: linear-gradient(135deg, #5B8C24 0%, #72AD2F 100%);
}

.ppid-featured-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--ppid-text-main);
  line-height: 1.3;
  margin: 0 0 10px 0;
  letter-spacing: -0.2px;
}

.ppid-featured-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ppid-text-secondary);
  margin: 0 0 20px 0;
}

.ppid-featured-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  border-radius: var(--ppid-radius-btn);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.ppid-featured-btn.blue {
  background-color: var(--ppid-primary);
}
.ppid-featured-btn.blue:hover {
  background-color: var(--ppid-primary-hover);
  color: #FFFFFF;
  transform: translateX(2px);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 84, 166, 0.25);
}

.ppid-featured-btn.green {
  background-color: #5B8C24;
}
.ppid-featured-btn.green:hover {
  background-color: #4A731D;
  color: #FFFFFF;
  transform: translateX(2px);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(91, 140, 36, 0.25);
}

.ppid-featured-visual {
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

/* Featured SVG Illustration Container */
.ppid-hero-illustration {
  width: 175px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 10px 20px rgba(0, 45, 95, 0.12));
  transition: transform 0.3s ease;
}

.ppid-featured-card:hover .ppid-hero-illustration {
  transform: translateY(-2px) scale(1.03);
}

/* Carik Jakarta Glass Showcase */
.ppid-carik-showcase {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(91, 140, 36, 0.14);
  width: 175px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ppid-featured-card:hover .ppid-carik-showcase {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(91, 140, 36, 0.2);
}

.ppid-carik-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
}

.ppid-carik-tagline {
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  line-height: 1.35;
  letter-spacing: -0.1px;
}

.ppid-carik-badge-pill {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 20px;
  background-color: #EAF5DE;
  color: #4A731D;
  font-size: 10.5px;
  font-weight: 700;
}

/* Dashboard Keluarga Jakarta Phone Floating Showcase */
.ppid-phone-showcase {
  width: 235px;
  height: 215px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  filter: drop-shadow(0 18px 28px rgba(40, 75, 15, 0.22)) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  animation: ppidFloatPhone 4.5s ease-in-out infinite alternate;
}

.ppid-phone-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: right center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
  user-select: none;
  pointer-events: none;
  transform: scale(1.08) rotate(-1deg);
  transform-origin: center right;
}

@keyframes ppidFloatPhone {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  100% {
    transform: translateY(-8px) rotate(0.8deg);
  }
}

.ppid-featured-card:hover .ppid-phone-showcase {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.04);
  filter: drop-shadow(0 26px 38px rgba(40, 75, 15, 0.3)) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}

.ppid-featured-card:hover .ppid-phone-img {
  transform: scale(1.12) rotate(0deg);
}

/* Layanan Lainnya - 3 Columns Grid */
.ppid-services-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

/* Layanan Lainnya - 4 Columns Grid */
.ppid-services-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.ppid-service-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: 16px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--ppid-shadow-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.ppid-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: all 0.25s ease;
  z-index: 2;
}

.ppid-service-card:hover {
  transform: translateY(-4px);
  text-decoration: none;
  color: inherit;
}

/* Service Card Themes on Hover & Accents */
.ppid-service-card.theme-orange::before { background: linear-gradient(90deg, #E65100, #FB8C00); }
.ppid-service-card.theme-orange:hover {
  border-color: #FDBA74;
  box-shadow: 0 14px 30px rgba(230, 81, 0, 0.12);
}

.ppid-service-card.theme-purple::before { background: linear-gradient(90deg, #6B21A8, #9333EA); }
.ppid-service-card.theme-purple:hover {
  border-color: #D8B4FE;
  box-shadow: 0 14px 30px rgba(107, 33, 168, 0.12);
}

.ppid-service-card.theme-red::before { background: linear-gradient(90deg, #DC2626, #EF4444); }
.ppid-service-card.theme-red:hover {
  border-color: #FCA5A5;
  box-shadow: 0 14px 30px rgba(220, 38, 38, 0.12);
}

.ppid-service-card.theme-blue::before { background: linear-gradient(90deg, #0054A6, #2563EB); }
.ppid-service-card.theme-blue:hover {
  border-color: #93C5FD;
  box-shadow: 0 14px 30px rgba(0, 84, 166, 0.12);
}

.ppid-service-card.theme-green::before { background: linear-gradient(90deg, #5B8C24, #16A34A); }
.ppid-service-card.theme-green:hover {
  border-color: #86EFAC;
  box-shadow: 0 14px 30px rgba(91, 140, 36, 0.12);
}

.ppid-service-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.ppid-service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: transform 0.25s ease;
}

.ppid-service-card:hover .ppid-service-icon {
  transform: scale(1.08);
}

.ppid-service-icon.orange {
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.28);
}

.ppid-service-icon.purple {
  background: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28);
}

.ppid-service-icon.red {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.28);
}

.ppid-service-icon.blue {
  background: linear-gradient(135deg, #0054A6 0%, #0284C7 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.28);
}

.ppid-service-icon.green {
  background: linear-gradient(135deg, #5B8C24 0%, #16A34A 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(91, 140, 36, 0.28);
}

.ppid-service-arrow {
  color: var(--ppid-text-light);
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.ppid-service-card:hover .ppid-service-arrow {
  color: #FFFFFF;
  background-color: var(--ppid-primary);
  transform: translate(2px, -2px);
}

.ppid-service-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ppid-text-main);
  line-height: 1.35;
  margin: 0 0 8px 0;
  position: relative;
  z-index: 2;
}

.ppid-service-desc {
  font-size: 13.5px;
  color: var(--ppid-text-muted);
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Background Watermark SVG Illustration */
.ppid-service-watermark {
  position: absolute;
  right: -8px;
  bottom: -8px;
  width: 90px;
  height: 90px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.ppid-service-card:hover .ppid-service-watermark {
  opacity: 0.15;
  transform: scale(1.12) translate(-2px, -2px);
}

/* -------------------------------------------------------------
 * 5. SECTION: STATISTIK LAYANAN INFORMASI PUBLIK
 * ----------------------------------------------------------- */
.ppid-stats-wrapper {
  background-color: #F8FAFC;
  border: 1px solid var(--ppid-border);
  border-radius: 20px;
  padding: 32px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.ppid-stats-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.ppid-stats-filter {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ppid-stats-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ppid-stats-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 9px 36px 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: #1E293B;
  background-color: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  outline: none;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ppid-stats-select:hover {
  border-color: var(--ppid-primary);
  background-color: #F8FAFC;
}

.ppid-stats-select:focus {
  border-color: var(--ppid-primary);
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.15);
}

.ppid-stats-select-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748B;
  font-size: 14px;
  font-weight: bold;
}

.ppid-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Minimalist Clean Metric Card - No colored borders, authentic dashboard feel */
.ppid-stat-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 116px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ppid-stat-card:hover {
  transform: translateY(-2px);
  border-color: #CBD5E1;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
}

.ppid-stat-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ppid-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  line-height: 1.35;
}

.ppid-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background-color: #F1F5F9;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  border: 1px solid #E2E8F0;
}

.ppid-stat-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
}

.ppid-stat-card.is-updating {
  animation: ppidStatPulse 0.4s ease;
}

@keyframes ppidStatPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.985);
    border-color: var(--ppid-primary);
    box-shadow: 0 4px 12px rgba(0, 84, 166, 0.08);
  }
  100% {
    transform: scale(1);
    border-color: #E2E8F0;
  }
}

.ppid-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #0F172A;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  transition: color 0.2s ease;
}

.ppid-stat-unit {
  font-size: 12.5px;
  font-weight: 500;
  color: #94A3B8;
}

.ppid-stat-badge.negative {
  background-color: var(--ppid-red-light);
  color: #B91C1C;
}

.ppid-stat-note {
  font-size: 11.5px;
  color: var(--ppid-text-light);
  margin-left: 6px;
  font-weight: 400;
}

/* -------------------------------------------------------------
 * 6. SECTION: BERITA & INFORMASI PENTING (2 COLUMNS)
 * ----------------------------------------------------------- */
.ppid-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 10px;
  margin-bottom: 40px;
}

.ppid-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ppid-border-light);
}

.ppid-column-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ppid-primary);
  margin: 0;
}

/* News Cards (Left Column) */
.ppid-news-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ppid-news-item {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--ppid-shadow-card);
  transition: all 0.2s ease;
}

.ppid-news-item:hover {
  border-color: var(--ppid-primary);
  transform: translateY(-2px);
  box-shadow: var(--ppid-shadow-hover);
  text-decoration: none;
  color: inherit;
}

.ppid-news-thumb {
  width: 100px;
  height: 75px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background-color: #E2E8F0;
}

.ppid-news-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ppid-news-date {
  font-size: 12px;
  color: var(--ppid-text-muted);
  font-weight: 500;
  margin-bottom: 4px;
}

.ppid-news-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ppid-text-main);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Informasi Penting (Right Column) */
.ppid-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ppid-info-item {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--ppid-shadow-card);
  transition: all 0.2s ease;
}

.ppid-info-item:hover {
  border-color: var(--ppid-primary);
  transform: translateX(3px);
  box-shadow: var(--ppid-shadow-hover);
  text-decoration: none;
  color: inherit;
}

.ppid-info-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ppid-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--ppid-primary-light);
  color: var(--ppid-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.ppid-info-text {
  display: flex;
  flex-direction: column;
}

.ppid-info-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ppid-text-main);
  margin: 0 0 2px 0;
}

.ppid-info-desc {
  font-size: 12.5px;
  color: var(--ppid-text-muted);
  margin: 0;
}

.ppid-info-arrow {
  color: var(--ppid-text-light);
  font-size: 18px;
  transition: transform 0.15s ease, color 0.15s ease;
}

.ppid-info-item:hover .ppid-info-arrow {
  color: var(--ppid-primary);
  transform: translateX(3px);
}

/* -------------------------------------------------------------
 * 7. INSTITUTIONAL FOOTER (SITEMAP STYLE)
 * ----------------------------------------------------------- */
.ppid-footer {
  /* background-color: var(--ppid-primary); */
  background: linear-gradient(135deg, #003366 0%, #0054A6 60%, #0A66C2 100%);
  color: #FFFFFF;
  padding-top: 56px;
  padding-bottom: 28px;
}

.ppid-footer-top {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.1fr 1.4fr 1.4fr;
  gap: 36px;
  padding-bottom: 40px;
}

.ppid-footer-col {
  display: flex;
  flex-direction: column;
}

.ppid-footer-col-logo {
  display: flex;
  align-items: flex-start;
}

.ppid-footer-brand-link {
  display: inline-block;
  text-decoration: none;
}

.ppid-footer-logo {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.ppid-footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 18px 0;
  letter-spacing: 0.2px;
}

.ppid-footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ppid-footer-link {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.ppid-footer-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
  text-decoration: none;
}

.ppid-footer-contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ppid-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ppid-contact-icon-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, #EA580C 0%, #F97316 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 6px rgba(234, 88, 12, 0.28);
}

.ppid-footer-contact-link {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ppid-footer-contact-link:hover {
  color: #FED7AA;
  text-decoration: underline;
}

.ppid-footer-address-text {
  color: rgba(255, 255, 255, 0.95);
  font-size: 14px;
  line-height: 1.5;
}

/* Footer Bottom Bar */
.ppid-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.75);
}

.ppid-footer-bottom-links {
  display: flex;
  gap: 20px;
}

.ppid-footer-bottom-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}

.ppid-footer-bottom-link:hover {
  color: #FFFFFF;
  text-decoration: none;
}

/* -------------------------------------------------------------
 * 8. RESPONSIVE BREAKPOINTS
 * ----------------------------------------------------------- */
@media (max-width: 1200px) {
  .ppid-footer-top {
    grid-template-columns: 0.8fr 1fr 1fr 1.2fr 1.2fr;
    gap: 24px;
  }
}

@media (max-width: 992px) {
  .ppid-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 1024px) {
  .ppid-nav {
    display: none;
  }
  .ppid-mobile-toggle {
    display: block;
  }
  .ppid-hero-title {
    font-size: 38px;
  }
  .ppid-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ppid-services-4col {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ppid-topbar {
    display: none;
  }
  .ppid-hero-container {
    padding: 30px 20px;
  }
  .ppid-hero-title {
    font-size: 32px;
  }
  .ppid-featured-grid {
    grid-template-columns: 1fr;
  }
  .ppid-services-3col {
    grid-template-columns: 1fr;
  }
  .ppid-services-4col {
    grid-template-columns: 1fr;
  }
  .ppid-dual-grid {
    grid-template-columns: 1fr;
  }
  .ppid-footer-top {
    grid-template-columns: 1fr;
  }
  .ppid-footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* -------------------------------------------------------------
 * 9. SUBPAGE HEADERS & BREADCRUMBS
 * ----------------------------------------------------------- */
.ppid-page-header {
  background: linear-gradient(135deg, #003366 0%, #0054A6 60%, #0A66C2 100%);
  color: #FFFFFF;
  padding: 38px 0 34px 0;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 40, 80, 0.1);
}

.ppid-page-header-inner {
  display: flex;
  flex-direction: column;
}

.ppid-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
  font-size: 13px;
}

.ppid-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ppid-breadcrumb-link {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s ease;
}

.ppid-breadcrumb-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.ppid-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
}

.ppid-breadcrumb-current {
  color: #FFFFFF;
  font-weight: 600;
}

.ppid-page-title {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.ppid-page-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 800px;
  line-height: 1.5;
}

/* -------------------------------------------------------------
 * 10. SUBPAGE CONTAINER & PROSE ARTICLE TYPOGRAPHY
 * ----------------------------------------------------------- */
.ppid-subpage-section {
  padding: 40px 0 60px 0;
  background-color: var(--ppid-surface-subtle);
  min-height: calc(100vh - 400px);
}

.ppid-content-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-card);
  padding: 36px 40px;
  margin-bottom: 24px;
}

.ppid-prose {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ppid-text-main);
}

.ppid-prose h1,
.ppid-prose h2,
.ppid-prose h3,
.ppid-prose h4,
.ppid-prose h5,
.ppid-prose h6 {
  color: var(--ppid-primary);
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 12px;
  line-height: 1.35;
}

.ppid-prose h1 { font-size: 26px; }
.ppid-prose h2 { font-size: 22px; border-bottom: 2px solid var(--ppid-border-light); padding-bottom: 8px; }
.ppid-prose h3 { font-size: 19px; }
.ppid-prose h4 { font-size: 17px; }

.ppid-prose p {
  margin-top: 0;
  margin-bottom: 16px;
}

.ppid-prose ul,
.ppid-prose ol {
  margin-top: 0;
  margin-bottom: 18px;
  padding-left: 24px;
}

.ppid-prose li {
  margin-bottom: 6px;
}

.ppid-prose blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  background: var(--ppid-primary-light);
  border-left: 4px solid var(--ppid-primary);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--ppid-text-secondary);
}

.ppid-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 16px 0;
  border: 1px solid var(--ppid-border);
}

.ppid-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.ppid-prose th,
.ppid-prose td {
  padding: 10px 14px;
  border: 1px solid var(--ppid-border);
  font-size: 14px;
}

.ppid-prose th {
  background-color: var(--ppid-primary-light);
  color: var(--ppid-primary);
  font-weight: 700;
}

.ppid-prose a {
  color: var(--ppid-primary);
  text-decoration: underline;
  font-weight: 500;
}

.ppid-prose a:hover {
  color: var(--ppid-primary-hover);
}

/* Sidebar & 2-Col Layouts */
.ppid-layout-2col {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: 28px;
}

.ppid-sidebar-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  box-shadow: var(--ppid-shadow-card);
  padding: 24px;
  margin-bottom: 20px;
}

.ppid-sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ppid-primary);
  margin: 0 0 16px 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ppid-border-light);
}

.ppid-sidebar-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ppid-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--ppid-radius-btn);
  font-size: 13.5px;
  color: var(--ppid-text-main);
  text-decoration: none;
  background-color: var(--ppid-surface-subtle);
  transition: all 0.15s ease;
}

.ppid-sidebar-link:hover,
.ppid-sidebar-link.active {
  background-color: var(--ppid-primary-light);
  color: var(--ppid-primary);
  font-weight: 600;
  text-decoration: none;
}

/* -------------------------------------------------------------
 * 11. MODERN DATA TABLES & CARDS
 * ----------------------------------------------------------- */
.ppid-table-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  margin-bottom: 30px;
}

.ppid-table-toolbar {
  padding: 14px 20px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  background-color: #FAFAFC;
}

.ppid-table-info {
  font-size: 13.5px;
  color: #475569;
  font-weight: 500;
}

.ppid-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.ppid-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ppid-table thead {
  background-color: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
}

.ppid-table thead th {
  padding: 12px 18px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #475569;
  white-space: nowrap;
  border: none;
  vertical-align: middle;
}

.ppid-table thead th.text-center {
  text-align: center;
}

.ppid-table tbody tr {
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.12s ease;
}

.ppid-table tbody tr:hover {
  background-color: #F8FAFC;
}

.ppid-table tbody tr:last-child {
  border-bottom: none;
}

.ppid-table tbody td {
  padding: 13px 18px;
  font-size: 13.5px;
  color: #1E293B;
  vertical-align: middle;
  border: none;
}

.ppid-table tbody td.text-center {
  text-align: center;
}

.ppid-table-group-row td {
  background-color: #F8FAFC;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ppid-primary);
  padding: 11px 18px;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* Authentic Human-Crafted Badges */
.ppid-badge {
  display: inline-flex;
  align-items: center;
  gap: 4.5px;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
  border: 1px solid transparent;
}

.ppid-badge-category,
.ppid-badge-blue {
  background-color: #EFF6FF;
  color: #1E40AF;
  border-color: #DBEAFE;
}

.ppid-badge-year,
.ppid-badge-neutral {
  background-color: #F8FAFC;
  color: #475569;
  border-color: #E2E8F0;
  font-variant-numeric: tabular-nums;
}

.ppid-badge-views {
  background-color: #F8FAFC;
  color: #64748B;
  border-color: #E2E8F0;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
}

.ppid-badge-green {
  background-color: #F0FDF4;
  color: #166534;
  border-color: #DCFCE7;
}

.ppid-badge-orange {
  background-color: #FFF7ED;
  color: #C2410C;
  border-color: #FFEDD5;
}

.ppid-badge-purple {
  background-color: #FAF5FF;
  color: #7E22CE;
  border-color: #F3E8FF;
}

.ppid-badge-red {
  background-color: #FEF2F2;
  color: #991B1B;
  border-color: #FEE2E2;
}

.ppid-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13.5px;
  padding: 8px 16px;
  border-radius: var(--ppid-radius-btn);
  text-decoration: none;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

.ppid-btn-primary {
  background-color: var(--ppid-primary);
  color: #FFFFFF;
}

.ppid-btn-primary:hover {
  background-color: var(--ppid-primary-hover);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 84, 166, 0.2);
}

.ppid-btn-outline {
  background-color: transparent;
  border: 1.5px solid var(--ppid-primary);
  color: var(--ppid-primary);
}

.ppid-btn-outline:hover {
  background-color: var(--ppid-primary-light);
  color: var(--ppid-primary-hover);
  text-decoration: none;
}

.ppid-btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  border-radius: 6px;
}

.ppid-btn-block {
  width: 100%;
}

/* -------------------------------------------------------------
 * 12. FORMS & INPUT CONTROLS
 * ----------------------------------------------------------- */
.ppid-form-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-card);
  padding: 36px 40px;
  margin-bottom: 24px;
}

.ppid-form-section {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ppid-border-light);
}

.ppid-form-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.ppid-form-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ppid-primary);
  margin: 0 0 18px 0;
}

.ppid-form-section-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--ppid-primary);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ppid-form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ppid-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.ppid-form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ppid-text-main);
  line-height: 1.35;
}

.ppid-form-label .required {
  color: var(--ppid-red);
  margin-left: 2px;
}

.ppid-form-control {
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-input);
  font-size: 14px;
  font-family: var(--ppid-font);
  background-color: #FFFFFF;
  color: var(--ppid-text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.ppid-form-control:focus {
  border-color: var(--ppid-primary);
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.12);
}

.ppid-form-textarea {
  height: auto;
  min-height: 100px;
  padding: 12px 14px;
  line-height: 1.5;
  resize: vertical;
}

.ppid-form-file-card {
  border: 1.5px dashed var(--ppid-border);
  border-radius: var(--ppid-radius-input);
  padding: 14px 16px;
  background-color: var(--ppid-surface-subtle);
  transition: all 0.15s ease;
}

.ppid-form-file-card:hover {
  border-color: var(--ppid-primary);
  background-color: var(--ppid-primary-light);
}

.ppid-form-file-card input[type="file"] {
  width: 100%;
  font-size: 13px;
  color: var(--ppid-text-secondary);
}

.ppid-file-helper {
  font-size: 12px;
  color: var(--ppid-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.ppid-file-helper.text-danger {
  color: var(--ppid-red);
}

.ppid-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.ppid-radio-tile {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-input);
  cursor: pointer;
  transition: all 0.15s ease;
  background-color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 500;
  user-select: none;
}

.ppid-radio-tile:hover {
  border-color: var(--ppid-primary);
  background-color: var(--ppid-primary-light);
}

.ppid-radio-tile input[type="radio"] {
  accent-color: var(--ppid-primary);
}

.ppid-form-actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* -------------------------------------------------------------
 * 13. ALERTS & STATUS BOXES
 * ----------------------------------------------------------- */
.ppid-alert {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 10px;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.5;
}

.ppid-alert-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ppid-alert-success {
  background-color: var(--ppid-green-light);
  color: #065F46;
  border: 1px solid var(--ppid-green-border);
}

.ppid-alert-danger,
.ppid-alert-error {
  background-color: var(--ppid-red-light);
  color: #991B1B;
  border: 1px solid var(--ppid-red-border);
}

.ppid-alert-info {
  background-color: var(--ppid-primary-light);
  color: #1E40AF;
  border: 1px solid var(--ppid-primary-border);
}

/* Status Lookup Result Box */
.ppid-status-result-card {
  background: linear-gradient(135deg, #F0F7FF 0%, #E5F0FD 100%);
  border: 1.5px solid var(--ppid-primary-border);
  border-radius: var(--ppid-radius-card);
  padding: 24px;
  margin-top: 20px;
}

.ppid-status-result-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ppid-primary);
  margin-bottom: 6px;
}

.ppid-status-result-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--ppid-text-main);
}

/* Responsive Overrides for Cards & Layout */
@media (max-width: 992px) {
  .ppid-featured-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .ppid-services-3col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ppid-services-4col {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .ppid-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .ppid-layout-2col {
    grid-template-columns: 1fr;
  }
  .ppid-form-grid-2 {
    grid-template-columns: 1fr;
  }
  .ppid-content-card,
  .ppid-form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 768px) {
  .ppid-hero-card {
    min-height: 230px;
    max-height: 290px;
    aspect-ratio: auto;
  }
  .ppid-hero-title {
    font-size: 21px;
  }
  .ppid-hero-desc {
    font-size: 12.5px;
    margin-bottom: 12px;
  }
  .ppid-page-title {
    font-size: 24px;
  }
  .ppid-page-header {
    padding: 28px 0 24px 0;
  }
  .ppid-table thead th,
  .ppid-table tbody td {
    padding: 10px 12px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .ppid-hero-card {
    min-height: 210px;
  }
  .ppid-hero-container {
    padding: 14px 16px;
  }
  .ppid-hero-title {
    font-size: 18px;
  }
  .ppid-hero-desc {
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 10px;
  }
  .ppid-hero-cta {
    padding: 6px 14px;
    font-size: 12px;
  }
  .ppid-featured-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 20px;
  }
  .ppid-card-green {
    overflow: hidden;
  }
  .ppid-featured-visual,
  .ppid-card-green .ppid-featured-visual {
    width: 100%;
    margin: 0;
    justify-content: center;
  }
  .ppid-hero-illustration {
    width: 150px;
    height: 135px;
  }
  .ppid-phone-showcase,
  .ppid-carik-showcase {
    width: 100%;
    max-width: 270px;
    height: 200px;
  }
  .ppid-phone-img {
    transform: scale(1.08) rotate(0deg);
  }
  .ppid-services-3col {
    grid-template-columns: 1fr;
  }
  .ppid-services-4col {
    grid-template-columns: 1fr;
  }
  .ppid-stats-wrapper {
    padding: 22px 18px;
  }
  .ppid-stats-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .ppid-stats-filter,
  .ppid-stats-select-wrapper,
  .ppid-stats-select {
    width: 100%;
  }
  .ppid-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* -------------------------------------------------------------
 * 14. PROFILE (TENTANG PPID) 2-COLUMN LAYOUT & 5 SECTIONS
 * ----------------------------------------------------------- */
.ppid-subpage-section {
  padding: 40px 0 60px 0;
  background-color: var(--ppid-surface-subtle);
  min-height: calc(100vh - 400px);
  width: 100%;
}

.ppid-profile-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: start;
  width: 100%;
  min-width: 0;
}

/* Sticky Sidebar Desktop */
.ppid-profile-sidebar {
  position: -webkit-sticky;
  position: sticky;
  top: 96px;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.ppid-profile-nav-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-card);
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.ppid-profile-nav-header {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--ppid-border-light);
}

.ppid-profile-nav-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ppid-primary);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppid-profile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.ppid-profile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: var(--ppid-radius-btn);
  font-size: 14px;
  font-weight: 600;
  color: var(--ppid-text-secondary);
  text-decoration: none;
  background-color: transparent;
  border: 1px solid transparent;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-sizing: border-box;
}

.ppid-profile-nav-link-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ppid-profile-nav-link i.ppid-nav-icon {
  font-size: 18px;
  color: var(--ppid-text-muted);
  transition: color 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.ppid-profile-nav-link .ppid-nav-arrow {
  font-size: 14px;
  color: var(--ppid-text-light);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ppid-profile-nav-link:hover {
  background-color: var(--ppid-surface-subtle);
  color: var(--ppid-primary);
  text-decoration: none;
}

.ppid-profile-nav-link:hover i.ppid-nav-icon {
  color: var(--ppid-primary);
}

.ppid-profile-nav-link.active {
  background: linear-gradient(135deg, rgba(0, 84, 166, 0.08) 0%, rgba(0, 84, 166, 0.03) 100%);
  color: var(--ppid-primary);
  border-color: var(--ppid-primary-border);
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 84, 166, 0.06);
}

.ppid-profile-nav-link.active i.ppid-nav-icon {
  color: var(--ppid-primary);
}

.ppid-profile-nav-link.active .ppid-nav-arrow {
  opacity: 1;
  color: var(--ppid-primary);
  transform: translateX(0);
}

/* Profile Main Content & Tab Panels */
.ppid-profile-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.ppid-profile-panel {
  display: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ppid-profile-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: ppidPanelFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ppidPanelFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ppid-profile-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-card);
  padding: 36px 40px;
  scroll-margin-top: 96px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-profile-card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--ppid-shadow-hover);
}

/* Card Header */
.ppid-profile-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px solid var(--ppid-border-light);
  min-width: 0;
  width: 100%;
}

.ppid-profile-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--ppid-primary-light) 0%, #E0EEFF 100%);
  color: var(--ppid-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 1px var(--ppid-primary-border);
}

.ppid-profile-card-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ppid-primary);
  margin: 0;
  letter-spacing: -0.2px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-profile-card-subtitle {
  font-size: 13px;
  color: var(--ppid-text-muted);
  margin: 2px 0 0 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Law List / Dasar Hukum */
.ppid-law-box {
  margin-top: 24px;
  background: var(--ppid-surface-subtle);
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  padding: 22px 24px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ppid-law-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ppid-text-main);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-law-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.ppid-law-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--ppid-border-light);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ppid-text-main);
  line-height: 1.5;
  transition: transform 0.15s ease, border-color 0.15s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-law-item:hover {
  transform: translateX(3px);
  border-color: var(--ppid-primary-border);
}

.ppid-law-num {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background-color: var(--ppid-primary-light);
  color: var(--ppid-primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Visi & Misi Custom Styling */
.ppid-vision-card {
  background: linear-gradient(135deg, #003366 0%, #0054A6 100%);
  border-radius: var(--ppid-radius-card);
  padding: 28px 32px;
  color: #FFFFFF;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 84, 166, 0.15);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ppid-vision-card::after {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.ppid-vision-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--ppid-secondary);
  margin-bottom: 12px;
}

.ppid-vision-text {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  color: #FFFFFF;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-mission-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--ppid-text-main);
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppid-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
  width: 100%;
}

.ppid-mission-card {
  background: var(--ppid-surface-subtle);
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  padding: 20px;
  display: flex;
  gap: 14px;
  transition: all 0.2s ease;
  min-width: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-mission-card:hover {
  background: #FFFFFF;
  border-color: var(--ppid-primary);
  transform: translateY(-2px);
  box-shadow: var(--ppid-shadow-card);
}

.ppid-mission-num {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--ppid-primary);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ppid-mission-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ppid-text-main);
  margin: 0;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Struktur Organisasi */
.ppid-org-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  min-width: 0;
}

.ppid-org-leader-card {
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
  border: 1.5px solid var(--ppid-primary-border);
  border-radius: var(--ppid-radius-card);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ppid-org-leader-badge {
  padding: 6px 12px;
  background: var(--ppid-primary);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ppid-org-leader-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ppid-org-leader-role {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ppid-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.ppid-org-leader-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ppid-primary);
  line-height: 1.35;
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-org-units-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-width: 0;
  width: 100%;
}

.ppid-org-units-3col {
  grid-template-columns: repeat(3, 1fr);
}

.ppid-org-unit-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
  box-sizing: border-box;
}

.ppid-org-unit-card:hover {
  border-color: var(--ppid-primary-border);
  box-shadow: var(--ppid-shadow-hover);
}

.ppid-org-unit-header {
  background: var(--ppid-surface-subtle);
  padding: 14px 18px;
  border-bottom: 1px solid var(--ppid-border);
  min-width: 0;
}

.ppid-org-unit-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ppid-primary);
  margin: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-org-unit-head {
  font-size: 13px;
  color: var(--ppid-text-secondary);
  margin-top: 3px;
  font-weight: 500;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-org-unit-body {
  padding: 14px 18px;
  min-width: 0;
}

.ppid-org-member-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.ppid-org-member-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ppid-text-main);
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.ppid-org-member-item i {
  color: var(--ppid-primary);
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Tugas & Wewenang Interactive Item Lists */
.ppid-numbered-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.ppid-numbered-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--ppid-surface-subtle);
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  padding: 16px 20px;
  transition: all 0.15s ease;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.ppid-numbered-item:hover {
  background: #FFFFFF;
  border-color: var(--ppid-primary-border);
  transform: translateX(4px);
  box-shadow: 0 2px 8px rgba(0, 84, 166, 0.05);
}

.ppid-numbered-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ppid-primary-light);
  color: var(--ppid-primary);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ppid-numbered-item.wewenang .ppid-numbered-badge {
  background: #ECFDF5;
  color: #059669;
}

.ppid-numbered-item.wewenang:hover {
  border-color: #A7F3D0;
}

.ppid-numbered-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ppid-text-main);
  margin: 0;
  font-weight: 500;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Media Queries for Profile Layout */
@media (max-width: 1024px) {
  .ppid-profile-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  /* Mobile / Tablet: Static non-sticky navigation bar */
  .ppid-profile-sidebar {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0 0 16px 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
    align-self: auto;
  }

  .ppid-profile-nav-card {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-profile-nav-header {
    display: none;
  }

  .ppid-profile-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    gap: 8px;
    padding: 2px 2px 4px 2px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    max-width: 100%;
  }

  .ppid-profile-nav-list::-webkit-scrollbar {
    display: none;
  }

  .ppid-profile-nav-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    padding: 7px 15px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ppid-text-secondary);
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    flex-shrink: 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    box-sizing: border-box;
  }

  .ppid-profile-nav-link i.ppid-nav-icon {
    font-size: 15px;
    color: var(--ppid-text-muted);
    transition: color 0.15s ease;
  }

  .ppid-profile-nav-link:hover {
    background: #E2E8F0;
    color: var(--ppid-primary);
    border-color: #CBD5E1;
  }

  .ppid-profile-nav-link.active {
    background: linear-gradient(135deg, #0054A6 0%, #004080 100%);
    color: #FFFFFF;
    border-color: #0054A6;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(0, 84, 166, 0.28);
    transform: scale(1.02);
  }

  .ppid-profile-nav-link.active i.ppid-nav-icon {
    color: #FFFFFF;
  }

  .ppid-profile-nav-link .ppid-nav-arrow {
    display: none;
  }

  .ppid-profile-sidebar .ppid-sidebar-card {
    display: none;
  }

  .ppid-profile-card {
    scroll-margin-top: 90px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-mission-grid,
  .ppid-org-units-grid,
  .ppid-org-units-3col {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .ppid-subpage-section {
    padding: 16px 0 40px 0;
  }

  .ppid-profile-sidebar {
    position: static;
    top: auto;
    z-index: auto;
    margin: 0 0 14px 0;
    padding: 0;
    width: 100%;
  }

  .ppid-profile-card {
    padding: 22px 18px;
    border-radius: 12px;
    margin-bottom: 0;
    scroll-margin-top: 135px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-profile-card-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
  }

  .ppid-profile-card-title {
    font-size: 18px;
  }

  .ppid-profile-card-subtitle {
    font-size: 12.5px;
  }

  .ppid-law-box {
    padding: 16px 14px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-law-title {
    font-size: 14px;
  }

  .ppid-law-item {
    padding: 10px 12px;
    font-size: 13px;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-law-item:hover {
    transform: none;
  }

  .ppid-law-num {
    width: 22px;
    height: 22px;
    font-size: 11.5px;
  }

  .ppid-vision-card {
    padding: 20px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-vision-tag {
    font-size: 11px;
    padding: 3px 8px;
  }

  .ppid-vision-text {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .ppid-mission-heading {
    font-size: 14.5px;
  }

  .ppid-mission-card {
    padding: 14px 16px;
    gap: 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-mission-card:hover {
    transform: none;
  }

  .ppid-mission-num {
    width: 28px;
    height: 28px;
    font-size: 13px;
    border-radius: 6px;
  }

  .ppid-mission-text {
    font-size: 13.5px;
  }

  .ppid-org-leader-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px 14px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-org-leader-badge {
    font-size: 11px;
    padding: 4px 8px;
  }

  .ppid-org-leader-role {
    font-size: 11.5px;
  }

  .ppid-org-leader-name {
    font-size: 14.5px;
  }

  .ppid-org-unit-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-org-unit-header {
    padding: 12px 14px;
  }

  .ppid-org-unit-title {
    font-size: 14px;
  }

  .ppid-org-unit-head {
    font-size: 12px;
  }

  .ppid-org-unit-body {
    padding: 12px 14px;
  }

  .ppid-org-member-item {
    font-size: 13px;
    gap: 6px;
  }

  .ppid-numbered-item {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .ppid-numbered-item:hover {
    transform: none;
  }

  .ppid-numbered-badge {
    width: 24px;
    height: 24px;
    font-size: 11.5px;
    border-radius: 6px;
  }

  .ppid-numbered-text {
    font-size: 13px;
    line-height: 1.5;
  }

  .ppid-desk-mobile-card {
    display: block;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
}

@media (min-width: 1025px) {
  .ppid-desk-mobile-card {
    display: none;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================
 * STANDAR LAYANAN & DOCUMENT VIEWER SUITE
 * Modern Tab Nav, Interactive Document Viewer, Lightbox, Quick Actions
 * =========================================================== */

/* Sub-Navigation Pills */
.ppid-doc-subnav-wrap {
  margin-bottom: 24px;
}

.ppid-doc-subnav {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px;
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-sm);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.ppid-doc-subnav::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.ppid-doc-tab-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ppid-text-secondary);
  background: transparent;
  border-radius: var(--ppid-radius-btn);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.ppid-doc-tab-link:hover {
  color: var(--ppid-primary);
  background: var(--ppid-primary-light);
  text-decoration: none;
}

.ppid-doc-tab-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--ppid-primary) 0%, #0066CC 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.25);
}

.ppid-doc-tab-link.active i {
  color: #FFFFFF;
}

.ppid-doc-tab-link i {
  font-size: 17px;
  color: var(--ppid-primary);
  transition: color 0.2s;
}

/* Document Top Control Header Card */
.ppid-doc-control-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-card);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ppid-doc-info-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ppid-doc-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ppid-doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--ppid-radius-badge);
}

.ppid-doc-badge-primary {
  background: var(--ppid-primary-light);
  color: var(--ppid-primary);
  border: 1px solid var(--ppid-primary-border);
}

.ppid-doc-badge-secondary {
  background: var(--ppid-secondary-light);
  color: var(--ppid-secondary-dark);
  border: 1px solid var(--ppid-secondary-border);
}

.ppid-doc-title-h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--ppid-primary);
  margin: 0;
  line-height: 1.3;
}

/* Document Actions Button Group */
.ppid-doc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ppid-doc-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--ppid-radius-btn);
  border: 1px solid var(--ppid-border);
  background: #FFFFFF;
  color: var(--ppid-text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  font-family: inherit;
}

.ppid-doc-btn:hover {
  background: var(--ppid-surface-subtle);
  border-color: var(--ppid-primary-border);
  color: var(--ppid-primary);
  transform: translateY(-1px);
  box-shadow: var(--ppid-shadow-sm);
  text-decoration: none;
}

.ppid-doc-btn:active {
  transform: translateY(0);
}

.ppid-doc-btn i {
  font-size: 16px;
  color: var(--ppid-primary);
}

.ppid-doc-btn-primary {
  background: var(--ppid-primary);
  color: #FFFFFF;
  border-color: var(--ppid-primary);
}

.ppid-doc-btn-primary i {
  color: #FFFFFF;
}

.ppid-doc-btn-primary:hover {
  background: var(--ppid-primary-hover);
  color: #FFFFFF;
  border-color: var(--ppid-primary-hover);
  box-shadow: 0 4px 12px rgba(0, 84, 166, 0.25);
}

/* Document Viewer Card */
.ppid-doc-canvas-card {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-card);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
}

.ppid-doc-preview-wrap {
  position: relative;
  background: var(--ppid-surface-subtle);
  border: 1px solid var(--ppid-border-light);
  border-radius: 12px;
  padding: 16px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: zoom-in;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ppid-doc-preview-wrap:hover {
  border-color: var(--ppid-primary-border);
  box-shadow: 0 6px 20px rgba(0, 84, 166, 0.08);
}

.ppid-doc-preview-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ppid-doc-zoom-overlay {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 8px 14px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.ppid-doc-preview-wrap:hover .ppid-doc-zoom-overlay {
  opacity: 1;
  transform: scale(1.04);
  background: var(--ppid-primary);
}

/* Lightbox Modal */
.ppid-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ppid-lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.ppid-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(30, 41, 59, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  flex-shrink: 0;
}

.ppid-lightbox-title {
  font-size: 15px;
  font-weight: 600;
  color: #F8FAFC;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppid-lightbox-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppid-lightbox-ctrl-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.ppid-lightbox-ctrl-btn:hover {
  background: var(--ppid-primary);
  border-color: var(--ppid-primary);
  transform: scale(1.05);
}

.ppid-lightbox-zoom-val {
  font-size: 13px;
  font-weight: 600;
  color: #94A3B8;
  min-width: 50px;
  text-align: center;
}

.ppid-lightbox-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: grab;
}

.ppid-lightbox-body:active {
  cursor: grabbing;
}

.ppid-lightbox-stage {
  display: inline-block;
  transform-origin: center center;
  transition: transform 0.1s ease-out;
  user-select: none;
}

.ppid-lightbox-img {
  max-height: 85vh;
  max-width: 90vw;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

/* Quick Services Section */
.ppid-quick-section {
  background: #FFFFFF;
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-featured);
  box-shadow: var(--ppid-shadow-card);
  padding: 28px 32px;
  margin-top: 16px;
}

.ppid-quick-header {
  margin-bottom: 20px;
}

.ppid-quick-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ppid-primary);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ppid-quick-subtitle {
  font-size: 14px;
  color: var(--ppid-text-secondary);
  margin: 0;
}

.ppid-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ppid-quick-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background: var(--ppid-surface-subtle);
  border: 1px solid var(--ppid-border);
  border-radius: var(--ppid-radius-card);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  color: inherit;
}

.ppid-quick-card:hover {
  background: #FFFFFF;
  border-color: var(--ppid-primary);
  transform: translateY(-3px);
  box-shadow: var(--ppid-shadow-hover);
  text-decoration: none;
}

.ppid-quick-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.ppid-quick-icon-blue {
  background: var(--ppid-primary-light);
  color: var(--ppid-primary);
}

.ppid-quick-icon-orange {
  background: var(--ppid-orange-light);
  color: var(--ppid-orange);
}

.ppid-quick-icon-green {
  background: var(--ppid-green-light);
  color: var(--ppid-green);
}

.ppid-quick-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ppid-text-main);
  margin: 0 0 6px 0;
}

.ppid-quick-card-desc {
  font-size: 13px;
  color: var(--ppid-text-muted);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.ppid-quick-card-action {
  font-size: 13px;
  font-weight: 600;
  color: var(--ppid-primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.ppid-quick-card:hover .ppid-quick-card-action {
  gap: 10px;
}

/* Floating Toast Notification */
.ppid-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #1E293B;
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 100000;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.ppid-toast.show {
  opacity: 1;
  transform: translateY(0);
}

.ppid-toast i {
  font-size: 18px;
  color: var(--ppid-green);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .ppid-quick-grid {
    grid-template-columns: 1fr;
  }

  .ppid-doc-control-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .ppid-doc-actions {
    width: 100%;
  }

  .ppid-doc-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .ppid-doc-canvas-card {
    padding: 16px;
  }

  .ppid-doc-preview-wrap {
    padding: 8px;
  }

  .ppid-quick-section {
    padding: 20px 18px;
  }
}
