/* PDF Biodata and Report Styles */
body {
	font-family: 'DejaVu Sans', sans-serif;
	color: #333;
	line-height: 1.6;
	margin: 0;
	padding: 0;
}

.page-border {
	border: 15px solid #f8f9fa;
	padding: 40px;
	min-height: 1000px;
	position: relative;
}

.header {
	text-align: center;
	margin-bottom: 40px;
}

.header h1 {
	margin: 0;
	font-size: 28px;
	text-transform: uppercase;
}

.header p {
	color: #888;
	margin-top: 5px;
	font-style: italic;
}

.momp-profile-header {
	width: 100%;
	margin-bottom: 30px;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 20px;
}

.momp-profile-img {
	width: 150px;
	height: 150px;
	object-fit: cover;
	border: 4px solid #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	display: block;
	margin: 0 auto 20px auto;
}

.momp-profile-placeholder {
	width: 150px;
	height: 150px;
	background: #f1f5f9;
	border: 4px solid #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	display: block;
	margin: 0 auto 20px auto;
	text-align: center;
	line-height: 150px;
	color: #94a3b8;
	font-size: 14px;
}

.momp-main-info {
	overflow: hidden;
}

.momp-main-info h2 {
	margin: 0 0 10px 0;
	font-size: 24px;
}

.momp-id-badge {
	display: inline-block;
	color: #fff;
	padding: 2px 10px;
	border-radius: 4px;
	font-size: 14px;
	margin-bottom: 15px;
}

.momp-section {
	clear: both;
	margin-top: 30px;
	page-break-inside: avoid;
	page-break-before: auto !important;
}

.momp-section-title {
	background: #f1f5f9;
	padding: 8px 15px;
	font-weight: bold;
	font-size: 16px;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.momp-grid {
	width: 100%;
}

.momp-grid td {
	padding: 8px 0;
	vertical-align: top;
	font-size: 14px;
}

.momp-label {
	font-weight: bold;
	color: #64748b;
	width: 170px;
}

.momp-value {
	color: #334155;
}

.momp-about-box {
	background: #fcfcfc;
	border: 1px solid #e2e8f0;
	padding: 15px;
	border-radius: 8px;
	font-size: 14px;
	color: #475569;
	page-break-inside: avoid;
}

.footer {
	text-align: center;
	font-size: 11px;
	color: #94a3b8;
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
}

/* Report Specific Styles */
.momp-profile-container {
	width: 100%;
	margin-bottom: 40px;
}

.momp-profile-card {
	width: 45%;
	display: inline-block;
	vertical-align: top;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 15px;
	height: 600px;
}

.momp-profile-card.right {
	float: right;
}

.momp-profile-card.left {
	float: left;
}

.momp-profile-card h3 {
	margin-top: 0;
	padding-bottom: 10px;
	text-align: center;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}

.momp-detail-row {
	margin-bottom: 8px;
	font-size: 14px;
}

.momp-detail-label {
	font-weight: bold;
	color: #666;
	margin-right: 5px;
}

.momp-match-section {
	clear: both;
	padding-top: 30px;
}

.momp-match-summary {
	text-align: center;
	padding: 20px;
	border-radius: 12px;
	margin-bottom: 30px;
}

.momp-match-score {
	font-size: 42px;
	font-weight: bold;
	margin: 0;
}

.momp-match-text {
	font-size: 18px;
	margin-top: 5px;
}

table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 20px;
}

th {
	color: #fff;
	text-align: left;
	padding: 12px;
	font-size: 14px;
}

td {
	padding: 12px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

tr:nth-child(even) {
	background: #fafafa;
}

.momp-koota-name {
	font-weight: bold;
	text-transform: capitalize;
}

.momp-interpretation {
	margin-top: 20px;
	padding: 15px;
	background: #fdfdfd;
	font-style: italic;
	font-size: 14px;
}

.momp-vs-circle {
	position: absolute;
	left: 50%;
	top: 250px;
	margin-left: -20px;
	width: 40px;
	height: 40px;
	color: #fff;
	border-radius: 50%;
	text-align: center;
	line-height: 40px;
	font-weight: bold;
}

.momp-price-tag {
	position: absolute;
	top: 40px;
	right: 40px;
	color: #fff;
	padding: 5px 15px;
	border-radius: 20px;
	font-weight: bold;
	font-size: 14px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Biodata specific colors (Fallback if dynamic failed) */
.biodata-theme .page-border {
	border-top: 15px solid #1e40af;
}

.biodata-theme .header h1 {
	color: #1e40af;
}

.biodata-theme .momp-main-info h2 {
	color: #1e40af;
}

.biodata-theme .momp-id-badge {
	background: #1e40af;
}

.biodata-theme .momp-section-title {
	border-left: 5px solid #1e40af;
	color: #1e40af;
}

/* Report specific colors (Fallback if dynamic failed) */
.report-theme .page-border {
	border-top: 15px solid #ff4d6d;
}

.report-theme .header h1 {
	color: #ff4d6d;
}

.report-theme .momp-profile-card h3 {
	color: #ff4d6d;
	border-bottom: 2px solid #fff0f3;
}

.report-theme .momp-profile-img {
	border: 3px solid #fff0f3;
}

.report-theme .momp-match-summary {
	background: #fff0f3;
}

.report-theme .momp-match-score {
	color: #ff4d6d;
}

.report-theme .momp-match-text {
	color: #c9184a;
}

.report-theme th {
	background: #ff4d6d;
}

.report-theme .momp-interpretation {
	border-left: 4px solid #ffb3c1;
}

.report-theme .momp-vs-circle {
	background: #ff4d6d;
}

.report-theme .momp-price-tag {
	background: #ff4d6d;
}