/* =========================================================
   MU EXODUS - SISTEMA MENTOR DESIGN SYSTEM
   ========================================================= */

/* Hero Banner: Edge-to-edge container alignment */
#content .usercp-page-shell > .page-title.mentor-hero,
.page-title.mentor-hero,
.mentor-hero {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: calc(100% + 48px) !important;
	margin: 0 -24px 24px !important;
	padding: 24px 28px !important;
	min-height: 98px !important;
	border: 0 !important;
	border-bottom: 1px solid #30434f !important;
	border-left: 3px solid #d0a34d !important;
	border-radius: 0 !important;
	background: radial-gradient(circle at 88% 50%, rgba(218, 171, 63, 0.16), transparent 35%),
	            linear-gradient(90deg, rgba(201, 154, 67, 0.14), rgba(24, 40, 51, 0.8) 42%, rgba(19, 34, 44, 0.96)),
	            #101c24 !important;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28) !important;
	box-sizing: border-box !important;
}

.mentor-hero-copy {
	flex: 1 1 auto;
	min-width: 0;
}

.mentor-hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 1.8px;
	color: #e5b94c;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.mentor-hero-heading {
	margin: 0 0 6px !important;
	color: #ffffff !important;
	font: 700 28px/1.2 Cinzel, Georgia, serif !important;
	letter-spacing: .5px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.mentor-hero-desc {
	margin: 0 !important;
	color: #8e9ea9 !important;
	font: 400 13px/1.5 Roboto, Arial, sans-serif !important;
	max-width: 580px;
}

.mentor-hero-emblem {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	flex: 0 0 62px;
	border: 1px solid rgba(218, 171, 63, 0.35);
	border-radius: 14px;
	background: radial-gradient(circle, rgba(218, 171, 63, 0.18), rgba(16, 28, 36, 0.85));
	color: #f5c242;
	font-size: 27px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35), inset 0 0 16px rgba(218, 171, 63, 0.12);
}

/* Base Page Wrapper */
.mentor-page {
	width: 100%;
	color: #e9edf0;
	font-family: Roboto, sans-serif;
}

/* =========================================================
   TOP STAT MODULES
   ========================================================= */
.mentor-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin: 0 0 24px;
}

.mentor-stat-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 168px;
	padding: 18px 20px;
	border: 1px solid #293f4e;
	border-radius: 14px;
	background: linear-gradient(160deg, #13222c 0%, #0d1720 100%);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035), 0 10px 26px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.mentor-stat-card:hover {
	transform: translateY(-3px);
	border-color: rgba(218, 171, 63, 0.45);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35), 0 0 18px rgba(218, 171, 63, 0.1);
}

/* Top accent glows */
.mentor-stat-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent 5%, #d8a93c 30%, #f7d268 50%, #d8a93c 70%, transparent 95%);
}

.mentor-stat-card.mentor-stat-emerald::before {
	background: linear-gradient(90deg, transparent 5%, #2bb872 30%, #5ce59e 50%, #2bb872 70%, transparent 95%);
}

.mentor-stat-card.mentor-stat-cyan::before {
	background: linear-gradient(90deg, transparent 5%, #2a94d6 30%, #68c7ff 50%, #2a94d6 70%, transparent 95%);
}

.mentor-stat-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.mentor-stat-icon {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 11px;
	font-size: 17px;
}

.mentor-stat-gold .mentor-stat-icon {
	background: rgba(218, 171, 63, 0.12);
	border: 1px solid rgba(218, 171, 63, 0.35);
	color: #f5c242;
}

.mentor-stat-emerald .mentor-stat-icon {
	background: rgba(43, 184, 114, 0.12);
	border: 1px solid rgba(43, 184, 114, 0.35);
	color: #4de193;
}

.mentor-stat-cyan .mentor-stat-icon {
	background: rgba(42, 148, 214, 0.12);
	border: 1px solid rgba(42, 148, 214, 0.35);
	color: #5cc2ff;
}

.mentor-stat-badge {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.8px;
	padding: 4px 8px;
	border-radius: 999px;
	text-transform: uppercase;
}

.mentor-stat-gold .mentor-stat-badge {
	background: rgba(218, 171, 63, 0.12);
	color: #e5b94c;
	border: 1px solid rgba(218, 171, 63, 0.25);
}

.mentor-stat-emerald .mentor-stat-badge {
	background: rgba(43, 184, 114, 0.12);
	color: #4de193;
	border: 1px solid rgba(43, 184, 114, 0.25);
}

.mentor-stat-cyan .mentor-stat-badge {
	background: rgba(42, 148, 214, 0.12);
	color: #5cc2ff;
	border: 1px solid rgba(42, 148, 214, 0.25);
}

.mentor-stat-body {
	margin-bottom: 6px;
	text-align: center;
}

.mentor-stat-label {
	display: block;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1.1px;
	color: #82929e;
	text-transform: uppercase;
	margin-bottom: 4px;
	text-align: center;
}

.mentor-stat-number {
	display: flex;
	align-items: baseline;
	justify-content: center;
	font-size: 26px;
	font-weight: 800;
	color: #ffffff;
	line-height: 1.1;
	text-align: center;
}

.mentor-stat-unit {
	font-size: 12px;
	font-weight: 700;
	color: #dfb249;
	margin-left: 4px;
	letter-spacing: 0.5px;
}

.mentor-stat-meter {
	margin: 10px 0;
}

.mentor-track {
	height: 6px;
	border-radius: 999px;
	background: rgba(11, 22, 29, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.mentor-track b {
	display: block;
	height: 100%;
	border-radius: 999px;
	transition: width .4s ease;
}

.mentor-stat-gold .mentor-track b {
	background: linear-gradient(90deg, #b9801d, #f5c242);
	box-shadow: 0 0 10px rgba(245, 194, 66, 0.35);
}

.mentor-stat-emerald .mentor-track b {
	background: linear-gradient(90deg, #1fa363, #4ee294);
	box-shadow: 0 0 10px rgba(78, 226, 148, 0.35);
}

.mentor-stat-cyan .mentor-track b {
	background: linear-gradient(90deg, #1c7ec7, #5cc2ff);
	box-shadow: 0 0 10px rgba(92, 194, 255, 0.35);
}

.mentor-stat-footer {
	display: flex;
	align-items: center;
	gap: 7px;
	font-size: 11px;
	font-weight: 600;
	color: #7f919d;
	margin-top: auto;
}

.mentor-stat-footer i {
	font-size: 12px;
}

.mentor-stat-gold .mentor-stat-footer i { color: #dfb249; }
.mentor-stat-emerald .mentor-stat-footer i { color: #4de193; }
.mentor-stat-cyan .mentor-stat-footer i { color: #5cc2ff; }

/* =========================================================
   STORE & REWARDS SECTION (COMPACT & PROPORTIONAL)
   ========================================================= */
.mentor-panel {
	margin-top: 20px;
	border: 1px solid #283e4c;
	border-radius: 14px;
	background: rgba(10, 21, 29, 0.85);
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.mentor-heading {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #283e4c;
	background: linear-gradient(90deg, rgba(201, 154, 67, 0.09), rgba(18, 33, 43, 0.85));
}

.mentor-heading.compact {
	padding: 14px 18px;
}

.mentor-heading-kicker {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 9.5px;
	font-weight: 900;
	letter-spacing: 1.5px;
	color: #e5b94c;
	text-transform: uppercase;
	margin-bottom: 2px;
}

.mentor-heading h2 {
	margin: 0 0 3px !important;
	color: #ffffff !important;
	font: 700 20px/1.2 Cinzel, Georgia, serif !important;
}

.mentor-heading p {
	margin: 0 !important;
	color: #8395a1;
	font-size: 11.5px;
}

.mentor-heading-emblem {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid rgba(218, 171, 63, 0.3);
	border-radius: 10px;
	color: #f5c242;
	background: rgba(218, 171, 63, 0.08);
	font-size: 16px;
}

.mentor-rewards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding: 14px;
}

.mentor-rewards form {
	margin: 0;
	display: flex;
	flex-direction: column;
}

.mentor-reward-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	box-sizing: border-box;
	padding: 12px 12px 11px;
	border: 1px solid #283e4c;
	border-radius: 12px;
	background: radial-gradient(circle at 50% 16%, rgba(218, 171, 63, 0.07), transparent 40%),
	            linear-gradient(160deg, #13222a 0%, #0a151e 100%);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mentor-reward-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 15%;
	right: 15%;
	height: 1px;
	background: linear-gradient(90deg, transparent, #e5b94c, transparent);
	opacity: .7;
}

.mentor-reward-card:hover {
	transform: translateY(-3px);
	border-color: rgba(218, 171, 63, 0.48);
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35), 0 0 16px rgba(218, 171, 63, 0.12);
}

.mentor-reward-card.is-locked {
	opacity: .88;
	border-color: #21323e;
}

.mentor-reward-card.is-locked:hover {
	transform: translateY(-2px);
	border-color: #314654;
}

.mentor-reward-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
	gap: 6px;
}

.mentor-reward-code {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .8px;
	color: #9eb0bb;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 2px 6px;
	border-radius: 5px;
	line-height: 1.2;
}

.mentor-reward-status.available {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 9px;
	font-weight: 800;
	color: #4de193;
	background: rgba(43, 184, 114, 0.12);
	border: 1px solid rgba(43, 184, 114, 0.3);
	padding: 2px 7px;
	border-radius: 999px;
	line-height: 1.2;
}

.mentor-reward-status.locked {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 8.5px;
	font-weight: 700;
	color: #8799a4;
	background: rgba(17, 30, 39, 0.85);
	border: 1px solid rgba(49, 70, 84, 0.5);
	padding: 2px 7px;
	border-radius: 999px;
	line-height: 1.2;
}

/* Compact Showcase Stage */
.mentor-reward-stage {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 68px;
	margin: 2px 0 6px;
}

.mentor-stage-glow {
	position: absolute;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(218, 171, 63, 0.16) 0%, transparent 70%);
	pointer-events: none;
}

.mentor-stage-pedestal {
	width: 52px;
	height: 6px;
	border-radius: 50%;
	background: radial-gradient(ellipse at 50% 50%, rgba(218, 171, 63, 0.25) 0%, rgba(13, 24, 32, 0.6) 80%, transparent 100%);
	border-bottom: 1.5px solid rgba(218, 171, 63, 0.35);
	margin-top: 2px;
}

.mentor-reward-body {
	margin-bottom: 6px;
}

.mentor-reward-title {
	font: 700 14px/1.25 Cinzel, Georgia, serif;
	color: #f2f5f7;
	text-align: center;
	margin: 0 0 3px !important;
	min-height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	letter-spacing: .2px;
}

.mentor-reward-desc {
	font-size: 10.5px;
	line-height: 1.35;
	color: #8395a1;
	text-align: center;
	margin: 0 0 6px !important;
	min-height: 28px;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.mentor-reward-delivery {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	padding: 4px 8px;
	background: rgba(14, 25, 33, 0.55);
	border: 1px solid rgba(46, 69, 84, 0.35);
	border-radius: 6px;
	font-size: 9.5px;
	font-weight: 600;
	color: #98aab6;
	margin-bottom: 8px;
	width: 100%;
	box-sizing: border-box;
}

.mentor-reward-delivery i {
	color: #e5b94c;
	font-size: 10px;
}

.mentor-reward-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding-top: 8px;
	border-top: 1px solid #203340;
	margin-top: auto;
}

.mentor-price-tag small {
	display: block;
	font-size: 7.5px;
	font-weight: 800;
	letter-spacing: .8px;
	color: #788a95;
	text-transform: uppercase;
}

.mentor-price-tag strong {
	display: flex;
	align-items: center;
	gap: 3px;
	font-size: 13px;
	font-weight: 800;
	color: #f5c242;
	line-height: 1.1;
}

.mentor-price-tag strong span {
	font-size: 9px;
	font-weight: 700;
	color: #b89136;
	text-transform: uppercase;
}

.mentor-btn-redeem {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	height: 30px;
	padding: 0 11px;
	border: 1px solid #e1b44b;
	border-radius: 6px;
	background: linear-gradient(135deg, #e4b23f 0%, #b87b1c 100%);
	color: #0b1419 !important;
	font-size: 11px;
	font-weight: 800;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease;
}

.mentor-btn-redeem:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(228, 178, 63, 0.35);
	filter: brightness(1.08);
}

.mentor-btn-locked {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 5px;
	height: 30px;
	padding: 0 9px;
	border: 1px solid #2a3b47;
	border-radius: 6px;
	background: #132029;
	color: #647580;
	font-size: 10px;
	font-weight: 700;
	cursor: not-allowed;
}

/* =========================================================
   HISTORY TABLE
   ========================================================= */
.mentor-table {
	width: 100%;
	border-collapse: collapse;
}

.mentor-table th,
.mentor-table td {
	padding: 11px 14px;
	text-align: left;
	font-size: 11.5px;
}

.mentor-table th {
	color: #dce3e7;
	background: #162631;
	font-size: 9.5px;
	letter-spacing: .8px;
	text-transform: uppercase;
	font-weight: 800;
	border-bottom: 1px solid #293d4b;
}

.mentor-table td {
	border-top: 1px solid #1f3340;
	background: #0f1c24;
	color: #c7d0d6;
}

.mentor-table tbody tr:hover td {
	background: #152733;
}

.mentor-id-pill {
	font-weight: 800;
	color: #e5b94c;
}

.mentor-dest-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 10.5px;
	color: #9cb0bc;
}

.mentor-dest-pill i {
	color: #e5b94c;
}

.mentor-reward-name {
	color: #f1f4f6;
	font-weight: 700;
}

.mentor-cost-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 800;
	color: #e5b94c;
}

.mentor-status {
	display: inline-flex;
	padding: 3px 8px;
	border: 1px solid #40515d;
	border-radius: 999px;
	background: #14222b;
	color: #c9d1d7;
	font-size: 8.5px;
	font-weight: 800;
	letter-spacing: .5px;
	text-transform: uppercase;
}

.mentor-status.delivered {
	border-color: #2f6b50;
	background: #11271f;
	color: #6ad9a1;
}

.mentor-status.pending,
.mentor-status.processing {
	border-color: #79601f;
	background: #211d12;
	color: #e8b741;
}

.mentor-status.refunded,
.mentor-status.failed {
	border-color: #6d3b3b;
	background: #271717;
	color: #e08f8f;
}

.mentor-empty {
	padding: 26px !important;
	text-align: center !important;
	color: #748591 !important;
	font-size: 12px !important;
}

.mentor-empty i {
	margin-right: 6px;
	color: #a4b3be;
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 900px) {
	.mentor-stats {
		grid-template-columns: 1fr;
	}
	.mentor-rewards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 650px) {
	.mentor-rewards {
		grid-template-columns: 1fr;
	}
	.mentor-hero-emblem {
		display: none;
	}
	.mentor-hero-heading {
		font-size: 22px !important;
	}
	.mentor-hero-desc {
		font-size: 12px !important;
	}
}

/* =========================================================
   MENTOR TOAST NOTIFICATION (BOTTOM LEFT)
   ========================================================= */
.mentor-toast {
	position: fixed !important;
	bottom: 26px !important;
	left: 26px !important;
	top: auto !important;
	right: auto !important;
	z-index: 999999 !important;
	display: flex !important;
	align-items: center !important;
	gap: 14px !important;
	min-width: 320px !important;
	max-width: min(480px, calc(100vw - 40px)) !important;
	padding: 16px 48px 16px 18px !important;
	border: 1px solid #2d4554 !important;
	border-radius: 12px !important;
	background: linear-gradient(145deg, #13222c, #0d1720) !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06) !important;
	color: #eef3f6 !important;
	font: 600 13px/1.45 Roboto, Arial, sans-serif !important;
	overflow: hidden !important;
	animation: mentorToastIn .28s cubic-bezier(0.16, 1, 0.3, 1), mentorToastOut .25s ease-in 6s forwards !important;
}

.mentor-toast > i {
	font-size: 20px !important;
	flex-shrink: 0 !important;
}

.mentor-toast span {
	flex: 1 1 auto !important;
	min-width: 0 !important;
}

.mentor-toast button {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	display: grid !important;
	place-items: center !important;
	width: 26px !important;
	height: 26px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 6px !important;
	background: rgba(255, 255, 255, 0.06) !important;
	color: #8b9ea9 !important;
	cursor: pointer !important;
	transition: background .18s, color .18s !important;
}

.mentor-toast button:hover {
	background: rgba(255, 255, 255, 0.16) !important;
	color: #ffffff !important;
}

.mentor-toast-error {
	border-color: rgba(237, 132, 144, 0.45) !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(237, 132, 144, 0.14) !important;
}

.mentor-toast-error > i {
	color: #f06a78 !important;
}

.mentor-toast-success {
	border-color: rgba(85, 208, 149, 0.45) !important;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 24px rgba(85, 208, 149, 0.14) !important;
}

.mentor-toast-success > i {
	color: #4ee294 !important;
}

.mentor-toast::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	height: 3px;
	transform-origin: left;
	animation: mentorToastProgress 6s linear forwards;
}

.mentor-toast-error::after {
	background: linear-gradient(90deg, #d34250, #f06a78);
}

.mentor-toast-success::after {
	background: linear-gradient(90deg, #1fa363, #4ee294);
}

.mentor-toast:hover,
.mentor-toast:hover::after {
	animation-play-state: paused;
}

@keyframes mentorToastIn {
	from {
		opacity: 0;
		transform: translateY(20px) scale(0.95);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes mentorToastOut {
	to {
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px) scale(0.96);
	}
}

@keyframes mentorToastProgress {
	from { transform: scaleX(1); }
	to { transform: scaleX(0); }
}

@media (max-width: 600px) {
	.mentor-toast {
		left: 14px !important;
		right: 14px !important;
		bottom: 14px !important;
		min-width: 0 !important;
		max-width: none !important;
	}
}
