* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #eef2f5;
	font-family: 'Inter', sans-serif;
	color: #1e2a3e;
	line-height: 1.45;
	padding: 40px 24px;
}

.profile-actions {
	max-width: 1280px;
	margin: 0 auto 14px;
	display: flex;
	justify-content: flex-end;
}

.export-pdf-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: 12px;
	background: linear-gradient(135deg, #256f5c, #2f8b73);
	color: #ffffff;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 10px 20px rgba(37, 111, 92, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.export-pdf-btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 22px rgba(37, 111, 92, 0.28);
}

.export-pdf-btn:active {
	transform: translateY(0);
	box-shadow: 0 6px 14px rgba(37, 111, 92, 0.24);
}

/* main card container */
.resume-container {
	max-width: 1280px;
	margin: 0 auto;
	background: #ffffff;
	border-radius: 32px;
	box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.2);
	overflow: hidden;
	transition: all 0.2s;
}

/* two column layout */
.resume-grid {
	display: grid;
	grid-template-columns: 34% 66%;
}

/* ========== LEFT PANEL (SIDEBAR) ========== */
.sidebar {
	background: #1f2b38;
	color: #eef2ff;
	padding: 2rem 1.8rem;
	height: 100%;
}

.avatar {
	display: flex;
	justify-content: center;
	margin-bottom: 1.5rem;
}

.avatar-circle {
	width: 120px;
	height: 120px;
	background: linear-gradient(135deg, #2b7a62, #3b9e82);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
	border: 3px solid rgba(255, 255, 255, 0.3);
}

.avatar-circle span {
	font-size: 3rem;
	font-weight: 600;
	color: white;
	letter-spacing: 1px;
}

.avatar-img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}

.sidebar h2 {
	font-size: 1.3rem;
	font-weight: 600;
	margin: 1.5rem 0 1rem 0;
	border-left: 4px solid #4fbfa5;
	padding-left: 12px;
	color: #f0f9ff;
}

.sidebar h2:first-of-type {
	margin-top: 0;
}

.personal-detail p {
	margin: 0.6rem 0;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.9rem;
	font-weight: 400;
	color: #dce5f0;
}

.personal-detail i {
	width: 24px;
	font-size: 1rem;
	color: #6ecfb7;
}

.edu-text,
.cert-item,
.achievement-item,
.lang-item {
	font-size: 0.88rem;
	margin-bottom: 0.7rem;
	line-height: 1.4;
	color: #e0e8f2;
}

.cert-item i,
.achievement-item i,
.lang-item i {
	margin-right: 10px;
	color: #6ecfb7;
	width: 20px;
}

.cert-item,
.achievement-item {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.lang-item {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

hr.divider-light {
	margin: 1rem 0;
	border: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.15);
}

/* ========== RIGHT PANEL (CONTENT) ========== */
.main-content {
	background: white;
	padding: 2rem 2.2rem;
}

.header-name h1 {
	font-size: 2.5rem;
	font-weight: 700;
	color: #0f2b2d;
	letter-spacing: -0.5px;
	margin-bottom: 0.25rem;
}

.header-name .title-tag {
	font-size: 1rem;
	font-weight: 500;
	color: #2b7a62;
	background: #e0f2ed;
	display: inline-block;
	padding: 0.2rem 1rem;
	border-radius: 40px;
	margin-bottom: 1rem;
}

.section-title {
	font-size: 1.3rem;
	font-weight: 700;
	color: #1f2b38;
	margin: 1.6rem 0 1rem 0;
	padding-bottom: 0.5rem;
	border-bottom: 3px solid #4fbfa5;
	display: inline-block;
}

.summary-text {
	background: #f8fafc;
	padding: 1rem 1.2rem;
	border-radius: 20px;
	margin: 1rem 0 1rem 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: #1e2a3e;
	border-left: 5px solid #2b7a62;
}

.summary-text p {
	margin-bottom: 0.5rem;
}

.summary-list {
	padding-left: 1.2rem;
	margin-top: 0.5rem;
}

.summary-list li {
	margin-bottom: 0.4rem;
}

/* employer block */
.employer-block {
	margin-bottom: 2rem;
}

.employer-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	margin: 1rem 0 0.5rem 0;
}

.employer-name {
	font-size: 1.4rem;
	font-weight: 700;
	color: #0b3b3a;
}

.employer-date {
	font-size: 0.85rem;
	font-weight: 500;
	color: #5b6f82;
	background: #ecf3f8;
	padding: 0.2rem 0.8rem;
	border-radius: 20px;
}

.project-card {
	background: #ffffff;
	border-radius: 20px;
	margin: 1rem 0 1.4rem 0;
	padding: 0.2rem 0 0 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	border: 1px solid #e9edf2;
	transition: 0.1s;
}

.project-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: #1f3b3a;
	background: #f6fafd;
	padding: 0.9rem 1.2rem;
	border-radius: 20px 20px 0 0;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.project-name {
	display: flex;
	align-items: center;
	gap: 8px;
}

.project-name i {
	color: #2b7a62;
}

.project-badge {
	font-size: 0.7rem;
	background: #e1ece9;
	padding: 4px 10px;
	border-radius: 50px;
	font-weight: 500;
	color: #1d5e4f;
}

.project-details {
	padding: 1rem 1.2rem;
}

.detail-row {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 0.8rem;
	font-size: 0.85rem;
	color: #2c4755;
	background: #f9fbfd;
	padding: 0.5rem 0.8rem;
	border-radius: 14px;
}

.detail-item {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-right: 1.2rem;
}

.detail-item i {
	width: 18px;
	color: #2b7a62;
}

.project-description {
	font-size: 0.9rem;
	margin: 0.75rem 0;
	color: #2d3e50;
	line-height: 1.45;
}

.responsibilities-list {
	margin: 0.5rem 0 0.2rem 1.2rem;
}

.responsibilities-list li {
	margin-bottom: 0.5rem;
	font-size: 0.87rem;
	line-height: 1.4;
}

.sub-label {
	font-weight: 600;
	margin-top: 0.7rem;
	margin-bottom: 0.3rem;
	font-size: 0.85rem;
	color: #1f5e50;
}

hr.sep-light {
	margin: 0.5rem 0;
	border: 0;
	height: 1px;
	background: #e2edf2;
}

@media (max-width: 850px) {
	.profile-actions {
		margin-bottom: 10px;
	}

	.export-pdf-btn {
		width: 100%;
		justify-content: center;
	}

	.resume-grid {
		grid-template-columns: 1fr;
	}

	body {
		padding: 20px 16px;
	}

	.sidebar {
		padding: 1.5rem;
	}

	.main-content {
		padding: 1.5rem;
	}

	.employer-header {
		flex-direction: column;
		gap: 5px;
	}

	.project-title {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
	}
}

@page {
	size: A4 portrait;
	margin: 10mm;
}

@media print {
	.profile-actions {
		display: none;
	}

	html,
	body {
		width: 100%;
		background: #ffffff;
		padding: 0;
		margin: 0;
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
	}

	.resume-container {
		max-width: none;
		width: 100%;
		margin: 0;
		border-radius: 0;
		box-shadow: none;
		overflow: visible;
	}

	.resume-grid {
		grid-template-columns: 33% 67%;
	}

	.sidebar {
		padding: 14mm 6mm;
	}

	.main-content {
		padding: 10mm 8mm;
	}

	.header-name h1 {
		font-size: 22pt;
		line-height: 1.15;
	}

	.header-name .title-tag {
		font-size: 10pt;
	}

	.section-title {
		font-size: 14pt;
		margin: 5mm 0 3mm;
	}

	.summary-text,
	.project-card,
	.employer-block,
	.employer-header,
	.project-title,
	.project-details,
	.detail-row,
	.responsibilities-list,
	.personal-detail,
	.cert-item,
	.achievement-item,
	.lang-item,
	.edu-text {
		break-inside: avoid;
		page-break-inside: avoid;
	}

	.project-card {
		box-shadow: none;
		margin: 0 0 3mm;
	}

	.project-title {
		padding: 3mm 4mm;
	}

	.project-details {
		padding: 3mm 4mm;
	}

	.project-description,
	.responsibilities-list li,
	.detail-row,
	.personal-detail p,
	.edu-text,
	.cert-item,
	.achievement-item,
	.lang-item {
		font-size: 9pt;
		line-height: 1.35;
	}

	.avatar {
		margin-bottom: 4mm;
	}

	.avatar-circle {
		width: 34mm;
		height: 34mm;
	}

	hr.divider-light,
	hr.sep-light {
		margin: 2.5mm 0;
	}
}

.print-friendly {
	background: white;
}

.fa,
.fas,
.far {
	font-size: 0.9rem;
}

.badge-achievement {
	background: #2b7a6220;
	border-radius: 12px;
	padding: 0.2rem 0.6rem;
	font-size: 0.75rem;
	font-weight: 500;
	color: #1a5e4b;
}
