/* KioskMCI8 admin polish ? Metronic 8 aligned */
:root {
	--km-primary: #009ef7;
	--km-primary-soft: rgba(0, 158, 247, 0.08);
	--km-surface: #f5f8fa;
	--km-card-radius: 0.85rem;
	--km-aside: #1e1e2d;
}

body#kt_body {
	background-color: var(--km-surface);
}

/* Content canvas */
#kt_content {
	background: linear-gradient(180deg, #f8fafc 0%, #eef3f7 100%);
}

#kt_content_container {
	padding-top: 0.5rem;
	padding-bottom: 2rem;
}

/* Header */
#kt_header.header {
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
	background: #fff !important;
}

#kt_header #clock {
	font-variant-numeric: tabular-nums;
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
}

#kt_header #domain_text {
	font-size: 0.75rem;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}

/* Toolbar */
#kt_toolbar {
	background: transparent !important;
	border: 0 !important;
	padding-top: 1.25rem !important;
	padding-bottom: 0.75rem !important;
}

#kt_toolbar .page-title h1 {
	letter-spacing: -0.02em;
}

/* Cards */
#kt_content .card {
	border: 0;
	border-radius: var(--km-card-radius);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
	overflow: hidden;
}

#kt_content .card .card-header {
	min-height: 60px;
	background: transparent;
}

#kt_content .card .card-title h3,
#kt_content .card .card-title .card-label {
	font-size: 1.1rem;
	letter-spacing: -0.01em;
}

/* Notice / intro strips */
#kt_content .notice {
	border-radius: var(--km-card-radius) !important;
	background: linear-gradient(135deg, #f1f8ff 0%, #eef6ff 50%, #f8fafc 100%) !important;
	box-shadow: inset 0 0 0 1px rgba(0, 158, 247, 0.12);
}

#kt_content .notice h4 {
	font-size: 1.05rem;
	margin-bottom: 0.35rem;
}

/* Forms */
#kt_content .form-control-solid,
#kt_content .form-select-solid {
	border-radius: 0.65rem;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

#kt_content .form-control-solid:focus,
#kt_content .form-select-solid:focus {
	box-shadow: 0 0 0 3px var(--km-primary-soft);
}

/* Buttons */
#kt_content .btn {
	border-radius: 0.55rem;
	font-weight: 600;
}

#kt_content .btn-primary {
	box-shadow: 0 4px 12px rgba(0, 158, 247, 0.25);
}

#kt_content .btn-primary:hover {
	box-shadow: 0 6px 16px rgba(0, 158, 247, 0.32);
}

/* Tables */
#kt_content .table thead th {
	letter-spacing: 0.04em;
	font-size: 0.7rem !important;
}

#kt_content .table tbody tr {
	transition: background-color 0.12s ease;
}

#kt_content .table.table-row-dashed tbody tr:hover {
	background-color: rgba(0, 158, 247, 0.03);
}

#kt_content code {
	font-size: 0.85em;
	padding: 0.15rem 0.4rem;
	border-radius: 0.35rem;
	background: #f1f3f5;
	color: #3f4254;
}

/* Aside brand */
#kt_aside.aside-dark {
	background: linear-gradient(180deg, #1b1b28 0%, #151521 100%) !important;
}

#kt_aside_logo {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

#kt_aside_logo a {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
}

.km-brand-mark {
	min-width: 46px;
	height: 32px;
	padding: 0 0.4rem;
	border-radius: 9px;
	background: linear-gradient(135deg, #009ef7 0%, #0066c7 100%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 800;
	font-size: 0.62rem;
	letter-spacing: -0.02em;
	box-shadow: 0 6px 14px rgba(0, 158, 247, 0.35);
	white-space: nowrap;
}

.km-brand-text {
	line-height: 1.15;
}

.km-brand-text .km-brand-name {
	display: block;
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
}

.km-brand-text .km-brand-sub {
	display: block;
	font-size: 0.68rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.45);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

#kt_aside_menu .menu-link {
	border-radius: 0.55rem;
	margin: 0 0.35rem;
}

#kt_aside_menu .menu-item.here > .menu-link,
#kt_aside_menu .menu-link.active {
	background: rgba(0, 158, 247, 0.12) !important;
}

#kt_aside_footer .btn-primary {
	border-radius: 0.65rem;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(0, 158, 247, 0.28);
}

/* Dashboard widgets */
.km-stat-card {
	position: relative;
	overflow: hidden;
	border-radius: var(--km-card-radius);
	background: #fff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
	height: 100%;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.km-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.05), 0 14px 28px rgba(15, 23, 42, 0.08);
}

.km-stat-card .km-stat-body {
	padding: 1.35rem 1.5rem;
}

.km-stat-card .km-stat-label {
	font-size: 0.75rem;
	font-weight: 600;
	color: #a1a5b7;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.4rem;
}

.km-stat-card .km-stat-value {
	font-size: 1.35rem;
	font-weight: 700;
	color: #181c32;
	letter-spacing: -0.02em;
	word-break: break-all;
}

.km-stat-card .km-stat-icon {
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
}

.km-stat-icon.is-primary { background: rgba(0, 158, 247, 0.12); color: #009ef7; }
.km-stat-icon.is-success { background: rgba(80, 205, 137, 0.14); color: #50cd89; }
.km-stat-icon.is-warning { background: rgba(255, 199, 0, 0.16); color: #f1a208; }
.km-stat-icon.is-info { background: rgba(114, 57, 234, 0.12); color: #7239ea; }

.km-provider-card {
	border-radius: var(--km-card-radius);
	background: #fff;
	border: 1px solid #eff2f5;
	padding: 1.25rem 1.35rem;
	height: 100%;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.km-provider-card:hover {
	border-color: rgba(0, 158, 247, 0.35);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.km-provider-card .km-provider-code {
	font-size: 0.78rem;
	font-weight: 700;
	color: #7e8299;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.km-provider-card .km-provider-name {
	font-size: 1.05rem;
	font-weight: 700;
	color: #181c32;
	margin: 0.25rem 0 0.85rem;
}

.km-dash-credit-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.km-dash-credit-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.4rem 0.55rem;
	border-radius: 0.45rem;
	background: #f9fafb;
}

.km-dash-acc {
	font-size: 0.7rem;
	font-weight: 600;
	color: #a1a5b7;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.km-dash-credit {
	font-size: 1.05rem;
	font-weight: 800;
	color: #181c32;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.km-dash-credit.is-ok {
	color: #0d9a56;
}

.km-dash-credit.is-fail {
	color: #d9214e;
}

[data-bs-theme="dark"] .km-dash-credit-row {
	background: #2b2b40;
}

[data-bs-theme="dark"] .km-dash-credit {
	color: #fff;
}

/* Circuit breaker / maintenance */
.km-maint-banner {
	padding: 1rem 1.15rem;
	border-radius: 0.65rem;
	background: #f1f3f5;
	border: 1px solid #e4e6ef;
}

.km-maint-banner.is-stopped {
	background: rgba(241, 65, 108, 0.08);
	border-color: rgba(241, 65, 108, 0.35);
}

.km-maint-provider {
	padding: 0.85rem 1rem;
	border-radius: 0.65rem;
	background: #f9fafb;
	border: 1px solid #eff2f5;
	height: 100%;
}

.km-maint-provider.is-stopped {
	background: rgba(241, 65, 108, 0.06);
	border-color: rgba(241, 65, 108, 0.3);
}

.km-maint-alert {
	border-radius: var(--km-card-radius);
	background: linear-gradient(90deg, rgba(241, 65, 108, 0.12) 0%, #fff 40%);
	border: 1px solid rgba(241, 65, 108, 0.25);
	padding: 0.85rem 1.15rem;
	margin-bottom: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.km-maint-alert strong {
	color: #d9214e;
}

.km-quick-panel {
	border-radius: var(--km-card-radius);
	background: linear-gradient(135deg, #009ef7 0%, #0066c7 100%);
	color: #fff;
	padding: 1.5rem;
	height: 100%;
	box-shadow: 0 12px 28px rgba(0, 158, 247, 0.28);
}

.km-quick-panel .km-quick-title {
	font-size: 0.75rem;
	font-weight: 600;
	opacity: 0.75;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.km-quick-panel .km-quick-heading {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0.35rem 0 1rem;
}

.km-quick-panel .btn {
	border-radius: 0.55rem;
	font-weight: 600;
}

.km-quick-panel .btn-light {
	color: #0066c7;
}

/* Footer */
#kt_footer {
	background: transparent !important;
	border-top: 0 !important;
}

/* Dark mode tweaks */
[data-bs-theme="dark"] #kt_content {
	background: linear-gradient(180deg, #151521 0%, #1b1b28 100%);
}

[data-bs-theme="dark"] #kt_header.header {
	background: #1e1e2d !important;
}

[data-bs-theme="dark"] .km-stat-card,
[data-bs-theme="dark"] .km-provider-card {
	background: #1e1e2d;
	border-color: #2b2b40;
}

[data-bs-theme="dark"] .km-stat-card .km-stat-value,
[data-bs-theme="dark"] .km-provider-card .km-provider-name {
	color: #fff;
}

[data-bs-theme="dark"] #kt_content code {
	background: #2b2b40;
	color: #e4e6ef;
}

[data-bs-theme="dark"] #kt_content .notice {
	background: rgba(0, 158, 247, 0.08) !important;
}

/* Login page */
.km-login-page {
	min-height: 100vh;
	background:
		radial-gradient(1200px 600px at 10% -10%, rgba(0, 158, 247, 0.35), transparent 55%),
		radial-gradient(900px 500px at 100% 0%, rgba(0, 102, 199, 0.28), transparent 50%),
		linear-gradient(160deg, #0f172a 0%, #1e1e2d 45%, #111827 100%);
}

.km-login-card {
	border-radius: 1.1rem;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
	border: 1px solid rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(8px);
}

.km-login-brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	text-decoration: none;
}

.km-login-brand .km-brand-mark {
	min-width: 58px;
	height: 44px;
	font-size: 0.78rem;
	border-radius: 12px;
}

.km-login-brand .km-login-title {
	color: #fff;
	font-size: 1.65rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.km-login-brand .km-login-sub {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.8rem;
	font-weight: 500;
}

/* Password field with eye toggle */
.km-pass-wrap .km-pass-input {
	padding-right: 2.75rem;
}

.km-pass-toggle {
	position: absolute;
	top: 50%;
	right: 0.4rem;
	transform: translateY(-50%);
	width: 2rem;
	height: 2rem;
	border: 0;
	background: transparent;
	color: #a1a5b7;
	border-radius: 0.5rem;
}

.km-pass-toggle:hover {
	color: #009ef7;
	background: rgba(0, 158, 247, 0.08);
}

/* Page intro (replaces dashed notice boxes) */
.km-page-intro {
	padding: 1.1rem 1.35rem;
	border-radius: var(--km-card-radius);
	background: #fff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.km-page-intro-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #181c32;
	letter-spacing: -0.01em;
	margin-bottom: 0.25rem;
}

.km-page-intro-text {
	font-size: 0.9rem;
	color: #7e8299;
	line-height: 1.45;
	max-width: 52rem;
}

/* Structured tool result (replaces raw JSON dump) */
.km-result-panel {
	border-radius: var(--km-card-radius);
	background: #fff;
	padding: 1.15rem 1.35rem;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
	border-left: 4px solid #a1a5b7;
}

.km-result-panel.is-ok {
	border-left-color: #50cd89;
	background: linear-gradient(90deg, rgba(80, 205, 137, 0.06) 0%, #fff 28%);
}

.km-result-panel.is-fail {
	border-left-color: #f1416c;
	background: linear-gradient(90deg, rgba(241, 65, 108, 0.06) 0%, #fff 28%);
}

.km-result-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.85rem;
	margin-bottom: 0.75rem;
}

.km-result-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.25rem 0.55rem;
	border-radius: 0.4rem;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: #f1f3f5;
	color: #5e6278;
}

.km-result-panel.is-ok .km-result-badge {
	background: rgba(80, 205, 137, 0.15);
	color: #0d9a56;
}

.km-result-panel.is-fail .km-result-badge {
	background: rgba(241, 65, 108, 0.12);
	color: #d9214e;
}

.km-result-title {
	font-weight: 700;
	color: #181c32;
	font-size: 0.95rem;
}

.km-result-msg {
	color: #7e8299;
	font-size: 0.88rem;
}

.km-result-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.75rem;
	margin-bottom: 0.75rem;
}

.km-result-item {
	background: #f9fafb;
	border-radius: 0.55rem;
	padding: 0.65rem 0.8rem;
}

.km-result-label {
	font-size: 0.68rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #a1a5b7;
	margin-bottom: 0.2rem;
}

.km-result-value {
	font-size: 0.95rem;
	font-weight: 700;
	color: #181c32;
	word-break: break-all;
}

.km-result-raw summary {
	cursor: pointer;
	font-size: 0.8rem;
	font-weight: 600;
	color: #7e8299;
	user-select: none;
}

.km-result-raw summary:hover {
	color: #009ef7;
}

.km-code-block {
	margin: 0.65rem 0 0;
	padding: 0.9rem 1rem;
	border-radius: 0.55rem;
	background: #0f172a;
	color: #e2e8f0;
	font-size: 0.78rem;
	line-height: 1.45;
	white-space: pre-wrap;
	word-break: break-word;
	max-height: 280px;
	overflow: auto;
}

/* Access Verify credit cards */
.km-credit-card {
	border-radius: var(--km-card-radius);
	background: #fff;
	border: 1px solid #eff2f5;
	padding: 1.25rem 1.35rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.km-credit-card:hover {
	border-color: rgba(0, 158, 247, 0.35);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
	transform: translateY(-2px);
}

.km-credit-card.is-ok {
	border-color: rgba(80, 205, 137, 0.45);
	background: linear-gradient(180deg, rgba(80, 205, 137, 0.06) 0%, #fff 40%);
}

.km-credit-card.is-fail {
	border-color: rgba(241, 65, 108, 0.35);
	background: linear-gradient(180deg, rgba(241, 65, 108, 0.05) 0%, #fff 40%);
}

.km-credit-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.km-credit-code {
	font-size: 0.72rem;
	font-weight: 700;
	color: #a1a5b7;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.km-credit-name {
	font-size: 1.05rem;
	font-weight: 700;
	color: #181c32;
	letter-spacing: -0.01em;
}

.km-credit-amount {
	font-size: 1.85rem;
	font-weight: 800;
	color: #181c32;
	letter-spacing: -0.03em;
	font-variant-numeric: tabular-nums;
	line-height: 1.1;
	margin-bottom: 0.55rem;
}

.km-credit-status {
	margin-bottom: 0.45rem;
}

.km-credit-msg {
	font-size: 0.8rem;
	color: #7e8299;
	min-height: 2.4em;
	line-height: 1.35;
	margin-bottom: 0.85rem;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.km-credit-card .btn {
	margin-top: auto;
}

/* Empty state */
.km-empty-state {
	text-align: center;
	padding: 3rem 1.5rem;
	border-radius: var(--km-card-radius);
	background: #fff;
	box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.km-empty-icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 1rem;
	border-radius: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 158, 247, 0.1);
	color: #009ef7;
	font-size: 1.35rem;
}

.km-empty-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #181c32;
	margin-bottom: 0.35rem;
}

.km-empty-text {
	font-size: 0.9rem;
	color: #7e8299;
	max-width: 28rem;
	margin: 0 auto;
}

[data-bs-theme="dark"] .km-page-intro,
[data-bs-theme="dark"] .km-result-panel,
[data-bs-theme="dark"] .km-credit-card,
[data-bs-theme="dark"] .km-empty-state {
	background: #1e1e2d;
	border-color: #2b2b40;
}

[data-bs-theme="dark"] .km-page-intro-title,
[data-bs-theme="dark"] .km-result-title,
[data-bs-theme="dark"] .km-result-value,
[data-bs-theme="dark"] .km-credit-name,
[data-bs-theme="dark"] .km-credit-amount,
[data-bs-theme="dark"] .km-empty-title {
	color: #fff;
}

[data-bs-theme="dark"] .km-result-item {
	background: #2b2b40;
}

[data-bs-theme="dark"] .km-result-panel.is-ok,
[data-bs-theme="dark"] .km-credit-card.is-ok {
	background: linear-gradient(180deg, rgba(80, 205, 137, 0.1) 0%, #1e1e2d 45%);
}

[data-bs-theme="dark"] .km-result-panel.is-fail,
[data-bs-theme="dark"] .km-credit-card.is-fail {
	background: linear-gradient(180deg, rgba(241, 65, 108, 0.1) 0%, #1e1e2d 45%);
}

/* Circuit breaker / maintenance */
.km-maint-banner {
	padding: 1rem 1.15rem;
	border-radius: 0.65rem;
	background: #f1f3f5;
	border: 1px solid #e4e6ef;
}

.km-maint-banner.is-stopped {
	background: rgba(241, 65, 108, 0.08);
	border-color: rgba(241, 65, 108, 0.35);
}

.km-maint-provider {
	padding: 0.85rem 1rem;
	border-radius: 0.65rem;
	background: #f9fafb;
	border: 1px solid #eff2f5;
	height: 100%;
}

.km-maint-provider.is-stopped {
	background: rgba(241, 65, 108, 0.06);
	border-color: rgba(241, 65, 108, 0.3);
}

.km-maint-alert {
	border-radius: var(--km-card-radius);
	background: linear-gradient(90deg, rgba(241, 65, 108, 0.12) 0%, #fff 40%);
	border: 1px solid rgba(241, 65, 108, 0.25);
	padding: 0.85rem 1.15rem;
	margin-bottom: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.km-maint-alert strong {
	color: #d9214e;
}

.km-dash-credit-wrap {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.km-dash-credit-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.4rem 0.55rem;
	border-radius: 0.45rem;
	background: #f9fafb;
}

.km-dash-acc {
	font-size: 0.7rem;
	font-weight: 600;
	color: #a1a5b7;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.km-dash-credit {
	font-size: 1.05rem;
	font-weight: 800;
	color: #181c32;
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.02em;
}

.km-dash-credit.is-ok { color: #0d9a56; }
.km-dash-credit.is-fail { color: #d9214e; }

/* Game Accounts ? Player Tools modal */
/* Game Accounts ? Player Tools modal */
.km-pt-modal .modal-content {
	border-radius: 1rem;
}

.km-pt-hero {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.35rem 1.5rem 1.15rem;
	background: linear-gradient(135deg, #1e1e2d 0%, #2a2a3d 55%, #1b2a4a 100%);
	color: #fff;
	position: relative;
}

.km-pt-hero::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.km-pt-hero-main {
	min-width: 0;
}

.km-pt-hero-code {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-bottom: 0.15rem;
}

.km-pt-hero-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.82);
	margin-bottom: 0.35rem;
}

.km-pt-hero-player {
	font-size: 1.45rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.15;
	margin-bottom: 0.65rem;
	word-break: break-all;
}

.km-pt-hero-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem;
}

.km-pt-tag {
	font-size: 0.78rem;
	color: rgba(255, 255, 255, 0.65);
	padding: 0.2rem 0.55rem;
	border-radius: 0.4rem;
	background: rgba(255, 255, 255, 0.08);
}

.km-pt-tag strong {
	color: #fff;
	font-weight: 600;
}

.km-pt-close {
	filter: invert(1) grayscale(1);
	opacity: 0.7;
	margin-top: 0.15rem;
}

.km-pt-close:hover {
	opacity: 1;
}

.km-pt-shell {
	display: grid;
	grid-template-columns: 260px minmax(0, 1fr);
	min-height: 420px;
	background: #f5f8fa;
}

.km-pt-sidebar {
	padding: 1.15rem 0.85rem 1.15rem 1.15rem;
	border-right: 1px solid #eff2f5;
	background: #fff;
}

.km-pt-sidebar-title {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #a1a5b7;
	padding: 0 0.55rem 0.65rem;
}

.km-pt-nav {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.km-pt-nav-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	width: 100%;
	padding: 0.75rem 0.8rem;
	border: 1px solid transparent;
	border-radius: 0.75rem;
	background: transparent;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.km-pt-nav-item:hover {
	background: #f9fafb;
	border-color: #eff2f5;
}

.km-pt-nav-item.is-active {
	background: rgba(0, 158, 247, 0.08);
	border-color: rgba(0, 158, 247, 0.35);
	box-shadow: 0 4px 14px rgba(0, 158, 247, 0.08);
}

.km-pt-nav-icon {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 0.65rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 0.9rem;
}

.km-pt-nav-icon.is-primary { background: rgba(0, 158, 247, 0.12); color: #009ef7; }
.km-pt-nav-icon.is-success { background: rgba(80, 205, 137, 0.14); color: #50cd89; }
.km-pt-nav-icon.is-danger { background: rgba(241, 65, 108, 0.12); color: #f1416c; }
.km-pt-nav-icon.is-warning { background: rgba(255, 199, 0, 0.16); color: #f1a208; }
.km-pt-nav-icon.is-info { background: rgba(114, 57, 234, 0.12); color: #7239ea; }

.km-pt-nav-text {
	min-width: 0;
}

.km-pt-nav-title {
	display: block;
	font-size: 0.9rem;
	font-weight: 700;
	color: #181c32;
	line-height: 1.2;
}

.km-pt-nav-desc {
	display: block;
	font-size: 0.72rem;
	color: #a1a5b7;
	line-height: 1.3;
	margin-top: 0.1rem;
}

.km-pt-main {
	padding: 1.35rem 1.5rem 1.5rem;
	display: flex;
	flex-direction: column;
}

.km-pt-main-head {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem 1rem;
}

.km-pt-main-icon {
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: #fff;
	border: 1px solid #eff2f5;
	color: #a1a5b7;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.15rem;
	margin-bottom: 1rem;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.km-pt-main-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #181c32;
	margin: 0 0 0.35rem;
}

.km-pt-main-desc {
	font-size: 0.88rem;
	color: #7e8299;
	margin: 0;
	max-width: 22rem;
}

.km-pt-panel-head {
	margin-bottom: 1.15rem;
}

.km-pt-panel-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #181c32;
	margin: 0 0 0.25rem;
}

.km-pt-panel-desc {
	font-size: 0.85rem;
	color: #7e8299;
	margin: 0;
}

.km-pt-form {
	background: #fff;
	border: 1px solid #eff2f5;
	border-radius: 0.85rem;
	padding: 1.15rem 1.2rem;
	margin-bottom: 1rem;
}

.km-pt-hint {
	display: flex;
	align-items: center;
	padding: 0.85rem 1rem;
	border-radius: 0.65rem;
	background: rgba(0, 158, 247, 0.06);
	color: #3f4254;
	font-size: 0.88rem;
}

.km-pt-footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.65rem;
	margin-top: auto;
	padding-top: 0.5rem;
}

.km-result-grid {
	display: grid;
	gap: 0.35rem;
}

.km-result-row {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.9rem;
}

.km-result-row span {
	color: #a1a5b7;
}

#km_pt_result {
	margin-bottom: 0.75rem;
}

[data-bs-theme="dark"] .km-pt-shell {
	background: #151521;
}

[data-bs-theme="dark"] .km-pt-sidebar,
[data-bs-theme="dark"] .km-pt-form,
[data-bs-theme="dark"] .km-pt-main-icon {
	background: #1e1e2d;
	border-color: #2b2b40;
}

[data-bs-theme="dark"] .km-pt-nav-item:hover {
	background: rgba(255, 255, 255, 0.04);
	border-color: #2b2b40;
}

[data-bs-theme="dark"] .km-pt-nav-title,
[data-bs-theme="dark"] .km-pt-main-title,
[data-bs-theme="dark"] .km-pt-panel-title {
	color: #fff;
}

[data-bs-theme="dark"] .km-pt-hint {
	background: rgba(0, 158, 247, 0.12);
	color: #e1e3ea;
}

@media (max-width: 991.98px) {
	.km-pt-shell {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.km-pt-sidebar {
		border-right: 0;
		border-bottom: 1px solid #eff2f5;
		padding-bottom: 0.85rem;
	}

	.km-pt-nav {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.km-pt-hero {
		padding: 1rem 1rem 0.9rem;
	}

	.km-pt-hero-player {
		font-size: 1.2rem;
	}

	.km-pt-main {
		padding: 1rem;
	}

	.km-pt-nav {
		grid-template-columns: 1fr;
	}
}
