* {
	box-sizing: border-box;
}
body {
	margin: 0;
	background: #f5f8fc;
	color: #10244b;
	font-family:
		Inter,
		ui-sans-serif,
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		sans-serif;
}
.app-shell {
	width: 100%;
	min-height: 100vh;
	background: #f5f8fc;
	display: flex;
	flex-direction: column;
}
.topbar {
	width: 100%;
	background: #ffffff;
	border-bottom: 1px solid #e8edf5;
	position: sticky;
	top: 0;
	z-index: 100;
}
.topbar-inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 32px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}
@media (max-width: 1024px) {
	.topbar-inner {
		padding: 0 24px;
	}
}
@media (max-width: 640px) {
	.topbar-inner {
		padding: 0 16px;
		height: 64px;
	}
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #0f172a;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.3px;
	flex-shrink: 0;
}
.brand-logo-img {
	width: 34px;
	height: 34px;
	border-radius: 8px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
}
.brand-name {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #0f172a;
	font-weight: 800;
	font-size: 18px;
	letter-spacing: -0.3px;
	line-height: 1;
}
.brand-sub {
	color: #1463e8;
	font-weight: 700;
	font-size: 11.5px;
	padding: 2.5px 8px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-radius: 6px;
	letter-spacing: 0.2px;
	white-space: nowrap;
	line-height: 1.2;
}
@media (max-width: 480px) {
	.brand-name {
		font-size: 16px;
		gap: 6px;
	}
	.brand-sub {
		font-size: 10px;
		padding: 2px 6px;
	}
}
.brand-mark {
	display: grid;
	place-items: center;
	background: #1463e8;
	color: white;
	border-radius: 9px;
	width: 34px;
	height: 34px;
}
.muted {
	color: #94a3b8;
}
.top-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

/* TOMBOL DOWNLOAD APP ANDROID PLAY STORE (LIGHT / WHITE MYCPNS STYLE) */
.btn-download-app {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	box-sizing: border-box;
	background: #ffffff;
	color: #0f172a !important;
	border: 1.5px solid #dbeafe;
	padding: 0 13px 0 11px;
	border-radius: 999px;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(20, 99, 232, 0.06);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	cursor: pointer;
	white-space: nowrap;
}
.btn-download-app:hover {
	background: #f8faff;
	border-color: #1463e8;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(20, 99, 232, 0.14);
}
.btn-download-app:hover .btn-dl-main {
	color: #1463e8;
}
.btn-download-app .play-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.btn-download-app .btn-dl-text {
	display: flex;
	flex-direction: column;
	text-align: left;
	line-height: 1.05;
	justify-content: center;
}
.btn-download-app .btn-dl-sub {
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.6px;
	color: #64748b;
	text-transform: uppercase;
}
.btn-download-app .btn-dl-main {
	font-size: 12px;
	font-weight: 800;
	color: #0f172a;
	letter-spacing: 0.2px;
	transition: color 0.18s ease;
}
.btn-download-app .pulse-glow {
	width: 6px;
	height: 6px;
	background: #10b981;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
	animation: pulse-green 2s infinite;
	margin-left: 2px;
	flex-shrink: 0;
}
@keyframes pulse-green {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 5px rgba(16, 185, 129, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
	}
}

/* TOMBOL KEMBALI KE PANEL ADMIN (MYCPNS PRIMARY BLUE STYLE) */
.btn-topbar-admin {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 40px;
	box-sizing: border-box;
	background: #1463e8;
	color: #ffffff !important;
	border: 1px solid #1463e8;
	padding: 0 15px;
	border-radius: 999px;
	text-decoration: none !important;
	font-size: 12.5px;
	font-weight: 700;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 2px 8px rgba(20, 99, 232, 0.25);
	cursor: pointer;
	white-space: nowrap;
}
.btn-topbar-admin:hover {
	background: #0f4cc2;
	border-color: #0f4cc2;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 14px rgba(20, 99, 232, 0.38);
}
.btn-topbar-admin .admin-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	flex-shrink: 0;
}

@media (max-width: 640px) {
	.btn-download-app .btn-dl-sub { display: none; }
	.btn-download-app { height: 36px; padding: 0 10px; gap: 6px; }
	.btn-topbar-admin span:last-child { display: none; }
	.btn-topbar-admin { height: 36px; padding: 0 10px; gap: 0; }
}
/* ========================================================================= */
/* AVATAR TRIGGER BUTTON & REDESIGNED ACCOUNT DROPDOWN                       */
/* ========================================================================= */

.avatar,
.icon-btn {
	border: 0;
	background: #edf4ff;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	color: #1463e8;
	font-weight: 800;
}

.avatar-menu {
	position: relative;
	display: inline-flex;
	align-items: center;
}

/* AVATAR TRIGGER BUTTON [ A ▼ ] */
.avatar-btn-trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 40px;
	box-sizing: border-box;
	background: #ffffff;
	border: 1.5px solid #dbeafe;
	padding: 3px 8px 3px 3px;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 2px 6px rgba(20, 99, 232, 0.08);
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	outline: none;
}

.avatar-btn-trigger:hover,
.avatar-btn-trigger[aria-expanded="true"] {
	border-color: #1463e8;
	background: #f8faff;
	box-shadow: 0 4px 14px rgba(20, 99, 232, 0.18);
	transform: translateY(-1px);
}

.avatar-badge-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1463e8 0%, #0d4fc4 100%);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 5px rgba(20, 99, 232, 0.25);
}

.avatar-chevron-icon {
	color: #64748b;
	transition: transform 0.2s ease, color 0.2s ease;
	flex-shrink: 0;
}

.avatar-btn-trigger:hover .avatar-chevron-icon,
.avatar-btn-trigger[aria-expanded="true"] .avatar-chevron-icon {
	color: #1463e8;
}

.avatar-btn-trigger[aria-expanded="true"] .avatar-chevron-icon {
	transform: rotate(180deg);
}

/* DROPDOWN CONTAINER */
.avatar-dropdown {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	width: 280px;
	max-width: calc(100vw - 24px);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 18px;
	box-shadow: 0 16px 40px -6px rgba(15, 23, 42, 0.16), 0 4px 16px -2px rgba(15, 23, 42, 0.06);
	padding: 0;
	z-index: 100;
	overflow: hidden;
	animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(-8px) scale(0.97);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Subtle top arrow pointer pointing to avatar */
.avatar-dropdown::before {
	content: "";
	position: absolute;
	top: -6px;
	right: 18px;
	width: 12px;
	height: 12px;
	background: #ffffff;
	border-left: 1px solid #e2e8f0;
	border-top: 1px solid #e2e8f0;
	transform: rotate(45deg);
	z-index: 1;
}

/* PROFILE HEADER INSIDE DROPDOWN */
.dd-profile-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	background: linear-gradient(to bottom, #f8fafc, #ffffff);
	border-bottom: 1px solid #f1f5f9;
	position: relative;
	z-index: 2;
}

.dd-avatar-badge {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1463e8 0%, #0d4fc4 100%);
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 3px 8px rgba(20, 99, 232, 0.25);
	border: 2px solid #eff6ff;
}

.dd-profile-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	flex: 1;
}

.dd-user-name {
	font-size: 14.5px;
	font-weight: 800;
	color: #0f172a;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dd-user-email {
	font-size: 12px;
	color: #64748b;
	line-height: 1.3;
	margin-top: 2px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.dd-role-badge {
	display: inline-block;
	align-self: flex-start;
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 4px;
	margin-top: 4px;
	letter-spacing: 0.3px;
	text-transform: uppercase;
}

.dd-role-premium {
	background: #fffbeb;
	color: #b45309;
	border-color: #fde68a;
}

/* MENU ITEMS LIST */
.dd-menu-items {
	padding: 8px;
	position: relative;
	z-index: 2;
}

.dd-menu-link {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px !important;
	border-radius: 12px !important;
	color: #1e293b !important;
	text-decoration: none !important;
	font-size: 13.5px !important;
	font-weight: 600 !important;
	transition: all 0.18s ease !important;
	border: none !important;
}

.dd-link-left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.dd-link-icon {
	font-size: 15px;
	width: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #475569;
}

.dd-link-chevron {
	color: #94a3b8;
	font-size: 16px;
	font-weight: 400;
	transition: transform 0.18s ease, color 0.18s ease;
}

.dd-menu-link:hover {
	background: #f0f6ff !important;
	color: #1463e8 !important;
}

.dd-menu-link:hover .dd-link-icon {
	color: #1463e8;
}

.dd-menu-link:hover .dd-link-chevron {
	color: #1463e8;
	transform: translateX(2px);
}

.dd-divider {
	height: 1px;
	background: #f1f5f9;
	margin: 6px 8px;
}

/* KELUAR / LOGOUT BUTTON (DANGER RED) */
.dd-logout-link {
	color: #dc2626 !important;
}

.dd-logout-link .dd-link-icon {
	color: #dc2626 !important;
}

.dd-logout-link:hover {
	background: #fef2f2 !important;
	color: #b91c1c !important;
}

.dd-logout-link:hover .dd-link-icon {
	color: #b91c1c !important;
}

.content {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 28px 32px 90px;
	box-sizing: border-box;
	flex: 1;
}
.hero {
	background: linear-gradient(110deg, #eaf4ff, #dbeaff);
	border-radius: 22px;
	padding: 28px;
	display: flex;
	justify-content: space-between;
	overflow: hidden;
}
.eyebrow {
	font-weight: 700;
	margin: 0 0 7px;
}
.hero h1 {
	font-size: 29px;
	margin: 0;
}
.sub {
	color: #5c6d88;
}
.hero-art {
	font-size: 75px;
	align-self: center;
}
.target-card,
.stats-grid,
.score-card,
.analysis-card,
.premium,
.challenge,
.streak,
.table-card {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 18px;
	box-shadow: 0 6px 24px #1c4c8b0b;
}
.target-card {
	margin-top: 16px;
	padding: 22px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.target-card span,
.target-card small,
.stat small {
	display: block;
	color: #71809a;
}
.target-card strong {
	font-size: 40px;
	display: block;
}
.progress-ring,
.circle {
	width: 82px;
	height: 82px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: #e8f6ee;
	border: 8px solid #2bb673;
	font-weight: 800;
	color: #148957;
}
.progress-ring small {
	font-size: 9px;
	color: #148957;
}
.stats-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-top: 12px;
}
.stat {
	padding: 20px;
	border-right: 1px solid #edf0f4;
}
.stat:last-child {
	border: 0;
}
.stat b {
	display: block;
	font-size: 28px;
	margin: 5px 0;
}
.green {
	color: #169b5b;
}
.section-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 25px 0 12px;
}
.section-head h2 {
	font-size: 19px;
	margin: 0;
}
.section-head a {
	color: #1463e8;
	font-size: 13px;
	text-decoration: none;
}
.category-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.category {
	padding: 18px;
	border-radius: 15px;
	text-decoration: none;
	color: #10244b;
	display: flex;
	flex-direction: column;
	gap: 5px;
}
.category small {
	color: #687894;
}
.twk {
	background: #fff0f0;
}
.tiu {
	background: #effaf1;
}
.tkp {
	background: #fff7e7;
}
.skb {
	background: #f1efff;
}
.menu-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
.menu-grid a {
	background: #fff;
	border: 1px solid #e7edf5;
	border-radius: 14px;
	padding: 20px;
	text-decoration: none;
	color: #10244b;
	display: flex;
	flex-direction: column;
	gap: 9px;
}
.promo {
	margin-top: 22px;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 18px;
	padding: 18px;
	display: flex;
	gap: 16px;
	align-items: center;
}
.trophy {
	font-size: 48px;
}
.promo p {
	margin: 4px 0;
	color: #1463e8;
}
.promo small {
	color: #6c7c94;
}
.page-title {
	display: flex;
	gap: 16px;
	align-items: center;
	margin-bottom: 24px;
}
.page-title > a {
	font-size: 32px;
	text-decoration: none;
	color: #10244b;
}
.page-title h1 {
	margin: 0;
	font-size: 25px;
}
.page-title small {
	color: #728099;
}
.mode-list {
	display: grid;
	gap: 12px;
}
.mode-card {
	background: #fff;
	border: 1px solid #e5ebf3;
	border-radius: 17px;
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	color: #10244b;
}
.mode-card i {
	font-style: normal;
	font-size: 29px;
	background: #f0f5ff;
	border-radius: 13px;
	padding: 10px;
}
.mode-card span {
	flex: 1;
}
.mode-card b,
.mode-card small {
	display: block;
}
.mode-card small {
	color: #71809a;
	margin-top: 4px;
}
.score-card {
	text-align: center;
	padding: 28px;
}
.confetti {
	font-size: 55px;
}
.score-card strong {
	display: block;
	font-size: 58px;
	line-height: 1;
}
.score-card span,
.score-card small {
	display: block;
	color: #71809a;
}
.score-card em {
	display: inline-block;
	background: #25b873;
	color: white;
	padding: 8px 25px;
	border-radius: 20px;
	font-style: normal;
	font-weight: 800;
	margin: 14px;
}
.answer-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: #fff;
	margin-top: 12px;
	border-radius: 17px;
}
.answer-stats div {
	text-align: center;
	padding: 18px;
	border-right: 1px solid #edf0f4;
}
.answer-stats div:last-child {
	border: 0;
}
.answer-stats b,
.answer-stats span {
	display: block;
}
.tabs {
	display: flex;
	gap: 8px;
	margin: 16px 0;
}
.tabs button {
	flex: 1;
	border: 1px solid #1463e8;
	background: #fff;
	color: #1463e8;
	padding: 12px;
	border-radius: 9px;
}
.tabs button:first-child {
	background: #1463e8;
	color: white;
}
.info-box {
	background: #eaf4ff;
	padding: 16px;
	border-radius: 13px;
	margin-top: 15px;
}
.analysis-card {
	padding: 22px;
	display: flex;
	align-items: center;
	gap: 20px;
}
.analysis-section {
	margin-top: 26px;
}
.analysis-section:first-of-type {
	margin-top: 0;
}
.analysis-card p {
	color: #e45454;
}
.skill {
	background: #fff;
	padding: 16px;
	border-radius: 14px;
	margin-top: 10px;
}
.skill span {
	display: inline-block;
	width: 70%;
}
.skill b {
	color: #e45454;
}
.skill > div,
.bar {
	height: 7px;
	background: #edf1f5;
	border-radius: 8px;
	margin-top: 9px;
	overflow: hidden;
}
.skill i,
.bar span {
	display: block;
	height: 100%;
	background: #f05b5b;
	border-radius: 8px;
}
.recommend,
.download-card,
.article {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 15px;
	padding: 16px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 14px;
}
.recommend i,
.download-card i {
	font-style: normal;
	font-size: 25px;
}
.recommend div,
.download-card div {
	flex: 1;
}
.recommend small,
.download-card small,
.article small {
	display: block;
	color: #73819a;
	margin-top: 4px;
}
.bar span {
	background: #25b873;
}
.primary {
	display: block;
	text-align: center;
	background: #1463e8;
	color: #fff;
	text-decoration: none;
	border: 0;
	border-radius: 10px;
	padding: 13px;
	font-weight: 700;
	margin-top: 16px;
}
.challenge {
	padding: 25px;
	text-align: center;
}
.target-icon {
	font-size: 90px;
	margin: 20px;
}
.streak {
	padding: 20px;
	margin-top: 12px;
}
.rank {
	display: grid;
	grid-template-columns: 50px 1fr 60px;
	align-items: center;
	padding: 15px;
	border-bottom: 1px solid #edf0f4;
}
.rank:last-child {
	border: 0;
}
.rank strong {
	text-align: right;
}
.article {
	display: grid;
	grid-template-columns: 55px 1fr;
}
.premium {
	padding: 28px;
}
.crown {
	font-size: 45px;
}
.premium li {
	list-style: none;
	margin: 10px 0;
}
.pay-msg {
	border-radius: 12px;
	padding: 12px 16px;
	margin-bottom: 14px;
	font-size: 13px;
	line-height: 1.6;
}
.pay-msg-ok {
	background: #f2fcf5;
	border: 1px solid #c5ecd4;
	color: #148957;
}
.pay-msg-err {
	background: #fff0f0;
	border: 1px solid #ffd7d7;
	color: #c0392b;
}
.pay-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	justify-content: center;
	margin-top: 14px;
}
.pay-price b {
	color: #1463e8;
	font-size: 26px;
}
.pay-price span {
	color: #71809a;
	font-size: 13px;
}
.pay-box {
	margin-top: 14px;
}
.pay-title {
	margin: 0 0 12px;
	color: #22304a;
	font-size: 16px;
}
.pay-steps {
	margin: 0;
	padding-left: 20px;
	color: #42536f;
	font-size: 13px;
	line-height: 1.9;
}
.pay-steps b {
	color: #10244b;
}
.pay-qr-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 16px 0;
	padding: 16px;
	background: #f7faff;
	border: 1px solid #eef2f9;
	border-radius: 14px;
}
.pay-qr {
	width: 170px;
	height: 170px;
	border-radius: 10px;
	background: #fff;
	padding: 8px;
	border: 1px solid #e6ebf2;
}
.pay-qr-wrap small {
	color: #8aa0bd;
	font-size: 11px;
	text-align: center;
}
.pay-form {
	margin-top: 4px;
}
.pay-label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	color: #3d4f6d;
	margin: 14px 0 7px;
}
.pay-select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #dbe3ef;
	border-radius: 11px;
	font-size: 14px;
	font-family: inherit;
	color: #10244b;
	background: #f7faff;
	outline: none;
}
.pay-select:focus {
	border-color: #1463e8;
	background: #fff;
}
.pay-file {
	width: 100%;
	box-sizing: border-box;
	padding: 10px;
	border: 1px dashed #c3d0e2;
	border-radius: 11px;
	font-size: 13px;
	font-family: inherit;
	background: #fbfdff;
	color: #42536f;
}
.pay-hint {
	color: #8aa0bd;
	font-size: 11px;
	margin: 6px 0 0;
}
.pay-submit {
	display: block;
	width: 100%;
	text-align: center;
	background: #1463e8;
	color: #fff;
	border: 0;
	border-radius: 10px;
	padding: 13px;
	font-weight: 700;
	margin-top: 16px;
	cursor: pointer;
}
.pay-submit:hover {
	background: #0e55c9;
}
.pay-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 0;
	border-bottom: 1px solid #eef2f8;
}
.pay-item:first-child {
	padding-top: 0;
}
.pay-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.pay-item-info b,
.pay-item-info small {
	display: block;
}
.pay-item-info b {
	font-size: 13px;
	color: #22304a;
}
.pay-item-info small {
	color: #8aa0bd;
	font-size: 11px;
	margin-top: 3px;
}
.pay-bukti {
	color: #1463e8;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: 5px;
}
.pay-status {
	flex: none;
	font-size: 11px;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 999px;
}
.pay-status-pending {
	background: #fff6e6;
	color: #d48806;
}
.pay-status-diterima {
	background: #f2fcf5;
	color: #1a9d57;
}
.pay-status-ditolak {
	background: #fff0f0;
	color: #c0392b;
}
.pay-cancel {
	display: block;
	text-align: right;
	color: #d48806;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	margin-top: 2px;
}
.premium-active {
	text-align: center;
	padding-top: 24px;
}
.pay-badge-aktif {
	display: inline-block;
	background: #f2fcf5;
	color: #1a9d57;
	font-size: 12px;
	font-weight: 800;
	border-radius: 999px;
	padding: 6px 16px;
	margin-bottom: 14px;
}
.premium ul {
	padding: 0;
}
.account-box {
	margin-top: 14px;
}
.account-box h3 {
	margin: 0 0 4px;
	color: #22304a;
}
.account-box .sub {
	margin: 0;
	color: #71809a;
}
.account-box .sub small {
	display: block;
	margin-top: 3px;
	color: #8aa0bd;
}
.account-box .logout {
	margin-top: 18px;
	background: #fff0f0;
	color: #c0392b;
	box-shadow: none;
	border: 1px solid #ffd7d7;
}
.account-box .logout:hover {
	background: #ffe4e4;
}
.bottom-nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: #ffffff;
	border-top: 1px solid #e8edf5;
	box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.05);
	z-index: 99;
}
.bottom-nav-inner {
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	height: 64px;
	padding: 0 32px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	box-sizing: border-box;
}
@media (max-width: 640px) {
	.bottom-nav-inner {
		padding: 0 8px;
		height: 60px;
	}
}
.nav-item {
	flex: 1;
	max-width: 160px;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #64748b;
	padding: 4px 0 2px;
	position: relative;
	transition: color 0.18s ease;
}
.nav-item .nav-svg {
	display: block;
	transition: transform 0.18s ease, stroke 0.18s ease;
}
.nav-item span {
	display: block;
	font-size: 11px;
	font-weight: 600;
	margin-top: 3px;
	line-height: 1;
}
.nav-item:hover {
	color: #1463e8;
}
.nav-item:hover .nav-svg {
	transform: translateY(-1px);
	stroke: #1463e8;
}
.nav-item.active {
	color: #1463e8 !important;
	font-weight: 700;
}
.nav-item.active::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 20%;
	right: 20%;
	height: 3px;
	background: #1463e8;
	border-radius: 0 0 3px 3px;
}
.nav-item.active .nav-svg {
	stroke: #1463e8;
}
@media (max-width: 1024px) {
	.content {
		padding: 22px 24px 85px;
	}
}
@media (max-width: 640px) {
	.content {
		padding: 16px 16px 80px;
	}
	.hero {
		padding: 20px;
	}
	.hero h1 {
		font-size: 24px;
	}
	.hero-art {
		font-size: 50px;
	}
	.category-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.menu-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.target-card strong {
		font-size: 34px;
	}
	.stats-grid {
		grid-template-columns: 1fr 1fr;
	}
	.page-title h1 {
		font-size: 21px;
	}
}


.auth-wrap {
	max-width: 460px;
	margin: 16px auto;
}
.auth-hero {
	background: linear-gradient(135deg, #3b83ff, #1463e8 60%, #0e55c9);
	color: #fff;
	border-radius: 22px;
	padding: 36px 26px;
	text-align: center;
	position: relative;
	overflow: hidden;
	margin-bottom: 18px;
	box-shadow: 0 14px 34px #1463e848;
}
.auth-hero::before,
.auth-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
}
.auth-hero::before {
	width: 150px;
	height: 150px;
	top: -55px;
	right: -35px;
}
.auth-hero::after {
	width: 95px;
	height: 95px;
	bottom: -45px;
	left: -20px;
	background: rgba(255, 255, 255, .1);
}
.auth-hero .mark {
	display: inline-flex;
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .22);
	backdrop-filter: blur(4px);
	align-items: center;
	justify-content: center;
	font-size: 28px;
	font-weight: 800;
	margin-bottom: 16px;
}
.auth-hero h1 {
	margin: 0 0 6px;
	font-size: 22px;
	color: #fff;
	position: relative;
	z-index: 1;
}
.auth-hero p {
	margin: 0;
	font-size: 13px;
	opacity: .88;
	position: relative;
	z-index: 1;
}
.auth-card {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 22px;
	padding: 28px;
	box-shadow: 0 10px 34px #1c4c8b10;
}
.auth-card label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .02em;
	color: #3d4f6d;
	margin: 16px 0 7px;
}
.field {
	position: relative;
}
.field-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #8aa0bd;
	display: inline-flex;
	pointer-events: none;
}
.field-icon svg {
	width: 19px;
	height: 19px;
}
.auth-card input {
	width: 100%;
	box-sizing: border-box;
	padding: 13px 15px;
	padding-left: 44px;
	border: 1px solid #dbe3ef;
	border-radius: 12px;
	font-size: 14px;
	font-family: inherit;
	color: #10244b;
	background: #f7faff;
	outline: none;
	transition: border-color .15s, box-shadow .15s, background .15s;
}
.auth-card input::placeholder {
	color: #aab6c9;
}
.auth-card input:focus {
	border-color: #1463e8;
	background: #fff;
	box-shadow: 0 0 0 4px #1463e81f;
}
.toggle-pass {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: 0;
	color: #8aa0bd;
	cursor: pointer;
	padding: 8px;
	display: inline-flex;
}
.toggle-pass svg {
	width: 19px;
	height: 19px;
}
.auth-card .btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	background: linear-gradient(180deg, #3b83ff, #1463e8);
	color: #fff;
	border: 0;
	border-radius: 12px;
	padding: 14px;
	font-weight: 800;
	font-size: 14px;
	margin-top: 22px;
	cursor: pointer;
	text-decoration: none;
	box-shadow: 0 6px 18px #1463e840;
	transition: opacity .15s, transform .1s;
}
.auth-card .btn:hover {
	opacity: .92;
	transform: translateY(-1px);
}
.auth-card .btn:active {
	transform: translateY(0);
}
.auth-note {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	background: #eef6ff;
	border: 1px solid #d6e7ff;
	color: #0e55c9;
	font-size: 12px;
	border-radius: 12px;
	padding: 10px 12px;
	margin-top: 18px;
	line-height: 1.6;
}
.auth-note svg {
	width: 15px;
	height: 15px;
	flex: none;
	margin-top: 2px;
}
.auth-switch {
	text-align: center;
	font-size: 13px;
	color: #71809a;
	margin-top: 22px;
	border-top: 1px solid #eef2f8;
	padding-top: 18px;
}
.auth-switch a {
	color: #1463e8;
	font-weight: 700;
	text-decoration: none;
}
.auth-success-card {
	text-align: center;
	padding: 40px 28px;
}
.auth-success-card .mark {
	font-size: 44px;
}
.auth-success-card h2 {
	font-size: 18px;
	margin: 14px 0 8px;
	color: #10244b;
}
.auth-success-card p {
	font-size: 13px;
	line-height: 1.7;
	color: #71809a;
	margin: 0;
}
.auth-err {
	background: #fff0f0;
	border: 1px solid #ffd7d7;
	color: #c0392b;
	font-size: 13px;
	border-radius: 12px;
	padding: 11px 13px;
	margin-bottom: 6px;
}
.auth-field-err {
	color: #c0392b;
	font-size: 11px;
	margin-top: 5px;
}

/* ==================================================================== */
/* LATIHAN BEBAS                                                         */
/* ==================================================================== */
.lb-quota {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 16px;
	padding: 16px 18px;
	display: flex;
	gap: 14px;
	align-items: center;
	margin-bottom: 14px;
}
.lb-quota-icon {
	font-size: 24px;
	background: #f0f5ff;
	border-radius: 12px;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	flex: none;
}
.lb-quota b,
.lb-quota small {
	display: block;
}
.lb-quota small {
	color: #71809a;
	margin-top: 3px;
}
.lb-card {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 18px;
	padding: 22px;
}
.lb-label {
	display: block;
	font-size: 12px;
	font-weight: 800;
	color: #3d4f6d;
	margin: 16px 0 7px;
}
.lb-label:first-child {
	margin-top: 0;
}
.lb-select {
	width: 100%;
	box-sizing: border-box;
	padding: 12px 14px;
	border: 1px solid #dbe3ef;
	border-radius: 11px;
	font-size: 14px;
	font-family: inherit;
	color: #10244b;
	background: #f7faff;
	outline: none;
}
.lb-select:focus {
	border-color: #1463e8;
	background: #fff;
}
.lb-hint {
	color: #8aa0bd;
	font-size: 12px;
	margin-top: 6px;
	display: block;
}
.lb-submit {
	margin-top: 22px;
}
.riwayat-link {
	display: block;
	text-align: center;
	text-decoration: none;
	color: #1463e8;
	font-weight: 700;
	font-size: 13px;
	margin: 10px 0 16px;
}

/* --- Daily Challenge --- */
.dc-card {
	text-align: center;
}
.dc-card-icon {
	font-size: 52px;
	margin-bottom: 4px;
}
.dc-card h3 {
	margin: 4px 0 8px;
	color: #22304a;
}
.dc-alert {
	display: flex;
	align-items: center;
	gap: 14px;
}
.dc-alert .dc-done {
	font-size: 34px;
	flex: 0 0 auto;
}
.dc-alert b {
	display: block;
	color: #22304a;
}
.dc-alert small {
	color: #8aa0bd;
}

/* --- Simulasi CAT --- */
.cat-comp {
	display: grid;
	gap: 10px;
	margin-bottom: 6px;
}
.cat-comp-item {
	background: #f7faff;
	border: 1px solid #eef2f9;
	border-radius: 12px;
	padding: 12px 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	text-align: center;
}
.cat-comp-item b {
	font-size: 22px;
	color: #1463e8;
}
.cat-comp-item small {
	color: #8aa0bd;
	font-size: 11px;
	line-height: 1.4;
}
.cat-banner {
	background: #fff6e6;
	border: 1px solid #ffe2ae;
	color: #b06a00;
	border-radius: 10px;
	padding: 9px 12px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 12px;
}

/* --- Halaman riwayat --- */
.riwayat-item {
	margin-bottom: 12px;
}
.riwayat-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.riwayat-head > div {
	display: flex;
	align-items: center;
	gap: 7px;
	flex-wrap: wrap;
}
.riwayat-head b {
	color: #22304a;
}
.riwayat-meta {
	display: flex;
	gap: 14px;
	color: #71809a;
	font-size: 12px;
	margin-bottom: 12px;
}
.riwayat-stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 8px;
	margin-bottom: 12px;
}
.riwayat-stats > div {
	background: #f7faff;
	border: 1px solid #eef2f9;
	border-radius: 10px;
	padding: 9px 6px;
	text-align: center;
}
.riwayat-stats > div:first-child {
	background: #eef6ff;
	border-color: #d6e8ff;
}
.riwayat-stats b,
.riwayat-stats span {
	display: block;
}
.riwayat-stats b {
	font-size: 16px;
	color: #22304a;
}
.riwayat-stats span {
	font-size: 10px;
	color: #8aa0bd;
	margin-top: 2px;
}
.riwayat-score b {
	color: #1463e8 !important;
}
.riwayat-foot {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
}
.riwayat-total {
	display: flex;
	align-items: baseline;
	gap: 6px;
}
.riwayat-total b {
	color: #1463e8;
	font-size: 20px;
}
.riwayat-btn {
	display: inline-block;
	text-decoration: none;
	background: #1463e8;
	color: #fff;
	border-radius: 9px;
	padding: 9px 16px;
	font-weight: 700;
	font-size: 13px;
	white-space: nowrap;
}
.riwayat-btn.continue {
	background: #d48806;
}

/* --- Halaman ujian --- */
.quiz-top {
	position: sticky;
	top: 70px;
	z-index: 9;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	margin-bottom: 14px;
	box-shadow: 0 4px 14px #1c4c8b0d;
}
.quiz-back {
	text-decoration: none;
	color: #71809a;
	font-size: 18px;
	border: 1px solid #e4eaf2;
	border-radius: 9px;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
}
.quiz-progress {
	flex: 1;
}
.quiz-progress b,
.quiz-progress span {
	display: block;
}
.quiz-progress span {
	font-size: 11px;
	color: #8aa0bd;
}
.quiz-timer {
	font-weight: 800;
	font-size: 18px;
	color: #169b5b;
	font-variant-numeric: tabular-nums;
}
.quiz-timer.warn {
	color: #e45454;
	animation: blink 1s step-start infinite;
}
@keyframes blink {
	50% {
		opacity: .35;
	}
}
.quiz-submit {
	background: #1463e8;
	color: #fff;
	border: 0;
	border-radius: 9px;
	padding: 9px 14px;
	font-weight: 800;
	cursor: pointer;
}
.q-meta {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 10px;
}
.badge {
	display: inline-block;
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: #f0f3f9;
	color: #5a6b85;
}
.badge-twk {
	background: #fff0f0;
	color: #c0392b;
}
.badge-tiu {
	background: #eef6ff;
	color: #1463e8;
}
.badge-tkp {
	background: #fff6e6;
	color: #d48806;
}
.badge-soft {
	background: #f0f3f9;
	color: #5a6b85;
}
.badge-benar {
	background: #e8f6ee;
	color: #148957;
}
.badge-salah {
	background: #fff0f0;
	color: #c0392b;
}
.q-card {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 16px;
	padding: 18px;
	margin-bottom: 12px;
}
.q-question {
	font-size: 14px;
	line-height: 1.7;
	color: #22304a;
	white-space: pre-wrap;
	word-break: break-word;
}
.detail-img {
	max-width: 100%;
	margin-top: 8px;
}
.detail-img svg,
.detail-img img {
	max-width: 100%;
	height: auto;
	display: block;
}
.detail-img-opsi {
	max-width: 180px;
	margin-top: 8px;
}
.detail-img-opsi svg,
.detail-img-opsi img {
	max-width: 100%;
	height: auto;
	display: block;
}
/* Di dalam kontainer flex (halaman hasil), beri ukuran pasti agar gambar
   tidak menyusut ke lebar 0 */
.rh-option .detail-img-opsi {
	flex: 0 0 auto;
	width: 140px;
	max-width: 100%;
}
.rh-option .detail-img-opsi img,
.rh-option .detail-img-opsi svg {
	width: 100%;
	height: auto;
	display: block;
}
.q-options {
	display: grid;
	gap: 8px;
}
.q-option {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	text-align: left;
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 11px;
	padding: 12px 14px;
	color: #22304a;
	font-size: 13px;
	line-height: 1.6;
	font-family: inherit;
	cursor: pointer;
}
.q-option:hover {
	border-color: #cdd9ea;
}
.q-option.active {
	border-color: #1463e8;
	background: #f0f5ff;
	box-shadow: 0 0 0 3px #1463e81f;
}
.q-opt-key {
	font-weight: 800;
	color: #1463e8;
	flex: none;
}
.q-opt-text em,
.option-missing {
	color: #b6c2d4;
	font-style: italic;
}
.q-opt-img {
	flex: 0 0 auto;
	width: 140px;
	max-width: 100%;
	margin-top: 6px;
}
.q-opt-img img,
.q-opt-img svg {
	width: 100%;
	height: auto;
	display: block;
}
.quiz-btn {
	border: 1px solid #dbe3ef;
	background: #fff;
	border-radius: 10px;
	padding: 10px 14px;
	color: #10244b;
	font-family: inherit;
	font-weight: 700;
	cursor: pointer;
	flex: none;
}
.quiz-btn:disabled {
	opacity: .45;
	cursor: not-allowed;
}
.q-num {
	width: 34px;
	height: 34px;
	border-radius: 9px;
	border: 1px solid #dbe3ef;
	background: #fff;
	color: #42536f;
	font-weight: 800;
	font-size: 13px;
	cursor: pointer;
}
.q-num.done {
	background: #e8f6ee;
	border-color: #b6e3c8;
	color: #148957;
}
.q-num.current {
	border-color: #1463e8;
	background: #1463e8;
	color: #fff;
}

/* --- Fixed exam bottom bar --- */
.quiz-bottom {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	height: 60px;
	background: #fff;
	border-top: 1px solid #e6ebf2;
	display: flex;
	align-items: center;
	padding: 0 20px;
	gap: 8px;
	z-index: 20;
}
.quiz-bottom .quiz-btn {
	padding: 10px 12px;
	font-size: 14px;
	white-space: nowrap;
	display: flex;
	align-items: center;
}
.qn-label { white-space: nowrap; }
.quiz-list-btn {
	flex: 1;
	background: #f5f8fc;
	border: 1px solid #e6ebf2;
	border-radius: 10px;
	padding: 7px 12px;
	text-align: center;
	cursor: pointer;
	min-width: 0;
	font-family: inherit;
}
.quiz-list-btn b {
	display: block;
	font-size: 13px;
	color: #10244b;
	font-weight: 800;
}
.quiz-list-btn small {
	display: block;
	font-size: 11px;
	color: #8aa0bd;
	margin-top: 1px;
}

/* --- Question list sheet --- */
.quiz-sheet {
	position: fixed;
	inset: 0;
	z-index: 40;
}
.quiz-sheet[hidden] { display: none; }
.quiz-sheet-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(10, 20, 40, .35);
}
.quiz-sheet-panel {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	max-height: 72vh;
	background: #fff;
	border-radius: 20px 20px 0 0;
	display: flex;
	flex-direction: column;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, .12);
}
.quiz-sheet-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px 10px;
	border-bottom: 1px solid #eef2f8;
}
.quiz-sheet-head b { font-size: 15px; color: #10244b; }
.quiz-sheet-head small {
	display: block;
	font-size: 12px;
	color: #8aa0bd;
	margin-top: 2px;
}
.quiz-sheet-close {
	width: 32px;
	height: 32px;
	border-radius: 9px;
	border: 0;
	background: #f0f3f9;
	color: #5a6b85;
	font-size: 16px;
	cursor: pointer;
	display: grid;
	place-items: center;
	flex-shrink: 0;
}
.quiz-legend {
	display: flex;
	gap: 14px;
	padding: 10px 18px;
	font-size: 11px;
	color: #71809a;
}
.quiz-legend span {
	display: flex;
	align-items: center;
	gap: 5px;
}
.lg-current, .lg-done, .lg-empty {
	width: 12px;
	height: 12px;
	border-radius: 5px;
	display: inline-block;
}
.lg-current { background: #1463e8; }
.lg-done { background: #e8f6ee; border: 1px solid #b6e3c8; }
.lg-empty { background: #fff; border: 1px solid #dbe3ef; }
.quiz-sheet-nums {
	flex: 1;
	overflow-y: auto;
	padding: 6px 18px 18px;
	-webkit-overflow-scrolling: touch;
}
.quiz-sheet-nums .quiz-nums {
	display: grid;
	grid-template-columns: repeat(auto-fill, 36px);
	gap: 8px;
	justify-content: center;
}
.quiz-sheet-nums .q-num {
	width: 36px;
	height: 36px;
}

/* --- Halaman hasil --- */
.rh-card {
	background: #fff;
	border: 1px solid #e6ebf2;
	border-radius: 16px;
	padding: 18px;
	margin-bottom: 12px;
}
.rh-options {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	gap: 8px;
}
.rh-option {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	flex-wrap: wrap;
	border: 1px solid #e6ebf2;
	border-radius: 11px;
	padding: 11px 13px;
	font-size: 13px;
	line-height: 1.6;
}
.rh-option .option-key {
	font-weight: 800;
	color: #5a6b85;
}
.rh-option.correct {
	border-color: #2ecc71;
	background: #f2fcf5;
}
.rh-option.wrong {
	border-color: #e45454;
	background: #fff6f6;
}
.rh-tag {
	font-size: 10px;
	font-weight: 800;
	padding: 2px 8px;
	border-radius: 999px;
	margin-left: auto;
}
.rh-tag.user {
	background: #fff0f0;
	color: #c0392b;
}
.rh-tag.key {
	background: #e8f6ee;
	color: #148957;
}
.rh-explanation {
	font-size: 13px;
	line-height: 1.7;
	color: #5a6b85;
	background: #f7faff;
	border-radius: 11px;
	padding: 12px 14px;
	margin-top: 12px;
	white-space: pre-wrap;
	word-break: break-word;
}

/* ===== Drilling Adaptif ===== */
.ad-state {
	display: flex;
	align-items: center;
	gap: 10px;
	background: #f7faff;
	border: 1px solid #e3eaf5;
	border-radius: 12px;
	padding: 10px 14px;
	margin: 12px 0;
	font-size: 13px;
	color: #5a6b85;
}
.ad-state em {
	font-style: normal;
}
.ad-state .ad-ok { color: #148957; font-weight: 700; }
.ad-state .ad-wrong { color: #c0392b; font-weight: 700; }
.ad-dots { display: inline-flex; gap: 4px; align-items: center; }
.ad-dots i {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #dce4ef;
	display: inline-block;
}
.ad-dots i.on { background: #1463e8; }

.q-option.correct { background: #e8f6ee !important; border-color: #148957 !important; }
.q-option.correct .q-opt-key { color: #148957; }
.q-option.wrong { background: #fff0f0 !important; border-color: #e45454 !important; }
.q-option.wrong .q-opt-key { color: #e45454; }

.an-row { margin-top: 12px; }
.an-head { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.an-head b { flex: 1; font-size: 14px; }
.an-head em { font-style: normal; font-weight: 700; color: #5a6b85; min-width: 42px; text-align: right; }
.an-bar {
	height: 8px;
	background: #eef2f8;
	border-radius: 6px;
	overflow: hidden;
}
.an-fill { height: 100%; border-radius: 6px; background: #8aa0bd; }
.an-fill.salah { background: #e45454; }
.an-fill.tkp { background: #d48806; }
.an-fill.benar { background: #148957; }
.an-fill.soft { background: #8aa0bd; }

/* --- Exam bottom bar mobile --- */
@media (max-width: 560px) {
	.quiz-bottom .quiz-btn { padding: 10px 8px; font-size: 12px; }
	.quiz-bottom .qn-label { display: none; }
	.quiz-list-btn b { font-size: 12px; }
	.quiz-list-btn small { display: none; }
	.quiz-sheet-panel { max-height: 78vh; }
}

/* ========================================================================= */
/* GLOBAL STANDARDIZED TABLE CENTERING                                      */
/* ========================================================================= */
table th,
.table th,
.pmt-table th,
.usr-table th,
.bs-table th,
.art-table th,
.hsl-table th,
.lap-table th,
.leaderboard-table th {
	text-align: center !important;
	vertical-align: middle !important;
}

table td,
.table td,
.pmt-table td,
.usr-table td,
.bs-table td,
.art-table td,
.hsl-table td,
.lap-table td,
.leaderboard-table td {
	text-align: center !important;
	vertical-align: middle !important;
}

/* ========================================================================= */
/* GLOBAL MYCPNS DIALOG SYSTEM (CONFIRMATION MODAL & TOAST)                  */
/* ========================================================================= */
.mycpns-modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 999999;
	padding: 16px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	box-sizing: border-box;
}

.mycpns-modal-backdrop.is-active {
	opacity: 1;
	visibility: visible;
}

.mycpns-modal-card {
	background: #ffffff;
	border-radius: 22px;
	max-width: 440px;
	width: 100%;
	padding: 32px 28px 26px;
	text-align: center;
	box-shadow: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
	transform: scale(0.95);
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
	border: 1px solid rgba(226, 232, 240, 0.9);
	box-sizing: border-box;
}

.mycpns-modal-backdrop.is-active .mycpns-modal-card {
	transform: scale(1);
}

.mycpns-modal-icon-wrap {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
	transition: all 0.2s ease;
}

.mycpns-modal-icon-wrap.type-warning {
	background: #fff7ed;
	border: 5px solid #ffedd5;
	color: #ea580c;
}

.mycpns-modal-icon-wrap.type-danger,
.mycpns-modal-icon-wrap.type-error {
	background: #fee2e2;
	border: 5px solid #fef2f2;
	color: #dc2626;
}

.mycpns-modal-icon-wrap.type-success {
	background: #dcfce7;
	border: 5px solid #f0fdf4;
	color: #16a34a;
}

.mycpns-modal-icon-wrap.type-info,
.mycpns-modal-icon-wrap.type-primary {
	background: #eff6ff;
	border: 5px solid #f8faff;
	color: #1463e8;
}

.mycpns-modal-title {
	font-size: 19px;
	font-weight: 800;
	color: #0f172a;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.mycpns-modal-msg {
	font-size: 14px;
	color: #475569;
	line-height: 1.55;
	margin: 0 0 22px 0;
	word-break: break-word;
}

.mycpns-modal-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.mycpns-modal-btn {
	flex: 1;
	min-height: 44px;
	padding: 10px 18px;
	border-radius: 12px;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.18s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border: none;
	text-decoration: none !important;
	box-sizing: border-box;
}

.mycpns-modal-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.mycpns-modal-btn-cancel {
	background: #ffffff;
	border: 1.5px solid #cbd5e1;
	color: #475569;
}

.mycpns-modal-btn-cancel:hover:not(:disabled) {
	background: #f1f5f9;
	color: #0f172a;
}

.mycpns-modal-btn-action.is-danger {
	background: #dc2626;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}
.mycpns-modal-btn-action.is-danger:hover:not(:disabled) {
	background: #b91c1c;
}

.mycpns-modal-btn-action.is-warning {
	background: #ea580c;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
}
.mycpns-modal-btn-action.is-warning:hover:not(:disabled) {
	background: #c2410c;
}

.mycpns-modal-btn-action.is-primary {
	background: #1463e8;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(20, 99, 232, 0.25);
}
.mycpns-modal-btn-action.is-primary:hover:not(:disabled) {
	background: #0f52c4;
}

.mycpns-modal-btn-action.is-success {
	background: #059669;
	color: #ffffff;
	box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
}
.mycpns-modal-btn-action.is-success:hover:not(:disabled) {
	background: #047857;
}

/* GLOBAL MYCPNS TOAST */
.mycpns-toast {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: #1e293b;
	color: #ffffff;
	padding: 10px 22px;
	border-radius: 99px;
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
	opacity: 0;
	visibility: hidden;
	transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
	z-index: 1000000;
	display: flex;
	align-items: center;
	gap: 8px;
	pointer-events: none;
	white-space: nowrap;
}

.mycpns-toast.is-show {
	opacity: 1;
	visibility: visible;
	transform: translateX(-50%) translateY(0);
}

.mycpns-toast.toast-success { background: #065f46; color: #ecfdf5; border: 1px solid #059669; }
.mycpns-toast.toast-error, .mycpns-toast.toast-danger { background: #991b1b; color: #fef2f2; border: 1px solid #dc2626; }
.mycpns-toast.toast-warning { background: #9a3412; color: #fff7ed; border: 1px solid #ea580c; }
.mycpns-toast.toast-info { background: #1e3a8a; color: #eff6ff; border: 1px solid #2563eb; }

/* ========================================================================= */
/* ADMIN FLOATING SIDEBAR & SHELL LAYOUT                                     */
/* ========================================================================= */
.admin-shell {
	display: flex;
	min-height: 100vh;
	background: #f4f7fb;
	width: 100%;
	box-sizing: border-box;
	position: relative;
}

/* 1. FLOATING SIDEBAR */
.admin-sidebar {
	position: fixed;
	left: 22px;
	top: 22px;
	bottom: 22px;
	width: 260px;
	background: #ffffff;
	border-radius: 20px;
	border: 1px solid rgba(226, 232, 240, 0.85);
	box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 10px -2px rgba(15, 23, 42, 0.03);
	display: flex;
	flex-direction: column;
	z-index: 1000;
	transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), left 0.25s ease;
	box-sizing: border-box;
	overflow: visible;
}

/* Sidebar Header */
.admin-sidebar-header {
	height: 66px;
	padding: 0 18px;
	display: flex;
	align-items: center;
	border-bottom: 1px solid #f1f5f9;
	gap: 10px;
	flex-shrink: 0;
	border-radius: 20px 20px 0 0;
}

.admin-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #0f172a;
	min-width: 0;
	overflow: hidden;
	opacity: 1 !important;
	filter: none !important;
}

.admin-brand-logo {
	width: 38px;
	height: 38px;
	border-radius: 9px;
	object-fit: contain;
	display: block;
	flex-shrink: 0;
	opacity: 1 !important;
	filter: none !important;
	-webkit-filter: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.admin-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
	white-space: nowrap;
}

.admin-brand-name {
	font-size: 16px;
	font-weight: 800;
	color: #0f172a !important;
	letter-spacing: -0.02em;
}

.admin-brand-sub {
	font-size: 10px;
	font-weight: 700;
	color: #64748b !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

/* Sidebar Nav */
.admin-sidebar-nav {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 12px 10px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.admin-sidebar-nav::-webkit-scrollbar {
	width: 4px;
}
.admin-sidebar-nav::-webkit-scrollbar-thumb {
	background: #e2e8f0;
	border-radius: 99px;
}

/* Section Title */
.admin-nav-section-title {
	font-size: 10px;
	font-weight: 800;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	padding: 14px 10px 5px;
	white-space: nowrap;
}

/* Nav Item Link */
.admin-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 12px;
	border-radius: 12px;
	text-decoration: none !important;
	color: #475569;
	font-size: 13px;
	font-weight: 600;
	transition: all 0.18s ease;
	position: relative;
	white-space: nowrap;
}

.admin-nav-item:hover {
	background: #f8fafc;
	color: #0f172a;
}

/* Active State */
.admin-nav-item.is-active {
	background: #eff6ff;
	color: #1463e8;
	font-weight: 700;
}

.admin-nav-item.is-active::before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	bottom: 8px;
	width: 3.5px;
	border-radius: 0 4px 4px 0;
	background: #1463e8;
}

/* Modern Colored Nav Icons */
.admin-nav-icon {
	width: 30px;
	height: 30px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-nav-icon svg {
	display: block;
	flex-shrink: 0;
	color: inherit;
}

/* Distinct Modern Colors per Category */
.admin-nav-icon.is-blue {
	color: #2563eb !important;
	background: rgba(37, 99, 235, 0.09);
}
.admin-nav-icon.is-cyan {
	color: #0284c7 !important;
	background: rgba(2, 132, 199, 0.09);
}
.admin-nav-icon.is-purple {
	color: #7c3aed !important;
	background: rgba(124, 58, 237, 0.09);
}
.admin-nav-icon.is-coral {
	color: #e11d48 !important;
	background: rgba(225, 29, 72, 0.09);
}
.admin-nav-icon.is-green {
	color: #059669 !important;
	background: rgba(5, 150, 105, 0.09);
}
.admin-nav-icon.is-orange {
	color: #ea580c !important;
	background: rgba(234, 88, 12, 0.09);
}
.admin-nav-icon.is-sky {
	color: #0ea5e9 !important;
	background: rgba(14, 165, 233, 0.09);
}
.admin-nav-icon.is-indigo {
	color: #6366f1 !important;
	background: rgba(99, 102, 241, 0.09);
}
.admin-nav-icon.is-slate {
	color: #64748b !important;
	background: rgba(100, 116, 139, 0.09);
}

/* Hover States on Nav Item */
.admin-nav-item:hover .admin-nav-icon {
	transform: scale(1.06);
}
.admin-nav-item:hover .admin-nav-icon.is-blue { background: rgba(37, 99, 235, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-cyan { background: rgba(2, 132, 199, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-purple { background: rgba(124, 58, 237, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-coral { background: rgba(225, 29, 72, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-green { background: rgba(5, 150, 105, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-orange { background: rgba(234, 88, 12, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-sky { background: rgba(14, 165, 233, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-indigo { background: rgba(99, 102, 241, 0.15); }
.admin-nav-item:hover .admin-nav-icon.is-slate { background: rgba(100, 116, 139, 0.15); }

/* Active Menu: Icon retains its individual color */
.admin-nav-item.is-active .admin-nav-icon {
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.admin-nav-item.is-active .admin-nav-icon.is-blue { background: rgba(37, 99, 235, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-cyan { background: rgba(2, 132, 199, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-purple { background: rgba(124, 58, 237, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-coral { background: rgba(225, 29, 72, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-green { background: rgba(5, 150, 105, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-orange { background: rgba(234, 88, 12, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-sky { background: rgba(14, 165, 233, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-indigo { background: rgba(99, 102, 241, 0.14); }
.admin-nav-item.is-active .admin-nav-icon.is-slate { background: rgba(100, 116, 139, 0.14); }

.admin-nav-label {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Badge Count */
.admin-nav-badge {
	font-size: 11px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 99px;
	background: #ffedd5;
	color: #ea580c;
	border: 1px solid #fed7aa;
	margin-left: auto;
	flex-shrink: 0;
	line-height: 1.2;
}

.admin-sidebar.is-collapsed .admin-nav-badge {
	position: absolute;
	top: 4px;
	right: 4px;
	padding: 2px 5px;
	font-size: 9px;
	margin-left: 0;
}

/* Sidebar Footer: Profile Admin */
.admin-sidebar-footer {
	padding: 12px 14px;
	border-top: 1px solid #f1f5f9;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #fafcff;
	flex-shrink: 0;
	border-radius: 0 0 20px 20px;
}

.admin-user-profile {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
}

.admin-user-avatar {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: linear-gradient(135deg, #1463e8 0%, #2563eb 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(20, 99, 232, 0.2);
}

.admin-user-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.admin-user-name {
	font-size: 12.5px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.admin-user-role {
	font-size: 10px;
	color: #64748b;
	white-space: nowrap;
}

.btn-sidebar-logout {
	color: #94a3b8;
	text-decoration: none;
	padding: 6px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.15s ease;
}

.btn-sidebar-logout:hover {
	color: #dc2626;
	background: #fee2e2;
}

/* 2. ADMIN BODY WRAPPER (MAIN CONTENT AREA) */
.admin-body-wrap {
	flex: 1;
	min-width: 0;
	margin-left: 304px;
	padding: 22px 24px 30px 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	box-sizing: border-box;
}

/* Floating Card Topbar */
.admin-topbar {
	height: 64px;
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.85);
	border-radius: 18px;
	padding: 0 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
	margin-bottom: 22px;
	box-sizing: border-box;
}

.admin-topbar-left {
	display: flex;
	align-items: center;
	gap: 16px;
}

.btn-mobile-sidebar-toggle {
	display: none;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #f8fafc;
	border: 1.5px solid #e2e8f0;
	color: #334155;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	transition: all 0.15s ease;
}

.btn-mobile-sidebar-toggle:hover {
	background: #f1f5f9;
	color: #0f172a;
}

.admin-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	color: #64748b;
}

.admin-bc-panel {
	font-weight: 600;
	color: #64748b;
	text-decoration: none;
}
.admin-bc-panel:hover {
	color: #1463e8;
}

.admin-bc-sep {
	color: #cbd5e1;
	font-size: 12px;
}

.admin-bc-current {
	font-weight: 800;
	color: #0f172a;
}

.admin-topbar-right {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* Admin Main Content Container */
.admin-content {
	flex: 1;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* Backdrop for Mobile Drawer */
.admin-sidebar-backdrop {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.45);
	backdrop-filter: blur(4px);
	z-index: 10000;
}

/* 3. MOBILE & TABLET RESPONSIVE */
@media (max-width: 1024px) {
	.admin-sidebar {
		left: 14px;
		top: 14px;
		bottom: 14px;
		width: 260px !important;
		max-width: calc(100vw - 36px);
		border-radius: 20px;
		box-shadow: 0 20px 40px rgba(15, 23, 42, 0.22);
		transform: translateX(-120%);
		transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
		z-index: 10001;
	}

	.admin-sidebar.is-mobile-open {
		transform: translateX(0);
	}

	.admin-sidebar.is-mobile-open ~ .admin-sidebar-backdrop {
		display: block;
	}

	.admin-body-wrap {
		margin-left: 0 !important;
		padding: 14px 14px 24px !important;
	}

	.admin-topbar {
		margin-bottom: 16px;
		padding: 0 16px;
		border-radius: 14px;
	}

	.btn-mobile-sidebar-toggle {
		display: flex;
	}
}

/* ========================================================================= */
/* UNIVERSAL TABLE CENTERING (SEMUA KOLOM & HEADER RATA TENGAH SECARA GLOBAL) */
/* ========================================================================= */
.pmt-table th,
.pmt-table td,
.usr-table th,
.usr-table td,
.admin-table th,
.admin-table td,
.bs-table th,
.bs-table td,
.art-table th,
.art-table td,
.hsl-table th,
.hsl-table td,
.lap-table th,
.lap-table td,
.admin-content table th,
.admin-content table td {
	text-align: center !important;
	vertical-align: middle !important;
}

/* Stacked User cells & Date cells centered horizontally & vertically */
.pmt-user-cell,
.pmt-date-cell,
.usr-name-wrap,
.art-table .art-author-cell {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
	margin: 0 auto !important;
}

.pmt-avatar {
	margin: 0 auto !important;
}

/* Dropdown wraps, action buttons, and badges inside tables centered */
.pmt-dropdown-wrap,
.usr-actions-cell,
.act-btns {
	display: inline-flex !important;
	justify-content: center !important;
	align-items: center !important;
	margin: 0 auto !important;
}

/* ========================================================================= */
/* MYCPNS ADMIN DESIGN SYSTEM & MASTER LAYOUT                                */
/* ========================================================================= */

/* Master Page Container (Standardized for 100% Alignment across ALL Admin Pages) */
.adm-container,
.pmt-wrap,
.usr-container,
.lap-container,
.bs-container,
.kat-container,
.art-container,
.hsl-container,
.pg-container,
.artf-container,
.bsf-container,
.adm-page-container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 0 40px 0 !important;
	box-sizing: border-box !important;
}

/* Master Page Header / Hero Component */
.adm-page-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, #165be2 0%, #2563eb 55%, #1d4ed8 100%);
	color: #ffffff;
	border-radius: 20px;
	padding: 24px 28px;
	margin-bottom: 22px;
	position: relative;
	overflow: hidden;
	box-shadow: 0 12px 28px -6px rgba(30, 64, 175, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-sizing: border-box;
}

.adm-page-header::before {
	content: "";
	position: absolute;
	top: -45px;
	right: 140px;
	width: 200px;
	height: 200px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
	border-radius: 50%;
	pointer-events: none;
}

.adm-page-header::after {
	content: "";
	position: absolute;
	bottom: -45px;
	left: 20%;
	width: 170px;
	height: 170px;
	background: radial-gradient(circle, rgba(56, 189, 248, 0.18) 0%, rgba(56, 189, 248, 0) 70%);
	border-radius: 50%;
	pointer-events: none;
}

.adm-header-left {
	display: flex;
	align-items: center;
	gap: 18px;
	position: relative;
	z-index: 2;
}

.adm-header-icon-box {
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.32);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.adm-header-icon-box svg {
	width: 26px;
	height: 26px;
}

.adm-header-text {
	display: flex;
	flex-direction: column;
}

.adm-header-title {
	font-size: 24px;
	font-weight: 800;
	color: #ffffff !important;
	margin: 0;
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.adm-header-desc {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.88) !important;
	margin: 4px 0 0;
	line-height: 1.4;
	font-weight: 500;
}

.adm-header-right {
	display: flex;
	align-items: center;
	gap: 12px;
	position: relative;
	z-index: 2;
}

/* Master Header Action Buttons */
.adm-header-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 12px;
	font-size: 13.5px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
	border: none;
	box-sizing: border-box;
}

.adm-header-btn.is-primary {
	background: #ffffff;
	color: #1d4ed8 !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.adm-header-btn.is-primary:hover {
	background: #f8fafc;
	transform: translateY(-1.5px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
	color: #1e40af !important;
}

.adm-header-btn.is-secondary {
	background: rgba(255, 255, 255, 0.18);
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.32);
	backdrop-filter: blur(8px);
}

.adm-header-btn.is-secondary:hover {
	background: rgba(255, 255, 255, 0.28);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-1.5px);
	color: #ffffff !important;
}

/* Master Header Badge / Chip */
.adm-header-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.32);
	backdrop-filter: blur(8px);
	color: #ffffff !important;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.2px;
}

.adm-header-chip-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 10px #4ade80;
	animation: admPulse 2s infinite;
}

@keyframes admPulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 768px) {
	.adm-page-header {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		padding: 20px;
	}
	.adm-header-right {
		width: 100%;
		flex-wrap: wrap;
	}
	.adm-header-btn {
		width: 100%;
		justify-content: center;
	}
}

/* Master Statistic Cards System */
.adm-stats-grid,
.pmt-stats-grid,
.usr-stats-grid,
.lap-stats-grid,
.hsl-stats-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
	gap: 16px !important;
	margin-bottom: 22px !important;
}

.adm-stat-card,
.pmt-stat-card,
.usr-stat-card,
.lap-stat-card,
.hsl-stat-card {
	background: #ffffff !important;
	border: 1px solid rgba(226, 232, 240, 0.95) !important;
	border-radius: 18px !important;
	padding: 18px 20px !important;
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
	box-sizing: border-box !important;
	position: relative !important;
	text-decoration: none !important;
	min-height: 84px !important;
}

.adm-stat-card:hover,
.pmt-stat-card:hover,
.usr-stat-card:hover,
.lap-stat-card:hover,
.hsl-stat-card:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08) !important;
	border-color: #cbd5e1 !important;
}

/* Master Filter Card System */
.adm-filter-card,
.pmt-filter-card,
.usr-filter-card,
.bs-filter-card,
.art-card-filter,
.hsl-card-filter {
	background: #ffffff !important;
	border: 1px solid rgba(226, 232, 240, 0.95) !important;
	border-radius: 18px !important;
	padding: 16px 20px !important;
	margin-bottom: 22px !important;
	box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
	box-sizing: border-box !important;
}

/* Master Table Card System */
.adm-table-card,
.pmt-table-card,
.usr-table-card,
.bs-table-card,
.art-card-table,
.hsl-card-table,
.lap-table-wrap {
	background: #ffffff !important;
	border: 1px solid rgba(226, 232, 240, 0.95) !important;
	border-radius: 18px !important;
	overflow: hidden !important;
	box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04) !important;
	margin-bottom: 22px !important;
	box-sizing: border-box !important;
}

/* Master Table Header Styling */
.adm-table thead th,
.pmt-table thead th,
.bs-table thead th,
.art-table thead th,
.hsl-table thead th,
.lap-table thead th,
.admin-table thead th {
	background: #f8fafc !important;
	color: #475569 !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	padding: 14px 16px !important;
	border-bottom: 1.5px solid #e2e8f0 !important;
	line-height: 1.3 !important;
}

/* Master Table Row Divider & Hover */
.adm-table tbody td,
.pmt-table tbody td,
.bs-table tbody td,
.art-table tbody td,
.hsl-table tbody td,
.lap-table tbody td,
.admin-table tbody td {
	padding: 14px 16px !important;
	border-bottom: 1px solid #f1f5f9 !important;
	font-size: 13.5px !important;
	color: #1e293b !important;
}

.adm-table tbody tr:hover,
.pmt-table tbody tr:hover,
.usr-table tbody tr:hover,
.bs-table tbody tr:hover,
.art-table tbody tr:hover,
.hsl-table tbody tr:hover,
.lap-table tbody tr:hover,
.admin-table tbody tr:hover {
	background-color: #f8fafc !important;
}

/* ========================================================================= */
/* MASTER USER IDENTITY COMPONENT (ANTI-TRUNCATION, HORIZONTAL FLEX SYSTEM)  */
/* ========================================================================= */

.adm-user-cell,
.pmt-user-cell,
.usr-user-cell,
.hsl-user-cell,
.lap-pelapor-stack,
.lap-pelapor-box {
	display: inline-flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	text-align: left !important;
	gap: 12px !important;
	min-width: 0 !important;
	margin: 0 !important;
}

.adm-user-avatar,
.pmt-avatar,
.usr-avatar,
.hsl-avatar,
.lap-pelapor-avatar {
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	min-height: 38px !important;
	border-radius: 50% !important;
	background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
	color: #165be2 !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border: 1.5px solid #bfdbfe !important;
	flex-shrink: 0 !important;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06) !important;
	text-transform: uppercase !important;
	margin: 0 !important;
}

/* Avatar Context Variants */
.adm-user-avatar.is-admin,
.usr-avatar.is-admin {
	background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%) !important;
	color: #7c3aed !important;
	border-color: #ddd6fe !important;
}

.adm-user-avatar.is-premium,
.usr-avatar.is-premium,
.hsl-avatar.hsl-avatar-prem,
.hsl-avatar.is-premium {
	background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
	color: #d97706 !important;
	border-color: #fde68a !important;
}

.adm-user-avatar.is-guest,
.lap-pelapor-avatar {
	background: #f1f5f9 !important;
	color: #64748b !important;
	border-color: #e2e8f0 !important;
}

.adm-user-meta,
.pmt-user-info,
.usr-user-meta,
.hsl-user-info,
.lap-pelapor-text {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	text-align: left !important;
	min-width: 0 !important;
	gap: 2px !important;
	width: auto !important;
}

.adm-user-name,
.pmt-user-name,
.usr-name,
.hsl-user-name,
.lap-pelapor-nama {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #0f172a !important;
	line-height: 1.3 !important;
	text-align: left !important;
	white-space: normal !important;
	word-break: normal !important;
	max-width: none !important;
	display: block !important;
}

.adm-user-email,
.pmt-user-email,
.usr-email-text,
.hsl-user-email,
.lap-pelapor-email {
	font-size: 12px !important;
	font-weight: 400 !important;
	color: #64748b !important;
	line-height: 1.25 !important;
	text-align: left !important;
	text-transform: none !important;
	white-space: normal !important;
	word-break: break-word !important;
	max-width: none !important;
	margin: 0 !important;
	display: block !important;
}


