.mks-gmat-lms-pwa-install {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9998;
	display: none !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border: 1px solid #6d28d9;
	border-radius: 999px;
	background: linear-gradient(135deg, #a66bff 0%, #8746f1 48%, #6223bc 100%);
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.1;
	box-shadow: 0 14px 28px rgba(91, 33, 182, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.24);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
	max-width: min(calc(100vw - 24px), 240px);
}

.mks-gmat-lms-pwa-header-host {
	position: relative;
}

.mks-gmat-lms-pwa-header-slot {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	flex: 0 0 auto;
	margin-left: 10px;
}

.mks-gmat-lms-pwa-install.is-header {
	position: relative;
	right: auto;
	bottom: auto;
	z-index: auto;
	min-width: 108px;
	min-height: 38px;
	padding: 0 14px;
	border-color: rgba(167, 139, 250, 0.7);
	background: linear-gradient(135deg, #b07bff 0%, #8746f1 52%, #6223bc 100%);
	box-shadow: 0 10px 20px rgba(91, 33, 182, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	font-size: 14px;
	font-weight: 800;
	line-height: 1;
	max-width: none;
}

.mks-gmat-lms-pwa-install:hover {
	transform: translateY(-1px);
	filter: saturate(1.03);
	box-shadow: 0 18px 32px rgba(76, 29, 149, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mks-gmat-lms-pwa-install.is-header:hover {
	background: linear-gradient(135deg, #a855f7 0%, #7c3aed 45%, #5b21b6 100%);
	box-shadow: 0 14px 26px rgba(91, 33, 182, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mks-gmat-lms-pwa-install[hidden] {
	display: none !important;
}

.mks-gmat-lms-pwa-nav {
	box-sizing: border-box;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 150px;
	height: 48px;
	padding: 5px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 16px;
	background: rgba(15, 23, 42, 0.42);
	box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	z-index: 10020;
	visibility: visible !important;
	opacity: 1 !important;
}

.mks-gmat-lms-pwa-nav.is-fixed {
	position: fixed !important;
}

.mks-gmat-lms-pwa-nav.is-site-header {
	position: absolute !important;
	left: 6px;
	top: 50%;
	transform: translateY(-50%);
}

.mks-gmat-lms-pwa-nav.is-inline {
	position: relative;
	flex: 0 0 auto;
	margin-right: 8px;
}

.gmat-course-learning-hero > .mks-gmat-lms-pwa-nav {
	display: flex !important;
	margin: 0 0 12px;
}

.gmat-reading-topbar > .mks-gmat-lms-pwa-nav,
.gmat-di-test-topbar > .mks-gmat-lms-pwa-nav,
.gmat-full-topbar > .mks-gmat-lms-pwa-nav {
	grid-column: 1 / -1;
	grid-area: auto !important;
	justify-self: start;
	margin: 6px 0 0;
}

.mks-gmat-lms-pwa-logo-after-controls {
	margin-left: 158px !important;
}

.mks-gmat-lms-pwa-nav[hidden] {
	display: none !important;
}

.mks-gmat-lms-pwa-nav-button {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 38px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
	transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.mks-gmat-lms-pwa-nav-button.is-back {
	width: 38px;
	border-radius: 999px;
}

.mks-gmat-lms-pwa-nav-button.is-home {
	width: 44px;
	border-radius: 10px;
}

.mks-gmat-lms-pwa-nav-button.is-refresh {
	width: 44px;
	border-radius: 10px;
}

.mks-gmat-lms-pwa-nav-button svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

.mks-gmat-lms-pwa-nav-button:hover,
.mks-gmat-lms-pwa-nav-button:focus {
	background: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.52);
	transform: translateY(-1px);
}

.mks-gmat-lms-pwa-nav-button:active {
	transform: translateY(0);
}

.mks-gmat-lms-pwa-nav-button:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.88);
	outline-offset: 2px;
}

@media (max-width: 359px) {
	.mks-gmat-lms-pwa-nav.is-site-header {
		width: 116px;
		height: 40px;
		gap: 3px;
		padding: 3px;
	}

	.mks-gmat-lms-pwa-nav.is-site-header .mks-gmat-lms-pwa-nav-button {
		height: 32px;
	}

	.mks-gmat-lms-pwa-nav.is-site-header .is-back { width: 30px; }
	.mks-gmat-lms-pwa-nav.is-site-header .is-home,
	.mks-gmat-lms-pwa-nav.is-site-header .is-refresh { width: 34px; }
	.mks-gmat-lms-pwa-nav.is-site-header svg { width: 17px; height: 17px; }
}

.mks-gmat-lms-pwa-back {
	position: fixed;
	left: calc(env(safe-area-inset-left, 0px) + 16px);
	top: calc(env(safe-area-inset-top, 0px) + 16px);
	z-index: 9998;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 38px;
	padding: 0 13px;
	border: 1px solid #6d1ed1;
	border-radius: 999px;
	background: linear-gradient(135deg, #973cff 0%, #8222ee 52%, #6a18c8 100%);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	box-shadow: 0 12px 28px rgba(130, 34, 238, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.18);
	cursor: pointer;
	transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.mks-gmat-lms-pwa-back:hover {
	transform: translateY(-1px);
	background: linear-gradient(135deg, #a24bff 0%, #8f31f4 52%, #741dd8 100%);
	box-shadow: 0 16px 34px rgba(130, 34, 238, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
	filter: saturate(1.04);
}

.mks-gmat-lms-pwa-back:active {
	transform: translateY(0);
	box-shadow: 0 10px 22px rgba(130, 34, 238, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.mks-gmat-lms-pwa-back:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(130, 34, 238, 0.18), 0 16px 34px rgba(130, 34, 238, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.mks-gmat-lms-pwa-back[hidden] {
	display: none !important;
}

.mks-gmat-lms-pwa-back-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	font-size: 16px;
	line-height: 1;
	transform: translateY(-1px);
}

.mks-gmat-lms-pwa-toast {
	position: fixed;
	left: 50%;
	bottom: 82px;
	z-index: 9998;
	display: grid;
	gap: 6px;
	transform: translateX(-50%);
	width: min(calc(100vw - 24px), 360px);
	padding: 14px 16px;
	border: 1px solid rgba(109, 40, 217, 0.22);
	border-radius: 18px;
	background: rgba(15, 23, 42, 0.94);
	color: #f8fafc;
	box-shadow: 0 18px 44px rgba(15, 23, 42, 0.34);
}

.mks-gmat-lms-pwa-toast[hidden] {
	display: none !important;
}

.mks-gmat-lms-pwa-toast strong {
	font-size: 15px;
	line-height: 1.25;
}

.mks-gmat-lms-pwa-toast p {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: #e2e8f0;
}

@media (max-width: 767px) {
	.mks-gmat-lms-pwa-install {
		display: none !important;
	}
}

.mks-gmat-lms-pwa-toast-close {
	justify-self: end;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 999px;
	background: transparent;
	color: #ffffff;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
}

.mks-gmat-lms-pwa-toast-close:hover {
	background: rgba(255, 255, 255, 0.08);
}
