@charset "utf-8";

@page {
    margin: 0.5cm;
    size: A4;
}

body {
    font-family: 'Calibri', 'Segoe UI', 'Arial', sans-serif;
    background-color: #fff;
}

.container_marksheet_template1 {
    width: 100%;
    height: auto;
    background: #ffffff;
    border: 1px solid #2c3e50;
}

.content_container_template1 {
    padding: 10px 2%;
}

/* --- Header Section --- */
.header_template1 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 10px;
}

.logo_div_img_template1 img {
    width: 70px;
    height: auto;
    margin-right: 20px;
}

.header_institution {
    text-align: center;
}

.heading_template1 {
    font-size: 18pt;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.heading_code_info_template1,
.heading_address_template1,
.contact_template1 {
    font-size: 10pt;
    font-weight: 600;
    color: #777;
}

.header-divider, .section-divider {
    border: 0;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

/* --- Report Title Section --- */
.header_info_container {
    text-align: center;
    margin-bottom: 15px;
}

.heading_report_template1 {
    font-size: 14pt;
    font-weight: 700;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.year_template1 {
    font-size: 10pt;
    font-weight: 700;
    color: #777;
}

/* --- Student Info Section --- */
.student-info-section {
    margin-bottom: 15px;
}

.student_info_table_template1 {
    width: 100%;
    border-collapse: collapse;
}

.student_info_table_template1 td {
    padding: 6px 10px;
    font-size: 10pt;
    border-bottom: 1px dashed #eee;
}

.info-label {
    font-weight: 600;
    color: #333;
    width: 20%;
}

.info-value {
    width: 30%;
}

/* --- Subject Evaluation Table --- */
.evaluation-container {
    margin-bottom: 10px;
}

.title {
    font-size: 12pt;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
    text-transform: uppercase;
}

.evaluation_table {
    width: 100%;
    border-collapse: collapse;
}

.evaluation_table th {
    background-color: #34495e;
    color: white;
    font-weight: 600;
    text-align: center;
    padding: 8px;
    font-size: 10pt;
    border: 1px solid #34495e;
    text-transform: uppercase;
}

.evaluation_table td {
    padding: 8px 10px;
    font-size: 10pt;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.evaluation_table .subject-name {
    text-align: left;
    font-weight: normal;
}

.evaluation_table tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* --- Summary and Remarks --- */
summary-container {
    width: 100%;
}

.summary-table {
    width: 100%;
    border-collapse: collapse;
}

.summary-table td {
    font-size: 10pt;
    padding: 5px 5px 10px 5px;
    border-bottom: 1px dashed #eee; 
}

.summary-label {
    font-weight: bold;
    color: #333;
    width: 25%; 
    text-align: left;
}

.summary-value {
    width: 25%; 
    text-align: left;
    padding-left: 10px;
}

.remarks-box {
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 10pt;
    min-height: 60px;
}

/* --- Signatures and Date --- */
.signature-container {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    text-align: center;
}

.signature-box {
    width: 100%;
}

.signature-box span {
    font-size: 10pt;
    font-weight: 600;
    color: #333;
}

.signature-line {
    border-top: 1px solid #000;
    margin-top: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.date-container {
    margin-top: 30px;
    font-size: 11pt;
    color: #888;
    font-weight: 600;
}

.disclaimer {
    font-style: italic;
    text-align: center;
    margin-top: 30px;
    font-size: 10pt;
    color: #e74c3c;
}

/* Print-specific adjustments */
@media print {
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}