.pva-student-dashboard {
	width: 100%;
	direction: rtl;
}

.pva-student-dashboard-container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
	padding: 40px 0 70px;
}

/* ==========================================================
   Student Hero
   ========================================================== */

.pva-student-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 42px 46px;
	margin-bottom: 28px;
	border-radius: 24px;
	overflow: hidden;
	background: linear-gradient(
		135deg,
		var(--pva-primary, #b48a4a) 0%,
		var(--pva-primary-dark, #80602f) 100%
	);
	color: #fff;
}

.pva-student-hero::after {
	content: "";
	position: absolute;
	width: 260px;
	height: 260px;
	left: -80px;
	bottom: -140px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
}

.pva-student-hero-content {
	position: relative;
	z-index: 1;
	flex: 1;
	min-width: 0;
}

.pva-student-hero-eyebrow {
	display: block;
	margin-bottom: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	opacity: 0.82;
}

.pva-student-hero-title {
	margin: 0 0 10px;
	font-size: clamp(28px, 4vw, 38px);
	line-height: 1.35;
	font-weight: 700;
	color: #fff;
}

.pva-student-hero-description {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.86);
}

.pva-student-hero-progress {
	position: relative;
	z-index: 1;
	width: 300px;
	flex-shrink: 0;
	padding: 20px;
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.10);
	backdrop-filter: blur(8px);
}

.pva-student-hero-progress-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 12px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.86);
}

.pva-student-hero-progress-header strong {
	font-size: 20px;
	color: #fff;
}

.pva-student-progress-bar {
	width: 100%;
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.20);
}

.pva-student-progress-bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: #fff;
	transition: width 0.35s ease;
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 900px) {

	.pva-student-dashboard-container {
		width: min(100% - 30px, 760px);
		padding-top: 30px;
	}

	.pva-student-hero {
		flex-direction: column;
		align-items: stretch;
		padding: 34px 30px;
		gap: 28px;
	}

	.pva-student-hero-progress {
		width: auto;
	}

}

@media (max-width: 600px) {

	.pva-student-dashboard-container {
		width: calc(100% - 20px);
		padding-top: 20px;
		padding-bottom: 45px;
	}

	.pva-student-hero {
		padding: 28px 22px;
		border-radius: 20px;
	}

	.pva-student-hero-title {
		font-size: 27px;
	}

	.pva-student-hero-description {
		font-size: 14px;
	}

	.pva-student-hero-progress {
		padding: 17px;
		border-radius: 15px;
	}

}

/* ==========================================================
   Student Dashboard — Stats Cards
   ========================================================== */

.pva-student-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 30px;
}

.pva-student-stat-card {
	min-width: 0;
	padding: 22px;
	border: 1px solid var(--pva-border, #e8e1d7);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.pva-student-stat-card-top {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 22px;
}

.pva-student-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	flex: 0 0 38px;
	border-radius: 12px;
	background: rgba(180, 138, 74, 0.10);
	color: var(--pva-primary, #b48a4a);
	font-size: 17px;
	font-weight: 700;
}

.pva-student-stat-label {
	min-width: 0;
	font-size: 13px;
	line-height: 1.7;
	color: #777;
}

.pva-student-stat-card-value-row {
	display: flex;
	align-items: baseline;
	gap: 7px;
	min-width: 0;
}

.pva-student-stat-value {
	display: block;
	font-size: 29px;
	line-height: 1.2;
	font-weight: 700;
	color: #292929;
}

.pva-student-stat-meta {
	font-size: 12px;
	color: #999;
}

/* ----------------------------------------------------------
   Individual states
   ---------------------------------------------------------- */

.pva-student-stat-card-progress .pva-student-stat-icon {
	background: rgba(72, 144, 104, 0.10);
	color: #488f68;
}

.pva-student-stat-card-completed .pva-student-stat-icon {
	background: rgba(72, 144, 104, 0.10);
	color: #488f68;
}

.pva-student-stat-card-time .pva-student-stat-icon {
	background: rgba(80, 110, 150, 0.10);
	color: #506e96;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 1000px) {

	.pva-student-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 600px) {

	.pva-student-stats {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 22px;
	}

	.pva-student-stat-card {
		padding: 18px;
		border-radius: 16px;
	}

	.pva-student-stat-card-top {
		margin-bottom: 15px;
	}

	.pva-student-stat-value {
		font-size: 25px;
	}

}

/* ==========================================================
   Student Dashboard — Continue Learning
   ========================================================== */

.pva-student-learning-section {
	margin-bottom: 30px;
}

.pva-student-section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.pva-student-section-heading > div {
	min-width: 0;
}

.pva-student-section-eyebrow {
	display: block;
	margin-bottom: 4px;
	font-size: 12px;
	font-weight: 600;
	color: var(--pva-primary, #b48a4a);
}

.pva-student-section-heading h2 {
	margin: 0;
	font-size: 22px;
	line-height: 1.5;
	font-weight: 700;
	color: #292929;
}

.pva-student-section-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	flex-shrink: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--pva-primary, #b48a4a);
	text-decoration: none;
}

.pva-student-section-link:hover {
	text-decoration: underline;
}

.pva-student-learning-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
	padding: 28px 30px;
	border: 1px solid var(--pva-border, #e8e1d7);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(0, 0, 0, 0.04);
}

.pva-student-learning-card-content {
	min-width: 0;
}

.pva-student-learning-card-label {
	display: block;
	margin-bottom: 7px;
	font-size: 12px;
	font-weight: 600;
	color: var(--pva-primary, #b48a4a);
}

.pva-student-learning-card h3 {
	margin: 0 0 7px;
	font-size: 19px;
	line-height: 1.6;
	font-weight: 700;
	color: #292929;
}

.pva-student-learning-card p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #888;
}

.pva-student-learning-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 125px;
	padding: 12px 20px;
	border-radius: 12px;
	background: var(--pva-primary, #b48a4a);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.pva-student-learning-button:hover {
	color: #fff;
	opacity: 0.92;
	transform: translateY(-1px);
}

.pva-student-learning-empty {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 28px 30px;
	border: 1px dashed #ddd4c8;
	border-radius: 20px;
	background: #fff;
}

.pva-student-learning-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 14px;
	background: rgba(180, 138, 74, 0.10);
	color: var(--pva-primary, #b48a4a);
	font-size: 22px;
}

.pva-student-learning-empty h3 {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 700;
	color: #333;
}

.pva-student-learning-empty p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #888;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 600px) {

	.pva-student-section-heading {
		align-items: flex-start;
	}

	.pva-student-section-heading h2 {
		font-size: 20px;
	}

	.pva-student-learning-card {
		align-items: stretch;
		flex-direction: column;
		padding: 23px;
		gap: 20px;
	}

	.pva-student-learning-button {
		width: 100%;
	}

	.pva-student-learning-empty {
		align-items: flex-start;
		padding: 22px;
	}

}

/* ==========================================================
   Student Dashboard — Today Mission
   ========================================================== */

.pva-student-mission-section {
	margin-bottom: 30px;
}

.pva-student-mission-card {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 26px 28px;
	border: 1px solid var(--pva-border, #e8e1d7);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(0, 0, 0, 0.04);
}

.pva-student-mission-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	flex: 0 0 52px;
	border-radius: 15px;
	background: rgba(180, 138, 74, 0.11);
	color: var(--pva-primary, #b48a4a);
	font-size: 23px;
}

.pva-student-mission-content {
	flex: 1;
	min-width: 0;
}

.pva-student-mission-label {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 600;
	color: var(--pva-primary, #b48a4a);
}

.pva-student-mission-content h3 {
	margin: 0 0 5px;
	font-size: 17px;
	line-height: 1.6;
	font-weight: 700;
	color: #292929;
}

.pva-student-mission-content p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #888;
}

.pva-student-mission-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 11px 18px;
	border-radius: 11px;
	background: var(--pva-primary, #b48a4a);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.pva-student-mission-button:hover {
	color: #fff;
	opacity: 0.92;
	transform: translateY(-1px);
}

.pva-student-mission-empty {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 25px 28px;
	border: 1px dashed #ddd4c8;
	border-radius: 20px;
	background: #fff;
}

.pva-student-mission-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 14px;
	background: rgba(180, 138, 74, 0.10);
	color: var(--pva-primary, #b48a4a);
	font-size: 21px;
}

.pva-student-mission-empty h3 {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 700;
	color: #333;
}

.pva-student-mission-empty p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #888;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 600px) {

	.pva-student-mission-card {
		align-items: stretch;
		flex-wrap: wrap;
		padding: 22px;
	}

	.pva-student-mission-content {
		flex-basis: calc(100% - 72px);
	}

	.pva-student-mission-button {
		width: 100%;
	}

	.pva-student-mission-empty {
		align-items: flex-start;
		padding: 22px;
	}

}

/* ==========================================================
   Student Dashboard — Last Assignment
   ========================================================== */

.pva-student-assignment-section {
	margin-bottom: 30px;
}

.pva-student-assignment-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 26px 28px;
	border: 1px solid var(--pva-border, #e8e1d7);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 7px 24px rgba(0, 0, 0, 0.04);
}

.pva-student-assignment-content {
	min-width: 0;
	flex: 1;
}

.pva-student-assignment-label {
	display: block;
	margin-bottom: 5px;
	font-size: 12px;
	font-weight: 600;
	color: var(--pva-primary, #b48a4a);
}

.pva-student-assignment-content h3 {
	margin: 0 0 10px;
	font-size: 17px;
	line-height: 1.6;
	font-weight: 700;
	color: #292929;
}

.pva-student-assignment-status {
	display: inline-flex;
	align-items: center;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f3f1ed;
	color: #777;
	font-size: 11px;
	font-weight: 600;
}

.pva-student-assignment-status-approved {
	background: rgba(72, 144, 104, 0.10);
	color: #488f68;
}

.pva-student-assignment-status-reviewed {
	background: rgba(80, 110, 150, 0.10);
	color: #506e96;
}

.pva-student-assignment-status-pending {
	background: rgba(180, 138, 74, 0.10);
	color: var(--pva-primary, #b48a4a);
}

.pva-student-assignment-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 125px;
	padding: 11px 18px;
	border-radius: 11px;
	background: var(--pva-primary, #b48a4a);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.pva-student-assignment-button:hover {
	color: #fff;
	opacity: 0.92;
	transform: translateY(-1px);
}

.pva-student-assignment-empty {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 25px 28px;
	border: 1px dashed #ddd4c8;
	border-radius: 20px;
	background: #fff;
}

.pva-student-assignment-empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border-radius: 14px;
	background: rgba(72, 144, 104, 0.10);
	color: #488f68;
	font-size: 19px;
	font-weight: 700;
}

.pva-student-assignment-empty h3 {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 700;
	color: #333;
}

.pva-student-assignment-empty p {
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	color: #888;
}

/* ----------------------------------------------------------
   Responsive
   ---------------------------------------------------------- */

@media (max-width: 600px) {

	.pva-student-assignment-card {
		align-items: stretch;
		flex-direction: column;
		padding: 22px;
		gap: 18px;
	}

	.pva-student-assignment-button {
		width: 100%;
	}

	.pva-student-assignment-empty {
		align-items: flex-start;
		padding: 22px;
	}

}
/* ==========================================================
   Student Dashboard — Assignment Badges Spacing
   ========================================================== */

.pva-student-assignment-status {
	margin-inline-start: 8px;
}
