/* ==========================================================================
   PPID Puskesmas Kecamatan Pademangan — tema modern
   --------------------------------------------------------------------------
   Berdiri sendiri: hanya memakai grid/utilitas Bootstrap + Font Awesome,
   TIDAK memakai aset AdminLTE.
   Kelas yang dipakai view: ppid-body, ppid-topbar, ppid-head, ppid-nav,
   ppid-main, ppid-seksi, ppid-kartu-*, ppid-tabel, ppid-foot, dst.
   ========================================================================== */

:root {
	--primary: #0d9488;
	--primary-600: #0f766e;
	--primary-700: #115e59;
	--primary-soft: #ccfbf1;
	--accent: #f59e0b;
	--accent-soft: #fef3c7;
	--ink: #0f172a;
	--ink-soft: #334155;
	--muted: #64748b;
	--line: #e8eef3;
	--surface: #ffffff;
	--bg: #f6f9f9;
	--gradient: linear-gradient(120deg, #0f766e 0%, #0d9488 55%, #14b8a6 100%);
	--gradient-soft: linear-gradient(120deg, #ecfdf5 0%, #f0fdfa 100%);
	--radius: 16px;
	--radius-sm: 12px;
	--shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.06);
	--shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
	--shadow-md: 0 12px 30px rgba(15, 23, 42, 0.1);
	--shadow-lg: 0 22px 50px rgba(15, 23, 42, 0.14);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Poppins", var(--font);

	/* alias supaya inline style di view (var(--primary-gradient), var(--shadow))
       tetap dapat nilai tema yang baru */
	--primary-gradient: var(--gradient);
	--shadow: var(--shadow-sm);
	--shadow-hover: var(--shadow-md);
	--secondary: var(--primary);
	--dark: var(--ink);
	--text: var(--ink-soft);
	--text-light: var(--muted);
	--bg-light: var(--bg);
	--bg-card: var(--surface);
	--white: #fff;
}

/* ==============================  DASAR  ================================== */
* {
	box-sizing: border-box;
}

body.ppid-body {
	margin: 0;
	background: var(--bg);
	color: var(--ink-soft);
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.7;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

.ppid-body h1,
.ppid-body h2,
.ppid-body h3,
.ppid-body h4,
.ppid-body h5 {
	font-family: var(--font-display);
	color: var(--ink);
	letter-spacing: -0.02em;
	font-weight: 700;
}

.ppid-body img {
	max-width: 100%;
	height: auto;
}

.ppid-body a {
	transition:
		color 0.18s ease,
		background 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

/* label kecil (mirip badge) */
.ppid-body .label {
	display: inline-block;
	padding: 0.35em 0.7em;
	border-radius: 999px;
	background: #e2e8f0;
	color: #fff;
	font-size: 72%;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.01em;
	white-space: nowrap;
}

/* fokus keyboard tetap kelihatan */
.ppid-body a:focus-visible,
.ppid-body button:focus-visible {
	outline: 3px solid rgba(13, 148, 136, 0.35);
	outline-offset: 2px;
	border-radius: 8px;
}

/* ==============================  TOP BAR  =============================== */
.ppid-topbar {
	background: #08302c;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.8rem;
	letter-spacing: 0.01em;
}

.ppid-topbar-inner {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 40px;
}

/* tab pindah PPID <-> website utama */
.ppid-switch {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-self: stretch;
}

.ppid-switch li {
	display: flex;
}

.ppid-switch li a {
	display: flex;
	align-items: center;
	padding: 0 18px;
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.73rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ppid-switch li a:hover {
	color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.ppid-switch li.aktif a {
	background: var(--gradient);
	color: #fff;
}

.ppid-sekilas {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	text-align: center;
	color: rgba(255, 255, 255, 0.68);
}

.ppid-sekilas b {
	color: #fff;
	font-weight: 700;
}

.ppid-sekilas b::after {
	content: "•";
	margin: 0 8px;
	opacity: 0.5;
}

.ppid-topbar a {
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
}

.ppid-sosial {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}

.ppid-sosial a {
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.82rem;
	color: #fff;
}

.ppid-sosial a:hover {
	background: var(--accent);
	color: #fff;
	transform: translateY(-1px);
}

/* ========================  HEADER: logo + menu  ========================= */
.ppid-head {
	background: rgba(255, 255, 255, 0.93);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 900;
	transition: box-shadow 0.25s ease;
}

.ppid-head.tertempel {
	box-shadow: var(--shadow-sm);
}

.ppid-head-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 84px;
}

.ppid-head .brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex: 0 0 auto;
}

.ppid-head .brand img {
	max-height: 56px;
	max-width: 300px;
	width: auto;
	object-fit: contain;
}

.ppid-nav ul.ppid-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
}

.ppid-nav ul.ppid-menu > li {
	position: relative;
}

.ppid-nav ul.ppid-menu > li > a {
	display: block;
	padding: 12px 11px;
	color: var(--ink-soft);
	text-decoration: none;
	font-family: var(--font);
	font-size: 0.78rem;
	font-weight: 600;
	white-space: nowrap;
	border-radius: 10px;
	position: relative;
}

.ppid-nav ul.ppid-menu > li > a::after {
	content: "";
	position: absolute;
	left: 11px;
	right: 11px;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.22s ease;
}

.ppid-nav ul.ppid-menu > li > a:hover {
	color: var(--primary-600);
	background: #f1f7f6;
}

.ppid-nav ul.ppid-menu > li > a:hover::after,
.ppid-nav ul.ppid-menu > li.aktif > a::after {
	transform: scaleX(1);
}

.ppid-nav ul.ppid-menu > li.aktif > a {
	color: var(--primary-700);
	font-weight: 700;
}

.ppid-nav .dropdown-menu {
	border: 1px solid var(--line);
	border-top: 3px solid var(--primary);
	border-radius: 0 0 14px 14px;
	box-shadow: var(--shadow-md);
	padding: 8px 0;
	min-width: 260px;
	max-height: 70vh;
	overflow-y: auto;
	margin-top: 0;
}

.ppid-nav .dropdown-menu li a {
	display: block;
	padding: 9px 20px;
	font-size: 0.86rem;
	color: var(--ink-soft);
	text-decoration: none;
}

.ppid-nav .dropdown-menu li a:hover {
	background: #f1f7f6;
	color: var(--primary-700);
	padding-left: 24px;
}

.ppid-nav .menu-kosong {
	display: block;
	padding: 9px 20px;
	font-size: 0.85rem;
	color: var(--muted);
	font-style: italic;
}

/* penanda item menu yang membuka layanan PPID Dinkes/Sudin (tab baru) */
.ppid-nav .menu-luar {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 7px;
	border-radius: 999px;
	background: var(--gradient-soft);
	color: var(--primary-700);
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}

.ppid-nav-toggle {
	display: none;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--primary-700);
	font-size: 1.15rem;
	cursor: pointer;
	padding: 7px 13px;
}

.ppid-nav-toggle:hover {
	background: var(--gradient-soft);
}

/* =============================  KONTEN  ================================= */
.ppid-main {
	min-height: 55vh;
}

.ppid-seksi {
	padding: 54px 0;
}

.ppid-seksi-abu {
	background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}

.ppid-seksi-aksi {
	padding: 44px 0 30px;
	background: var(--bg);
}

/* judul section: garis aksen + judul besar + sub-label */
.ppid-judul-utama {
	margin-bottom: 26px;
	position: relative;
	padding-left: 18px;
}

.ppid-judul-utama::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	bottom: 6px;
	width: 5px;
	border-radius: 4px;
	background: var(--gradient);
}

.ppid-judul-utama h2 {
	margin: 0;
	font-size: clamp(1.25rem, 2.4vw, 1.6rem);
	font-weight: 700;
}

.ppid-judul-utama .sub {
	display: block;
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.9rem;
}

/* ----------------------------- banner slider --------------------------- */
.ppid-slider {
	margin: 0;
	border-radius: 0 0 var(--radius) var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.ppid-slider .carousel-item img {
	width: 100%;
	height: auto;
	display: block;
}

.ppid-slider .carousel-control-prev,
.ppid-slider .carousel-control-next {
	width: 56px;
	opacity: 1;
}

.ppid-slider .carousel-control-prev span,
.ppid-slider .carousel-control-next span {
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--primary-700);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	box-shadow: var(--shadow-sm);
	transition: transform 0.2s ease;
}

.ppid-slider .carousel-control-prev:hover span,
.ppid-slider .carousel-control-next:hover span {
	transform: scale(1.08);
}

.ppid-slider .carousel-indicators {
	bottom: 12px;
	margin-bottom: 0;
	z-index: 5;
}

.ppid-slider .carousel-indicators li {
	width: 26px;
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.55);
	border: 0;
	margin: 0 4px;
}

.ppid-slider .carousel-indicators li.active {
	background: #fff;
	width: 34px;
}

/* ---------------------------- kartu aksi cepat ------------------------ */
/*
   Markup kartu aksi (beranda):
   <a class="ppid-kartu-aksi">
       <span class="ikon"><i class="fa ..."></i></span>
       <b>Judul</b>
       <span class="ket">keterangan</span>
       <span class="tombol">BACA SELENGKAPNYA <i class="fa fa-angle-right"></i></span>
   </a>
*/
.ppid-kartu-aksi {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 24px 22px;
	text-decoration: none !important;
	color: inherit;
	box-shadow: var(--shadow-xs);
	height: 100%;
	position: relative;
	overflow: hidden;
}

.ppid-kartu-aksi::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--gradient);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.28s ease;
}

.ppid-kartu-aksi:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--primary-soft);
}

.ppid-kartu-aksi:hover::before {
	transform: scaleX(1);
}

.ppid-kartu-aksi .ikon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--gradient-soft);
	color: var(--primary-600);
	font-size: 22px;
	margin-bottom: 16px;
}

.ppid-kartu-aksi:hover .ikon {
	background: var(--gradient);
	color: #fff;
}

.ppid-kartu-aksi b {
	display: block;
	font-family: var(--font-display);
	font-size: 1rem;
	line-height: 1.35;
	color: var(--ink);
	margin-bottom: 8px;
}

.ppid-kartu-aksi .ket {
	display: block;
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.55;
	flex: 1 1 auto;
}

.ppid-kartu-aksi .tombol {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 18px;
	color: var(--primary-600);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.ppid-kartu-aksi:hover .tombol {
	gap: 10px;
}

/* pembungkus grid (dipakai di beranda) */
.ppid-aksi {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 16px;
}

.ppid-aksi a {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
	text-decoration: none;
	color: inherit;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	box-shadow: var(--shadow-xs);
}

.ppid-aksi a:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--primary-soft);
}

.ppid-aksi i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 14px;
	background: var(--gradient-soft);
	color: var(--primary-600);
	font-size: 20px;
}

.ppid-aksi b {
	display: block;
	font-family: var(--font-display);
	font-size: 0.95rem;
	color: var(--ink);
	line-height: 1.35;
	margin-bottom: 4px;
}

.ppid-aksi small {
	color: var(--muted);
	font-size: 0.84rem;
	line-height: 1.5;
}

/* ---------------------------- kartu statistik ------------------------- */
.ppid-kartu-stat {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 22px 20px;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow-xs);
	height: 100%;
}

.ppid-kartu-stat:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.ppid-kartu-stat > i {
	font-size: 24px;
	display: block;
	margin-bottom: 10px;
}

.ppid-kartu-stat .label-teks {
	display: block;
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.ppid-kartu-stat b {
	display: block;
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.1;
}

/* ---------------------------- kartu kategori -------------------------- */
.ppid-kartu-kategori {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--primary);
	border-radius: var(--radius-sm);
	padding: 14px 18px;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--shadow-xs);
	height: 100%;
}

.ppid-kartu-kategori:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-sm);
	border-left-color: var(--accent);
}

.ppid-kartu-kategori b {
	display: block;
	font-size: 0.92rem;
	color: var(--ink);
}

.ppid-kartu-kategori small {
	color: var(--muted);
	font-size: 0.84rem;
}

/* ---------------------------- kartu dokumen --------------------------- */
.ppid-kartu-dok {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-xs);
	padding: 22px 20px;
	text-decoration: none !important;
	color: inherit;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.ppid-kartu-dok::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	background: var(--gradient);
}

.ppid-kartu-dok:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.ppid-kartu-dok .ikon {
	width: 48px;
	height: 48px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 20px;
	margin-bottom: 14px;
	box-shadow: var(--shadow-xs);
}

.ppid-kartu-dok b {
	display: block;
	font-size: 0.97rem;
	line-height: 1.45;
	color: var(--ink);
	margin-bottom: 8px;
}

.ppid-kartu-dok .ket {
	display: block;
	color: var(--muted);
	font-size: 0.85rem;
	flex: 1 1 auto;
}

.ppid-kartu-dok .tombol {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 16px;
	color: var(--primary-600);
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ppid-kartu-dok:hover .tombol {
	gap: 10px;
}

/* gambar kartu dokumen (juga untuk dokumen bertipe tautan) */
.ppid-kartu-dok .thumb {
	display: block;
	margin: -22px -20px 14px;
	height: 150px;
	overflow: hidden;
	background: var(--gradient-soft);
}

.ppid-kartu-dok .thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ppid-kartu-dok:hover .thumb img {
	transform: scale(1.05);
}

/* thumbnail kecil pada tabel informasi terkini */
.ppid-thumb-mini {
	float: left;
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid var(--line);
	margin: 0 12px 6px 0;
}

/* gambar pada daftar dokumen per kategori */
.ppid-thumb-dok {
	display: block;
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 8px;
	margin-bottom: 14px;
}

/* ------------------------------- infografis ---------------------------- */
.ppid-grid-info {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 18px;
}

.ppid-info {
	display: block;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-xs);
	overflow: hidden;
	text-decoration: none !important;
	color: inherit;
}

.ppid-info:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.ppid-info img {
	display: block;
	width: 100%;
	height: 160px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.ppid-info:hover img {
	transform: scale(1.06);
}

.ppid-info .ikon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 120px;
	background: var(--gradient-soft);
	color: var(--primary-600);
	font-size: 36px;
}

.ppid-info b {
	display: block;
	padding: 14px 16px;
	font-size: 0.89rem;
	line-height: 1.45;
	color: var(--ink);
}

/* ---------------------------- tabel & pesan kosong -------------------- */
.ppid-tabel-bungkus {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-xs);
	overflow: hidden;
}

table.ppid-tabel {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
}

table.ppid-tabel thead th {
	background: #f1f7f6;
	border: 0;
	border-bottom: 1px solid var(--line);
	padding: 14px 18px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--primary-700);
	white-space: nowrap;
}

table.ppid-tabel tbody td {
	border: 0;
	border-bottom: 1px solid #f1f5f9;
	padding: 15px 18px;
	vertical-align: middle;
	color: var(--ink-soft);
	font-size: 0.92rem;
}

table.ppid-tabel tbody tr:last-child td {
	border-bottom: 0;
}

table.ppid-tabel tbody tr:hover td {
	background: #fafcfc;
}

table.ppid-tabel b {
	color: var(--ink);
}

table.ppid-tabel .ket {
	color: var(--muted);
	font-size: 0.85rem;
}

.ppid-kosong {
	background: #fffdf5;
	border: 1px dashed #fcd34d;
	border-radius: var(--radius-sm);
	padding: 18px 20px;
	color: #92610a;
	font-size: 0.9rem;
}

.ppid-kosong i {
	margin-right: 6px;
}

/* tab jenis informasi di halaman daftar dokumen (pola Bootstrap 3) */
.ppid-body ul.nav-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
}

.ppid-body ul.nav-pills > li {
	margin: 0;
}

.ppid-body ul.nav-pills > li > a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0.5rem 1.05rem;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: #fff;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	box-shadow: var(--shadow-xs);
}

.ppid-body ul.nav-pills > li > a:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-sm);
}

.ppid-body ul.nav-pills > li.active > a {
	color: #fff !important;
	border-color: transparent;
}

/* ------------------------------- tombol -------------------------------- */
.ppid-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.7rem 1.35rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.88rem;
	text-decoration: none !important;
	border: 1px solid transparent;
	cursor: pointer;
}

.ppid-btn-utama {
	background: var(--gradient);
	color: #fff !important;
	box-shadow: 0 6px 18px rgba(13, 148, 136, 0.28);
}

.ppid-btn-utama:hover {
	filter: brightness(1.06);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(13, 148, 136, 0.32);
}

.ppid-btn-putih {
	background: #fff;
	color: var(--primary-700) !important;
}

.ppid-btn-putih:hover {
	transform: translateY(-2px);
}

/* tombol bawaan bootstrap disesuaikan */
.ppid-body .btn-primary {
	background: var(--gradient);
	border-color: transparent;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.84rem;
	padding: 0.5rem 1.1rem;
}

.ppid-body .btn-primary:hover,
.ppid-body .btn-primary:focus {
	background: var(--primary-700);
	border-color: transparent;
}

.ppid-body .form-control {
	border-radius: 12px;
	border-color: var(--line);
	padding: 0.6rem 0.85rem;
	font-size: 0.92rem;
	height: auto;
	box-shadow: none;
}

.ppid-body .form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

/* ------------------------- formulir daring PPID ------------------------- */
.ppid-kartu-formulir {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	padding: 26px 26px 28px;
}

.ppid-kartu-formulir .kepala {
	border-bottom: 1px solid var(--line);
	padding-bottom: 16px;
	margin-bottom: 20px;
}

.ppid-kartu-formulir .kepala h3 {
	margin: 0 0 6px;
	font-size: 1.2rem;
}

.ppid-kartu-formulir .kepala p {
	margin: 0;
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.6;
}

.ppid-baris {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ppid-field {
	margin-bottom: 16px;
}

.ppid-field label {
	display: block;
	font-weight: 600;
	font-size: 0.86rem;
	color: var(--ink);
	margin-bottom: 6px;
}

.ppid-field label small {
	font-weight: 400;
	color: var(--muted);
}

.ppid-field .wajib {
	color: #dc2626;
}

.ppid-subjudul {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--primary-700);
	font-size: 0.92rem;
	margin: 6px 0 14px;
	padding-top: 10px;
	border-top: 1px dashed var(--line);
}

.ppid-subjudul i {
	color: var(--primary);
}

.ppid-aksi-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 8px;
	border-top: 1px solid var(--line);
	padding-top: 18px;
}

.ppid-catatan {
	color: var(--muted);
	font-size: 0.8rem;
}

/* jebakan bot: tidak terlihat oleh manusia */
.ppid-jebakan {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	opacity: 0;
}

/* kartu penjelasan di sisi kiri formulir */
.ppid-form-info {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-xs);
	padding: 24px 22px;
	height: 100%;
}

.ppid-form-info .ikon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--gradient-soft);
	color: var(--primary-600);
	font-size: 22px;
	margin-bottom: 14px;
}

.ppid-form-info h3 {
	margin: 0 0 12px;
	font-size: 1.05rem;
}

.ppid-alur {
	list-style: none;
	margin: 0 0 16px;
	padding: 0;
	counter-reset: alur;
}

.ppid-alur li {
	position: relative;
	padding-left: 34px;
	margin-bottom: 12px;
	font-size: 0.87rem;
	color: var(--ink-soft);
	counter-increment: alur;
}

.ppid-alur li::before {
	content: counter(alur);
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 999px;
	background: var(--gradient);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ppid-intro-formulir {
	border-top: 1px solid var(--line);
	padding-top: 14px;
	color: var(--ink-soft);
	font-size: 0.87rem;
}

.ppid-intro-formulir h2,
.ppid-intro-formulir h3 {
	font-size: 0.95rem;
	margin: 12px 0 6px;
}

.ppid-bantuan {
	margin-top: 16px;
	background: #f1f7f6;
	border-radius: var(--radius-sm);
	padding: 14px 16px;
	font-size: 0.84rem;
}

.ppid-bantuan b {
	display: block;
	margin-bottom: 6px;
	color: var(--primary-700);
}

.ppid-bantuan i {
	color: var(--primary);
	margin-right: 6px;
	width: 14px;
}

/* hasil kiriman / pencarian status */
.ppid-hasil {
	margin-top: 18px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: var(--radius-sm);
	padding: 18px 20px;
	color: #065f46;
	font-size: 0.9rem;
}

.ppid-hasil.gagal {
	background: #fef2f2;
	border-color: #fecaca;
	color: #991b1b;
}

.ppid-hasil > b {
	display: block;
	margin-bottom: 6px;
	font-size: 0.98rem;
}

.ppid-hasil .kode-daftar {
	margin-top: 8px;
	font-weight: 600;
}

.ppid-tabel-ringkas {
	width: 100%;
	margin-top: 10px;
	border-collapse: collapse;
}

.ppid-tabel-ringkas td,
.ppid-tabel-ringkas th {
	padding: 6px 0;
	text-align: left;
	vertical-align: top;
	font-size: 0.87rem;
	border-bottom: 1px solid rgba(6, 95, 70, 0.12);
}

.ppid-tabel-ringkas td {
	color: #047857;
	width: 45%;
}

.ppid-tabel-ringkas th {
	color: #064e3b;
}

@media (max-width: 767px) {
	.ppid-baris {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.ppid-kartu-formulir {
		padding: 20px 18px 22px;
	}
}

/* ------------------------ notifikasi (pengganti dialog) ---------------- */
.ppid-notif {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 340px;
}

.ppid-notif-item {
	background: #fff;
	border: 1px solid var(--line);
	border-left: 5px solid var(--primary);
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-md);
	padding: 14px 16px;
	font-size: 0.9rem;
	color: var(--ink-soft);
	animation: ppid-muncul 0.28s ease;
}

.ppid-notif-item.gagal {
	border-left-color: #dc2626;
}

.ppid-notif-item b {
	display: block;
	color: var(--ink);
	margin-bottom: 2px;
}

@keyframes ppid-muncul {
	from {
		opacity: 0;
		transform: translateY(12px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==============================  FOOTER  ================================ */
.ppid-foot {
	background: #08302c;
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.9rem;
}

.ppid-foot-utama {
	padding: 52px 0 34px;
}

.ppid-foot h4 {
	color: #fff;
	font-family: var(--font-display);
	font-size: 0.98rem;
	font-weight: 700;
	margin: 0 0 18px;
	padding-bottom: 10px;
	position: relative;
}

.ppid-foot h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 42px;
	height: 3px;
	border-radius: 3px;
	background: var(--accent);
}

.ppid-foot ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ppid-foot ul li {
	margin-bottom: 10px;
}

.ppid-foot a {
	color: rgba(255, 255, 255, 0.74);
	text-decoration: none;
}

.ppid-foot a:hover {
	color: #fff;
	padding-left: 3px;
}

.ppid-foot .info-kontak li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

.ppid-foot .info-kontak i {
	color: #5eead4;
	margin-top: 4px;
	width: 16px;
	text-align: center;
}

.ppid-peta {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	line-height: 0;
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.ppid-peta iframe {
	display: block;
	width: 100%;
	height: 190px;
	border: 0;
}

.ppid-foot-bawah {
	background: rgba(0, 0, 0, 0.26);
	padding: 16px 0;
	font-size: 0.84rem;
}

.ppid-foot-bawah a {
	color: #fff;
}

/* =============================  RESPONSIP  ============================== */
/* kontainer sedikit lebih lebar supaya menu muat satu baris */
@media (min-width: 1200px) {
	.ppid-body .container {
		max-width: 1280px;
	}
}

/* submenu: dibuka saat kursor mendekat (desktop) */
@media (min-width: 1100px) {
	.ppid-nav .dropdown-menu {
		top: 100%;
		left: 0;
	}

	.ppid-nav .dropdown:hover > .dropdown-menu {
		display: block;
	}
}

/* layar sedang: menu jadi tombol ☰ (meniru perilaku PPID RSUD) */
@media (max-width: 1099px) {
	.ppid-head-inner {
		flex-wrap: wrap;
		padding-bottom: 6px;
	}

	.ppid-nav-toggle {
		display: block;
	}

	.ppid-nav {
		flex: 1 1 100%;
	}

	.ppid-nav ul.ppid-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		padding-bottom: 8px;
	}

	.ppid-nav ul.ppid-menu.ppid-terbuka {
		display: flex;
	}

	.ppid-nav ul.ppid-menu > li > a {
		border-top: 1px solid var(--line);
		border-radius: 0;
		padding: 13px 6px;
		color: var(--ink);
	}

	.ppid-nav ul.ppid-menu > li > a::after {
		display: none;
	}

	/* Bootstrap 4 memberi float:left pada .dropdown-menu — wajib direset
       supaya submenu tidak mengapung dan menu induk mengalir di sampingnya */
	.ppid-nav .dropdown-menu {
		position: static;
		float: none;
		display: none;
		width: 100%;
		min-width: 0;
		max-width: none;
		margin: 0;
		background: #f6fafa;
		box-shadow: none;
		border: 0;
		border-radius: 0;
		max-height: none;
		padding: 0;
		transform: none;
	}

	.ppid-nav .dropdown.terbuka > .dropdown-menu {
		display: block;
	}

	.ppid-nav .dropdown.terbuka > a > .fa-angle-down {
		transform: rotate(180deg);
	}

	.ppid-nav .dropdown-menu li a {
		padding-left: 26px;
	}
}

@media (max-width: 767px) {
	.ppid-topbar {
		font-size: 0.75rem;
	}

	.ppid-topbar-inner {
		flex-wrap: wrap;
		gap: 8px;
		padding: 8px 0;
	}

	.ppid-sekilas {
		order: 3;
		flex-basis: 100%;
		text-align: left;
	}

	.ppid-head-inner {
		min-height: 66px;
	}

	.ppid-head .brand img {
		max-height: 42px;
		max-width: 240px;
	}

	.ppid-seksi {
		padding: 38px 0;
	}

	.ppid-slider {
		border-radius: 0;
	}

	.ppid-slider .carousel-control-prev,
	.ppid-slider .carousel-control-next {
		display: none;
	}

	.ppid-foot {
		font-size: 0.86rem;
	}
}

@media print {
	.ppid-topbar,
	.ppid-nav,
	.ppid-nav-toggle,
	.ppid-foot,
	.ppid-notif {
		display: none !important;
	}
}
