﻿div.pageControl:has(.help) {
	background-color: #f8f9fa!important;
}
.help {
	/*background-color: #f8f9fa;
	background-color: #f7f7f7;*/
}
	.help h1 {
		color: #2c3e50;
		font-size: 28px;
		margin-bottom: 20px;
	}

	.help p, .help li {
		font-size: 16px;
		margin-bottom: 15px;
	}
	.help a {
		color: #3498db;
		text-decoration: none;
		font-weight: bold;
	}
.container .row {
	float: none;
}

.mpBootstrap a {
	text-decoration: none;
}

#academy_toolbar {
	position: sticky;
	top: -2px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	z-index: 11;
	background-color: #f8f9fa;
}

	#academy_toolbar .left-icons {
		display: flex;
		gap: 20px;
		flex-direction: row-reverse;
		align-items: center;
		font-size: 24px;
	}
	#academy_toolbar .btnTlb {
		cursor: pointer;
	}
	#academy_toolbar .btnTlb i {
		color: #0056b3;
	}

	#academy_toolbar .btnTlb i {
		transition: transform 0.2s ease, color 0.2s ease;
	}

		#academy_toolbar .btnTlb i:hover, #academy_toolbar .btnTlb:hover i {
			transform: scale(1.3);
			color: #fd642e;
		}

	#academy_toolbar #hide_quote {
		color: #dc3545;
	}

#quote_box {
	margin: auto;
	text-align: center;
	flex: 1 1 0%;
	justify-content: center;
	align-items: center;
	max-height: 100px;
	overflow: auto;
}
	#quote_box #quote_wrapper {
		padding: 3px;
		border-radius: 10px;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		margin: 4px 9px;
		background: white;
	}

	.step-card {
		background: #fff;
		border-radius: 10px;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		padding: 20px;
		margin-bottom: 20px;
		width: 100%;
		box-sizing: border-box;
	}

.step-title {
	font-size: 1.5rem;
	font-weight: bold;
	color: Navy;
	margin-bottom: 20px;
}

.help .thumbnail {
	position: relative;
	width: 200px;
	background-color: #fff;
	border-radius: 10px;
	border: 1px solid rgba(0, 0, 0, 0.175);
	padding: 1.5rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
	height: 100%;
}

.help .desc-card, .help .path-box {
	background-color: #fff;
	border-radius: 1rem;
	border: 1px solid rgba(0, 0, 0, 0.175);
	padding: 1.5rem;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
	height: 100%;
}
.help .path-box {
	cursor: pointer;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	color: inherit;
}
	.help .path-box div {
		font-weight: initial;
	}
	.help .path-box:hover {
		transform: scale(1.05);
		box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
	}
	.help .path-box .estimated-time {
		position: absolute;
		bottom: 2px;
		left: 50%;
		transform: translateX(-50%);
		color: #555;
		font-size: 10px;
		width: 170px;
	}

	.help .desc-card i, .help .path-box i {
		font-size: 2rem;
		margin-bottom: 0.75rem;
	}

	.help .path-box .course-name {
		position: absolute;
		left: 10px;
		top: 3px;
		font-size: 14px;
		color: rgba(33, 37, 41, 0.75);
	}

	.help .desc-card h5, .help .path-box h5 {
		font-size: 1.2rem;
		margin-bottom: 0.5rem;
		margin-top: 0.5rem;
		font-weight: bold;
	}

	.help .desc-card p, .help .path-box p {
		font-size: 0.9rem;
		color: #555;
	}

	.help .path-box.active {
		border-color: #007bff;
		background-color: #eef6ff;
	}

	.help .path-box.inactive {
		opacity: 0.5;
	}

	.help .thumbnail i {
		font-size: 2rem;
		color: navy;
		margin-bottom: 10px;
	}

	.help .thumbnail.check-access i {
		font-size: 2rem;
		color: var(--icon-academi-color, navy);
		margin-bottom: 10px;
	}

.help .thumbnail.check-access .lock-icon {
	position: absolute;
	bottom: -4px;
	right: 7px;
	font-size: 1rem;
}

	.help .thumbnail h4 {
		font-size: 1.1rem;
		margin: 0;
		color: #333;
	}

	.help .thumbnail .read-time {
		position: absolute;
		top: 8px;
		left: 8px;
		background-color: #f0f0f0;
		color: #333;
		font-size: 0.75rem;
		padding: 2px 8px;
		border-radius: 10px;
		box-shadow: 0 1px 3px rgba(0,0,0,0.1);
		z-index: 1;
		font-family: 'IRANSans', sans-serif;
		direction: rtl;
	}

.help img {
	max-width: 90%;
	width: 600px;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.help .thumbnail-link {
	display: block;
	height: 100%;
	border-radius: 14px;
}

.help .thumbnail-link:hover i {
	color: var(--icon-academi-color, #fd642e) !important;
}

	.help .thumbnail-link .select-path {
		border-radius: 50%;
		position: absolute;
		right: 10px;
		top: 10px;
		font-size: 20px;
	}

.help .thumbnail-container {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
}
.custom-container-margin {
	margin: 2rem;
}

.guide-title {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 20px;
	color: #2c3e50;
}
.header-wrapper-tick {
	position: relative;
	height:22px;
}

	.header-wrapper-tick .icon-wrapper {
		position: absolute;
		left: 50px;
		font-size: 18px;
		color: #ccc;
		display: flex;
		flex-direction: row-reverse;
		direction: rtl;
	}
		.header-wrapper-tick .icon-wrapper:hover .fa-coins {
			animation: coin-drop 0.25s ease;
		}
		.header-wrapper-tick .icon-wrapper .lbl {
			margin: 6px;
			line-height: 2em;
			cursor: pointer;
		}
			.header-wrapper-tick .icon-wrapper .lbl.has-coin {
				color: #fd642e;
			}

	.header-wrapper-tick .read-toggle {
		font-size: 1.8em;
		cursor: pointer;
		color: #ccc;
		width: inherit;
		height: inherit;
	}

		.header-wrapper-tick .read-toggle.read {
			color: #ffd700;
			transform: scale(1.2);
		}

@keyframes walletPop {
	0% {
		transform: scale(1);
	}

	40% {
		transform: scale(1.4);
	}

	100% {
		transform: scale(1);
	}
}

.ret-academy {
	margin: 0 -15px 2px 12px;
}

#wallet {
	display: flex;
	justify-content: space-between;
	gap: 9px;
	color: #fd642e;
}
	#wallet .icon {
		transition: transform 0.3s ease;
	}

		#wallet:hover .icon {
			animation: walletPop 0.5s ease-in-out;
		}

		#wallet .icon.popped {
			animation: walletPop 0.5s ease-in-out;
		}
		#wallet .icon svg {
			margin-left: 8px;
			filter: drop-shadow(0 1px 1px rgba(0,0,0,0.1));
			transition: transform 0.3s ease;
		}
			#wallet .icon svg path {
				fill: #fd642e;
				stroke: #b8860b;
				stroke-width: 6;
			}
.wallet-icon {
	color: #fd642e;
}
	.wallet-icon svg {
		width: 37px;
		height: 37px;
		vertical-align: middle;
		fill: currentColor;
	}

	.coin {
		position: absolute;
		z-index:12;
		transform: translate(17%, -50%) scale(1);
		font-size: 2em;
		opacity: 1;
		transition: transform 1.2s ease-out, opacity 1.2s ease-out;
		pointer-events: none;
		user-select: none;
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
	}

.guide-description {
	font-size: 1.1rem;
	margin-bottom: 30px;
}

.tags-section {
	background-color: #ffffff;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	max-height: 400px;
	overflow-y: auto;
}

.video-section {
	padding: 20px;
}

.video-container {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	border-radius: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

	.video-container video {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		border: 0;
		border-radius: 10px;
	}

.tag-time {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px;
	border-bottom: 1px solid #eee;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

	.tag-time:last-child {
		border-bottom: none;
	}

	.tag-time:hover {
		background-color: #f1f1f1;
	}

	.tag-time span {
		font-size: 1rem;
		color: #34495e;
	}

		.tag-time span i {
			margin-left: 8px;
			color: #3498db;
		}

		.tag-time span.time {
			font-weight: bold;
			color: #e74c3c;
		}

.btn-custom {
	background-color: #3498db;
	color: #fff;
	border: none;
	padding: 10px 20px;
	border-radius: 5px;
	transition: background-color 0.3s ease;
}

	.btn-custom:hover {
		background-color: #2980b9;
	}

.helpCard-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	flex-direction: column;
}

.helpCard-container-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	flex-direction: column;
}

.helpCard-container-tile {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	flex-direction: row;
}

	.helpCard-container .helpCard {
		background-color: #ffffff;
		border: 1px solid #ddd;
		border-radius: 5px;
		margin-bottom: 20px;
		padding: 15px;
		width: calc(30% - 20px);
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
		transition: transform 0.2s;
	}

.helpCard-container .mb-5 > i {
	font-size: 48px;
	margin-left: 15px;
}

	.helpCard-container .helpCard a {
		text-decoration: none;
		color: Navy;
		display: flex;
		align-items: center;
		font-size: 23px;
	}

	.helpCard-container span {
		display: block;
		margin-top: 5px;
		color: #6c757d;
	}

.help .faq i {
	font-size: 1.5rem;
	color: navy;
}
.help .medal {
	padding: 0 3px;
	font-size: 1.5rem;
	vertical-align: middle;
}

.help .issue-session-box {
	background-color: #e9f7fe;
	border: 1px solid #90caf9;
	border-radius: 10px;
	padding: 20px;
	margin: 30px auto;
	width: fit-content;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	font-size: 0.9rem;
	font-weight: 600;
	color: #212529;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.help .session-text i {
	color: #0d47a1;
	font-size: 1.3rem;
	margin-left: 8px;
}

.help .contact-info {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	font-weight: 500;
	color: #333;
}

	.help .contact-info i {
		color: #0d47a1;
		font-size: 1.2rem;
	}

.fun-dialog {
	padding: 20px;
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}
	.fun-dialog .fun-content {
		border: 1px solid #ccc;
		border-radius: 10px;
		min-height: 424px;
		display: flex;
		align-content: center;
		align-items: stretch;
		flex-wrap: wrap;
	}

		.fun-dialog .fun-content span {
			padding: 0 10px;
			display: block;
			text-align: right;
		}

		.fun-dialog .fun-content img, .fun-dialog .fun-content video {
			max-width: 90%;
			margin: 10px auto;
			max-height: 500px;
			border: 1px solid #ccc;
			border-radius: 10px;
		}

.help .help-code .code-container {
	margin-bottom: 20px;
	border: 1px solid #444;
	border-radius: 5px;
	padding: 15px;
	background: #252526;
}

.help .help-code .method-container {
	display: flex;
	margin-bottom: 15px;
	border: 1px solid #333;
	padding: 10px;
	border-radius: 5px;
	background: #2d2d2d;
}

.help .help-code .method-code {
	flex: 1;
	padding-right: 15px;
}

.help .help-code .method-academy {
	width: 180px;
	border-left: 1px solid #444;
	padding-left: 15px;
}

.help .help-code .codebox {
	direction: ltr;
	background: #1e1e1e;
	color: #d4d4d4;
	font-family: Consolas, monospace;
	padding: 12px;
	border-radius: 5px;
	white-space: pre;
	font-size: 13px;
	overflow-x: auto;
	margin: 0;
	line-height: 1.5;
}

.help .help-code .keyword {
	color: #569cd6;
	font-weight: bold;
}

.help .help-code .type {
	color: #4ec9b0;
}

.help .help-code .comment {
	color: #6a9955;
	font-style: italic;
	display: inline-block;
	direction: rtl;
}

.help .help-code .class-panel {
	margin-bottom: 15px;
}

.help .help-code .member-panel {
	margin-left: 25px;
	margin-bottom: 10px;
}

.help .help-code .code-panel {
	display: inline-block;
	vertical-align: top;
	width: 78%;
}

.help .help-code .academy-panel {
	display: inline-block;
	width: 20%;
	padding-left: 12px;
	border-left: 1px solid #3a3a3a;
}

.help .help-code .class-spacer {
	height: 25px;
}

.wiggle {
	animation: wiggle 0.25s ease;
}

.help #falling-trophy {
	display: inline-block;
	animation: trophyDrop 4s linear infinite;
	transform-origin: top center;
}

@keyframes trophyDrop {
	0% {
		transform: translateY(-15px);
		opacity: 0;
	}

	10% {
		transform: translateY(0px);
		opacity: 1;
	}

	12% {
		transform: translateY(-5px);
	}

	14% {
		transform: translateY(0px);
	}

	16% {
		transform: translateY(-3px);
	}

	17% {
		transform: translateY(0px);
	}

	17.67%, 100% {
		transform: translateY(0px);
		opacity: 1;
	}
}

@media only screen and (max-width: 479px) and (min-width: 0px) {
	#academy_toolbar {
		flex-direction: column;
		height: initial;
	}
	.header-wrapper-tick .icon-wrapper {
		left: 0;
		top: -35px;
	}
}

@keyframes wiggle {
	0% {
		transform: rotate(0deg);
	}

	20% {
		transform: rotate(10deg);
	}

	40% {
		transform: rotate(-10deg);
	}

	60% {
		transform: rotate(8deg);
	}

	80% {
		transform: rotate(-8deg);
	}

	100% {
		transform: rotate(0deg);
	}
}

@keyframes coin-drop {
	0% {
		transform: translateY(0) ;
	}

	15% {
		transform: translateY(3px);
	}

	30% {
		transform: translateY(-3px);
	}

	45% {
		transform: translateY(5px) ;
	}

	60% {
		transform: translateY(-2px);
	}

	75% {
		transform: translateY(4px);
	}

	90% {
		transform: translateY(-1px);
	}

	100% {
		transform: translateY(0);
	}
}


#path-sidebar {
	display: none;
	position: fixed;
	top: 50%;
	left: 15px;
	transform: translateY(-50%);
	width: 50px;
	max-height: 70vh;
	background-color: rgba(255, 255, 255, 0.6);
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
	border-right: 1px solid #ddd;
	overflow-y: auto;
	overflow-x: hidden;
	z-index: 999;
	transition: width 0.3s ease, background-color 0.3s ease;
	opacity:0.6;
}

	#path-sidebar.expanded {
		width: 221px; /* باز شدن لیست */
		background-color: rgba(255, 255, 255, 0.95);
		opacity: 1;
	}
	#path-sidebar .sidebar-title {
		text-align: center;
		font-weight: bold;
		font-size: 14px;
		padding: 10px 8px;
		border-bottom: 1px solid #ccc;
		background-color: rgba(255, 255, 255, 0.8);
		color: #333;
		position: sticky;
		top: 0;
		z-index: 1;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

#path-steps-list {
	direction: rtl;
}

.step-link {
	background-color: #ffffff;
	border: 1px solid #dee2e6;
	border-radius: 8px;
	padding: 0.5rem 0.75rem;
	transition: background-color 0.3s, box-shadow 0.3s;
	cursor: pointer;
}

	.step-link:hover {
		background-color: #e2f0ff;
		box-shadow: 0 0 5px rgba(13, 110, 253, 0.25);
		transform: scale(1.01);
	}

	.step-link .badge {
		border-radius: 50%;
		padding: 0;
		display: flex;
	}
	.step-link .item {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

		.step-link .item i {
			color: #0d6efd;
			margin-left: 0.5rem;
		}

		.step-link .item span {
			font-size: 0.9rem;
			color: #333;
		}

.help .step-highlight {
	outline-width: 3px;
	outline-style: solid;
	transition: outline 0.6s ease-in-out;
}

.help .exam-container {
	max-width: 800px;
	margin: 30px auto;
	padding: 25px;
	background-color: white;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	font-size: 18px;
}

/*help .exam-header {
	text-align: center;
	margin-bottom: 30px;
	padding-bottom: 15px;
	border-bottom: 2px solid #e9ecef;
}*/

.exam-title {
	color: #2c3e50;
	font-weight: 700;
}

.help .question-card {
	margin-bottom: 25px;
	padding: 20px;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	border-left: 4px solid #0d6efd;
}

.help .question-text {
	font-weight: 600;
	margin-bottom: 20px;
	color: #34495e;
}

.help .options-list {
	list-style-type: none;
	padding: 0;
}

	.help .options-list li {
		margin-bottom: 10px;
	}

	.help .options-list input {
		/*position: absolute;*/
		opacity: 0;
	}

	.help .options-list label {
		display: block;
		padding: 12px 20px;
		margin-bottom: 8px;
		background-color: #f8f9fa;
		border-radius: 8px;
		cursor: pointer;
		transition: all 0.3s;
		border: 1px solid #e9ecef;
		position: relative;
		overflow: hidden;
	}

	.help .options-list label:hover {
		background-color: #e9f7fe;
		border-color: #d0ebff;
	}

/*.help .option-label {
	display: block;
	padding: 12px 20px;
	margin-bottom: 8px;
	background-color: #f8f9fa;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s;
	border: 1px solid #e9ecef;
	position: relative;
	overflow: hidden;
}*/

	/*.help .option-label:hover {
		background-color: #e2e6ea;
	}*/

.help input:checked + label {
	background-color: #d1e7ff;
	border-color: #3498db;
	box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.help .submit-btn {
	padding: 10px 25px;
	font-weight: 600;
	letter-spacing: 0.5px;
	color: white;
}

.help .result-panel {
	padding: 25px;
	margin-top: 30px;
	background-color: #f8fafc;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

	.help .result-panel .result-header {
		text-align: center;
		margin-bottom: 25px;
		padding-bottom: 15px;
		border-bottom: 2px solid #e9ecef;
	}
	.help .result-panel .score-display {
		font-size: 28px;
		font-weight: 700;
		color: #3498db;
		margin-bottom: 20px;
		text-align: center;
	}

	.help .question-result {
		margin-bottom: 20px;
		padding: 15px;
		background-color: white;
		border-radius: 8px;
		box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
	}

.help .score-display {
	font-size: 24px;
	font-weight: 700;
	color: #0d6efd;
}

.help .answer-status {
	margin-top: 10px;
	padding: 8px 12px;
	border-radius: 6px;
	font-weight: 600;
	display: inline-block;
}

.help .correct-status {
	background-color: #e8f8f0;
	color: #27ae60;
}
.help .wrong-status {
	background-color: #fdedec;
	color: #e74c3c;
}

.help .correct-answer {
	color: #198754;
}

.help .wrong-answer {
	color: #dc3545;
}

.help .muted {
	color: #555;
}

@media (max-width: 768px) {
	#path-sidebar {
		width: 90%;
		top: auto;
		bottom: 0;
		border-radius: 10px 10px 0 0;
	}

	.step-link {
		font-size: 0.85rem;
		padding: 0.5rem;
	}

		.step-link span {
			font-size: 0.85rem;
		}
}