/* ============================================================
   Halaman: Verifikasi Surat (/verifikasi_surat)
   Dependensi: asset/e-office/public.css (shared)
   ============================================================ */

/* ===== Page head ===== */
.page-head { padding: 30px 0 0; }
.head-inner { max-width: 1040px; margin: auto; display: flex; align-items: center; gap: 14px; }
.head-icon { width: 44px; height: 44px; flex: 0 0 44px; display: inline-grid; place-items: center; border-radius: 12px; color: var(--pixel-primary); background: var(--pixel-primary-soft); font-size: 20px; }
.head-text { min-width: 0; }
.head-text h1 { margin: 0; color: var(--pixel-heading); font-size: 19px; font-weight: 400; line-height: 1.3; letter-spacing: -.01em; }
.head-text p { margin: 3px 0 0; color: var(--pixel-muted); font-size: 12.5px; font-weight: 300; line-height: 1.55; }

/* ===== Body + Card ===== */
.page-body { padding: 26px 0 60px; }
.verify-card { max-width: 1040px; margin: auto; overflow: hidden; border: 1px solid var(--pixel-border); border-radius: 14px; background: var(--white); box-shadow: 0 18px 46px rgba(62,77,108,.1); }
.card-accent { height: 4px; background: linear-gradient(90deg, var(--pixel-primary), #8b5cf6); }
.card-inner { padding: 34px 42px 40px; }

/* ===== Status banner ===== */
.status-banner { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 28px; padding: 14px 16px; border: 1px solid; border-radius: 10px; font-size: 13.5px; line-height: 1.6; }
.status-banner .sb-icon { flex: 0 0 40px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-size: 17px; }
.status-banner .sb-title { font-weight: 400; }
.status-banner .sb-desc { font-weight: 300; opacity: .88; }
.status-banner.ok { border-color: #b5ebdb; color: #0f9469; background: var(--pixel-success-soft); }
.status-banner.ok .sb-icon { background: var(--pixel-success); }
.status-banner.warn { border-color: #f5dcae; color: #93600d; background: var(--pixel-warn-soft); }
.status-banner.warn .sb-icon { background: var(--pixel-warn); }
.status-banner.danger { border-color: #f4c0c8; color: #c42f44; background: var(--pixel-danger-soft); }
.status-banner.danger .sb-icon { background: var(--pixel-danger); }

/* ===== Form cari ===== */
.search-head { margin-bottom: 26px; }
.search-head h2 { margin: 0; color: var(--pixel-heading); font-size: 19px; font-weight: 400; }
.search-head p { margin: 6px 0 0; color: var(--pixel-muted); font-size: 13px; font-weight: 300; }
.search-action { margin-top: 16px; }

/* ===== Info grid ===== */
.section-title { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--pixel-heading); font-size: 14px; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.section-title i { color: var(--pixel-primary); font-size: 16px; }
.info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 34px; }
.info-field--full { grid-column: 1 / -1; }
.info-label { margin-bottom: 5px; color: var(--pixel-muted); font-size: 11px; font-weight: 400; letter-spacing: .07em; text-transform: uppercase; }
.info-value { color: var(--pixel-heading); font-size: 14.5px; font-weight: 300; line-height: 1.55; word-break: break-word; }
.info-value .reg-badge { display: inline-block; padding: 3px 11px; border-radius: 7px; color: var(--pixel-primary); background: var(--pixel-primary-soft); font-size: 12.5px; font-weight: 400; letter-spacing: .04em; }
.chip { display: flex; align-items: flex-start; gap: 9px; margin-top: 9px; }
.chip:first-child { margin-top: 0; }
.chip i { margin-top: 3px; color: var(--pixel-primary); font-size: 13px; }
.chip span { font-size: 13.5px; color: var(--pixel-heading); line-height: 1.45; }
.chip small { display: block; color: var(--pixel-muted); font-size: 12px; font-weight: 300; }

/* ===== PDF Viewer ===== */
.divider { height: 1px; margin: 30px 0 24px; background: var(--pixel-border); }
.pdf-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.pdf-label { color: var(--pixel-heading); font-size: 14px; font-weight: 400; }
.pdf-label i { margin-right: 8px; color: var(--pixel-primary); }
.pdf-frame { border: 1px solid var(--pixel-border); border-radius: 12px; overflow: hidden; background: #525659; }
.pdf-frame iframe { display: block; width: 100%; height: 640px; border: 0; }

/* ===== Result bar (setelah submit) ===== */
.result-bar { max-width: 1040px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 13px 16px; border: 1px solid var(--pixel-border); border-radius: 12px; background: var(--white); font-size: 13px; color: var(--pixel-heading); box-shadow: 0 10px 26px rgba(62,77,108,.08); }
.result-bar i { color: var(--pixel-primary); margin-right: 7px; }
.result-bar .btn-ghost { min-height: 38px; }
.result-bar + .verify-card { margin-top: 26px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
	.head-inner, .verify-card, .result-bar { width: calc(100% - 36px); }
}
@media (max-width: 760px) {
	.page-head { padding: 24px 0 0; }
	.head-inner { gap: 12px; }
	.head-text h1 { font-size: 17px; }
	.head-text p { font-size: 12px; }
	.head-inner, .verify-card, .result-bar { width: calc(100% - 28px); }
	.card-inner { padding: 26px 20px 28px; }
	.info-grid { grid-template-columns: 1fr; }
	.info-field--full { grid-column: auto; }
	.pdf-frame iframe { height: 460px; }
}
