@charset "utf-8";
/* CSS Document */

@page
{
	margin: 0;
	padding: 0;
	size: 100%;
}

*
{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Calibri', Arial, sans-serif;
}

html,
body
{
	background-color: #f9f9f9;
	width: 100%;
	height: 100%;
	/* overflow: hidden; */
}

.report-container
{
	width: 100%;
	height: 100vh;
	margin: 0;
	padding: 15px;
	background-color: #fbf8e6;
	position: relative;
	border: 8px double #8B0000;
	display: flex;
	flex-direction: column;
}

.header
{
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 10px;
	padding-bottom: 8px;
	/* border-bottom: 2px solid #8B0000; */
	flex-shrink: 0;
}

.main-content
{
	flex: 1;
	display: flex;
	flex-direction: column;
}

.logo
{
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	flex-shrink: 0;
}

.logo img
{
	max-width: 100%;
	max-height: 100%;
}

.school-info
{
	text-align: center;
	flex-grow: 1;
}

.school-name
{
	font-size: 24px;
	font-weight: bold;
	text-transform: uppercase;
	color: #8B0000;
	margin-bottom: 5px;
	font-family: 'Cambria', serif;
}

.affiliation-code,
.address,
.contact
{
	font-size: 12px;
	line-height: 1.4;
}

.report-title
{
	text-align: center;
	font-size: 24px;
	font-weight: bold;
	color: #8B0000;
	margin: 10px 0;
	font-family: 'Monotype Corsiva', cursive;
}

.academic-year
{
	text-align: center;
	font-weight: bold;
	margin-bottom: 10px;
	font-size: 14px;
}

.student-details
{
	display: flex;
	justify-content: space-between;
	margin-bottom: 15px;
	border: 1px solid #8B0000;
	padding: 8px;
	background-color: rgba(255, 255, 255, 0.5);
	flex-shrink: 0;
}

.student-column
{
	width: 48%;
}

.student-row
{
	display: flex;
	margin-bottom: 8px;
}

.student-label
{
	width: 120px;
	font-weight: bold;
}

.student-value
{
	flex-grow: 1;
	border-bottom: 1px dotted #333;
	padding-left: 5px;
}

.marks-table
{
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 15px;
	flex-shrink: 0;
}

.marks-table th,
.marks-table td
{
	border: 1px solid #8B0000;
	padding: 6px;
	text-align: center;
}

.marks-table th
{
	background-color: rgba(139, 0, 0, 0.1);
	color: #8B0000;
	text-transform: uppercase;
	font-weight: bold;
	font-size: 12px;
}

.marks-table tr:nth-child(even)
{
	background-color: rgba(255, 255, 255, 0.5);
}

.marks-table tr:nth-child(odd)
{
	background-color: rgba(255, 255, 255, 0.3);
}

.total-row
{
	font-weight: bold;
	text-transform: uppercase;
	background-color: rgba(139, 0, 0, 0.05) !important;
}

.remarks-section
{
	margin-bottom: 25px;
	border: 1px solid #8B0000;
	padding: 10px;
	background-color: rgba(255, 255, 255, 0.5);
}

.remarks-heading
{
	font-weight: bold;
	margin-bottom: 10px;
}

.remarks-content
{
	min-height: 60px;
	border-bottom: 1px dotted #8B0000;
}

.signatures
{
	display: flex;
	justify-content: space-between;
	margin: 30px 0;
}

.signature-box
{
	width: 45%;
	text-align: center;
}

.signature-line
{
	/* border-top: 1px solid #333; */
	margin-top: 30px;
	padding-top: 5px;
}

.date-section
{
	margin-top: 20px;
	display: flex;
}

.date-label
{
	font-weight: bold;
	margin-right: 10px;
}

.date-value
{
	width: 200px;
	border-bottom: 1px dotted #333;
}

.disclaimer
{
	margin-top: 20px;
	text-align: center;
	font-size: 10px;
	color: #6c6b6b;
	font-style: italic;
}

@media print
{
	@page
	{
		size: A4;
		margin: 1.5cm 0;

	}

	*
	{
		box-shadow: none !important;
		/* background: transparent !important; */
	}

	body
	{
		/* background: none; */
		margin: 0;
		padding: 0;
		width: 100%;
		height: 100%;
	}

	.logo,
	.school-name
	{
		/* display: none; */
	}



	.report-container
	{
		width: 100vw;
		height: 100vh;
		margin: 0;
		border: none;
		box-shadow: none;
		page-break-after: always;
	}
}

