 :root {
	/* Generic App Theme Tokens */
	--app-validation-danger: #f87171;
	--app-primary: #2f57ef;
	--app-secondary: #b966e7;
	--app-primary-rgb: 47, 87, 239;
	--app-secondary-rgb: 185, 102, 231;
	--app-dark: #192335;
	--app-body: #6b7385;
	--app-light: #f5f7fa;
	--app-white: #ffffff;
	--app-border: #e6e3f1;
	--app-radius-lg: 16px;
	--app-radius-md: 12px;
	--app-radius-sm: 8px;
	--app-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
	--app-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
	--app-shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.12);
	--app-transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	--app-glass-bg: rgba(255, 255, 255, 0.85);
	--app-glass-border: rgba(255, 255, 255, 0.6);
	--app-muted: #8c94a6;
	--app-text-dark: #111827;
	--app-text-muted: #6b7280;
	--app-success: #10b981;
	--app-warning: #f59e0b;
	--app-danger: #ef4444;

	/* Backward Compatibility Bridge */
}

/* Ensure close_side_menu backdrop only displays when drawer or offcanvas is actively open */
body:not(.cart-sidenav-menu-active):not(.offcanvas-menu-active) .close_side_menu,
html:not(.cart-sidenav-menu-active):not(.offcanvas-menu-active) .close_side_menu {
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.quiz-modal .quiz-modal-btn {
	width: 20px;
	height: 20px;
	border-radius: 100%;
	color: var(--color-white);
	background: var(--color-gray);
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
}

.quiz-modal__active {
	color: var(--color-white);
	background: var(--color-primary) !important;
}

/* Custom top margin */
.mt-md-45 {
	margin-top: 45px;
}

.disabled-color {
	opacity: 0.65 !important;
}

@media (max-width : 767px) {
	.mt-md-45 {
		margin-top: 0px;
	}
}

i:hover {
	cursor: pointer;
}

.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
	-webkit-box-shadow: 0 0 0 30px white inset !important;
}

.span-ellipsis {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	margin-right: 10px;
	word-wrap: break-word;
	height: 1.6em;
	line-height: 1.6em;
}

.span-ellipsis-2 {
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	margin-right: 10px;
	word-wrap: break-word;
	line-height: 1.6em;
	height: calc(1.6em * 2);
}

/* @media (max-width : 576px) {
	.span-ellipsis{
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
		margin-right: 10px;
	}
} */


.accordion-title {
	line-height: 30px;
}

@media (max-width : 767px) {
	.accordion-title {
		line-height: 50px !important;
	}
}

/* Removed plus icon from Analytics */
.rbt-counterup .inner .content .counter::after {
	position: absolute;
	content: "";
	right: 0;
	font-size: 42px;
}

.rbt-counterup .inner .content .percentage::after {
	content: "%";
	right: -20px;
	top: 6px
}

.rbt-avatars.size-xl {
	min-width: 200px;
	max-width: 140px;
	width: 200px;
	height: 140px;
}

.rbt-progress-parent.rbt-backto-top-active {
	background-color: white;
}


.auth-box {
	background-color: white;
	width: 100%;
	border-radius: 5px;
	padding: 30px 35px;
}

@media (max-width : 576px) {
	.auth-box {
		padding: 20px;
	}
}

.rbt-dashboard-area {
	margin-top: 60px;
}

/* Attempt page — marks & timer badges consistent border-radius */
.marks-badge {
	border-radius: 8px !important;
}

/* Attempt & Improvement pages — prevent previous/next buttons from turning blue on mobile click/hover/focus */
#previous-btn, #next-btn {
	-webkit-tap-highlight-color: transparent !important;
	background-color: #ffffff !important;
	color: #334155 !important;
	border: 1.5px solid #cbd5e1 !important;
	transition: all 0.2s ease !important;
}

#previous-btn:hover, #previous-btn:focus, #previous-btn:active,
#next-btn:hover, #next-btn:focus, #next-btn:active {
	background-color: #f8fafc !important;
	color: #1e293b !important;
	border-color: #94a3b8 !important;
	box-shadow: none !important;
	outline: none !important;
}

#previous-btn:disabled, #next-btn:disabled {
	background-color: #f1f5f9 !important;
	color: #94a3b8 !important;
	border-color: #e2e8f0 !important;
	opacity: 0.65 !important;
	cursor: not-allowed !important;
	box-shadow: none !important;
}

.rbt-btn.btn-x-sm-size {
	padding: 0 15px;
	font-size: var(--font-size-b4);
	height: 32px;
	line-height: 32px;
}

.rbt-btn.btn-x-sm {
	padding: 0 15px;
	font-size: var(--font-size-b4);
	height: 32px;
	line-height: 32px;
}

.rbt-btn.btn-x-sm-size:hover,
.rbt-btn.btn-x-sm:hover,
.btnAddOption:hover,
.btnAddAnswer:hover {
	background-color: var(--color-badge-1) !important;
	border: 2px solid transparent !important;
}

.edit-hover:hover {
	cursor: pointer;
	color: var(--color-success);
}

.select-hover:hover {
	cursor: pointer;
	color: var(--color-discord);
}

.danger-hover:hover {
	cursor: pointer;
	color: var(--color-danger);
}

.primary-hover:hover {
	color: var(--color-primary) !important;
}


.rbt-btn.danger:hover {
	border: none;
	background-color: var(--color-danger);
}

/* Fix: prevent global a:hover { color: primary-blue } from making
   anchor-based .rbt-btn text invisible against the blue background */
a.rbt-btn:hover,
a.rbt-btn:focus,
a.rbt-btn:active {
	color: var(--color-white);
}

.rbt-header-offcanvas {
	all: unset;
}


.test-fixed-banner {
	margin-top: 80px;
}

.hover-secondary:hover {
	background-color: rgb(163, 159, 159) !important;
	border-color: rgb(163, 159, 159) !important;
}


@media (max-width : 1199px) {
	.test-fixed-banner {
		margin-top: 0px;
	}
}


/* Table */

.dashboard-box thead tr th {
	font-weight: 600;
	font-size: 15px;
	padding: 15px 10px 15px 10px;
	border-width: 0px;
}

.dashboard-box tbody tr td {
	color: #616161;
	padding: 15px;
	vertical-align: middle;
}

.dashboard-box tbody tr td a {
	color: #929292;
	font-size: 14px;
}

.dashboard-box .list-img img {
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	border-radius: 100%;
	height: 30px;
	width: 30px;
}

.dashboard-box .list-name,
.dashboard-box .list-enq-name {
	font-family: "Raleway", sans-serif;
	display: block;
	font-weight: 700;
	color: #263238;
}

.dashboard-box .badge {
	font-size: 12px;
	padding: 5px;
	font-weight: normal;
}

.dashboard-box table thead tr th {
	border-bottom: none;
}

.dashboard-box table tbody tr:nth-of-type(odd) {
	background-color: #fff;
}

.dashboard-box table tbody tr td {
	border: none;
}

.table-item-title {
	font-weight: 600;
	font-size: 15px;
	color: #333333;
}


/* Attempt */

.sybmbol-box {
	border-radius: 6px !important;
	height: 20px !important;
	width: 20px !important;
	display: inline-block !important;
	flex-shrink: 0;
}

.sybmbol-box.bg-primary {
	background-color: #1c64f2 !important;
	box-shadow: 0 2px 8px rgba(28, 100, 242, 0.3) !important;
	border: none !important;
}

.sybmbol-box.border {
	background-color: #ffffff !important;
	border: 1.5px solid #d1d5db !important;
}

.sybmbol-box.bg-danger {
	background-color: #ef4444 !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
}

.sybmbol-box.bg-success {
	background-color: #10b981 !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.not-visited {
	background-color: var(--color-twitch);
	color: white;
}

.not-answered {
	background-color: var(--color-danger);
	color: white;
}

.answered {
	background-color: var(--color-primary);
	color: white;
}

.no-scroll-lg {
	overflow: hidden;
}

.questions-nav-lg {
	border-left: 1px solid lightgrey;
	position: fixed;
	right: 0px;
	width: 100%;
	max-width: 25%;
}

.bottom-buttons {
	position: fixed;
	width: 100%;
	bottom: 0px;
	padding: 30px 15px 0px 15px;
	margin-bottom: 0px;
	background-color: white;
	z-index: 10;
	border-top: 1px solid lightgrey;
}

@media (max-width : 991px) {
	.no-scroll-lg {
		overflow: auto;
	}

	.bottom-buttons {
		width: 100%;
		bottom: 0px;
		margin-bottom: 0px;
		left: -2px;
	}
}

@media (max-width : 650px) {

	.bottom-buttons {
		width: 100%;
		border-top-width: 0px
	}
}

.share-grid {
	grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
	column-gap: 20px;
}

.share-grid img {
	max-height: 48px;
}

@media (max-width : 650px) {
	.share-grid {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		row-gap: 20px;
	}
}

@media (max-width : 480px) {
	.share-grid {
		grid-template-columns: 1fr 1fr 1fr;
	}
}

.google-btn {
	padding: 0 26px;
	height: 50px;
	line-height: 60px;
	color: var(--color-heading);
	font-size: 16px;
	letter-spacing: 0.5px;
	font-weight: 500;
	display: inline-block;
	position: relative;
	z-index: 1;
	transition: all 0.4s ease-in-out;
	border-radius: 6px;
	border: 2px solid var(--color-border);
	outline: none;
}

.google-btn:hover {
	color: var(--color-heading);
	transform: scale(1.01);
}

.hover-primary:hover {
	color: var(--color-primary);
	cursor: pointer;
}

/* Chart */

.bar-chart {
	width: 100%;
	height: 300px;
	border-bottom: 1px solid lightgrey;
	border-left: 1px solid lightgrey;
	display: flex;
}


.skill {
	position: relative;
	flex: 1;
	text-align: center;
}

.graph {
	position: absolute;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	width: 40px;
	background: rgba(0, 0, 0, .1);
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
}

/* Smaller reattempt button for mobile view only */
@media (max-width: 576px) {
	.btn-reattempt {
		padding: 6px 8px !important;
		font-size: 13px !important;
		height: 36px !important;
		line-height: 1 !important;
		border-radius: 8px !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		gap: 6px !important;
	}

	.reattempticon {
		font-size: 12px !important;
	}
}

.graph:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	top: 2px;
	left: 2px;
	right: 2px;
}

.skill .name {
	display: flex;
	position: absolute !important;
	top: 100%;
	text-align: center;
	margin-top: 10px;
	left: 50%;
	transform: translateX(-50%);
	margin-right: 40px;
	font-size: 14px;
	border-radius: 3px;
	padding: 2px 6px;
}

.percentage {
	position: absolute;
	top: -25px;
	text-align: center;
	left: 0;
	right: 0;
	font-size: 15px;
	font-weight: 700;
}

.graph-info-box {
	display: none;
}

.graph-info-item {
	display: flex;
}

.graph-info-item p {
	height: 20px;
	width: 20px;
	opacity: 0.8;
	border-radius: 4px;
	padding: 0px;
	margin: 0px;
}

.graph-info-item small {
	margin-left: 5px;
	margin-top: 1px;
}


@media (min-width : 576px) and (max-width : 992px) {
	.bar-chart {
		margin-bottom: 50px;
	}
}

@media (max-width : 576px) {
	.skill .name {
		display: none;
	}

	.graph-info-box {
		display: flex;
		margin-top: 20px;
		margin-bottom: 50px;
	}
}

@media (max-width : 767px) {
	.title-sm {
		margin-left: -28px;
	}

}

.btn-danger-dark {
	padding: 0px 15px;
	background: rgba(255, 255, 255, 0);
	height: 40px;
	line-height: 40px;
	color: var(--color-black);
	font-size: 14px;
	letter-spacing: 0.5px;
	font-weight: 500;
	display: inline-block;
	position: relative;
	z-index: 1;
	transition: all 0.4s ease-in-out;
	border-radius: 6px;
	border: 2px solid var(--color-border);
	;
	outline: none;
}


.btn-danger-dark:hover,
.btn-danger:hover {
	border: none;
	color: var(--color-white);
	background: var(--color-danger);
}

/* Password visibility toggle styles */
.input-with-icon {
	position: relative;
}

.input-with-icon input {
	padding-right: 44px;
	/* room for icon */
}

.input-with-icon .visibility-toggle {
	position: absolute;
	right: 18px;
	top: 27px;
	transform: translateY(-50%);
	font-size: 18px;
	color: #6c757d;
	cursor: pointer;
	z-index: 5;
}

.input-with-icon .visibility-toggle.text-primary {
	color: var(--color-primary);
}

.gradient-text {
	background: -webkit-linear-gradient(var(--color-primary), var(--color-secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.btn-remove {
	background-color: var(--color-danger);
	color: white;
	border: none;
	font-size: 13px;
	padding: 5px 8px;
	border-radius: 2px;
}

.edit-div {
	display: flex;
	align-items: center;
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius);
	height: 50px;
	font-size: 14px;
	padding: 10px 15px;
}

.edit-div span {
	width: 100%;
}

.edit-div i:hover {
	color: var(--color-primary);
}

.certified-img {
	position: absolute;
	right: 40px;
	top: 42px;
	height: 20px;
	z-index: 2;
}


.full-width-lg {
	width: 300px;
}

@media (max-width : 767px) {
	.full-width-lg {
		width: 100%;
	}
}

.option-item {
	padding: 16px 20px !important;
	line-height: 24px;
	width: 100%;
	max-width: 1000px !important;
	font-size: 16px;
	letter-spacing: .3px;
	font-weight: 500;
	background-color: #ffffff !important;
	border: 1px solid #e5e7eb !important;
	/* Premium subtle border */
	color: #1f2937 !important;
	/* High contrast dark text */
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	position: relative;
	z-index: 1;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	border-radius: 12px !important;
	/* Premium rounded corner buttons */
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
	margin-bottom: 16px !important;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
}

/* Hover effect */
.option-item:hover {
	transform: translateY(-2px) !important;
	background-color: #f8fafc !important;
	border-color: #cbd5e1 !important;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
}

/* Selected Option State (using advanced CSS :has) */
.option-item:has(i.fa-check-circle),
.option-item:has(.text-success) {
	background-color: #eff6ff !important;
	/* Royal blue tint */
	border: 2px solid #3b82f6 !important;
	/* Solid blue active border */
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08) !important;
	font-weight: 600 !important;
}

/* Checkmark Custom Styling */
.option-item i.fa-check-circle,
.option-item i.text-success {
	font-size: 22px !important;
	color: #3b82f6 !important;
	/* Blue check to match active border */
	margin-left: 15px;
	animation: checkPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Option Image Wrapper & Enlarge Button */
.option-img-wrapper {
	position: relative;
	display: inline-block;
	max-width: 100%;
	margin: 6px 0;
}

.option-img-wrapper img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.option-img-zoom-btn {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 28px !important;
	height: 28px !important;
	background: rgba(15, 23, 42, 0.75) !important;
	color: #ffffff !important;
	border: 1px solid rgba(255, 255, 255, 0.25) !important;
	border-radius: 6px !important;
	padding: 0 !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	z-index: 15 !important;
	text-decoration: none !important;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	transition: all 0.2s ease !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

.option-img-zoom-btn:hover {
	background: rgba(15, 23, 42, 0.95) !important;
	color: #ffffff !important;
	transform: scale(1.08) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35) !important;
}

.option-img-zoom-btn i {
	font-size: 13px !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

@keyframes checkPop {
	0% {
		transform: scale(0.6);
		opacity: 0;
	}

	100% {
		transform: scale(1);
		opacity: 1;
	}
}

/* Modern text input fields for Numerical/Written answers */
#questions-section input[type="text"],
.question-item input[type="text"] {
	width: 100%;
	padding: 14px 18px !important;
	border: 1px solid #e5e7eb !important;
	background-color: #ffffff !important;
	border-radius: 12px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	color: #1f2937 !important;
	transition: all 0.2s ease !important;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

/* Focus state for Numerical/Written input */
#questions-section input[type="text"]:focus,
.question-item input[type="text"]:focus {
	border-color: #1c64f2 !important;
	border-width: 2px !important;
	box-shadow: 0 0 0 4px rgba(28, 100, 242, 0.12) !important;
	outline: none !important;
}

/* ============================================
   Premium Submit Button
   ============================================ */
#submit-btn {
	position: relative;
	background: linear-gradient(135deg, #1c64f2, #3b82f6) !important;
	color: #ffffff !important;
	border: none !important;
	padding: 0 32px !important;
	height: 46px !important;
	line-height: 46px !important;
	border-radius: 12px !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	letter-spacing: 0.3px !important;
	cursor: pointer;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	box-shadow: 0 4px 15px rgba(28, 100, 242, 0.35) !important;
	min-width: 160px !important;
	margin-bottom: 0 !important;
}

#submit-btn:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 25px rgba(28, 100, 242, 0.45) !important;
	background: linear-gradient(135deg, #1558e0, #2563eb) !important;
	color: #ffffff !important;
}

#submit-btn:active {
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.35) !important;
}

.selected-option {
	border-color: var(--color-primary);
}

.no-hover:hover {
	transform: none !important;
}

.no-hover-color:hover {
	color: inherit !important;
}

.border-box {
	border: var(--border-width) solid var(--color-border);
	border-radius: var(--radius);
	padding: 15px;
}

.btn-add {
	padding: 0 12px;
	background: var(--color-success);
	line-height: 30px;
	color: var(--color-white);
	font-size: 16px;
	letter-spacing: 0.5px;
	font-weight: 500;
	z-index: 1;
	border-radius: 6px;
	border: 0 none;
	outline: none;
}

.btn-remove {
	padding: 0 12px;
	background: var(--color-danger);
	line-height: 30px;
	color: var(--color-white);
	font-size: 16px;
	letter-spacing: 0.5px;
	font-weight: 500;
	z-index: 1;
	border-radius: 6px;
	border: 0 none;
	outline: none;
}


.btn-added {
	padding: 0 12px;
	background: var(--color-gray);
	line-height: 30px;
	color: var(--color-white);
	font-size: 16px;
	letter-spacing: 0.5px;
	font-weight: 500;
	z-index: 1;
	border-radius: 6px;
	border: 0 none;
	outline: none;
}

.mb---20 {
	margin-bottom: -20px;
}

.download-div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 140px 20px 0px 20px;
}

@media (max-width : 576px) {
	.download-div {
		padding-top: 30px;
	}
}

/* Loading Popup */
.loader {
	display: none;
	justify-content: center;
	align-items: center;
	height: 110%;
	width: 100%;
	position: fixed;
	top: -30px;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 100000000;
}

.loader-wheel {
	animation: spin 1s infinite linear;
	border: 3px solid transparent;
	border-left: 4px solid #fff;
	border-radius: 50%;
	height: 50px;
	margin-bottom: 10px;
	width: 50px;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes load {
	0% {
		content: 'Loading';
	}

	33% {
		content: 'Loading.';
	}

	67% {
		content: 'Loading..';
	}

	100% {
		content: 'Loading...';
	}
}

/*  */
.dark-img {
	filter: brightness(0.6);
}

.auth-logo {
	height: 70px;
}

@media (max-width : 767px) {
	.auth-logo {
		height: 55px !important;
	}
}

.auth-div {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 98vh;
}

@media (max-width : 767px) {
	.auth-div {
		display: flex;
		justify-content: center;
		align-items: start;
		height: 98vh;
	}
}

@media (min-width : 767px) and (max-height : 430px) {
	.auth-div {
		display: flex;
		justify-content: center;
		align-items: start;
		height: 98vh;
	}
}

@media (min-width : 1024px) and (max-height : 600px) {
	.auth-div {
		display: flex;
		justify-content: center;
		align-items: start;
		height: 98vh;
	}
}


.breadcrumb-div {
	display: flex;
	justify-content: space-between;
}

@media (max-width : 767px) {
	.breadcrumb-div {
		display: flex;
		flex-direction: column;
		align-items: center;
		/* justify-content: space-between; */
	}
}

.rbt-block-icon {
	height: 30px;
	width: 30px;
	position: absolute;
	z-index: 2;
}

/* Image input and image for assessment */

.question-img {
	max-width: 200px;
	width: 100%
}

@media (max-width : 767px) {
	.question-img {
		max-width: 100%;
		width: 100%
	}
}

.question-img .picture {
	width: 100%;
	min-height: 150px;
	height: 100%;
	background: #f9f8f8;
	display: flex;
	align-items: center;
	justify-content: center;
	/* color: #aaa; */
	border: 2px dashed lightgrey;
	border-radius: 4px;
	cursor: pointer;
	transition: color 300ms ease-in-out, background 300ms ease-in-out;
	outline: none;
	overflow: hidden;
}

.question-img .picture:hover {
	color: var(--color-primary);
	border: 2px dashed var(--color-primary);
	background: #fff;
}


.question-img .picture-img {
	width: 100%;
	min-width: 100%;
	border-radius: 4px;
	height: 200px;
}

.flex-div {
	display: flex;
}

@media (max-width : 767px) {
	.flex-div {
		flex-direction: column;
	}
}


/* Dashboard sidenav */

.no-list {
	list-style-type: none;
	padding: 0;
	margin: 0;
}


.no-list li {
	padding: 0;
	margin: 0;
}

.no-list li a {
	padding: 0;
	margin: 0;
	display: block;
}

.dashboard aside.dash-sidebar {
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;
	width: 70px;
	z-index: 21;
	background-color: white;
	overflow: hidden !important;
	-ms-overflow-style: none;
	scrollbar-width: none;
	transition: width 0.26s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.26s ease;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	border-right: 1px solid #e2e8f0;
	box-shadow: 4px 0 12px rgba(0, 0, 0, 0.04) !important;
	user-select: none;
}

.dashboard aside.dash-sidebar .subscription {
	float: left;
	width: 100%;
	position: relative;
	margin-bottom: 10px;
	padding: 10px 10px;
	text-align: left;
	transition: padding 0.26s ease;
}

.dashboard aside.dash-sidebar .subscription strong {
	padding: 6px 15px !important;
	border-width: 2px !important;
	font-weight: 500;
}

.dashboard aside.dash-sidebar .subscription strong i {
	-webkit-text-stroke-width: 0.5px;
}

.dashboard.opened aside.dash-sidebar .subscription strong i {
	margin-right: 5px;
}

.dashboard aside.dash-sidebar .subscription strong span {
	display: none;
}

.dashboard.opened aside.dash-sidebar .subscription strong span {
	display: inline-block;
}

.dashboard aside.dash-sidebar::-webkit-scrollbar {
	display: none;
}

.dashboard aside.dash-sidebar ul.sb_top_lv {
	float: left;
	width: 100%;
	padding: 20px 0px 10px 0px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.dashboard aside.dash-sidebar ul.sb_top_lv:first-of-type {
	overflow-y: auto;
	flex-grow: 1;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.dashboard aside.dash-sidebar ul.sb_top_lv:first-of-type::-webkit-scrollbar {
	display: none;
}

.dashboard aside.dash-sidebar ul.sb_top_lv:last-of-type {
	margin-top: auto !important;
	flex-shrink: 0;
	border-top: 1px solid #e2e8f0;
	padding-top: 12px;
	padding-bottom: 16px;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li {
	float: left;
	width: 100%;
	position: relative;
	padding: 0px 10px !important;
	text-align: left;
	transition: padding 0.26s ease;
}

.dashboard.opened aside.dash-sidebar ul.sb_top_lv li {
	padding: 0px 16px !important;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li a {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 44px !important;
	width: 100% !important;
	border-radius: 12px !important;
	color: #475569 !important;
	transition: all 0.2s cubic-bezier(0.25, 1, 0.5, 1) !important;
	text-decoration: none !important;
	position: relative !important;
}

.dashboard.opened aside.dash-sidebar ul.sb_top_lv li a {
	justify-content: flex-start !important;
	padding-left: 14px !important;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li a i {
	font-size: 20px !important;
	color: #64748b !important;
	transition: all 0.2s ease !important;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li a span {
	position: absolute !important;
	color: inherit !important;
	left: 60px !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	opacity: 0 !important;
	pointer-events: none !important;
	transition: opacity 0.2s ease, left 0.2s ease !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	margin-top: 0 !important;
}

.dashboard.opened aside.dash-sidebar ul.sb_top_lv li a span {
	left: 54px !important;
	opacity: 1 !important;
	pointer-events: auto !important;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li a.active {
	background-color: rgba(28, 100, 242, 0.08) !important;
	color: #1c64f2 !important;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li a.active i {
	color: #1c64f2 !important;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li a:hover:not(.active) {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
}

.dashboard aside.dash-sidebar ul.sb_top_lv li a:hover:not(.active) i {
	color: #475569 !important;
}

.dashboard.opened aside.dash-sidebar {
	width: 240px;
}

.dashboard.opened aside.dash-sidebar ul {
	margin-left: 0px;
}


.dashboard.opened #side-nav-logo {
	max-width: 165px;
	width: 155px;
	height: auto;
	margin-left: 16px;
	margin-right: auto;
	margin-bottom: 20px;
	align-self: flex-start;
	object-fit: contain;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

.dashboard #side-nav-logo {
	max-width: 40px;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 20px;
	align-self: center;
	object-fit: contain;
	display: block;
	user-select: none;
	-webkit-user-drag: none;
}

.dashboard .content {
	margin-left: 60px;
	padding: 30px 40px;
	transition: margin-left 0.26s cubic-bezier(0.25, 1, 0.5, 1);
}

.dashboard .tooltip-2 .tooltiptext {
	visibility: hidden;
	min-width: 300px;
	max-width: 500px;
	font-weight: 400;
	background-color: white;
	font-size: 16px;
	padding: 8px 15px;
	border-radius: 6px;
	box-shadow: 0 0 10px #d1cfcf;
	/* Position the tooltip text - see examples below! */
	position: absolute;
	top: 20px;
	margin-left: 30px;
	z-index: 1;
}

.dashboard .tooltip-2:hover .tooltiptext {
	visibility: visible;
}

.dashboard .content .rbt-title-style-3,
.dashboard .sub-content .rbt-title-style-3 {
	border: none;
}

.dashboard .sub-content {
	margin-left: 320px;
	padding: 30px 30px;
	transition: margin-left 0.26s cubic-bezier(0.25, 1, 0.5, 1);
}


.dashboard.opened .content {
	margin-left: 220px;
}

.dashboard.opened .sub-content {
	margin-left: 490px;
}

.dashboard-sub-nav {
	width: 100%;
	max-width: 310px;
	margin-right: 20px;
	position: fixed;
	top: 0;
	left: 0px;
	padding-left: 85px;
	height: 100%;
	z-index: 20;
	padding-top: 30px;
	padding-right: 24px;
	background-color: #ffffff;
	border-right: 1px solid #e2e8f0;
	box-shadow: 4px 0 12px rgba(0, 0, 0, 0.04) !important;
	transition: all 0.3s;
}

.dashboard.opened .dashboard-sub-nav {
	left: 170px;
}

.dashboard-sub-nav h5,
.dashboard-sub-nav h5.tooltip-2 {
	font-size: 18px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	margin-bottom: 24px !important;
	padding-bottom: 12px !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
	display: block !important;
	line-height: 1.4 !important;
}

@media (max-width : 767px) {
	.dashboard-sub-nav {
		display: none;
		margin-right: 0px;
	}

	.dashboard aside.dash-sidebar {
		display: none;
	}

	.dashboard .content,
	.dashboard .sub-content {
		margin-left: 0px;
		padding: 30px 20px;
	}

	.dashboard .content {
		padding: 10px 20px;
		transition: all 0.3s;
	}
}

.dashboard .sub-content .rbt-accordion-style .card .card-header button[aria-expanded=true] {
	color: var(--color-black)
}

.accordion-body ul li a span {
	margin-left: 5px;
	color: var(--color-body);
	font-size: 18px;
}

.accordion-body ul li a i {
	color: var(--color-body);
	font-size: 20px;
}

.accordion-body ul li a {
	cursor: pointer;
}


.accordion-body ul li a:active span,
.accordion-body ul li a:active i {
	color: var(--color-primary);
}

.accordion-body ul li a:hover span,
.accordion-body ul li a:hover i {
	color: var(--color-primary);
}


/* Offcanvas list */

.dashboard-sub-nav .sb_top_lv,
.offcanvas-body ul.sb_top_lv {
	display: flex !important;
	flex-direction: column !important;
	gap: 4px !important;
	padding-left: 0 !important;
	list-style: none !important;
}

.dashboard-sub-nav .sb_top_lv li,
.offcanvas-body ul.sb_top_lv li {
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

.dashboard-sub-nav .sb_top_lv li a,
.offcanvas-body ul.sb_top_lv li a {
	display: flex !important;
	align-items: center !important;
	padding: 10px 16px !important;
	border-radius: 8px !important;
	color: #475569 !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	text-decoration: none !important;
	width: 100% !important;
}

.dashboard-sub-nav .sb_top_lv li a i,
.dashboard-sub-nav .sb_top_lv li a svg,
.offcanvas-body ul.sb_top_lv li a i,
.offcanvas-body ul.sb_top_lv li a svg {
	font-size: 20px !important;
	margin-right: 12px !important;
	color: #64748b !important;
	transition: all 0.2s ease !important;
	flex-shrink: 0 !important;
}

.dashboard-sub-nav .sb_top_lv li a span,
.offcanvas-body ul.sb_top_lv li a span {
	margin-left: 0 !important;
	color: inherit !important;
	font-size: 16px !important;
	font-weight: 500 !important;
}

.dashboard-sub-nav .sb_top_lv li a.active,
.offcanvas-body ul.sb_top_lv li a.active {
	background-color: rgba(28, 100, 242, 0.08) !important;
	color: #1c64f2 !important;
}

.dashboard-sub-nav .sb_top_lv li a.active i,
.dashboard-sub-nav .sb_top_lv li a.active svg,
.offcanvas-body ul.sb_top_lv li a.active i,
.offcanvas-body ul.sb_top_lv li a.active svg {
	color: #1c64f2 !important;
	fill: #1c64f2 !important;
}

.dashboard-sub-nav .sb_top_lv li a:hover:not(.active),
.offcanvas-body ul.sb_top_lv li a:hover:not(.active) {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
}

.dashboard-sub-nav .sb_top_lv li a:hover:not(.active) i,
.dashboard-sub-nav .sb_top_lv li a:hover:not(.active) svg,
.offcanvas-body ul.sb_top_lv li a:hover:not(.active) i,
.offcanvas-body ul.sb_top_lv li a:hover:not(.active) svg {
	color: #475569 !important;
	fill: #475569 !important;
}

.dashboard-sub-nav .accordion-button:not(.collapsed) {
	color: var(--color-dark);
}

.accordion-button:not(.collapsed) {
	color: #212529;
}

/* Toast */

#toast-container {
	position: fixed;
	right: 20px;
	top: 20px;
	z-index: 99999;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.success-toast {
	position: relative;
	opacity: 1 !important;
}

@media (max-width : 767px) {
	#toast-container {
		right: 20px;
		left: 20px;
		top: 20px;
		width: auto;
	}

	.success-toast {
		position: static;
		margin-bottom: 10px;
		width: 100%;
	}

	.success-toast-fixed {
		bottom: 20px;
		top: auto;
	}

}

/* Badges and buttons for assessment */
.success-badge {
	border-width: 1px;
	border-style: solid;
	border-color: var(--color-success);
	color: var(--color-success);
	font-size: 16px;
	padding: 3px 8px;
	border-radius: 6px;
	text-align: center;
}

.warning-badge {
	border-width: 1px;
	border-style: solid;
	border-color: var(--color-badge-2);
	color: var(--color-badge-2);
	font-size: 16px;
	padding: 3px 8px;
	border-radius: 6px;
	text-align: center;
}

.danger-badge {
	border-width: 1px;
	border-style: solid;
	border-color: var(--color-danger);
	color: var(--color-danger);
	font-size: 16px;
	padding: 3px 8px;
	border-radius: 6px;
	text-align: center;
}

/* Modern Subscription Status Badge */
.sub-badge-active {
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #047857;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
}
.sub-badge-active .sub-badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #10b981;
	box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
}

.sub-badge-expired {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.08);
}
.sub-badge-expired .sub-badge-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #ef4444;
	box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
}

.category-badge {
	border-width: 1px;
	border-style: solid;
	border-color: var(--color-primary);
	color: var(--color-primary);
	font-size: 16px;
	padding: 3px 8px;
	border-radius: 6px;
	text-align: center;
}

.btn-publish {
	border: none;
	background-color: var(--color-success);
	color: white;
	text-align: center;
	margin-top: 20px;
	width: 100%;
	padding: 2px 5px;
	height: auto;
	line-height: 36px;
	color: var(--color-white);
	font-size: 18px;
	letter-spacing: 0.5px;
	font-weight: 500;
	position: relative;
	z-index: 1;
	transition: all 0.4s ease-in-out;
	border-radius: 6px;
	outline: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-publish:hover {
	background-color: #38a154;
}

.btn-unpublish {
	border: none;
	background-color: var(--color-badge-2);
	color: white;
	text-align: center;
	margin-top: 20px;
	width: 100%;
	padding: 2px 5px;
	height: auto;
	line-height: 36px;
	color: var(--color-white);
	font-size: 18px;
	letter-spacing: 0.5px;
	font-weight: 500;
	position: relative;
	transition: all 0.4s ease-in-out;
	border-radius: 6px;
	outline: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-unpublish:hover {
	background-color: #e8c14c;
}

.btn-preview {
	border: none;
	background-color: var(--color-primary);
	color: white;
	text-align: center;
	margin-top: 20px;
	width: 100%;
	padding: 2px 5px;
	height: auto;
	line-height: 36px;
	color: var(--color-white);
	font-size: 18px;
	letter-spacing: 0.5px;
	font-weight: 500;
	position: relative;
	transition: all 0.4s ease-in-out;
	border-radius: 6px;
	outline: none;
	display: flex;
	justify-content: center;
	align-items: center;
}

.btn-preview:hover {
	background-color: rgb(38, 67, 182);
}

/* Loading Spinner */
.loader-2 {
	border: 2px solid #f3f3f3;
	/* Light grey */
	border-top: 2px solid var(--color-primary);
	/* Blue */
	border-radius: 50%;
	margin-top: 50px;
	width: 40px;
	margin-left: 43%;
	height: 40px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}


/* Pagination  */

.rbt-pagination {
	margin: -8px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media only screen and (max-width: 767px) {
	.rbt-pagination {
		margin: -4px;
	}
}

.rbt-pagination li {
	margin: 8px;
	cursor: pointer;
}

@media only screen and (max-width: 767px) {
	.rbt-pagination li {
		margin: 4px;
	}
}

.rbt-pagination li button {
	width: 45px;
	height: 45px;
	border: 0px;
	background: var(--color-white);
	border-radius: 12px;
	text-align: center;
	color: var(--color-body);
	transition: 0.4s;
	font-weight: 500;
	box-shadow: var(--shadow-1);
	display: flex;
	align-items: center;
	justify-content: center;
}

.auto-width {
	width: auto !important;
	padding-left: 15px;
	padding-right: 15px;
	white-space: nowrap;
}

.hover-white:hover {
	color: white;
}

@media only screen and (max-width: 767px) {
	.rbt-pagination li button {
		width: 45px;
		height: 45px;
	}
}

.rbt-pagination li button i {
	font-size: 22px;
	font-weight: 500;
}

.rbt-pagination li.active button,
.rbt-pagination li:hover button {
	background: var(--color-primary);
	color: var(--color-white);
}

.rbt-pagination li button:disabled {
	background-color: white;
	color: var(--color-body);
}

.menu-settings {
	position: absolute;
	top: -80px;
	right: 10px;
}

@media (max-width : 767px) {
	.menu-settings {
		top: -60px;
	}
}

.dropdown-menu {
	padding: 0px;
}

.dropdown-menu li {
	margin: 0px;
	font-weight: 500;
	font-size: 15px;
	cursor: pointer;
}

.dropdown-menu li:hover {
	background-color: #eceaea;
}

.dropdown-menu li span,
.dropdown-menu li a {
	display: block;
	white-space: nowrap;
	padding: 7px 12px;
	color: grey !important;
	font-size: 15px;
}

.dropdown-menu li i {
	font-size: 16px;
	-webkit-text-stroke-width: 0.3px;
}

td {
	white-space: nowrap;
}

.test-item {
	cursor: pointer;
}

.assessment-title {
	font-size: 22px !important;
}

.template-scratch-div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	background-color: #f8f8f8;
	border-radius: 6px;
	transition: 0.3s;
	color: #828283;
	cursor: pointer;
	height: 200px;
}

.template-scratch-div:hover {
	color: #828283;
	background-color: #efefef;
}

.template-scratch-div i {
	font-size: 46px;
	-webkit-text-stroke-width: 1px;
}

.template-scratch-div strong {
	font-size: 23px;
	font-weight: 600;
	margin-top: -15px;
}

@media (max-width : 767px) {
	.template-scratch-div strong {
		font-size: 20px;
	}

	.template-scratch-div i {
		font-size: 38px;
		-webkit-text-stroke-width: 1px;
	}
}

.btn-player {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-primary);
	color: white;
	padding: 6px 10px;
	border-radius: 5px;
	border: none;
}

.btn-player:hover {
	background-color: var(--color-secondary);
	transition: background-color 300ms;
	border: none;
}

.rbt-form-check label {
	font-size: 18px !important;
}


/* Switch button */

input[type=checkbox].medium~label::before {
	height: 16px !important;
	width: 16px !important;
	top: 4.2px !important;
	left: -1px !important;
}

input.switch {
	position: relative;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	width: 35px !important;
	height: 20px;
	border-radius: 30px;
	opacity: 1 !important;
	cursor: pointer;
	background: #ccc;
	transition: box-shadow 0.3s ease-in-out, padding 0.25s ease-in-out;
	transition-delay: 0.1s, 0s;
}

input.switch:focus {
	border: 0;
	outline: 0;
}

input.switch:checked {
	transition-delay: 0s, 0s;
	box-shadow: inset 0 0 0 2.62857em var(--color-success) !important;
	padding-left: 15px;
}

input.switch:before {
	display: inline-block;
	height: 14px;
	width: 14px;
	margin: 3px;
	background-color: #fff;
	border-radius: 2.1em;
	transition: all 0.1s ease 0.1s;
}

input.switch:before,
input.switch:after {
	content: "";
	display: block;
}

input.switch:active::before {
	transition: all 0.1s ease 0.05s;
}

/* JODIT Editor */

@media (max-width : 767px) {
	.jodit-workplace {
		min-height: unset !important;
	}

	.jodit-wysiwyg {
		min-height: 160px !important;
		/* height: 100%; */
	}

}

.jodit-wysiwyg p {
	margin-bottom: 0px;
}

/* Media Library */
/* .media-item{
	border: solid 1px var(--color-border);
	border-radius: 2px;
	cursor: pointer;
} */

.media-item {
	position: relative;
	width: 100%;
	margin: auto;
	border: solid 1px var(--color-border);
	border-radius: 4px;
	overflow: hidden;
	height: 200px;
}

.media-item-select {
	height: 160px !important;
}

.media-item .media-item-overlay {
	background-color: rgba(0, 0, 0, 0.6);
	position: absolute;
	height: 100%;
	width: 100%;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

.media-item-wrapper {
	position: absolute;
	left: 0px;
	top: -26px;
	color: white;
	-webkit-transition: all 0.2s ease-in-out 0s;
	-moz-transition: all 0.2s ease-in-out 0s;
	transition: all 0.2s ease-in-out 0s;
}

.media-item-close {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.5);
	position: absolute;
	top: 10px;
	right: 20px;
	text-align: center;
	color: white;
	line-height: 24px;
	cursor: pointer;
	transition: background-color 1s;
}

.media-item-close:hover {
	background-color: rgba(0, 0, 0, 0.65);
}

@media (max-width : 767px) {
	.media-item-select {
		height: 140px !important;
	}
}

.media-item-details {
	position: absolute;
	text-align: center;
	padding-left: 1em;
	padding-right: 1em;
	width: 100%;
	opacity: 0;
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: all 0.3s ease-in-out 0s;
	-moz-transition: all 0.3s ease-in-out 0s;
	transition: all 0.3s ease-in-out 0s;
}

.media-item:hover .media-item-details {
	opacity: 1;
	left: 96%;
	top: 20px;
}

.media-item:hover .media-item-overlay {
	opacity: 1;
}

.media-item-details i {
	color: #fff;
	font-weight: 500;
	letter-spacing: 0.15em;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}

.media-item-details .dropdown-menu i {
	all: unset;
}

.media-item-select .media-item-details i {
	color: #000;
}

.fancybox__container {
	z-index: 100000000 !important;
}

.fadeIn-top {
	top: 20%;
}

.question-item p {
	margin-bottom: 0px;
}

/* View Paper */
.question-qb p,
.jodit__preview-box p {
	display: block;
	margin-bottom: 3px;
}

.question-qb table {
	width: auto !important;
}

/* Profile Page Header*/

.rbt-profile-view-as-overlay {
	position: fixed;
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 15px 15px;
	top: 80px;
	z-index: 10;
	background-color: rgba(0, 0, 0, .3);
}

@media (max-width : 1200px) {
	.rbt-profile-view-as-overlay {
		background-color: rgba(0, 0, 0, .4);
		top: 70px;
		padding: 10px 10px;
	}
}

.rbt-profile-view-as-overlay.sticky-top {
	top: 0px;
}

.rbt-profile-view-as-overlay span {
	color: white;
	font-weight: 500;
}

.rbt-profile-view-as-overlay a {
	display: inline-block;
	white-space: nowrap;
}

.rbt-dashboard-content-wrapper-2 {
	position: relative;
	margin-bottom: 30px;
	background-color: white;
	border-radius: 10px;
}

.rbt-dashboard-content-wrapper-2 .tutor-bg-photo {
	height: 200px;
	border-radius: 10px 10px 0px 0px;
}

.rbt-dashboard-content-wrapper-2 .rbt-tutor-information-left {
	position: absolute;
	bottom: -55px;
	left: 40px;
}

@media (max-width : 767px) {

	.rbt-dashboard-content-wrapper-2 .tutor-bg-photo {
		height: 160px;
	}

	.rbt-dashboard-content-wrapper-2 .rbt-tutor-information-left {
		left: 30px;
	}
}

/* QA */
.qa-question p {
	font-size: 18px !important;
	margin-bottom: 10px;
}

.qa-options p,
.qa-options span,
.qa-options li {
	font-size: 18px !important;
	margin-bottom: 0px;
	margin-top: 5px;
}

.qa-answer p {
	font-size: 18px !important;
	margin-bottom: 0px;
}

.qa-question table,
.qa-options table,
.qa-answer table {
	width: auto !important;
}

/* Top message container */
.message-container {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 25px;
	right: 20px;
	z-index: 10001;
}

.fs-custom {
	font-size: 24px;
}

.rbt-modern-select .dropdown-menu {
	max-height: 300px !important;
}

@media (max-width : 767px) {
	.fs-custom {
		font-size: 22px;
	}
}

@media (max-width : 576px) {
	.fs-custom {
		font-size: 20px;
	}
}

.sticky-bottom-bar {
	position: fixed;
	bottom: 0px;
	width: 100%;
	padding: 10px 10px;
	background-color: white;
	z-index: 101;
}

.bar-xl {
	display: none;
}

@media (max-width : 1200px) {
	.bar-xl {
		display: block;
	}
}

.map-item {
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px !important;
	/* Premium rounded corner buttons */
	height: 38px !important;
	font-weight: 600 !important;
	/* Bold indicators */
	font-size: 14px !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

#map-grid,
#map-sm,
#map-lg {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	padding-left: 4px !important;
	padding-right: 4px !important;
}

/* Hover effects for interactive feedback */
.map-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	opacity: 0.9;
}

/* State 4: Active / Current Question */
.map-item.bg-primary {
	background-color: #1c64f2 !important;
	color: #ffffff !important;
	border: none !important;
}

/* State 1 & 2: Answered */
.map-item.bg-success {
	background-color: #def7ec !important;
	color: #03543f !important;
	border: 1px solid #bcf0da !important;
}

/* State 3: Not Answered / Visited but Unanswered */
.map-item.bg-danger {
	background-color: #fde8e8 !important;
	color: #9b1c1c !important;
	border: 1px solid #fabdbd !important;
}

/* State 6: Not Visited */
.map-item.border,
.map-item.border-2 {
	background-color: #ffffff !important;
	color: #4b5563 !important;
	border: 1.5px solid #e5e7eb !important;
}

.map-item.border:hover,
.map-item.border-2:hover {
	border-color: #cbd5e1 !important;
	background-color: #f8fafc !important;
}

/* State 5: Marked for Review (Support for Warning state) */
.map-item.bg-warning {
	background-color: #fef3c7 !important;
	color: #b45309 !important;
	border: 1px solid #fcd34d !important;
}

/* Custom width class */
@media (max-width: 992px) {

	/* Target small screens and below */
	.w-lg-100 {
		width: 100% !important;
	}
}

/* Announcement Item */
.announcement .announcement-description {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

.announcement .announcement-description.expanded {
	-webkit-line-clamp: unset;
	overflow: visible;
}

.announcement .toggle-button {
	margin-top: 5px;
	font-weight: 500;
	color: var(--color-primary);
	cursor: pointer;
}

/* Certifcates */
.certificate {
	width: 100%;
	position: relative;
	padding: 30px;
	background-color: #fdfdfd;
}

.certificate .content {
	margin-left: 30px;
}

.certificate .left-border {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 50px;
	z-index: 1;
}

.certificate .header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.certificate .header .reference {
	display: flex;
	align-items: end;
	flex-direction: column;
	font-size: 12px;
}

.certificate .header .logo {
	height: 50px;
	margin-top: 10px;
}

.certificate .title {
	font-size: 16px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.certificate .test-title {
	font-size: 28px;
	font-weight: bold;
	margin-right: 70px;
	color: var(--color-dark);
	margin-bottom: 5px;
}

.certificate .author-name {
	font-size: 16px;
	color: var(--color-dark);
	margin-bottom: 100px;
}

.certificate .name {
	font-size: 22px;
	font-weight: bold;
	margin: 20px 0;
}

.certificate .footer {
	display: flex;
	flex-direction: column;
	margin-top: 30px;
}

.certificate .footer .name {
	font-size: 24px;
	font-weight: bold;
	margin-bottom: 0px;
	color: var(--color-dark);
}

.certificate .footer .date,
.certificate .footer .time {
	font-size: 14px;
}

.certificate .footer .date strong,
.certificate .footer .time strong {
	color: var(--color-dark);
}

.certificate .branding {
	position: absolute;
	font-size: 16px;
	right: 10px;
	bottom: 10px;
}

/* QR download btn */
.qr-code-container {
	position: relative;
	display: inline-block;
}

.qr-code-container img {
	height: 220px;
	width: 220px;
}

.qr-code-container .download-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 26px;
	width: 40px;
	height: 40px;
	color: #fff;
	background-color: rgba(0, 0, 0, 0.6);
	padding: 5px;
	border-radius: 50%;
	text-decoration: none;
	z-index: 1;
}

.qr-code-container .download-icon:hover {
	background-color: rgba(0, 0, 0, 0.75);
}


/* Custom switch nav tabs */

.switch-button-custom-style {
	justify-content: center;
	margin-bottom: 30px;
	border-radius: 100px;
	background-color: var(--color-white);
	box-shadow: var(--shadow-1);
	display: inline-flex;
	list-style: none;
	padding: 15px 30px !important;
}

.switch-button-custom-style li {
	margin-top: 0;
	margin-bottom: 0;
}

.switch-button-custom-style li a {
	position: relative;
	display: block;
	outline: none;
	border-radius: 500px;
	padding: 9px 0px !important;
	border: 0 none;
	box-shadow: none;
}

.switch-button-custom-style li a:hover {
	color: var(--color-heading);
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

	.switch-button-custom-style li a {
		padding: 12px 12px;
	}
}

@media only screen and (max-width: 767px) {

	.switch-button-custom-style {
		padding: 12px 20px !important;
	}

	.switch-button-custom-style li a {
		padding: 12px 10px;
	}
}

.switch-button-custom-style li a.active {
	background-size: 300% 100%;
	padding: 9px 28px !important;
	background-image: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-secondary), var(--color-primary));
	color: var(--color-white) !important;
}

@media only screen and (max-width: 450px) {
	.switch-button-custom-style li a.active {
		padding: 9px 20px !important;
	}

}

.switch-button-custom-style li a.active::after {
	transform: scaleX(1);
}

.switch-button-custom-style li a .title {
	font-size: 16px;
	margin-bottom: 0;
	font-weight: 500;
}

/* Credits */

.credit-option {
	padding-top: 10px;
	padding-bottom: 10px;
	border: 2px solid #ccc;
	border-radius: 8px;
	cursor: pointer;
	font-weight: bold;
	transition: all 0.2s ease-in-out;
}

.credit-option.selected {
	border-color: var(--color-secondary);
	background-color: var(--color-secondary);
	color: white;
}

/* Blur text */
.blurred-text {
	filter: blur(5px);
	user-select: none;
	pointer-events: none;
	opacity: 0.8;
	background: rgba(255, 255, 255, 0.6);
	border-radius: 4px;
}

.rbt-dot-bottom-center .rbt-swiper-pagination {
	left: 70% !important;
}

@media(min-width : 768px) {
	.rbt-dot-bottom-center .rbt-swiper-pagination {
		left: 85% !important;
	}
}

/* Blink animation */
@keyframes smooth-blink {

	0%,
	100% {
		box-shadow: 0 0 0px rgba(255, 165, 0, 0);
	}

	50% {
		box-shadow: 0 0 10px 5px rgb(231, 231, 231);
	}
}

.blink-highlight {
	animation: smooth-blink 1.1s ease-in-out 3;
	border-radius: 4px;
}

/* ==========================================
   Mobile Advance-Tab Redesign (Accordion)
   ========================================== */

/* Hide mobile images on desktop */
.mobile-tab-image {
	display: none;
}

/* Mobile & Tablet: ≤991px */
@media only screen and (max-width: 991px) {

	/* Hide the separate desktop image column */
	.desktop-tab-content {
		display: none !important;
	}

	/* Show mobile images inline */
	.mobile-tab-image {
		display: block;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.4s ease,
			padding 0.4s ease;
		opacity: 0;
		padding: 0 12px;
	}

	.mobile-tab-image img {
		width: 100%;
		border-radius: 12px;
		box-shadow: 0 8px 30px rgba(45, 62, 80, 0.12);
	}

	/* Show image when parent tab has active class (toggled by JS) */
	.nav-item.mobile-tab-active .mobile-tab-image {
		max-height: 2000px;
		opacity: 1;
		padding: 16px 12px 6px;
	}

	/* Tab list – vertical card stack */
	.advance-tab-button-1 .tab-button-list {
		display: flex;
		flex-direction: column;
		gap: 12px;
		margin: 0;
	}

	.advance-tab-button-1 .tab-button-list li {
		margin: 0;
	}

	/* Tab button – card style */
	.advance-tab-button-1 .tab-button-list .tab-button {
		padding: 18px 20px;
		border-radius: 14px;
		border: 0 none !important;
		border-left: 4px solid transparent !important;
		background: #f8f9fb !important;
		transition: all 0.35s ease;
		position: relative;
		z-index: 1;
	}

	.advance-tab-button-1 .tab-button-list .tab-button::before {
		border-radius: 14px;
		box-shadow: 0 4px 20px rgba(47, 87, 239, 0.08);
	}

	.advance-tab-button-1 .tab-button-list .tab-button::after {
		display: none !important;
	}

	/* Active tab – accent border + subtle gradient */
	.advance-tab-button-1 .tab-button-list .tab-button.active,
	.advance-tab-button-1 .tab-button-list .nav-link.active {
		border: 0 none !important;
		border-left: 4px solid #2f57ef !important;
		background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%) !important;
		box-shadow: 0 6px 24px rgba(47, 87, 239, 0.1) !important;
	}

	.advance-tab-button-1 .tab-button-list .tab-button.active::before {
		opacity: 0 !important;
	}

	.advance-tab-button-1 .tab-button-list .tab-button .title {
		font-size: 17px;
		margin-bottom: 6px;
	}

	.advance-tab-button-1 .tab-button-list .tab-button .description {
		font-size: 14px;
		line-height: 1.5;
		color: #6c757d;
	}

	/* Section gap reduction on mobile */
	.rbt-advance-tab-area.rbt-section-gap {
		padding: 50px 0;
	}

	.rbt-advance-tab-area .section-title .title {
		font-size: 22px;
		line-height: 1.35;
	}

	.rbt-advance-tab-area .row.mb--60 {
		margin-bottom: 30px !important;
	}
}

/* Extra small mobile: ≤480px */
@media only screen and (max-width: 480px) {
	.advance-tab-button-1 .tab-button-list .tab-button {
		padding: 14px 16px;
	}

	.advance-tab-button-1 .tab-button-list .tab-button .title {
		font-size: 16px;
	}

	.advance-tab-button-1 .tab-button-list .tab-button .description {
		font-size: 13px;
	}

	.rbt-advance-tab-area .section-title .title {
		font-size: 20px;
	}
}



.file-info-card {
	display: none;
	background: white;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 12px 16px;
	margin-top: 20px;
	align-items: center;
	gap: 12px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
	text-align: left;
}

.file-info-card i {
	color: var(--color-primary);
	font-size: 20px;
}

/* Bulk Invite Feedback Premium Styles */
.stat-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 15px 12px;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	transition: all 0.3s ease;
}

.stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.stat-card .icon {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.stat-card .details {
	display: flex;
	flex-direction: column;
}

.stat-card .count {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	color: #2d2d2d;
}

.stat-card .label {
	font-size: 12px;
	color: #717171;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.preview-list-container {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 12px;
	padding: 20px;
}

.preview-list {
	max-height: 200px;
	overflow-y: auto;
	padding-right: 5px;
}

.preview-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f5f5f5;
}

.preview-item:last-child {
	border-bottom: none;
}

.preview-item .index {
	width: 24px;
	height: 24px;
	background: #f0f4ff;
	color: var(--color-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
	flex-shrink: 0;
}

.preview-item .email {
	font-size: 14px;
	color: #4b5563;
	word-break: break-all;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
	width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
	background: #e1e1e1;
	border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: #ccc;
}

/* Bulk Invite Completion Styles */
.completion-card {
	background: #fff;
	border: 1px solid #e1e9ff;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.completion-icon {
	font-size: 48px;
	line-height: 1;
}

.result-tile {
	padding: 12px;
	border-radius: 10px;
	background: #fbfbfb;
	border: 1px solid #f0f0f0;
}

.result-tile .count {
	display: block;
	font-size: 20px;
	font-weight: 700;
}

.result-tile .label {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #717171;
	margin-top: 2px;
}

/* Fix for centering icons in round buttons within bulk invite */
#bulk-invite-modal .rbt-round-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
}

#remove-file i {
	line-height: 1 !important;
	margin: 0 !important;
}

/* Robust fix for centering feather-x in all bulk invite buttons */
#bulk-invite-modal .rbt-round-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 0 !important;
	vertical-align: middle !important;
}

#bulk-invite-modal .rbt-round-btn i {
	line-height: 1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

/* ==========================================
   Media Library Modal – Mobile Responsive
   ========================================== */

@media (max-width: 576px) {

	/* Modal sizing – fit within mobile viewport with breathing room */
	#insert-image-modal .modal-dialog {
		max-width: calc(100vw - 24px) !important;
		margin: 12px auto !important;
	}

	#insert-image-modal .modal-content {
		padding: 10px 6px !important;
		border-radius: 14px;
	}

	#insert-image-modal .modal-body {
		padding: 10px 8px !important;
	}

	/* Close button – keep visible and tappable */
	#insert-image-modal .modal-header {
		padding: 4px 8px !important;
		min-height: unset;
	}

	#insert-image-modal .modal-header .rbt-round-btn {
		width: 32px;
		height: 32px;
		min-width: 32px;
	}

	/* Tabs – compact sizing */
	#insert-image-modal .tab-button-style-2 .tab-button {
		padding: 8px 14px !important;
		font-size: 14px;
	}

	#insert-image-modal .tab-button-style-2 .tab-button .title {
		font-size: 14px;
	}

	/* Search + Add Image row – stack on very small screens */
	#insert-image-modal .d-flex.justify-content-between.mb-3 {
		flex-wrap: wrap;
		gap: 8px;
	}

	#insert-image-modal .rbt-search-style-1 {
		width: 100% !important;
		flex: 1 1 auto;
		min-width: 0;
	}

	#insert-image-modal .rbt-search-style-1 input {
		font-size: 13px;
		padding-right: 36px;
	}

	#insert-image-modal label[for="media-image-input"] {
		font-size: 12px !important;
		padding: 6px 12px !important;
		flex-shrink: 0;
		margin-left: 0 !important;
	}

	/* Media grid – proper 2-column with no overflow */
	#media-library-section {
		display: grid !important;
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 8px !important;
		max-height: 300px !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		padding: 4px !important;
		margin-top: 8px !important;
	}

	/* Each media item – fill grid cell cleanly */
	#media-library-section>div {
		width: 100% !important;
		max-width: 100% !important;
		flex: none !important;
		padding: 0 !important;
		margin: 0 !important;
	}

	/* Image thumbnails – fit within cells */
	#media-library-section .media-item-select>div:first-child {
		height: 120px !important;
		border-radius: 6px;
		overflow: hidden;
	}

	#media-library-section .media-item-select img {
		width: 100% !important;
		height: 100% !important;
		object-fit: cover !important;
	}

	/* Dropdown menu button on images */
	#media-library-section .dropdown button {
		width: 24px !important;
		height: 24px !important;
		margin-top: 4px !important;
	}

	#media-library-section .dropdown button i {
		font-size: 14px !important;
	}

	/* Checkmark overlay – scale down */
	#media-library-section [id^="checkmark-"] {
		width: 30px !important;
		height: 30px !important;
	}

	#media-library-section [id^="checkmark-"] i {
		font-size: 20px !important;
	}

	/* Pagination – compact buttons */
	#insert-image-modal .rbt-pagination {
		gap: 4px;
		flex-wrap: nowrap;
		justify-content: center;
		padding: 0 !important;
		margin-top: 12px !important;
	}

	#insert-image-modal .rbt-pagination li button {
		height: 32px !important;
		min-width: 32px;
		font-size: 12px !important;
		padding: 0 8px !important;
	}

	#insert-image-modal .rbt-pagination li button#btn-media-previous,
	#insert-image-modal .rbt-pagination li button#btn-media-next {
		width: 32px !important;
		padding: 0 !important;
	}

	/* Insert Image button – full width for easy tapping */
	#btn-insert-image {
		width: 100%;
		margin-top: 16px !important;
		text-align: center;
		float: none !important;
	}

	/* URL tab input */
	#insert-image-modal #url .rbt-form-group input {
		font-size: 13px;
	}
}

/* Tablets and small desktops */
@media (min-width: 577px) and (max-width: 767px) {

	#insert-image-modal .modal-dialog {
		max-width: calc(100vw - 40px) !important;
		margin: 20px auto !important;
	}

	#media-library-section {
		max-height: 320px !important;
	}

	#media-library-section .media-item-select>div:first-child {
		height: 140px !important;
	}

	#btn-insert-image {
		width: 100%;
		float: none !important;
		text-align: center;
	}
}

/* Rectangle Button Shape */
.app-btn-rect,
.rbt-btn.app-btn-rect,
.app-cta-btn.app-btn-rect {
	border-radius: 12px !important;
}

/* Global Premium App variables & button styles (Generic) */
:root {
	--app-primary: #2f57ef;
	--app-secondary: #b966e7;
	--app-primary-rgb: 47, 87, 239;
	--app-secondary-rgb: 185, 102, 231;
	--app-dark: #192335;
	--app-body: #6b7385;
	--app-light: #f5f7fa;
	--app-white: #ffffff;
	--app-border: #e6e3f1;
}

.app-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	font-size: 15px;
	font-weight: 600;
	border-radius: 100px;
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2;
}

.app-btn-primary {
	background: linear-gradient(135deg, var(--app-primary) 0%, var(--app-secondary) 100%);
	color: #ffffff !important;
	border: none;
	box-shadow: 0 4px 20px rgba(47, 87, 239, 0.25);
}

.app-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 24px rgba(47, 87, 239, 0.35);
	color: #ffffff !important;
}

.app-btn-secondary {
	background: #ffffff;
	color: var(--app-dark) !important;
	border: 1px solid var(--app-border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.app-btn-secondary:hover {
	border-color: var(--app-primary);
	transform: translateY(-2px);
	box-shadow: 0 12px 30px rgba(31, 45, 61, 0.05);
}

.app-btn.btn-sm {
	padding: 11px 24px;
	font-size: 15px;
}

/* ============================================
   Premium Submit Modal
   ============================================ */
#submitModal .modal-content {
	border: none !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
	background: #ffffff !important;
}

#submitModal .modal-header {
	border-bottom: none !important;
	padding: 14px 20px 0 20px !important;
	background: #ffffff !important;
	display: flex !important;
	justify-content: flex-end !important;
}

#submitModal .modal-body {
	padding: 0 24px 24px 24px !important;
	max-height: none !important;
	background: #ffffff !important;
}

#submitModal .inner {
	text-align: left !important;
}

#submitModal .title {
	font-size: 20px !important;
	font-weight: 800 !important;
	color: #111827 !important;
	margin-bottom: 16px !important;
	text-align: center !important;
}

/* Close button */
#close-submit-modal {
	background: #f3f4f6 !important;
	border: none !important;
	border-radius: 50% !important;
	width: 32px !important;
	height: 32px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s ease !important;
	color: #4b5563 !important;
	cursor: pointer !important;
	padding: 0 !important;
}

#close-submit-modal:hover {
	background: #e5e7eb !important;
	color: #111827 !important;
	transform: rotate(90deg);
}

/* Legend Cards styling */
#submitModal .inner .row.mt-3>div {
	margin-bottom: 10px;
}

#submitModal .inner .row.mt-3>div>span {
	background: #ffffff !important;
	border: 1.5px solid #e2e8f0 !important;
	border-radius: 14px !important;
	padding: 10px 16px !important;
	display: flex !important;
	align-items: center !important;
	width: 100% !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
	transition: all 0.2s ease !important;
	font-size: 14px !important;
	color: #1e293b !important;
	font-weight: 700 !important;
	white-space: nowrap !important;
}

#submitModal .inner .row.mt-3>div>span>span:last-child {
	margin-left: auto !important;
}

#submitModal .inner .row.mt-3>div>span>span.flex-grow-1 {
	margin-left: 12px !important;
}

#submitModal .inner .row.mt-3>div>span:hover {
	background: #f8fafc !important;
	border-color: #cbd5e1 !important;
	transform: translateY(-1px);
}

/* Override symbol box colors and styles in submitModal to match palette */
#submitModal .sybmbol-box {
	border-radius: 6px !important;
	height: 20px !important;
	width: 20px !important;
	display: inline-block !important;
	flex-shrink: 0;
	margin-right: 12px !important;
}

/* Total */
#submitModal .sybmbol-box.bg-primary {
	background-color: #1c64f2 !important;
	box-shadow: 0 2px 8px rgba(28, 100, 242, 0.3) !important;
}

/* Not Visited */
#submitModal .sybmbol-box.border {
	background-color: #ffffff !important;
	border: 1.5px solid #d1d5db !important;
}

/* Visited but Not Answered */
#submitModal .sybmbol-box.bg-danger {
	background-color: #ef4444 !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3) !important;
}

/* Answered */
#submitModal .sybmbol-box.bg-success {
	background-color: #10b981 !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

/* Custom styles for the values */
#total-count {
	color: #1c64f2 !important;
	font-weight: 700 !important;
	background-color: rgba(28, 100, 242, 0.08) !important;
	padding: 4px 12px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
}

#not-visited-count {
	color: #4b5563 !important;
	font-weight: 700 !important;
	background-color: rgba(75, 85, 99, 0.08) !important;
	padding: 4px 12px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
}

#not-answered-count {
	color: #9b1c1c !important;
	font-weight: 700 !important;
	background-color: rgba(239, 68, 68, 0.08) !important;
	padding: 4px 12px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
}

/* Answered */
#submitModal .sybmbol-box.bg-success {
	background-color: #10b981 !important;
	border: none !important;
	box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

#answered-count {
	color: #03543f !important;
	font-weight: 700 !important;
	background-color: rgba(16, 185, 129, 0.08) !important;
	padding: 4px 12px !important;
	border-radius: 8px !important;
	font-size: 13px !important;
}

/* Confirm Text */
#submitModal .fw-semibold {
	color: #374151 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	margin-top: 16px !important;
	margin-bottom: 20px !important;
	text-align: center !important;
}

/* Footer action buttons */
#submitModal .btn-border {
	border-radius: 12px !important;
	border: 1.5px solid #e5e7eb !important;
	color: #4b5563 !important;
	background: #ffffff !important;
	font-weight: 700 !important;
	padding: 0 28px !important;
	height: 40px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s ease !important;
	font-size: 14px !important;
}

#submitModal .btn-border:hover {
	border-color: #cbd5e1 !important;
	background: #f8fafc !important;
	color: #1f2937 !important;
	transform: translateY(-1px);
}

/* Confirm submit & View Analysis buttons */
#confrim-submit,
#confirm-submit,
#feedback-view-analysis-btn {
	background: linear-gradient(135deg, #1c64f2, #3b82f6) !important;
	border: none !important;
	border-radius: 12px !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	box-shadow: 0 4px 15px rgba(28, 100, 242, 0.35) !important;
	transition: all 0.25s ease !important;
	padding: 0 28px !important;
	height: 44px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-size: 14px !important;
}

#confrim-submit:hover,
#confirm-submit:hover,
#feedback-view-analysis-btn:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 25px rgba(28, 100, 242, 0.45) !important;
	color: #ffffff !important;
}

#confrim-submit:active,
#confirm-submit:active,
#feedback-view-analysis-btn:active {
	transform: translateY(-1px) !important;
}

/* Calculator button styling matching the premium theme */
#calculator-btn {
	background: #ffffff !important;
	border: 1.5px solid #e5e7eb !important;
	color: #4b5563 !important;
	border-radius: 12px !important;
	font-weight: 600 !important;
	padding: 8px 16px !important;
	display: inline-flex;
	align-items: center !important;
	justify-content: center !important;
	gap: 6px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	height: 38px !important;
}

#calculator-btn:hover {
	border-color: #3b82f6 !important;
	color: #3b82f6 !important;
	background-color: #eff6ff !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08) !important;
}

#calculator-btn svg {
	stroke: currentColor !important;
	transition: stroke 0.2s ease !important;
}

/* Question Bank View Layout Improvements */
.qb-view-card {
	background: #ffffff;
	border: 1px solid #edf2f7;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03), 0 1px 3px rgba(0, 0, 0, 0.02);
	padding: 30px;
	margin-bottom: 30px;
	transition: box-shadow 0.3s ease;
}

.qb-view-card:hover {
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02);
}

.bg-violet-opacity-premium {
	background-color: #f3f0ff !important;
	color: #6b21a8 !important;
	font-weight: 600;
	border: 1px solid #e9d5ff;
}

.btn-answer-premium {
	background-color: #f8fafc;
	color: #475569 !important;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 10px 20px;
	font-weight: 600;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-answer-premium:hover {
	background-color: #f1f5f9;
	border-color: #cbd5e1;
	color: #1e293b !important;
}

.btn-answer-premium i {
	font-size: 16px;
}

.btn-hint-premium {
	background-color: #fffbeb;
	color: #92400e !important;
	border: 1.5px solid #fde68a;
	border-radius: 12px;
	padding: 10px 20px;
	font-weight: 600;
	font-size: 15px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn-hint-premium:hover {
	background-color: #fef3c7;
	border-color: #fcd34d;
	color: #78350f !important;
}

.btn-hint-premium i {
	font-size: 16px;
}

.pagination-btn-premium {
	border-radius: 12px !important;
	padding: 0 28px !important;
	height: 44px !important;
	line-height: 44px !important;
	font-weight: 600 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pagination-btn-premium:not(:disabled):hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-report-premium {
	background-color: #fff5f5 !important;
	color: #c53030 !important;
	border: 1.5px solid #feb2b2 !important;
	border-radius: 12px !important;
	padding: 10px 20px !important;
	font-weight: 600 !important;
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	transition: all 0.2s ease !important;
}

.btn-report-premium:hover {
	background-color: #fed7d7 !important;
	border-color: #fc8181 !important;
}

/* Options rendering inside QB View */
.qb-option-item {
	background-color: #ffffff;
	border: 1.5px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px 20px;
	margin-bottom: 12px;
	font-weight: 500;
	transition: all 0.2s ease;
}

.qb-option-item:hover {
	background-color: #f1f5f9;
	border-color: #cbd5e1;
}

/* Premium Question Bank and Test Cards */
.premium-card {
	background: #ffffff;
	border: 1.5px solid #f1f5f9 !important;
	border-radius: 20px !important;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	display: flex;
	flex-direction: column;
	height: 100%;
	/* WebKit/Blink hardware compositor clipping fix */
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	mask-image: radial-gradient(white, black);
	isolation: isolate;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translate3d(0, 0, 0);
	-webkit-tap-highlight-color: transparent;
}

.premium-card-img-wrapper {
	position: relative;
	width: 100%;
	height: 280px;
	overflow: hidden;
	/* Direct top radius prevents unrounded corners punching through on GPU layer promotion */
	border-top-left-radius: 18.5px;
	border-top-right-radius: 18.5px;
	-webkit-mask-image: -webkit-radial-gradient(white, black);
	mask-image: radial-gradient(white, black);
	isolation: isolate;
	-webkit-tap-highlight-color: transparent;
}

.premium-card-img-wrapper a {
	display: block;
	width: 100%;
	height: 100%;
	border-top-left-radius: 18.5px;
	border-top-right-radius: 18.5px;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

.premium-card-img-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 18.5px;
	border-top-right-radius: 18.5px;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.premium-card-img-wrapper .image img {
	border-radius: 0;
	object-fit: contain;
}

/* Hover effects only on devices with actual hover capability (laptops/desktops with mouse pointer) */
@media (hover: hover) and (pointer: fine) {
	.premium-card:hover {
		transform: translateY(-5px);
		box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
		border-color: #e2e8f0 !important;
	}

	.premium-card:hover .premium-card-img-wrapper img {
		transform: scale(1.05);
	}
}

/* Mobile & Touch fallback: explicitly disable sticky hover and active transforms */
@media (hover: none), (pointer: coarse), (max-width: 767px) {
	.premium-card:hover,
	.premium-card:active {
		transform: none !important;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 1px 3px rgba(0, 0, 0, 0.01) !important;
		border-color: #f1f5f9 !important;
	}

	.premium-card:hover .premium-card-img-wrapper img,
	.premium-card:active .premium-card-img-wrapper img {
		transform: none !important;
	}
}

.premium-card-body {
	padding: 24px !important;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.premium-meta-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	list-style: none;
	padding: 0;
	margin: 0 0 16px 0;
}

.premium-meta-item {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px !important;
	color: #64748b;
	font-weight: 500;
	text-transform: capitalize;
	max-width: 100%;
}

.premium-meta-item:has(.feather-clock) {
	text-transform: none !important;
}

.premium-meta-item:has(.feather-book-open),
.premium-meta-subject {
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	max-width: 100%;
}

.premium-meta-item:has(.feather-book-open) i,
.premium-meta-subject i {
	margin-right: 6px;
	display: inline-block;
}

.premium-meta-item i {
	font-size: 14px;
	color: #94a3b8;
}

.premium-card-title-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

.premium-card-title {
	font-size: 18px !important;
	font-weight: 700 !important;
	line-height: 1.4 !important;
	margin: 0;
}

.premium-card-title a {
	color: #1e293b;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.premium-card-title a:hover {
	color: #525fe1;
}

.premium-wishlist-btn {
	color: #94a3b8;
	font-size: 18px;
	transition: color 0.2s ease;
	cursor: pointer;
	padding: 2px;
}

.premium-wishlist-btn:hover {
	color: #64748b;
}

.premium-wishlist-btn .fas.fa-bookmark {
	color: #525fe1;
}

.premium-card-desc {
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
	margin-bottom: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.premium-author-row {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid #f1f5f9;
}

.premium-author-avatar {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	overflow: hidden;
}

.premium-author-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.premium-author-info a {
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #475569 !important;
	transition: color 0.2s ease;
}

.premium-author-info a:hover {
	color: #525fe1 !important;
}

/* Rectangular view button for QBs - matches home page style */
.premium-view-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #525fe1;
	border: 1.5px solid #525fe1;
	color: #ffffff !important;
	padding: 10px 28px;
	border-radius: 12px;
	font-size: 14px !important;
	font-weight: 600;
	transition: all 0.2s ease;
	margin-top: auto;
	align-self: flex-start;
	box-shadow: 0 2px 8px rgba(82, 95, 225, 0.15);
}

.premium-card:hover .premium-view-pill {
	background: #4149c8;
	border-color: #4149c8;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(82, 95, 225, 0.25);
}

.premium-view-pill i {
	font-size: 12px;
	transition: transform 0.2s ease;
}

.premium-card:hover .premium-view-pill i {
	transform: translateX(3px);
}

/* ==========================================
   Question Bank View – Mobile Responsiveness
   ========================================== */

/* Align option items at start instead of center to prevent baseline misalignment with block content */
.qb-option-item {
	align-items: flex-start !important;
	overflow: visible !important;
	height: auto !important;
	min-height: auto !important;
}

/* Ensure the text container inside flex layout handles horizontal overflow properly */
.qb-option-item>.flex-grow-1 {
	min-width: 0;
	width: 100%;
	overflow: visible !important;
}

.qb-option-item>span.fw-bold {
	margin-top: 1px !important;
}

/* Remove default margin of elements inside options to eliminate unwanted vertical spacing and scrollbars */
.qb-option-item .flex-grow-1>*:first-child,
.qb-option-item .flex-grow-1 p:first-child,
.qb-option-item .flex-grow-1 .mjx-container {
	margin-top: 0 !important;
}

.qb-option-item .flex-grow-1 p {
	margin-bottom: 0 !important;
	overflow: visible !important;
}

.qb-option-item [id^="optiontext-"] {
	overflow: visible !important;
}

/* Prevent MathJax containers from overflowing */
.mjx-container,
.MathJax_Display,
.MathJax {
	max-width: 100% !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scrollbar-width: thin;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MathML Overflow Fix
   ───────────────────────────────────────────────────────────────────────────
   Root cause: When an entire question sentence is placed inside a single
   <math display=""> element (inline MathML), the browser's MathML layout
   engine renders the <mrow> as one unbreakable horizontal row. CSS properties
   like overflow-wrap / word-break have ZERO effect on MathML elements.

   The correct containment strategy:
   1. Put overflow-x:auto on the DIRECT BLOCK PARENT of <math> — the <p> tag.
      A <p> is a standard block box with a defined width (100% of column),
      so overflow-x:auto on it clips and scrolls overflowing inline math.
   2. Remove any display:block !important on <math> — that override breaks
      Chrome / Safari native MathML rendering entirely.
   3. Give the question-title-text div itself the same safety-net clipping.
   4. mtext: white-space:normal lets the browser break text INSIDE mtext nodes.
   ═══════════════════════════════════════════════════════════════════════════ */

/* Question title and container rules */
.question-title-text {
	max-width: 100%;
	min-width: 0;
	overflow-x: auto;
	overflow-y: visible;
	height: auto;
}

/* A column flex item otherwise uses its content width as its minimum width.
   These constraints keep long question/option text inside the mobile column. */
.question-qb,
.question-item,
#questions-section,
.question-title-text p,
.question-qb p,
.question-item p,
[id^="optiontext-"] {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.question-item .option-item > * {
	min-width: 0;
}

.math-text-content {
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

/* Normal prose must wrap; the MathML normalizer leaves only real formulas
   inline, so this must not become a scrollable text box on mobile. */
.question-title-text {
	overflow: visible;
}

/* Keep the option marker with the option row instead of allowing "A." to
   shrink or wrap independently from its content. */
.qb-option-item > span.fw-bold {
	flex: 0 0 auto;
	white-space: nowrap;
}

/* Assessment preview options are rendered dynamically. Keep their labels
   visible and let their text/formula column shrink inside the card. */
.question-item .option-item {
	align-items: flex-start;
}

.app-option-label,
div[id^="qo-"] > span:first-child {
	flex: 0 0 auto;
	white-space: nowrap;
	margin-right: 12px;
	font-weight: 700;
}

.question-item .option-item > .d-flex.flex-column,
div[id^="qo-"] > .w-100 {
	min-width: 0;
	width: auto !important;
	flex: 1 1 0;
}

.question-item .option-item [id^="optiontext-"] {
	display: block;
	min-width: 0;
	max-width: 100%;
}

.question-item .option-item [id^="optiontext-"] p,
.qb-option-item [id^="optiontext-"] p {
	min-width: 0;
	max-width: 100%;
	margin-right: 0;
}

/* Do not place a full-width flex child beside the A./B. label. The content
   column receives the remaining width and can therefore wrap or scale safely. */
.qb-option-item > .flex-grow-1 {
	width: auto !important;
	min-width: 0;
	flex: 1 1 0;
}

/* Baseline fallback for native MathML on narrow phones. JavaScript applies a
   more precise fit when needed; this keeps ordinary formulas comfortably sized
   even before that measurement runs. Text extracted from MathML is unaffected. */
@media (max-width: 575px) {
	.qb-option-item [id^="optiontext-"] math,
	.question-item .option-item [id^="optiontext-"] math,
	.question-title-text math,
	.question-qb math,
	.question-item math,
	.ql-card-stem math,
	.ql-option-item math,
	.ql-solution-box math,
	.ql-question-card math {
		font-size: clamp(10px, 3.4vw, 16px);
	}
}

/* Native MathML constraints: allow container to expand to fit content without scrollbars */
math {
	max-width: 100%;
	overflow: visible !important;
}

math[display="block"] {
	width: 100%;
	overflow: visible !important;
}

/* MathML table sizing */
math mtable {
	width: max-content;
	min-width: 100%;
	overflow: visible !important;
}

/* Allow text inside mtext nodes to wrap */
math mtext {
	white-space: normal;
	word-break: break-word;
}

@media (max-width: 767px) {

	/* Remove Bootstrap container & row padding to reclaim maximum screen width on mobile */
	.rbt-section-gapBottom.qb-view-wrapper .container {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	.rbt-section-gapBottom.qb-view-wrapper .row {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.rbt-section-gapBottom.qb-view-wrapper .col-lg-8.offset-lg-2 {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Keep header row slightly indented from screen edge */
	.rbt-section-gapBottom.qb-view-wrapper .row>div:first-child {
		padding-left: 12px !important;
		padding-right: 12px !important;
	}

	/* Make the card flush with the screen edge to remove all side padding gaps */
	.qb-view-card {
		padding: 16px 12px !important;
		margin-bottom: 20px !important;
		border-radius: 0 !important;
		border-left: none !important;
		border-right: none !important;
	}

	/* Reduce option item padding & spacing */
	.qb-option-item {
		padding: 12px 10px !important;
		margin-bottom: 10px !important;
		border-radius: 8px !important;
	}
}

/* Highlight correct options in MCQ when Show Answer is clicked */
.qb-option-item.correct-highlight {
	background-color: #ecfdf5 !important;
	border-color: #10b981 !important;
	box-shadow: 0 4px 12px rgba(16, 185, 129, 0.12) !important;
}

/* ==========================================
   Assessment Details Page Premium Styling
   ========================================== */
.details-header-section {
	padding: 50px 0 40px;
	background: linear-gradient(135deg, rgba(47, 87, 239, 0.04) 0%, rgba(185, 102, 231, 0.04) 100%);
	border-bottom: 1px solid #f1f5f9;
	margin-bottom: 40px;
}

.details-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin-bottom: 24px;
	font-size: 14px;
	font-weight: 600;
}

.details-breadcrumb a {
	color: #64748b;
	transition: color 0.2s ease;
}

.details-breadcrumb a:hover {
	color: #2f57ef;
}

.details-breadcrumb span {
	color: #cbd5e1;
}

.details-breadcrumb li.active {
	word-break: break-word;
}

@media (max-width: 767.98px) {
	.details-breadcrumb li.active {
		max-width: min(280px, 60vw);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (min-width: 768px) {
	.details-breadcrumb li.active {
		max-width: none;
		white-space: normal;
		overflow: visible;
		text-overflow: clip;
	}
}

.details-premium-sidebar {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 24px;
	padding: 24px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.details-premium-image-wrapper {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	margin-bottom: 20px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.details-premium-image-wrapper img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.details-premium-sidebar:hover .details-premium-image-wrapper img {
	transform: scale(1.03);
}

.details-specs-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 24px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.details-specs-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 25px;
}

.details-spec-item {
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	border-radius: 16px;
	padding: 16px 20px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	min-width: 0;
}

.details-spec-item:hover {
	background: #ffffff;
	border-color: #2f57ef;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(47, 87, 239, 0.06);
}

.details-spec-label {
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	color: #94a3b8;
	letter-spacing: 0.5px;
}

.details-spec-value {
	font-size: 15px;
	font-weight: 700;
	color: #1e293b;
	word-break: break-word;
	overflow-wrap: break-word;
	line-height: 1.4;
}

.details-teacher-card {
	background: #ffffff;
	border: 1px solid #f1f5f9;
	border-radius: 24px;
	padding: 30px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
	margin-top: 30px;
}

.details-teacher-avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid rgba(47, 87, 239, 0.1);
	flex-shrink: 0;
}

@media (max-width: 767px) {
	.details-header-section {
		padding: 30px 0 20px;
		margin-bottom: 24px;
	}

	.details-specs-card,
	.details-teacher-card,
	.details-premium-sidebar {
		padding: 20px;
		border-radius: 20px;
	}

	.details-specs-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}
}

/* Stretched link for fully clickable cards */
.stretched-link::after {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	pointer-events: auto;
	content: "";
}

/* Teacher/Business Dashboard Compact Horizontal Row Cards */
.teacher-row-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	overflow: visible;
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	display: flex;
	align-items: center;
	padding: 24px 26px;
	gap: 20px;
	width: 100%;
	height: 100%;
	position: relative;
}

.teacher-row-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(47, 87, 239, 0.08);
	border-color: rgba(47, 87, 239, 0.2);
}

.teacher-row-thumb {
	width: 135px;
	height: 92px;
	border-radius: 10px;
	overflow: hidden;
	background: #f8fafc;
	border: 1px solid #f1f5f9;
	flex-shrink: 0;
	position: relative;
	transition: transform 0.25s ease;
}

.teacher-row-card:hover .teacher-row-thumb {
	transform: scale(1.02);
}

.teacher-row-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.teacher-row-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 4px;
	flex-grow: 1;
	min-width: 0;
	/* Prevents overflow */
	padding-right: 60px;
	/* Give room for absolute actions on the right side */
}

.teacher-row-badges {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.teacher-row-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 !important;
	padding: 0 !important;
	color: #1e293b;
	line-height: 1.3;
	width: 100%;
	overflow: hidden;
}

.teacher-row-title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
	white-space: normal;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.teacher-row-title a:hover {
	color: #2f57ef;
}

.badge-category {
	background: rgba(47, 87, 239, 0.06) !important;
	color: #2f57ef !important;
	border: 1px solid rgba(47, 87, 239, 0.15) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	padding: 3px 10px !important;
	border-radius: 6px !important;
	text-transform: capitalize;
	display: inline-flex;
	align-items: center;
	line-height: 1.2;
	flex-shrink: 0;
	/* Prevent badge from shrinking */
}

.teacher-row-meta {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 6px 12px !important;
	margin: 2px 0 0 0 !important;
	padding: 0 !important;
	list-style: none !important;
	color: #64748b !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

.teacher-row-meta li {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
}

.teacher-row-author-name,
.study-material-author-name {
	display: inline-block !important;
	max-width: 135px;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	vertical-align: bottom;
}

.teacher-row-meta li i {
	font-size: 14px;
	color: #94a3b8;
}

.teacher-row-meta-separator {
	display: none !important;
}

.teacher-row-actions {
	position: absolute;
	bottom: 16px;
	right: 20px;
	z-index: 10;
}

.teacher-row-card .dropdown {
	position: absolute;
	top: 16px;
	right: 20px;
	z-index: 10;
}

.btn-manage-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #2f57ef;
	border: 1px solid #2f57ef;
	color: #ffffff !important;
	border-radius: 50%;
	width: 38px;
	height: 38px;
	padding: 0;
	transition: all 0.2s ease;
	text-decoration: none;
}

.btn-manage-action:hover {
	background: #1d3ed3;
	border-color: #1d3ed3;
	box-shadow: 0 4px 12px rgba(47, 87, 239, 0.25);
	transform: scale(1.05);
}

.btn-manage-action i {
	font-size: 14px;
	color: #ffffff;
}

.badge-management-success {
	background: #f0fdf4;
	color: #16a34a;
	border: 1px solid #bbf7d0;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
	align-self: flex-start;
	line-height: 1.2;
	flex-shrink: 0;
}

.badge-management-warning {
	background: #fffbeb;
	color: #d97706;
	border: 1px solid #fde68a;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
	align-self: flex-start;
	line-height: 1.2;
	flex-shrink: 0;
}

.badge-management-danger {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 4px;
	display: inline-block;
	align-self: flex-start;
	line-height: 1.2;
	flex-shrink: 0;
}

/* XXL Screens but slightly compact to avoid cramping (1400px to 1499px) */
@media (min-width: 1400px) and (max-width: 1499px) {
	.teacher-row-card {
		padding: 16px 18px;
		gap: 16px;
	}

	.teacher-row-thumb {
		width: 110px;
		height: 75px;
	}

	.teacher-row-content {
		padding-right: 50px;
	}

	.teacher-row-title {
		font-size: 16px;
	}

	.teacher-row-meta {
		font-size: 12px !important;
		gap: 4px 10px !important;
	}

	.teacher-row-actions {
		bottom: 12px;
		right: 14px;
	}

	.teacher-row-card .dropdown {
		top: 12px;
		right: 14px;
	}
}

/* Medium Laptops & Desktops (992px to 1399px) */
@media (min-width: 992px) and (max-width: 1399px) {
	.teacher-row-card {
		padding: 16px 18px;
		gap: 16px;
	}

	.teacher-row-thumb {
		width: 110px;
		height: 75px;
	}

	.teacher-row-content {
		padding-right: 50px;
	}

	.teacher-row-title {
		font-size: 16px;
	}

	.teacher-row-meta {
		font-size: 12px !important;
		gap: 4px 10px !important;
	}

	.teacher-row-actions {
		bottom: 12px;
		right: 14px;
	}

	.teacher-row-card .dropdown {
		top: 12px;
		right: 14px;
	}
}

/* Tablets (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
	.teacher-row-card {
		padding: 18px 20px;
		gap: 16px;
	}

	.teacher-row-thumb {
		width: 120px;
		height: 82px;
	}

	.teacher-row-content {
		padding-right: 55px;
	}

	.teacher-row-title {
		font-size: 17px;
	}

	.teacher-row-meta {
		font-size: 12px !important;
		gap: 4px 10px !important;
	}

	.teacher-row-actions {
		bottom: 14px;
		right: 16px;
	}

	.teacher-row-card .dropdown {
		top: 14px;
		right: 16px;
	}
}

/* Mobile Screens (up to 767px) */
@media (max-width: 767px) {
	.teacher-row-card {
		padding: 12px 14px;
		gap: 12px;
	}

	.teacher-row-thumb {
		width: 95px;
		height: 64px;
	}

	.teacher-row-badges {
		gap: 6px;
	}

	.teacher-row-title {
		font-size: 14px;
	}

	.teacher-row-title a {
		white-space: normal;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.teacher-row-content {
		padding-right: 50px;
	}

	.teacher-row-meta {
		font-size: 11px !important;
		gap: 4px 8px !important;
	}

	.teacher-row-actions {
		bottom: 10px;
		right: 12px;
	}

	.teacher-row-card .dropdown {
		top: 10px;
		right: 12px;
	}
}


/* Modernized Top Header Section & Control Actions (New Theme Style) */
.qb-actions .rbt-btn {
	border-radius: 10px !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 0 20px !important;
	height: 40px !important;
	line-height: 38px !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.qb-actions a[href*="createtest"],
.qb-actions a[href*="addquestionbank"],
.qb-actions #open-create-folder-modal-btn,
.qb-actions label[for="sm-file-input"],
.qb-actions .btn-primary-action {
	background: #2f57ef !important;
	border-color: #2f57ef !important;
	color: #ffffff !important;
}

.qb-actions a[href*="createtest"]:hover,
.qb-actions a[href*="addquestionbank"]:hover {
	background: #1d3ed3 !important;
	border-color: #1d3ed3 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(47, 87, 239, 0.3) !important;
}

.qb-actions .btn-border {
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	color: #475569 !important;
}

.qb-actions .btn-border:hover {
	background: #f8fafc !important;
	border-color: #94a3b8 !important;
	color: #1e293b !important;
}

/* Modern Search Form */
.rbt-search-style-1 {
	position: relative;
	display: flex;
	align-items: center;
	height: 45px;
}

.rbt-search-style-1 input#search {
	height: 45px !important;
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	padding: 0 48px 0 16px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #1e293b !important;
	transition: all 0.2s ease !important;
	width: 100% !important;
}

.rbt-search-style-1 input#search:focus {
	border-color: #2f57ef !important;
	box-shadow: 0 0 0 3px rgba(47, 87, 239, 0.1) !important;
	outline: none !important;
}

.rbt-search-style-1 .search-btn {
	position: absolute !important;
	right: 12px !important;
	top: 50% !important;
	transform: translateY(-50%) !important;
	background: transparent !important;
	border: none !important;
	color: #64748b !important;
	font-size: 16px !important;
	cursor: pointer !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.rbt-search-style-1 .search-btn:hover {
	color: #2f57ef !important;
}

/* Layout Toggler Capsule Group */
.layout-toggle-group {
	display: flex;
	align-items: center;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 4px;
	height: 45px;
	gap: 4px;
}

.layout-toggle-group button {
	border: none !important;
	outline: none !important;
	border-radius: 7px !important;
	height: 35px !important;
	width: 38px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	font-size: 15px !important;
}

.layout-toggle-group button.active-layout {
	background: #ffffff !important;
	color: #2f57ef !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
}

.layout-toggle-group button.inactive-layout {
	background: transparent !important;
	color: #64748b !important;
}

.layout-toggle-group button.inactive-layout:hover {
	color: #1e293b !important;
	background: rgba(0, 0, 0, 0.03) !important;
}

/* Modern Filter Button */
.filter-btn-new {
	height: 45px !important;
	width: 45px !important;
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	color: #475569 !important;
	font-size: 16px !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
	padding: 0 !important;
}

.filter-btn-new:hover {
	background: #f8fafc !important;
	border-color: #94a3b8 !important;
	color: #2f57ef !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Responsive Mobile Breadcrumbs */
@media (max-width: 767px) {
	.breadcrumb-inner {
		background: #f8fafc;
		padding: 8px 12px;
		border-radius: 8px;
		margin-bottom: 15px !important;
		overflow: visible;
		white-space: normal;
		border: 1px solid rgba(0, 0, 0, 0.03);
	}

	.breadcrumb-inner::-webkit-scrollbar {
		display: none;
	}

	.breadcrumb-inner .page-list {
		display: flex !important;
		align-items: center;
		flex-wrap: wrap !important;
		gap: 6px 0 !important;
		padding: 0;
		margin: 0;
		list-style: none;
	}

	.breadcrumb-inner .page-list li {
		display: inline-flex;
		align-items: center;
		font-size: 12px !important;
		white-space: normal;
	}

	.breadcrumb-inner .page-list li a {
		font-size: 12px !important;
	}

	.breadcrumb-inner .page-list li.rbt-breadcrumb-item.active {
		color: #64748b;
	}

	.breadcrumb-inner .page-list li .icon-right {
		margin: 0 4px;
		font-size: 10px;
		color: #94a3b8;
		display: flex;
		align-items: center;
	}
}

/* Premium General Design System Components */
.premium-table-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.02);
	padding: 24px;
	margin-top: 30px;
}

.premium-table {
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.premium-table th {
	background-color: #f9fafb;
	color: #4b5563;
	font-weight: 700;
	font-size: 14px;
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid #f3f4f6;
}

.premium-table td {
	padding: 16px 20px;
	color: #1f2937;
	font-size: 15px;
	border-bottom: 1px solid #f3f4f6;
	vertical-align: middle;
}

.premium-btn-add,
.premium-btn-save {
	background: linear-gradient(135deg, var(--color-primary, #1c64f2) 0%, var(--color-secondary, #6875f5) 100%) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 600 !important;
	padding: 10px 24px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
}

.premium-btn-add:hover,
.premium-btn-save:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(28, 100, 242, 0.25);
	opacity: 0.95;
}

.premium-btn-cancel {
	background: #f1f5f9 !important;
	color: #475569 !important;
	border: 1px solid #e2e8f0 !important;
	font-weight: 600 !important;
	padding: 10px 24px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
}

.premium-btn-cancel:hover {
	background: #e2e8f0 !important;
	color: #1e293b !important;
}

.premium-btn-secondary {
	background: #f1f5f9 !important;
	color: #475569 !important;
	border: 1px solid #e2e8f0 !important;
	font-weight: 600 !important;
	padding: 10px 24px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	text-decoration: none;
}

.premium-btn-secondary:hover {
	background: #e2e8f0 !important;
	color: #1e293b !important;
}

.premium-badge-active {
	background-color: #def7ec;
	color: #03543f;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
}

.premium-badge-blocked {
	background-color: #fde8e8;
	color: #9b1c1c;
	padding: 6px 12px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	display: inline-block;
}

.premium-action-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(28, 100, 242, 0.05);
	color: var(--color-primary, #1c64f2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	border: none;
}

.premium-action-btn:hover {
	background: var(--color-primary, #1c64f2);
	color: #ffffff;
}

.premium-action-btn-danger {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: rgba(239, 68, 68, 0.05);
	color: #ef4444;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
	border: none;
}

.premium-action-btn-danger:hover {
	background: #ef4444;
	color: #ffffff;
}

.premium-form-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.02);
	padding: 35px;
	margin-top: 30px;
}

.premium-input-group {
	position: relative;
	margin-bottom: 24px;
}

.premium-input-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #4b5563;
	margin-bottom: 8px;
}

.premium-input {
	width: 100%;
	padding: 12px 16px !important;
	font-size: 15px !important;
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 10px !important;
	transition: all 0.3s ease !important;
	color: #1f2937;
	height: 48px !important;
}

.premium-input:focus {
	border-color: var(--color-primary, #1c64f2) !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.08) !important;
	outline: none !important;
}

.premium-input:disabled,
.premium-input[disabled],
.premium-input[readonly],
.premium-input:read-only,
input.premium-input[disabled],
input.premium-input[readonly] {
	display: block !important;
	background: #f3f4f6 !important;
	background-color: #f3f4f6 !important;
	color: #6b7280 !important;
	cursor: not-allowed !important;
	border: 1px solid #e5e7eb !important;
	border-color: #e5e7eb !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.premium-input:disabled:focus,
.premium-input[disabled]:focus,
.premium-input[readonly]:focus,
.premium-input:read-only:focus,
input.premium-input[disabled]:focus,
input.premium-input[readonly]:focus {
	border-color: #e5e7eb !important;
	box-shadow: none !important;
	outline: none !important;
}

.mobile-list-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 14px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
	transition: all 0.2s ease;
	padding: 20px;
	margin-bottom: 16px;
}

.mobile-list-card:hover {
	border-color: rgba(28, 100, 242, 0.15);
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.04);
}

/* Modals redesign */
.premium-modal .modal-content {
	border-radius: 20px !important;
	border: none !important;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
	overflow: hidden !important;
	padding: 0 !important;
}

.premium-modal .modal-header {
	border-bottom: none !important;
	padding: 20px 24px !important;
}

.premium-modal .modal-body {
	padding: 24px !important;
}

.premium-modal .modal-footer {
	border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
	padding: 20px 24px !important;
}

/* Premium Search Box */
.premium-search-box {
	position: relative;
	width: 100%;
}

.premium-search-input {
	width: 100%;
	padding: 12px 20px 12px 48px !important;
	font-size: 15px !important;
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 12px !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02) !important;
	transition: all 0.3s ease !important;
	color: #1f2937;
	height: 48px !important;
}

.premium-search-input:focus {
	border-color: var(--color-primary, #1c64f2) !important;
	box-shadow: 0 8px 24px rgba(28, 100, 242, 0.08) !important;
	outline: none !important;
}

.premium-search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	font-size: 18px;
	pointer-events: none;
	transition: color 0.2s ease;
	border: none;
	background: none;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.premium-search-input:focus+.premium-search-icon {
	color: var(--color-primary, #1c64f2);
}

/* Premium Tab Navigation */
.premium-tabs-nav {
	display: inline-flex !important;
	gap: 6px;
	padding: 2px 4px;
	background: #f1f5f9;
	border-radius: 10px;
	border: none !important;
	margin: 0px !important;
}

.premium-tabs-nav li {
	margin: 0 !important;
}

.premium-tabs-nav .nav-link,
.premium-tabs-nav .tab-button {
	border: none !important;
	background: transparent !important;
	color: #64748b !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 6px 16px !important;
	border-radius: 6px !important;
	transition: all 0.2s ease !important;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
}

.premium-tabs-nav .nav-link.active,
.premium-tabs-nav .tab-button.active {
	background: #ffffff !important;
	color: var(--color-primary, #1c64f2) !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
}

/* Tab Card Spacing & Button Equalization */
.premium-btn-group {
	display: flex !important;
	gap: 12px !important;
	justify-content: flex-end;
	align-items: center;
	width: 100%;
}

.premium-btn-group .premium-btn-save,
.premium-btn-group .premium-btn-cancel,
.premium-btn-group .premium-btn-add,
.premium-btn-group .premium-btn-secondary,
.premium-btn-group button,
.premium-btn-group a {
	flex: 0 0 auto !important;
	min-width: 130px !important;
	height: 44px !important;
	padding: 10px 24px !important;
	font-size: 14px !important;
	border-radius: 10px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
}

/* Upload Zone Premium Style */
.premium-upload-container {
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	padding: 40px 20px;
	text-align: center;
	background: #f8fafc;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}

.premium-upload-container:hover,
.premium-upload-container.drag-over {
	border-color: var(--color-primary, #1c64f2);
	background: rgba(28, 100, 242, 0.02);
}

.premium-upload-icon {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	font-size: 32px;
	color: #94a3b8;
	margin-bottom: 12px;
	transition: color 0.2s ease;
}

.premium-upload-container:hover .premium-upload-icon {
	color: var(--color-primary, #1c64f2);
}

.premium-upload-text {
	font-size: 15px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 4px;
}

.premium-upload-subtext {
	font-size: 13px;
	color: #64748b;
}

.file-info-card {
	display: none;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-top: 10px;
	text-align: left;
}

.file-info-card i {
	font-size: 24px;
	color: var(--color-primary, #1c64f2);
}

.file-info-card .span-ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 250px;
}

/* Premium Badges for Statuses */
.premium-badge-accepted {
	background-color: #def7ec !important;
	color: #03543f !important;
	padding: 6px 12px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	display: inline-block !important;
	text-transform: capitalize;
}

.premium-badge-declined {
	background-color: #fde8e8 !important;
	color: #9b1c1c !important;
	padding: 6px 12px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	display: inline-block !important;
	text-transform: capitalize;
}

.premium-badge-pending {
	background-color: #fef3c7 !important;
	color: #b45309 !important;
	padding: 6px 12px !important;
	border-radius: 8px !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	display: inline-block !important;
	text-transform: capitalize;
}

/* Global override to remove border line in all modal headers */
.modal-header,
#btn-close-edit-modal,
#btn-close-bulk-invite-modal {
	border-bottom: none !important;
}

/* Premium Dashboard Navigation Cards */
.premium-dashboard-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05) !important;
	border-radius: 16px !important;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.01) !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	text-decoration: none !important;
}

.premium-dashboard-card:hover {
	transform: translateY(-4px) !important;
	border-color: rgba(28, 100, 242, 0.2) !important;
	box-shadow: 0 12px 30px rgba(28, 100, 242, 0.08) !important;
}

.premium-card-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: rgba(28, 100, 242, 0.06);
	color: var(--color-primary, #1c64f2);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	transition: all 0.3s ease;
}

.premium-dashboard-card:hover .premium-card-icon {
	background: var(--color-primary, #1c64f2) !important;
	color: #ffffff !important;
}

.premium-card-arrow {
	transition: transform 0.3s ease !important;
}

.premium-dashboard-card:hover .premium-card-arrow {
	transform: translateX(4px) !important;
}

.premium-card-action {
	padding-top: 16px;
	border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* ==========================================================================
   Premium Slide-out Info Sidebars
   ========================================================================== */
div.offcanvas[id*="infosidebar" i] {
	font-family: 'Euclid Circular A', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
	background: rgba(255, 255, 255, 0.96) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
	border-left: 1px solid rgba(0, 0, 0, 0.06) !important;
	box-shadow: -10px 0 40px rgba(15, 23, 42, 0.04) !important;
	width: 480px !important;
	max-width: 100% !important;
}

/* Header customization */
div.offcanvas[id*="infosidebar" i] .offcanvas-header {
	padding: 24px 28px !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
	background: rgba(255, 255, 255, 0.8) !important;
}

div.offcanvas[id*="infosidebar" i] .offcanvas-title {
	font-size: 28px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	letter-spacing: -0.5px !important;
	line-height: 1.2 !important;
}

/* Modern Close Button */
div.offcanvas[id*="infosidebar" i] .btn-close {
	background-color: #f1f5f9 !important;
	border-radius: 50% !important;
	padding: 10px !important;
	font-size: 11px !important;
	transition: all 0.2s ease !important;
	opacity: 0.7 !important;
	border: 1px solid rgba(0, 0, 0, 0.03) !important;
}

div.offcanvas[id*="infosidebar" i] .btn-close:hover {
	background-color: #e2e8f0 !important;
	opacity: 1 !important;
	transform: rotate(90deg) !important;
}

/* Body Content */
div.offcanvas[id*="infosidebar" i] .px-5.py-10,
div.offcanvas[id*="infosidebar" i] .offcanvas-body {
	padding: 28px !important;
}

/* Description Subtitle */
div.offcanvas[id*="infosidebar" i] p.text-muted,
div.offcanvas[id*="infosidebar" i] .text-muted.mb-4 {
	font-size: 14px !important;
	line-height: 1.6 !important;
	color: #64748b !important;
	margin-bottom: 28px !important;
}

/* Settings Explained Title */
div.offcanvas[id*="infosidebar" i] h6.text-muted {
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	color: #94a3b8 !important;
	margin-bottom: 16px !important;
}

/* Floating Help Cards */
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-3,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-4 {
	background: #ffffff !important;
	border: 1px solid rgba(226, 232, 240, 0.7) !important;
	border-radius: 14px !important;
	padding: 18px !important;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01) !important;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin-bottom: 16px !important;
	align-items: flex-start !important;
}

div.offcanvas[id*="infosidebar" i] .d-flex.gap-3:hover,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-3:hover,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-4:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 8px 24px rgba(28, 100, 242, 0.06) !important;
	border-color: rgba(28, 100, 242, 0.15) !important;
}

/* Reset for internal/tip boxes */
div.offcanvas[id*="infosidebar" i] .rounded-3 .d-flex.gap-3,
div.offcanvas[id*="infosidebar" i] .bg-light .d-flex.gap-3,
div.offcanvas[id*="infosidebar" i] .rounded-3 .d-flex,
div.offcanvas[id*="infosidebar" i] .bg-light .d-flex {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	margin-bottom: 0 !important;
	transform: none !important;
}

/* Help Card Title and Content */
div.offcanvas[id*="infosidebar" i] .fw-semibold:not(.offcanvas-title) {
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
	margin-bottom: 4px !important;
}

div.offcanvas[id*="infosidebar" i] small.text-muted {
	font-size: 13px !important;
	line-height: 1.5 !important;
	color: #64748b !important;
	display: inline-block !important;
}

/* Colored Icon Badges */
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3>span:first-child,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3>i:first-child,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-3>span:first-child,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-3>i:first-child,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-4>span:first-child,
div.offcanvas[id*="infosidebar" i] .d-flex.gap-3.mb-4>i:first-child {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 38px !important;
	height: 38px !important;
	border-radius: 10px !important;
	font-size: 16px !important;
	flex-shrink: 0 !important;
	margin: 0 !important;
	transition: all 0.2s ease !important;
}

/* Reset badges in tip boxes */
div.offcanvas[id*="infosidebar" i] .rounded-3 .d-flex.gap-3>span:first-child,
div.offcanvas[id*="infosidebar" i] .rounded-3 .d-flex.gap-3>i:first-child,
div.offcanvas[id*="infosidebar" i] .bg-light .d-flex.gap-3>span:first-child,
div.offcanvas[id*="infosidebar" i] .bg-light .d-flex.gap-3>i:first-child,
div.offcanvas[id*="infosidebar" i] .rounded-3 .d-flex>i:first-child,
div.offcanvas[id*="infosidebar" i] .bg-light .d-flex>i:first-child {
	background: transparent !important;
	width: auto !important;
	height: auto !important;
	border-radius: 0 !important;
	margin-right: 8px !important;
}

/* Custom Soft Opacity Badges mapped from text colors */
div.offcanvas[id*="infosidebar" i] .text-primary,
div.offcanvas[id*="infosidebar" i] .text-dark {
	background-color: rgba(28, 100, 242, 0.08) !important;
	color: #1c64f2 !important;
}

div.offcanvas[id*="infosidebar" i] .text-success {
	background-color: rgba(16, 185, 129, 0.08) !important;
	color: #10b981 !important;
}

div.offcanvas[id*="infosidebar" i] .text-warning {
	background-color: rgba(245, 158, 11, 0.08) !important;
	color: #f59e0b !important;
}

div.offcanvas[id*="infosidebar" i] .text-danger {
	background-color: rgba(239, 68, 68, 0.08) !important;
	color: #ef4444 !important;
}

div.offcanvas[id*="infosidebar" i] .text-info {
	background-color: rgba(6, 182, 212, 0.08) !important;
	color: #06b6d4 !important;
}

/* Premium Bottom Tip Box */
div.offcanvas[id*="infosidebar" i] .rounded-3.p-3.bg-light.border,
div.offcanvas[id*="infosidebar" i] .p-3.bg-light.border,
div.offcanvas[id*="infosidebar" i] .rounded-3.p-3.bg-light {
	background: linear-gradient(135deg, rgba(28, 100, 242, 0.03) 0%, rgba(104, 117, 245, 0.03) 100%) !important;
	border: 1px solid rgba(28, 100, 242, 0.08) !important;
	border-radius: 14px !important;
	padding: 20px !important;
	box-shadow: 0 4px 15px rgba(28, 100, 242, 0.01) !important;
	margin-top: 24px !important;
}

div.offcanvas[id*="infosidebar" i] .rounded-3.p-3.bg-light.border .feather-help-circle,
div.offcanvas[id*="infosidebar" i] .rounded-3.p-3.bg-light.border .feather-save {
	color: #1c64f2 !important;
	font-size: 18px !important;
}

div.offcanvas[id*="infosidebar" i] .rounded-3.p-3.bg-light.border .fw-semibold {
	font-size: 14px !important;
	font-weight: 600 !important;
	color: #1e293b !important;
}

.offcanvas-title {
	font-size: 26px !important;
	font-weight: 700 !important;
}

/* ==========================================================================
   QUESTION BANK REDESIGN PREMIUM STYLES
   ========================================================================== */

/* Main layout grid */
.qb-redesign-container {
	display: flex;
	flex-direction: row;
	gap: 30px;
	margin-top: 20px;
}

.qb-main-content {
	flex: 2;
	min-width: 0;
}

.qb-side-panel {
	flex: 1;
	min-width: 280px;
}

@media (max-width: 991px) {
	.qb-redesign-container {
		flex-direction: column;
		gap: 20px;
	}

	.qb-side-panel {
		width: 100%;
	}
}

/* Premium Card Wrapper */
.qb-card {
	background: #ffffff;
	border: 1px solid rgba(226, 232, 240, 0.8);
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.01);
	padding: 30px;
	margin-bottom: 24px;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.qb-card:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
	border-color: rgba(203, 213, 225, 0.8);
}

.qb-card-title {
	font-size: 18px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 20px;
	border-bottom: 1px solid #f1f5f9;
	padding-bottom: 12px;
}

/* Cover Image Upload Area */
.qb-cover-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: #f8fafc;
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	transition: all 0.3s ease;
	text-align: center;
}

.qb-cover-container:hover {
	border-color: #3b82f6;
	background: #f1f5f9;
}

.qb-cover-preview {
	position: relative;
	width: 120px;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	cursor: pointer;
}

.qb-cover-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.qb-cover-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.qb-cover-preview:hover .qb-cover-overlay {
	opacity: 1;
}

.qb-cover-btn {
	border: none;
	background: transparent;
	color: #ffffff;
	font-size: 24px;
	cursor: pointer;
}

/* Premium Form Elements */
.qb-form-group {
	margin-bottom: 24px;
}

.qb-form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 8px;
}

.qb-input-text {
	width: 100%;
	height: 48px !important;
	padding: 12px 16px !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 12px !important;
	font-size: 15px !important;
	color: #1f2937 !important;
	transition: all 0.2s ease;
	background-color: #ffffff !important;
	box-shadow: none !important;
}

.qb-input-text:focus {
	border-color: #1c64f2 !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.08) !important;
	outline: none !important;
}

/* Dropdown styling updates */
.qb-modern-select select,
.qb-modern-select .bootstrap-select .dropdown-toggle {
	width: 100%;
	height: 48px !important;
	padding: 12px 16px !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 10px !important;
	font-size: 15px !important;
	color: #1f2937 !important;
	background-color: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	box-shadow: none !important;
	transition: all 0.2s ease;
}

.qb-modern-select select:focus,
.qb-modern-select .bootstrap-select .dropdown-toggle:focus,
.qb-modern-select .bootstrap-select .dropdown-toggle:active {
	border-color: #1c64f2 !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.08) !important;
	outline: none !important;
}

.qb-modern-select .bootstrap-select .dropdown-toggle .caret {
	right: 20px !important;
	border-top: 4px solid !important;
	border-bottom: 0 !important;
	border-right: 4px solid transparent !important;
	border-left: 4px solid transparent !important;
	transform: rotate(0deg) !important;
	transition: transform 0.2s ease !important;
}

.qb-modern-select .bootstrap-select.show .dropdown-toggle .caret,
.qb-modern-select .bootstrap-select .dropdown-toggle[aria-expanded="true"] .caret {
	transform: rotate(180deg) !important;
}

/* Styling for dropdown options list in selectpicker */
.qb-modern-select .bootstrap-select .dropdown-menu {
	border: 1px solid #cbd5e1 !important;
	border-radius: 10px !important;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1) !important;
	padding: 6px !important;
	background-color: #ffffff !important;
	width: 100% !important;
	min-width: 100% !important;
	max-width: 100% !important;
	left: 0 !important;
	right: 0 !important;
	margin: 4px 0 0 0 !important;
}

.qb-modern-select .bootstrap-select .dropdown-menu li a {
	border-radius: 6px !important;
	padding: 8px 12px !important;
	font-size: 14px !important;
	color: #334155 !important;
	transition: background-color 0.15s ease, color 0.15s ease !important;
	background-color: #ffffff !important;
	display: block !important;
	width: 100% !important;
}

/* Hover and Focus States */
.qb-modern-select .bootstrap-select .dropdown-menu li a:hover,
.qb-modern-select .bootstrap-select .dropdown-menu .dropdown-item:hover,
.qb-modern-select .bootstrap-select .dropdown-menu .dropdown-item:focus {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
}

/* Active / Selected States (reverting blue to white/light-gray) */
.qb-modern-select .bootstrap-select .dropdown-menu li.active a,
.qb-modern-select .bootstrap-select .dropdown-menu li.selected a,
.qb-modern-select .bootstrap-select .dropdown-menu .dropdown-item.active,
.qb-modern-select .bootstrap-select .dropdown-menu .dropdown-item:active {
	background-color: #eff6ff !important;
	color: #1d4ed8 !important;
	font-weight: 600 !important;
}

/* Fix searchbox input styling inside bootstrap-select dropdown */
.qb-modern-select .bootstrap-select .bs-searchbox {
	padding: 6px 6px 10px 6px !important;
}

.qb-modern-select .bootstrap-select .bs-searchbox .form-control {
	height: 38px !important;
	padding: 8px 12px !important;
	font-size: 14px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 8px !important;
	background-color: #ffffff !important;
	margin-bottom: 0 !important;
	box-shadow: none !important;
}

.qb-modern-select .bootstrap-select .bs-searchbox .form-control:focus {
	border-color: #3b82f6 !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
	outline: none !important;
}

/* Action Boxes / Integration Control Areas */
.qb-action-box {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	margin-bottom: 16px;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.qb-action-box:hover {
	border-color: #cbd5e1;
	background: #f1f5f9;
}

.qb-action-info {
	display: flex;
	flex-direction: column;
}

.qb-action-title {
	font-weight: 600;
	font-size: 14px;
	color: #334155;
}

.qb-action-badge {
	display: inline-block;
	padding: 4px 8px;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 600;
	border-radius: 6px;
	margin-top: 4px;
	align-self: flex-start;
}

/* Premium Validation States */
.question-error-message {
	background-color: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	padding: 14px 20px;
	font-size: 14px;
	margin: 12px 20px;
	font-weight: 500;
	border-radius: 8px;
	align-items: center;
	gap: 8px;
}

.question-invalid {
	border: 1.5px solid #ef4444 !important;
	box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

/* Update the old alert validation design in tests/assessments to match the new question-error-message style */
#question-section #alert.bg-coral-opacity,
#form #alert.bg-coral-opacity,
#question-section .alert.bg-coral-opacity,
#form .alert.bg-coral-opacity {
	background-color: #fef2f2 !important;
	color: #dc2626 !important;
	border: 1px solid #fecaca !important;
	padding: 14px 20px !important;
	font-size: 14px !important;
	margin: 12px 20px !important;
	font-weight: 500 !important;
	border-radius: 8px !important;
	display: block !important;
	gap: 8px !important;
}

/* Premium Rectangular Buttons */
.qb-btn-premium {
	background: linear-gradient(135deg, var(--color-primary, #1c64f2) 0%, var(--color-secondary, #6875f5) 100%) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 600 !important;
	padding: 12px 30px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.15) !important;
	font-size: 15px !important;
	height: 48px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.qb-btn-premium:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 16px rgba(28, 100, 242, 0.25) !important;
	opacity: 0.95 !important;
	color: #ffffff !important;
}

/* Global Capsule Segmented Tab Switcher */
.app-tabs-nav {
	display: inline-flex !important;
	background: #f1f3f6 !important;
	padding: 5px !important;
	border-radius: 100px !important;
	border: 1px solid rgba(230, 227, 241, 0.6) !important;
	gap: 4px !important;
	align-items: center !important;
	width: fit-content !important;
	list-style: none !important;
	margin: 0 !important;
}

.app-tab-trigger {
	position: relative !important;
	padding: 8px 22px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	color: var(--app-body, #6b7385) !important;
	border-radius: 100px !important;
	border: none !important;
	background: transparent !important;
	cursor: pointer !important;
	transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1) !important;
	line-height: 1.4 !important;
	user-select: none !important;
	text-decoration: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.app-tab-trigger:hover:not(.active) {
	color: var(--app-dark, #1f2937) !important;
}

.app-tab-trigger.active {
	background: #ffffff !important;
	color: var(--app-primary, #1c64f2) !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 575.98px) {
	.app-tabs-nav {
		display: inline-flex !important;
		max-width: 100% !important;
		overflow-x: auto !important;
	}
	.app-tab-trigger {
		padding: 7px 16px !important;
		font-size: 13px !important;
		white-space: nowrap !important;
	}
}

/* Capsule Segmented Switcher Tab Control */
.qb-tab-segmented {
	background: #f1f5f9 !important;
	padding: 6px !important;
	border-radius: 14px !important;
	display: inline-flex !important;
	align-items: center !important;
	border: 1px solid rgba(0, 0, 0, 0.04) !important;
}

.qb-tab-segmented ul.nav-tabs {
	background: transparent !important;
	border: none !important;
	display: flex !important;
	flex-direction: row !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 4px !important;
}

.qb-tab-segmented ul.nav-tabs li {
	margin: 0 !important;
	padding: 0 !important;
}

.qb-tab-segmented ul.nav-tabs li a.tab-button {
	background: transparent !important;
	border: none !important;
	padding: 10px 24px !important;
	border-radius: 10px !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	color: #475569 !important;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}

.qb-tab-segmented ul.nav-tabs li a.tab-button::after {
	display: none !important;
}

.qb-tab-segmented ul.nav-tabs li a.tab-button.active {
	background: #ffffff !important;
	color: #1c64f2 !important;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.qb-tab-segmented ul.nav-tabs li a.tab-button:hover:not(.active) {
	color: #0f172a !important;
}

/* Responsive subject/section tabs horizontal scroll on small screens */
.advance-tab-button,
.qb-tab-segmented {
	max-width: 100% !important;
	overflow-x: auto !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

.advance-tab-button::-webkit-scrollbar,
.qb-tab-segmented::-webkit-scrollbar,
#sm-pages-header::-webkit-scrollbar,
#btns-pages-sm::-webkit-scrollbar,
#btns-pages-lg::-webkit-scrollbar {
	display: none !important;
}

.tab-button-style-2,
.qb-tab-segmented ul.nav-tabs {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: max-content !important;
	white-space: nowrap !important;
	gap: 3px !important;
}

.tab-button-style-2 li,
.qb-tab-segmented ul.nav-tabs li {
	flex: 0 0 auto !important;
	white-space: nowrap !important;
}

.tab-button-style-2 .tab-button,
.qb-tab-segmented ul.nav-tabs li a.tab-button {
	white-space: nowrap !important;
	padding: 6px 12px !important;
	font-size: 13px !important;
}

@media (max-width: 1400px) {
	.tab-button-style-2,
	.qb-tab-segmented ul.nav-tabs {
		gap: 2px !important;
	}
	.tab-button-style-2 .tab-button,
	.qb-tab-segmented ul.nav-tabs li a.tab-button {
		padding: 5px 10px !important;
		font-size: 12px !important;
	}
}

@media (max-width: 991px) {
	.tab-button-style-2,
	.qb-tab-segmented ul.nav-tabs {
		gap: 2px !important;
	}
	.tab-button-style-2 .tab-button,
	.qb-tab-segmented ul.nav-tabs li a.tab-button {
		padding: 4px 8px !important;
		font-size: 11px !important;
	}
}

#sm-pages-header {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto !important;
	white-space: nowrap !important;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

#sm-pages-header .page-item-sm {
	flex: 0 0 auto !important;
	white-space: nowrap !important;
}


/* Center Assignment Modal Redesign */
#assignCentersModal .modal-content {
	border-radius: 20px !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
	background-color: #ffffff !important;
	padding: 10px !important;
}

#assignCentersModal .modal-header {
	border-bottom: none !important;
	padding: 15px 20px 0 20px !important;
}

#assignCentersModal .modal-body {
	padding: 0 20px 20px 20px !important;
}

#assignCentersModal .title {
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	margin: 0 !important;
}

#assignCentersModal .table {
	table-layout: fixed !important;
	width: 100% !important;
	border-collapse: separate !important;
	border-spacing: 0 !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	border: 1px solid #e2e8f0 !important;
	margin-top: 15px !important;
}

#assignCentersModal .table thead tr {
	background-color: #f8fafc !important;
}

#assignCentersModal .table th {
	font-weight: 600 !important;
	font-size: 13px !important;
	color: #475569 !important;
	padding: 12px 16px !important;
	border-bottom: 1px solid #e2e8f0 !important;
	border-top: none !important;
}

#assignCentersModal .table td {
	padding: 12px 16px !important;
	font-size: 14px !important;
	color: #334155 !important;
	border-bottom: 1px solid #f1f5f9 !important;
	border-top: none !important;
	word-wrap: break-word !important;
	word-break: break-word !important;
	white-space: normal !important;
}

#assignCentersModal .table tbody tr:last-child td {
	border-bottom: none !important;
}

/* Redesign the Remove Button in Center Modal to match Add Button */
.qb-btn-danger {
	background: #ef4444 !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 600 !important;
	padding: 10px 24px !important;
	border-radius: 10px !important;
	font-size: 15px !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 44px !important;
	min-width: 100px !important;
}

.qb-btn-danger:hover {
	background: #dc2626 !important;
	transform: translateY(-1px) !important;
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2) !important;
}

/* Trim center name after 2 lines with ellipsis */
#assignCentersModal .table td div.fw-bold {
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	word-break: break-all !important;
}

/* ==========================================
   Media Library Redesign Style System
   ========================================== */
.media-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

.media-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.media-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(47, 87, 239, 0.08);
	border-color: rgba(47, 87, 239, 0.25);
}

.media-card-preview {
	position: relative;
	height: 180px;
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: center;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	overflow: hidden;
}

.top-circle-shape {
	pointer-events: none !important;
}

.media-card-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
	transition: transform 0.3s ease;
}

.media-card:hover .media-card-preview img {
	transform: scale(1.04);
}

.media-card-actions {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 10;
}

.media-card-actions .btn-action {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #475569;
	padding: 0;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease;
}

.media-card-actions .btn-action:hover {
	background: #ffffff;
	color: #2f57ef;
	transform: scale(1.05);
}

.media-card-footer {
	padding: 16px;
	background: #ffffff;
	border-top: 1px solid #f1f5f9;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 12px;
}

.media-card-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.media-tag {
	background: #f1f5f9;
	color: #475569;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: 6px;
	max-width: 100%;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

.media-tag-empty {
	color: #94a3b8;
	font-size: 11px;
	font-style: italic;
}

/* Modern Button Designs */
.btn-modern-primary {
	background: #2f57ef !important;
	border: 1px solid #2f57ef !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 8px 20px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 40px !important;
	cursor: pointer !important;
	line-height: 1.2 !important;
}

.btn-modern-primary:hover {
	background: #1d3ed3 !important;
	border-color: #1d3ed3 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(47, 87, 239, 0.25) !important;
}

.btn-modern-secondary {
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	color: #475569 !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 8px 20px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 40px !important;
	cursor: pointer !important;
	text-decoration: none !important;
	line-height: 1.2 !important;
}

.btn-modern-secondary:hover {
	background: #f8fafc !important;
	border-color: #94a3b8 !important;
	color: #1e293b !important;
}

.btn-modern-danger {
	background: #ef4444 !important;
	border: 1px solid #ef4444 !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-size: 14px !important;
	padding: 8px 20px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 40px !important;
	cursor: pointer !important;
	line-height: 1.2 !important;
}

.btn-modern-danger:hover {
	background: #dc2626 !important;
	border-color: #dc2626 !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

/* Premium Quota Cards */
.quota-balance-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 30px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	position: relative;
	overflow: hidden;
}

.quota-balance-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 6px;
	height: 100%;
	background: #2f57ef;
}

.quota-balance-card.warning::before {
	background: #f59e0b;
}

.quota-balance-card.danger::before {
	background: #ef4444;
}

.quota-balance-card.success::before {
	background: #10b981;
}

.quota-balance-info {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.quota-balance-label {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #64748b;
	letter-spacing: 0.5px;
}

.quota-balance-value {
	font-size: 32px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
}

.quota-balance-value .unit {
	font-size: 16px;
	font-weight: 600;
	color: #64748b;
	margin-left: 4px;
}

.quota-balance-icon {
	width: 60px;
	height: 60px;
	border-radius: 14px;
	background: rgba(47, 87, 239, 0.06);
	color: #2f57ef;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

.quota-balance-card.warning .quota-balance-icon {
	background: rgba(245, 158, 11, 0.06);
	color: #f59e0b;
}

.quota-balance-card.danger .quota-balance-icon {
	background: rgba(239, 68, 68, 0.06);
	color: #ef4444;
}

.quota-balance-card.success .quota-balance-icon {
	background: rgba(16, 185, 129, 0.06);
	color: #10b981;
}

/* Quota table modifications */
.badge-quota-credit {
	background: #f0fdf4;
	color: #16a34a;
	border: 1px solid #bbf7d0;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 8px;
	display: inline-block;
}

.badge-quota-debit {
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
	font-weight: 600;
	padding: 6px 12px;
	border-radius: 8px;
	display: inline-block;
}

/* Credit option selectors */
.credit-option {
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	font-weight: 700;
	color: #475569;
	cursor: pointer;
	transition: all 0.2s ease;
}

.credit-option:hover {
	border-color: #cbd5e1;
	background: #f1f5f9;
}

.credit-option.selected {
	border-color: #2f57ef;
	background: rgba(47, 87, 239, 0.04);
	color: #2f57ef;
}

.media-card-actions .dropdown-menu .dropdown-item:hover,
.media-card-actions .dropdown-menu .dropdown-item:active,
.media-card-actions .dropdown-menu .dropdown-item:focus {
	background-color: #f1f5f9 !important;
	color: #0f172a !important;
}

.media-card-actions .dropdown-menu .dropdown-item.text-danger:hover,
.media-card-actions .dropdown-menu .dropdown-item.text-danger:active,
.media-card-actions .dropdown-menu .dropdown-item.text-danger:focus {
	background-color: #fef2f2 !important;
	color: #dc2626 !important;
}

/* ============================================
   Modern Settings Profile Redesign
   ============================================ */
.profile-header-container {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
	margin-bottom: 30px;
}

.settings-cover-wrapper {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	height: 220px;
	background-size: cover;
	background-position: center;
}

.settings-cover-edit-btn {
	position: absolute;
	bottom: 15px;
	right: 15px;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	padding: 8px 16px;
	border-radius: 30px;
	font-size: 13px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 10;
}

.settings-cover-edit-btn:hover {
	background: rgba(15, 23, 42, 0.8);
	transform: translateY(-1px);
}

.settings-cover-remove-btn {
	position: absolute;
	bottom: 15px;
	right: 140px;
	background: rgba(239, 68, 68, 0.85);
	backdrop-filter: blur(4px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: #ffffff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 10;
}

.settings-cover-remove-btn:hover {
	background: rgba(220, 38, 38, 0.95);
	transform: scale(1.05);
}

.profile-avatar-row {
	display: flex;
	align-items: center;
	padding: 15px 24px 0 24px;
	gap: 24px;
}

.profile-avatar-wrapper {
	position: relative;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	border: 4px solid #ffffff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	overflow: hidden;
	background: #ffffff;
	cursor: pointer;
	margin-top: -55px;
	z-index: 5;
}

.profile-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-avatar-hover-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.65);
	color: #ffffff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.profile-avatar-wrapper:hover .profile-avatar-hover-overlay {
	opacity: 1;
}

.profile-avatar-hover-overlay i {
	font-size: 20px;
}

.profile-avatar-hover-overlay span {
	font-size: 11px;
	font-weight: 600;
}

.profile-meta-info {
	flex-grow: 1;
	padding-top: 12px;
	padding-bottom: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: flex-start;
}

.profile-meta-name {
	font-size: 22px;
	font-weight: 800;
	color: #0f172a;
	margin: 0;
	letter-spacing: -0.5px;
}

.profile-meta-type {
	font-size: 14px;
	font-weight: 600;
	color: #475569;
	margin: 0;
	letter-spacing: 0.5px;
}

.btn-remove-photo-link {
	background: transparent;
	border: none;
	color: #ef4444;
	font-size: 13px;
	font-weight: 600;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
	transition: color 0.2s ease;
	margin-top: 4px;
}

.btn-remove-photo-link:hover {
	color: #dc2626;
	text-decoration: underline;
}

@media (max-width: 768px) {
	.profile-avatar-row {
		flex-direction: column;
		align-items: center;
		text-align: center;
		margin-top: -55px;
	}

	.profile-meta-info {
		align-items: center;
	}

	.settings-cover-remove-btn {
		right: 160px;
	}
}

.settings-avatar-remove-btn {
	background: #ef4444;
	box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.settings-avatar-remove-btn:hover {
	background: #dc2626;
	transform: scale(1.1);
}

/* ============================================
   Premium Form inputs (from basicsettings page)
   ============================================ */
.premium-form-card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.05);
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 6px rgba(0, 0, 0, 0.02);
	padding: 35px;
	margin-top: 30px;
}

.premium-input-group {
	position: relative;
	margin-bottom: 24px;
}

.premium-input-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #4b5563;
	margin-bottom: 8px;
}

.premium-input {
	width: 100%;
	padding: 12px 16px !important;
	font-size: 15px !important;
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 10px !important;
	transition: all 0.3s ease !important;
	color: #1f2937;
	height: 48px !important;
	outline: none !important;
}

textarea.premium-input {
	height: auto !important;
	min-height: 100px;
}

.premium-input:focus {
	border-color: var(--color-primary, #1c64f2) !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.08) !important;
	outline: none !important;
}

.premium-input:disabled,
.premium-input[disabled],
.premium-input[readonly],
.premium-input:read-only,
input.premium-input[disabled],
input.premium-input[readonly] {
	display: block !important;
	background: #f3f4f6 !important;
	background-color: #f3f4f6 !important;
	color: #6b7280 !important;
	cursor: not-allowed !important;
	border: 1px solid #e5e7eb !important;
	border-color: #e5e7eb !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.premium-input:disabled:focus,
.premium-input[disabled]:focus,
.premium-input[readonly]:focus,
.premium-input:read-only:focus,
input.premium-input[disabled]:focus,
input.premium-input[readonly]:focus {
	border-color: #e5e7eb !important;
	box-shadow: none !important;
	outline: none !important;
}

.premium-btn-save {
	background: linear-gradient(135deg, var(--color-primary, #1c64f2) 0%, var(--color-secondary, #6875f5) 100%) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 600 !important;
	padding: 12px 30px !important;
	border-radius: 10px !important;
	transition: all 0.2s ease !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.15);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	cursor: pointer;
}

.premium-btn-save:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(28, 100, 242, 0.25);
	opacity: 0.95;
}

.input-prefix-wrapper {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
}

.input-prefix-span {
	position: absolute;
	left: 14px;
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
	pointer-events: none;
}

.input-prefix-wrapper .premium-input {
	padding-left: 45px !important;
}

/* Highlights Redesign */
#highlights-section {
	background: transparent;
	border: none;
	box-shadow: none;
	overflow: visible;
}

.highlight-card-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #e2e8f0;
	transition: background 0.15s ease;
}

.highlight-card-row:last-child {
	border-bottom: none;
}

.highlight-card-row:hover {
	background: #f8fafc;
}

.highlight-input {
	border: none;
	background: transparent;
	padding: 0;
	font-size: 15px;
	font-weight: 500;
	color: #1e293b;
	flex-grow: 1;
	outline: none;
	width: 100%;
	caret-color: #2f57ef;
}

.highlight-delete-btn {
	color: #94a3b8;
	cursor: pointer;
	font-size: 18px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	flex-shrink: 0;
}

.highlight-delete-btn:hover {
	color: #ef4444;
	background: #fef2f2;
}

/* Followers List Redesign */
.followers-list-container {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	overflow: hidden;
}

.follower-list-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 24px;
	border-bottom: 1px solid #e2e8f0;
	transition: all 0.2s ease;
	text-decoration: none !important;
}

.follower-list-item:last-child {
	border-bottom: none;
}

.follower-list-item:hover {
	background-color: #f8fafc;
}

.follower-avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid #e2e8f0;
}

.follower-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

/* Styled Bootstrap Select inside Modern Select wrappers */
.rbt-modern-select .bootstrap-select .dropdown-toggle {
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	border-radius: 10px !important;
	padding: 12px 36px 12px 16px !important;
	font-size: 15px !important;
	color: #1f2937 !important;
	height: 48px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	box-shadow: none !important;
}

.rbt-modern-select .bootstrap-select .dropdown-toggle .caret {
	right: 20px !important;
}

.rbt-modern-select .bootstrap-select .dropdown-toggle:focus,
.rbt-modern-select .bootstrap-select .dropdown-toggle:active {
	border-color: var(--color-primary, #1c64f2) !important;
	box-shadow: 0 4px 12px rgba(28, 100, 242, 0.08) !important;
	outline: none !important;
}

/* ==========================================================================
   Modernized Premium Toast Notifications
   ========================================================================== */

.toast {
	background: rgba(15, 23, 42, 0.88) !important;
	backdrop-filter: blur(16px) saturate(180%) !important;
	-webkit-backdrop-filter: blur(16px) saturate(180%) !important;
	border: 1px solid rgba(255, 255, 255, 0.08) !important;
	border-radius: 16px !important;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2) !important;
	transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
	overflow: hidden !important;
	max-width: 400px !important;
	min-width: 320px !important;
	pointer-events: auto !important;
}

/* Success Toast styling */
.toast.success-toast,
.toast.bg-color-success {
	border-left: 5px solid #10b981 !important;
	background: rgba(15, 23, 42, 0.9) !important;
	color: #ffffff !important;
}

/* Error/Danger Toast styling */
.toast.error-toast,
.toast.bg-color-danger,
.toast.bg-danger {
	border-left: 5px solid #ef4444 !important;
	background: rgba(15, 23, 42, 0.9) !important;
	color: #ffffff !important;
}

/* Warning Toast styling */
.toast.bg-warning {
	border-left: 5px solid #f59e0b !important;
	background: rgba(15, 23, 42, 0.9) !important;
	color: #ffffff !important;
}

/* Override potential utility background colors */
.toast.bg-color-success,
.toast.bg-color-danger,
.toast.bg-danger,
.toast.bg-warning {
	background-color: rgba(15, 23, 42, 0.9) !important;
}

/* Toast Body flex layout */
.toast .toast-body {
	display: flex !important;
	align-items: center !important;
	padding: 16px 20px !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2px !important;
	line-height: 1.5 !important;
	color: #f8fafc !important;
	font-family: var(--font-primary), 'Euclid Circular A', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* Toast content positioning */
.toast .d-flex {
	width: 100% !important;
	align-items: center !important;
}

/* Icon overrides via circular status badges */
.toast.success-toast .toast-body::before,
.toast.bg-color-success .toast-body::before {
	content: "" !important;
	display: inline-block !important;
	width: 28px !important;
	height: 28px !important;
	margin-right: 14px !important;
	flex-shrink: 0 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 16px !important;
	background-color: rgba(16, 185, 129, 0.15) !important;
	border-radius: 50% !important;
	border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.toast.error-toast .toast-body::before,
.toast.bg-color-danger .toast-body::before,
.toast.bg-danger .toast-body::before {
	content: "" !important;
	display: inline-block !important;
	width: 28px !important;
	height: 28px !important;
	margin-right: 14px !important;
	flex-shrink: 0 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f87171' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 16px !important;
	background-color: rgba(239, 68, 68, 0.15) !important;
	border-radius: 50% !important;
	border: 1px solid rgba(239, 68, 68, 0.25) !important;
}

.toast.bg-warning .toast-body::before {
	content: "" !important;
	display: inline-block !important;
	width: 28px !important;
	height: 28px !important;
	margin-right: 14px !important;
	flex-shrink: 0 !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbbf24' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'%3E%3C/path%3E%3Cline x1='12' y1='9' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'%3E%3C/line%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: 14px !important;
	background-color: rgba(245, 158, 11, 0.15) !important;
	border-radius: 50% !important;
	border: 1px solid rgba(245, 158, 11, 0.25) !important;
}

/* Modern Minimalist Close Button */
.toast .btn-close {
	margin-left: auto !important;
	margin-right: 4px !important;
	padding: 0 !important;
	width: 14px !important;
	height: 14px !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") !important;
	background-size: contain !important;
	opacity: 0.6 !important;
	transition: all 0.2s ease !important;
	filter: none !important;
}

.toast .btn-close:hover {
	opacity: 1 !important;
	transform: scale(1.1);
}

/* Snappy spring-like entrance animation */
@keyframes appToastSlideIn {
	from {
		opacity: 0;
		transform: translateY(24px) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.toast.showing,
.toast.show {
	animation: appToastSlideIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

/* ==========================================================================
   AI Upload Modal — Success Panel
   ========================================================================== */

#ai-success-container {
	padding: 10px 0 20px;
}

.ai-success-panel {
	text-align: center;
	padding: 30px 20px 10px;
}

/* SVG check icon with draw-on animation */
.ai-success-check {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px;
}

.ai-success-check svg {
	width: 76px;
	height: 76px;
	filter: drop-shadow(0 6px 20px rgba(16, 185, 129, 0.3));
}

.ai-success-check svg circle {
	stroke-dasharray: 157;
	stroke-dashoffset: 157;
	transform-origin: center;
}

.ai-success-check svg path {
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
}

/* Animate when container gets the class */
.ai-success-animate .ai-success-check svg circle {
	animation: aiCircleDraw 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s forwards;
}

.ai-success-animate .ai-success-check svg path {
	animation: aiCheckDraw 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.45s forwards;
}

@keyframes aiCircleDraw {
	to { stroke-dashoffset: 0; }
}

@keyframes aiCheckDraw {
	to { stroke-dashoffset: 0; }
}

/* Title */
.ai-success-title {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 12px;
	opacity: 0;
}

.ai-success-animate .ai-success-title {
	animation: aiSuccessFadeUp 0.4s ease 0.65s forwards;
}

/* Count badge */
.ai-success-count-wrap {
	display: flex;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
	background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
	border: 1px solid #6ee7b7;
	border-radius: 14px;
	padding: 14px 28px;
	margin: 0 auto 16px;
	max-width: 340px;
	opacity: 0;
}

.ai-success-animate .ai-success-count-wrap {
	animation: aiSuccessFadeUp 0.4s ease 0.75s forwards;
}

.ai-success-count {
	font-size: 40px;
	font-weight: 800;
	color: #059669;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.ai-success-count-label {
	font-size: 14px;
	font-weight: 500;
	color: #065f46;
	text-align: left;
	max-width: 150px;
	line-height: 1.4;
}

/* Sub text */
.ai-success-sub {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 0;
	opacity: 0;
}

.ai-success-animate .ai-success-sub {
	animation: aiSuccessFadeUp 0.4s ease 0.85s forwards;
}

/* Action buttons */
.ai-success-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
	opacity: 0;
}

.ai-success-animate .ai-success-actions {
	animation: aiSuccessFadeUp 0.4s ease 0.95s forwards;
}

#ai-success-done-btn {
	background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
	color: #ffffff !important;
	border: none !important;
	font-weight: 600 !important;
	padding: 10px 28px !important;
	border-radius: 10px !important;
	font-size: 15px !important;
	height: 44px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25) !important;
	transition: all 0.2s ease !important;
}

#ai-success-done-btn:hover {
	transform: translateY(-1px) !important;
	box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35) !important;
}

#ai-success-upload-more-btn {
	background: #ffffff !important;
	color: #475569 !important;
	border: 1.5px solid #cbd5e1 !important;
	font-weight: 600 !important;
	padding: 10px 22px !important;
	border-radius: 10px !important;
	font-size: 15px !important;
	height: 44px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
}

#ai-success-upload-more-btn:hover {
	background: #f8fafc !important;
	border-color: #94a3b8 !important;
	color: #1e293b !important;
}

/* Shared fade-up keyframes */
@keyframes aiSuccessFadeUp {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ==========================================================================
   AI Modal — Phase-based visibility (data-phase on #ai-modal-body)
   These rules control visibility purely in CSS so they work even if the
   browser has cached an old version of questionBankAddEdit.js.
   ========================================================================== */

/* PROCESSING phase — only the loading spinner is visible */
#ai-modal-body[data-phase="processing"] #ai-drop-zone,
#ai-modal-body[data-phase="processing"] #ai-file-info,
#ai-modal-body[data-phase="processing"] #ai-instructions-wrap,
#ai-modal-body[data-phase="processing"] #ai-modal-footer,
#ai-modal-body[data-phase="processing"] #ai-modal-title,
#ai-modal-body[data-phase="processing"] #ai-modal-subtitle,
#ai-modal-body[data-phase="processing"] #ai-success-container {
	display: none !important;
}

#ai-modal-body[data-phase="processing"] #ai-loading-container {
	display: block !important;
}

/* SUCCESS phase — only the success panel is visible */
#ai-modal-body[data-phase="success"] #ai-drop-zone,
#ai-modal-body[data-phase="success"] #ai-file-info,
#ai-modal-body[data-phase="success"] #ai-instructions-wrap,
#ai-modal-body[data-phase="success"] #ai-modal-footer,
#ai-modal-body[data-phase="success"] #ai-modal-title,
#ai-modal-body[data-phase="success"] #ai-modal-subtitle,
#ai-modal-body[data-phase="success"] #ai-loading-container {
	display: none !important;
}

#ai-modal-body[data-phase="success"] #ai-success-container {
	display: block !important;
}

/* UPLOAD phase (no data-phase) — loading & success panels hidden */
#ai-modal-body:not([data-phase]) #ai-loading-container,
#ai-modal-body:not([data-phase]) #ai-success-container {
	display: none !important;
}

/* Hide raw textareas in the accordion body until Jodit is initialized */
.question-item:not([data-editors-initialized="true"]) .questionInput,
.question-item:not([data-editors-initialized="true"]) .optionInput,
.question-item:not([data-editors-initialized="true"]) .solutionInput {
	opacity: 0 !important;
	visibility: hidden !important;
	height: 0 !important;
	overflow: hidden !important;
	padding: 0 !important;
	border: none !important;
}

/* Fix double vertical scrollbar by overriding the body's forced overflow-y scroll */
html {
	overflow-y: auto !important;
}

body {
	overflow-y: visible !important;
}

/* Universal Background Scroll Locking for all Modals, Offcanvases, and Overlays */
html.modal-open,
body.modal-open,
html.offcanvas-open,
body.offcanvas-open,
html.app-scroll-locked,
body.app-scroll-locked,
html:has(.modal.show),
body:has(.modal.show),
html:has(.offcanvas.show),
body:has(.offcanvas.show),
html:has(.modal-backdrop),
body:has(.modal-backdrop),
html:has(.offcanvas-backdrop),
body:has(.offcanvas-backdrop) {
	overflow: hidden !important;
	touch-action: none !important;
	scrollbar-gutter: auto !important;
	padding-right: 0px !important;
	margin-right: 0px !important;
}

/* Ensure only modal or offcanvas inner content can scroll, preventing scroll chaining to background */
.modal,
.offcanvas,
.modal-dialog,
.modal-content,
.offcanvas-body,
.modal-body {
	overscroll-behavior: contain !important;
	-webkit-overflow-scrolling: touch;
}

.modal.show,
.offcanvas.show,
.modal-dialog,
.modal-body,
.offcanvas-body {
	touch-action: pan-y !important;
}

/* Ensure the column containing an open dropdown is stacked above other columns */
#teacher-cards-row > div:has(.dropdown-menu.show) {
	z-index: 15 !important;
}

/* Ensure modern buttons stay on a single line on mobile screens */
.btn-modern-primary,
.btn-modern-outline {
	white-space: nowrap !important;
}

/* Fix HTML5 validation tooltip positioning for bootstrap-select / rbt-modern-select on big screens */
.bootstrap-select,
.rbt-modern-select {
	position: relative !important;
}

.bootstrap-select > select,
.rbt-modern-select > select {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	opacity: 0 !important;
	z-index: -1 !important;
	pointer-events: none !important;
}

/* ============================================================
   Correct Answer Chips — Premium Dynamic Design
   ============================================================ */

@keyframes answerBorderGlow {
	0%, 100% {
		border-color: #a7f3d0;
		box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
	}
	50% {
		border-color: #34d399;
		box-shadow: 0 4px 18px rgba(52, 211, 153, 0.28);
	}
}

@keyframes answerChipIn {
	from {
		opacity: 0;
		transform: translateY(8px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.answer-chips-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.answer-chip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #f0fdf8 0%, #ecfdf5 100%);
	border: 1.5px solid #a7f3d0;
	border-radius: 12px;
	padding: 8px 16px 8px 8px;
	cursor: default;
	width: fit-content;
	max-width: 100%;
	animation:
		answerChipIn 0.35s ease forwards,
		answerBorderGlow 2.8s ease-in-out infinite;
	animation-delay: calc(var(--chip-i, 0) * 0.12s), calc(var(--chip-i, 0) * 0.4s);
	opacity: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.answer-chip:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(16, 185, 129, 0.22);
	border-color: #10b981;
}

.answer-chip-num {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(16, 185, 129, 0.35);
}

.answer-chip-text {
	color: #064e3b;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.4;
	max-width: 100%;
	word-break: break-word;
}

/* HTML-rich answers — block card */
.answer-card {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	background: linear-gradient(135deg, #f0fdf8 0%, #ecfdf5 100%);
	border: 1.5px solid #a7f3d0;
	border-radius: 12px;
	padding: 12px 16px;
	width: 100%;
	animation:
		answerChipIn 0.35s ease forwards,
		answerBorderGlow 2.8s ease-in-out infinite;
	animation-delay: calc(var(--chip-i, 0) * 0.12s), calc(var(--chip-i, 0) * 0.4s);
	opacity: 0;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.answer-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 18px rgba(16, 185, 129, 0.18);
}

.answer-card .answer-chip-num {
	margin-top: 2px;
}

.answer-card-body {
	color: #064e3b;
	font-weight: 600;
	font-size: 14.5px;
	line-height: 1.5;
	flex: 1;
}

/* Translucent Glassmorphism Modal Backdrop & Blur */
.modal.show {
	background-color: rgba(15, 23, 42, 0.5) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
}

.modal-backdrop {
	background-color: #0f172a !important;
}

.modal-backdrop.show {
	opacity: 0.5 !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
}

/* Global Red Line Field Validation */
.app-input-error,
input.app-input-error,
select.app-input-error,
textarea.app-input-error,
.app-form-input.app-input-error,
.app-form-input.app-input-error:focus,
.is-invalid,
input.is-invalid,
select.is-invalid,
textarea.is-invalid,
.is-invalid:focus {
	border-color: var(--app-validation-danger, #f87171) !important;
	border-bottom-color: var(--app-validation-danger, #f87171) !important;
	box-shadow: none !important;
	transition: border-color 0.2s ease, color 0.2s ease !important;
}

.app-form-input.app-input-error ~ .app-form-label,
.app-form-input.is-invalid ~ .app-form-label {
	top: 0 !important;
	background: #fff !important;
	padding: 2px 8px !important;
	border-radius: 4px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	color: var(--app-validation-danger, #f87171) !important;
	transform: translateY(-50%) scale(1) !important;
}

/* Premium UI Alert Banner Component */
.app-auth-alert {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 14px 18px;
	border-radius: 16px;
	background: rgba(239, 68, 68, 0.06);
	border: 1px solid rgba(239, 68, 68, 0.18);
	transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	box-shadow: 0 4px 14px rgba(239, 68, 68, 0.06);
}

.app-auth-alert.success-state {
	background: rgba(82, 95, 225, 0.06);
	border-color: rgba(82, 95, 225, 0.18);
	box-shadow: 0 4px 14px rgba(82, 95, 225, 0.06);
}

.app-alert-icon-wrapper {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: rgba(239, 68, 68, 0.12);
	color: #ef4444;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
	margin-top: 1px;
}

.app-auth-alert.success-state .app-alert-icon-wrapper {
	background: rgba(82, 95, 225, 0.12);
	color: var(--app-primary);
}

.app-alert-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	text-align: left;
}

.app-alert-title {
	font-size: 14px;
	font-weight: 700;
	color: #991b1b;
	line-height: 1.35;
}

.app-auth-alert.success-state .app-alert-title {
	color: var(--app-primary);
}

.app-alert-body {
	font-size: 12.5px;
	font-weight: 500;
	color: #b91c1c;
	line-height: 1.4;
	opacity: 0.95;
}

.app-auth-alert.success-state .app-alert-body {
	color: #4b5563;
}

/* Universal Inline Error Messages Styling with Spacing & Icon Badge */
.app-error-msg,
.app-inline-error,
.app-input-error-msg,
.invalid-feedback-text,
.invalid-feedback,
.field-error,
.input-error-msg {
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--app-validation-danger, #f87171) !important;
	margin-top: 8px !important;
	margin-bottom: 12px !important;
	display: flex !important;
	align-items: center !important;
	gap: 6px !important;
	line-height: 1.35 !important;
	text-align: left !important;
}

.app-error-msg:empty,
.app-inline-error:empty,
.app-input-error-msg:empty,
.invalid-feedback-text:empty,
.invalid-feedback:empty,
.field-error:empty,
.input-error-msg:empty {
	display: none !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.app-error-msg:not(:empty)::before,
.app-inline-error:not(:empty)::before,
.app-input-error-msg:not(:empty)::before,
.invalid-feedback-text:not(:empty)::before,
.invalid-feedback:not(:empty)::before,
.field-error:not(:empty)::before,
.input-error-msg:not(:empty)::before {
	content: "!" !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
	min-height: 15px !important;
	border-radius: 50% !important;
	background: var(--app-validation-danger, #f87171) !important;
	color: #ffffff !important;
	font-size: 10px !important;
	font-weight: 900 !important;
	flex-shrink: 0 !important;
	line-height: 1 !important;
	margin-right: 2px !important;
	box-sizing: border-box !important;
}

/* Prevent layout shift / flickering when scrollbar is toggled by dynamic content loading */
html {
	scrollbar-gutter: stable;
}

/* Submit Test Modal Action Buttons Uniform Sizing */
#submitModal .d-flex.justify-content-center .rbt-btn {
	min-width: 120px !important;
	height: 44px !important;
	padding: 10px 28px !important;
	font-size: 15px !important;
	border-radius: 10px !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	box-sizing: border-box !important;
}

/* Question Marking Header Spacing & Mobile Wrap Gap */
.question-marking-header {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: 10px 10px !important;
}

.question-marking-header .rbt-badge,
.question-marking-header .marks-badge {
	display: inline-flex !important;
	align-items: center !important;
	margin-bottom: 6px !important;
}

@media (max-width: 767px) {
	.question-marking-header {
		margin-bottom: 20px !important;
		gap: 10px 8px !important;
	}
	.question-marking-header .rbt-badge,
	.question-marking-header .marks-badge {
		margin-right: 6px !important;
		margin-bottom: 8px !important;
	}
}

/* Strict Copy-Paste & Selection Disabling (Attempts & Question Bank Views) */
body.disable-copy-select,
body.disable-copy-select *,
.disable-copy-select,
.disable-copy-select * {
	-webkit-user-select: none !important;
	-moz-user-select: none !important;
	-ms-user-select: none !important;
	user-select: none !important;
	-webkit-touch-callout: none !important;
}

body.disable-copy-select input,
body.disable-copy-select textarea,
.disable-copy-select input,
.disable-copy-select textarea {
	-webkit-user-select: auto !important;
	-moz-user-select: auto !important;
	-ms-user-select: auto !important;
	user-select: auto !important;
}

/* ==========================================================================
   Modernized Sidebar Action & Filter Buttons (Extra Border Radius)
   ========================================================================== */
.rbt-cart-side-menu .rbt-btn,
.rbt-cart-side-menu .checkout-btn .rbt-btn,
.rbt-cart-side-menu .view-cart-btn .rbt-btn,
.rbt-cart-side-menu #filter-form .rbt-btn,
.rbt-cart-side-menu button.rbt-btn,
.rbt-cart-side-menu a.rbt-btn {
	border-radius: 12px !important;
}

.rbt-cart-side-menu .rbt-modern-select .bootstrap-select .dropdown-toggle,
.rbt-cart-side-menu input[type="text"],
.rbt-cart-side-menu select {
	border-radius: 12px !important;
}

/* Global Gradient Button Styling */
.app-submit-btn,
.app-btn-gradient {
	width: 100%;
	padding: 14px 24px;
	height: 50px;
	background: linear-gradient(135deg, var(--app-primary, #525fe1) 0%, var(--app-secondary, #b966e7) 100%) !important;
	border: none !important;
	border-radius: 12px !important;
	color: #ffffff !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	cursor: pointer !important;
	box-shadow: 0 8px 24px rgba(82, 95, 225, 0.2) !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
	outline: none !important;
}

.app-submit-btn:hover,
.app-btn-gradient:hover {
	transform: translateY(-2px) !important;
	box-shadow: 0 12px 30px rgba(82, 95, 225, 0.3) !important;
	color: #ffffff !important;
}

.app-submit-btn:active,
.app-btn-gradient:active {
	transform: translateY(0) !important;
	box-shadow: 0 4px 12px rgba(82, 95, 225, 0.2) !important;
}

/* ==========================================================================
   Smooth GPU-Accelerated Sidebar Transitions (Zero Jerkiness)
   ========================================================================== */

/* 1. Right Side Drawers (Filters, Question Bank Map, Cart, Action Panels) */
.side-menu,
.rbt-cart-side-menu {
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transform: translate3d(100%, 0, 0);
	-webkit-transform: translate3d(100%, 0, 0);
	transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease !important;
}

.side-menu.side-menu-active,
.rbt-cart-side-menu.side-menu-active {
	transform: translate3d(0, 0, 0) !important;
	-webkit-transform: translate3d(0, 0, 0) !important;
	transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.25s ease !important;
}

.side-menu .side-nav .navbar-nav li,
.rbt-cart-side-menu .side-nav .navbar-nav li {
	opacity: 1 !important;
	transform: none !important;
	transition: none !important;
	transition-delay: 0s !important;
}

.side-menu .side-nav .navbar-nav li:first-child,
.side-menu .side-nav .navbar-nav li:nth-child(2),
.side-menu .side-nav .navbar-nav li:nth-child(3),
.side-menu .side-nav .navbar-nav li:nth-child(4),
.side-menu .side-nav .navbar-nav li:nth-child(5),
.rbt-cart-side-menu .side-nav .navbar-nav li:first-child,
.rbt-cart-side-menu .side-nav .navbar-nav li:nth-child(2),
.rbt-cart-side-menu .side-nav .navbar-nav li:nth-child(3),
.rbt-cart-side-menu .side-nav .navbar-nav li:nth-child(4),
.rbt-cart-side-menu .side-nav .navbar-nav li:nth-child(5) {
	transition-delay: 0s !important;
}

/* 2. Mobile Navigation Menu Drawer */
.popup-mobile-menu {
	transition: opacity 0.25s ease !important;
}

.popup-mobile-menu .inner-wrapper {
	left: 0 !important;
	top: 0 !important;
	opacity: 1 !important;
	transform: translate3d(-100%, 0, 0) !important;
	-webkit-transform: translate3d(-100%, 0, 0) !important;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

.popup-mobile-menu.active .inner-wrapper {
	transform: translate3d(0, 0, 0) !important;
	-webkit-transform: translate3d(0, 0, 0) !important;
}

/* 3. Offcanvas Menus */
.rbt-offcanvas-side-menu {
	transition: opacity 0.25s ease !important;
}

.rbt-offcanvas-side-menu .inner-wrapper {
	left: 0 !important;
	top: 0 !important;
	opacity: 1 !important;
	transform: translate3d(-100%, 0, 0) !important;
	-webkit-transform: translate3d(-100%, 0, 0) !important;
	will-change: transform;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1) !important;
}

.rbt-offcanvas-side-menu.active-offcanvas .inner-wrapper {
	transform: translate3d(0, 0, 0) !important;
	-webkit-transform: translate3d(0, 0, 0) !important;
}

/* 4. Prevent Background Page Scroll When Sidebar / Drawer Is Active */
html:has(.popup-mobile-menu.active),
body:has(.popup-mobile-menu.active),
html:has(.side-menu.side-menu-active),
body:has(.side-menu.side-menu-active),
html:has(.rbt-cart-side-menu.side-menu-active),
body:has(.rbt-cart-side-menu.side-menu-active),
html:has(.rbt-offcanvas-side-menu.active-offcanvas),
body:has(.rbt-offcanvas-side-menu.active-offcanvas),
html.popup-mobile-menu-active,
body.popup-mobile-menu-active,
html.cart-sidenav-menu-active,
body.cart-sidenav-menu-active,
html.offcanvas-menu-active,
body.offcanvas-menu-active {
	overflow: hidden !important;
	touch-action: none !important;
	height: 100% !important;
}

/* Ensure only the drawer inner content can scroll */
.popup-mobile-menu.active,
.rbt-offcanvas-side-menu.active-offcanvas,
.side-menu.side-menu-active,
.rbt-cart-side-menu.side-menu-active {
	overscroll-behavior: contain !important;
	-webkit-overflow-scrolling: touch !important;
}

.popup-mobile-menu .inner-wrapper,
.rbt-offcanvas-side-menu .inner-wrapper,
.side-menu .inner-wrapper,
.rbt-cart-side-menu .inner-wrapper {
	overscroll-behavior: contain !important;
	-webkit-overflow-scrolling: touch !important;
	touch-action: pan-y !important;
}

/* Question Map & Test Drawer Full-Height Optimization */
#side-nav.rbt-cart-side-menu .inner-wrapper {
	padding: 40px 35px 20px 35px !important;
	height: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-start !important;
}

@media (max-width: 767px) {
	#side-nav.rbt-cart-side-menu .inner-wrapper {
		padding: 24px 20px 16px 20px !important;
	}
}

#side-nav.rbt-cart-side-menu .inner-top {
	height: 100% !important;
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	min-height: 0 !important;
}

#side-nav.rbt-cart-side-menu .side-nav {
	max-height: none !important;
}

#side-nav #questions-map-section {
	flex: 1 1 auto !important;
	height: 100% !important;
	max-height: none !important;
	padding-bottom: 15px !important;
	overflow-y: auto !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   Mobile GPU & Scroll Performance Optimizations
   ───────────────────────────────────────────────────────────────────────────
   Replaces heavy GPU shader blur calculations with lightweight gradients and
   solid/alpha backgrounds on mobile viewports (< 768px) to guarantee smooth 60 FPS
   scrolling and prevent thermal throttling on budget Android/iOS hardware.
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
	/* Reduce expensive backdrop blur shaders */
	.app-ambient-bg .app-blob,
	.app-blob {
		filter: none !important;
		opacity: 0.08 !important;
	}

	/* Disable non-essential infinite animations on mobile to save CPU/battery */
	.cta-edu-shape,
	.app-sparkle,
	.app-hero-badge-glow i {
		animation: none !important;
	}

	/* Optimize modal/drawer backdrop filters */
	.modal-backdrop,
	.rbt-user-menu-list-wrapper,
	.category-dropdown-menu {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
	}
}

/* Ensure user menu / account dropdown aligns cleanly to the right edge and doesn't overflow */
.rbt-header .mainmenu-nav .mainmenu li.with-megamenu .rbt-megamenu,
.rbt-header .mainmenu-nav .mainmenu li.has-dropdown .submenu,
.rbt-user-wrapper .rbt-user-menu-list-wrapper,
.account-access.rbt-user-wrapper .rbt-user-menu-list-wrapper,
.rbt-category-menu-wrapper .category-dropdown-menu,
ul.rbt-dropdown-menu li .sub-menu {
	right: -40px !important;
	left: auto !important;
}

/* Question Diagram Image Medium Sizing */
.question-diagram,
img.question-diagram {
	max-width: 420px !important;
	max-height: 260px !important;
	width: auto !important;
	height: auto !important;
	display: block !important;
	margin: 10px 0 !important;
	object-fit: contain !important;
	border-radius: 4px;
}

/* ==========================================================================
   STUDY MATERIAL CARDS (GLOBAL COMPONENT)
   ========================================================================== */
.student-sm-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none !important;
    overflow: hidden;
}

.student-sm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(47, 87, 239, 0.1);
    border-color: rgba(47, 87, 239, 0.25);
}

.student-sm-thumb {
    height: 130px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.student-sm-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.student-sm-icon {
    font-size: 44px;
    color: #2f57ef;
    opacity: 0.85;
}

.student-sm-subject {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    color: #2f57ef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.student-sm-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.student-sm-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.student-sm-desc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.student-sm-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    font-size: 12px;
    color: #64748b;
}


/* Compact Inline Card Action Button for Assessments */
.premium-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: #525fe1;
	border: 1.5px solid #525fe1;
	color: #ffffff !important;
	padding: 7px 16px;
	border-radius: 10px;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1.2;
	transition: all 0.2s ease;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(82, 95, 225, 0.15);
	text-decoration: none !important;
}

.premium-card:hover .premium-card-btn,
.premium-card-btn:hover {
	background: #4149c8;
	border-color: #4149c8;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(82, 95, 225, 0.25);
}

.premium-card-btn i {
	font-size: 11px;
	transition: transform 0.2s ease;
}

.premium-card:hover .premium-card-btn i,
.premium-card-btn:hover i {
	transform: translateX(3px);
}

/* ===================================================
   Student Performance Cards & Circular Metric Gauge
=================================================== */
.app-perf-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 20px;
    padding: 22px 24px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.app-perf-card:hover {
    box-shadow: 0 10px 25px rgba(47, 87, 239, 0.08);
    border-color: rgba(47, 87, 239, 0.22);
    transform: translateY(-2px);
}

.app-perf-gauge-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eff6ff;
    border: 1.5px solid #dbeafe;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-perf-gauge {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.app-perf-gauge-bg {
    fill: none;
    stroke: #e0e7ff;
    stroke-width: 6;
}

.app-perf-gauge-fill {
    fill: none;
    stroke: var(--color-primary, #2f57ef);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dashoffset 1s ease-in-out;
}

.app-perf-gauge-icon {
    position: relative;
    font-size: 22px;
    color: var(--color-primary, #2f57ef);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.app-perf-icon-badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.app-perf-badge-blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1.5px solid #dbeafe;
}

.app-perf-badge-orange {
    background: #fff7ed;
    color: #ea580c;
    border: 1.5px solid #ffedd5;
}

.app-perf-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-perf-count {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.15;
    letter-spacing: -0.5px;
    font-family: var(--font-primary), 'Euclid Circular A', -apple-system, BlinkMacSystemFont, sans-serif;
}

.app-perf-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.25;
}

.app-perf-label {
    font-size: 13.5px;
    font-weight: 600;
    color: #64748b;
    margin-top: 3px;
    line-height: 1.25;
}

.app-perf-subtext {
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    line-height: 1.2;
}

.app-perf-subtext-muted {
    color: #94a3b8;
    font-weight: 600;
}

.app-perf-trend-up {
    color: #10b981;
}

.app-perf-trend-down {
    color: #ef4444;
}

.app-perf-trend-neutral {
    color: #64748b;
}

.app-perf-streak-active {
    color: #ea580c;
}

@media (max-width: 991.98px) {
    .app-perf-card {
        padding: 16px 18px;
        gap: 14px;
        border-radius: 16px;
    }
    .app-perf-gauge-wrapper {
        width: 48px;
        height: 48px;
    }
    .app-perf-gauge-icon {
        font-size: 18px;
    }
    .app-perf-icon-badge {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    .app-perf-count {
        font-size: 20px;
    }
    .app-perf-title,
    .app-perf-label {
        font-size: 12.5px;
    }
    .app-perf-subtext {
        font-size: 11.5px;
    }
}

@media (max-width: 767.98px) {
    .app-perf-card {
        padding: 14px 14px;
        gap: 10px;
        border-radius: 14px;
        align-items: center;
        text-align: left;
    }
    .app-perf-gauge-wrapper {
        width: 42px;
        height: 42px;
    }
    .app-perf-gauge-icon {
        font-size: 16px;
    }
    .app-perf-icon-badge {
        width: 42px;
        height: 42px;
        font-size: 17px;
    }
    .app-perf-info {
        align-items: flex-start;
        width: auto;
    }
    .app-perf-count {
        font-size: 17px;
        letter-spacing: -0.3px;
    }
    .app-perf-label {
        font-size: 11px;
        font-weight: 700;
        margin-top: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    .app-perf-subtext {
        font-size: 10.5px;
        margin-top: 2px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .app-perf-card {
        padding: 10px 8px;
        gap: 8px;
        border-radius: 12px;
    }
    .app-perf-gauge-wrapper {
        width: 36px;
        height: 36px;
    }
    .app-perf-gauge-icon {
        font-size: 14px;
    }
    .app-perf-icon-badge {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }
    .app-perf-count {
        font-size: 15px;
    }
    .app-perf-label {
        font-size: 10px;
    }
    .app-perf-subtext {
        font-size: 9.5px;
    }
}
