/*
 * Kerangka halaman auth VTA Online (rail institusional kiri + panel utama).
 * Diambil dari halaman Lupa Akun agar halaman publik (FAQ, Cek SRUT) seragam
 * dengan halaman auth lainnya; ditambah komponen khusus kedua halaman itu.
 */
:root {
	--vta-navy: #101d4f;
	--vta-blue: #224DDD;
	--vta-blue-dark: #16296b;
	--vta-ink: #1f2a44;
	--vta-muted: #667085;
	--vta-border: #e4e8f2;
	--vta-bg: #eef1f7;
}

.bg-primary,
.btn-primary {
	background-color: var(--vta-blue) !important;
	border-color: var(--vta-blue) !important;
}

html,
body {
	height: 100%;
	overflow: hidden;
}

body {
	background: var(--vta-bg);
	font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
	color: var(--vta-ink);
}

/* ===== Shell layout (shared with registration page) ===== */
.vta-register-shell {
	height: 100vh;
	display: flex;
	align-items: stretch;
	overflow: hidden;
}

.vta-rail {
	flex: 0 0 340px;
	max-width: 340px;
	height: 100vh;
	background: linear-gradient(160deg, var(--vta-blue-dark) 0%, var(--vta-navy) 55%, #0b1533 100%);
	color: #fff;
	padding: 40px 34px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	position: relative;
	overflow: hidden;
}

.vta-rail::after {
	content: "";
	position: absolute;
	right: -80px;
	bottom: -80px;
	width: 260px;
	height: 260px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
}

.vta-rail::before {
	content: "";
	position: absolute;
	right: -30px;
	top: -60px;
	width: 160px;
	height: 160px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
}

.vta-rail-top {
	position: relative;
	z-index: 1;
}

.vta-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vta-brand img {
	width: 46px;
	height: 46px;
	object-fit: contain;
	background: #fff;
	border-radius: 10px;
	padding: 5px;
}

.vta-brand-eyebrow {
	font-size: 11px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
	margin: 0;
}

.vta-brand-title {
	font-size: 17px;
	font-weight: 700;
	margin: 0;
	line-height: 1.25;
}

.vta-rail-heading {
	margin-top: 44px;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.4;
}

.vta-rail-sub {
	margin-top: 10px;
	font-size: 13.5px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.72);
	max-width: 260px;
}

.vta-rail-steps {
	position: relative;
	z-index: 1;
	margin-top: 42px;
}

.vta-rail-step {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
}

.vta-rail-step .bullet {
	flex: 0 0 26px;
	height: 26px;
	width: 26px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.85);
}

.vta-rail-step .txt strong {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: #fff;
}

.vta-rail-step .txt span {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.vta-rail-bottom {
	position: relative;
	z-index: 1;
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.6;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding-top: 16px;
}

/* Right — main panel */
.vta-main {
	flex: 1 1 auto;
	height: 100vh;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.vta-topbar {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 40px;
	border-bottom: 1px solid var(--vta-border);
	background: #fff;
}

.vta-topbar-title {
	font-size: 15px;
	font-weight: 700;
	color: var(--vta-ink);
	margin: 0;
}

.vta-topbar-title small {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: var(--vta-muted);
	margin-top: 2px;
}

.vta-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--vta-muted);
	cursor: pointer;
	border: 1px solid var(--vta-border);
	padding: 7px 14px;
	border-radius: 8px;
	background: #fff;
	transition: all .15s ease;
}

.vta-back:hover {
	color: var(--vta-blue);
	border-color: var(--vta-blue);
}

.vta-form-wrap {
	flex: 1;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	padding: 48px 40px 60px;
	overflow-y: auto;
}

.vta-form-inner {
	width: 100%;
	/* max-width: 560px; */
}

.vta-page-heading {
	text-align: left;
	margin-bottom: 22px;
}

.vta-page-heading h5 {
	font-weight: 700;
	font-size: 18px;
	color: var(--vta-ink);
	margin-bottom: 4px;
}

.vta-page-heading p {
	font-size: 13px;
	color: var(--vta-muted);
	margin: 0;
}

.form_group,
.vta-section {
	margin: 0 0 20px;
	border: 1px solid var(--vta-border);
	border-radius: 12px;
	padding: 22px 22px 6px;
	background: #fff;
}

.vta-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: var(--vta-blue-dark);
	text-transform: uppercase;
	margin-bottom: 14px;
}

.vta-section-title i {
	color: var(--vta-blue);
}

label.form-label,
label {
	font-size: 13px;
	font-weight: 600;
	color: #344054;
}

.form-control,
.form-select {
	font-size: 13.5px;
	border-radius: 8px;
	border: 1px solid #d7dcea;
}

.form-control:focus,
.form-select:focus {
	border-color: var(--vta-blue);
	box-shadow: 0 0 0 3px rgba(34, 77, 221, 0.12);
}

.vta-submit-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 4px;
}

.vta-submit-wrap .btn {
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	padding: 10px 26px;
}

.vta-hint {
	font-size: 12px;
	color: var(--vta-muted);
	margin-top: -10px;
	margin-bottom: 18px;
}

@media (max-width: 991px) {
	.vta-rail {
		display: none;
	}

	.vta-form-wrap {
		padding: 24px 16px 40px;
	}
}

@media (max-width: 576px) {
	.vta-topbar {
		padding: 16px 18px;
	}

	.vta-submit-wrap {
		justify-content: stretch;
	}

	.vta-submit-wrap .btn {
		width: 100%;
	}
}

/* ===== Komponen tambahan halaman publik (FAQ & Cek SRUT) ===== */
.vta-topbar-aksi { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.vta-topbar-aksi .btn { border-radius: 8px; font-size: 13px; font-weight: 600; }
.vta-form-inner.lebar { max-width: 980px; margin: 0 auto; }

.vta-cari { position: relative; }
.vta-cari i.ikon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--vta-muted); }
.vta-cari input { padding: 12px 14px 12px 42px; font-size: 14px; border-radius: 10px; }

.vta-chip { border: 1px solid var(--vta-border); background: #fff; color: var(--vta-ink); border-radius: 999px;
    padding: 5px 13px; font-size: 12.5px; font-weight: 600; cursor: pointer; transition: all .15s ease; }
.vta-chip:hover { border-color: var(--vta-blue); color: var(--vta-blue); }
.vta-chip.aktif { background: var(--vta-blue); border-color: var(--vta-blue); color: #fff; }
.vta-chip .n { opacity: .7; margin-left: 4px; font-weight: 500; }

.vta-kategori-judul { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .4px;
    color: var(--vta-blue-dark); text-transform: uppercase; margin: 22px 0 10px; }
.vta-kategori-judul i { color: var(--vta-blue); }
.vta-faq .accordion-item { border: 1px solid var(--vta-border) !important; border-radius: 12px !important; overflow: hidden; margin-bottom: 8px; background: #fff; }
.vta-faq .accordion-button { font-weight: 600; font-size: 13.5px; color: var(--vta-ink); padding: 14px 18px; }
.vta-faq .accordion-button:not(.collapsed) { background: #eef2ff; color: var(--vta-blue-dark); box-shadow: none; }
.vta-faq .accordion-button:focus { box-shadow: 0 0 0 3px rgba(34, 77, 221, .12); }
.vta-faq .accordion-body { font-size: 13.5px; color: #344054; line-height: 1.7; white-space: pre-line; padding: 14px 18px 16px; }
.vta-faq mark { background: #fef08a; padding: 0 .1em; border-radius: 3px; }
.vta-salin { font-size: 12px; color: var(--vta-muted); text-decoration: none; }
.vta-salin:hover { color: var(--vta-blue); }

.vta-bantuan { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; border: 1px solid var(--vta-border);
    border-radius: 12px; background: #fff; padding: 18px 20px; margin-top: 22px; }
.vta-bantuan .ikon { width: 46px; height: 46px; border-radius: 12px; background: #eef2ff; color: var(--vta-blue);
    display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 46px; }

.vta-petunjuk { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.vta-petunjuk span { font-size: 12px; color: var(--vta-muted); background: #f8fafc; border: 1px solid var(--vta-border);
    border-radius: 999px; padding: 3px 10px; }

/* Hasil Cek SRUT */
.vta-hasil { display: none; }
.vta-hasil.tampil { display: block; }
.vta-status { display: flex; align-items: center; gap: 14px; border-radius: 12px; padding: 14px 18px; margin-bottom: 16px;
    background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.vta-status.peringatan { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.vta-status .ikon { font-size: 26px; }
.vta-status h6 { margin: 0; font-weight: 700; font-size: 14.5px; color: inherit; }
.vta-status p { margin: 0; font-size: 12.5px; opacity: .9; }
.vta-srut { border: 1px solid var(--vta-border); border-radius: 12px; background: #fff; margin-bottom: 16px; overflow: hidden; }
.vta-srut-bagian { padding: 16px 20px; border-bottom: 1px solid var(--vta-border); }
.vta-srut-bagian:last-child { border-bottom: 0; }
.vta-srut-judul { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .4px;
    text-transform: uppercase; color: var(--vta-blue-dark); margin-bottom: 12px; }
.vta-srut-judul i { color: var(--vta-blue); }
.vta-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
.vta-grid .penuh { grid-column: 1 / -1; }
.vta-grid .lbl { font-size: 11.5px; color: var(--vta-muted); margin-bottom: 2px; }
.vta-grid .nil { font-size: 13.5px; font-weight: 600; color: var(--vta-ink); word-break: break-word; }
.vta-grid .nil.sorot { color: var(--vta-blue-dark); font-size: 15px; }
.vta-grid .nil.mono { font-family: 'SFMono-Regular', Consolas, monospace; letter-spacing: .3px; }
.vta-lencana { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; border-radius: 999px;
    padding: 3px 10px; background: #eef2ff; color: var(--vta-blue-dark); }
.vta-lencana.beku { background: #fef2f2; color: #b91c1c; }
.vta-srut-aksi { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; background: #f8fafc; }
.vta-srut-aksi .btn { border-radius: 8px; font-size: 13px; font-weight: 600; }
.vta-arsip { font-size: 12.5px; color: var(--vta-muted); }
.vta-catatan-kaki { font-size: 12px; color: var(--vta-muted); text-align: center; margin-top: 8px; }
@media (max-width: 576px) { .vta-grid { grid-template-columns: minmax(0, 1fr); } }
