@charset "utf-8";
/* Compact CSS for Unit Test Marksheet */

/* Print settings stay same */
@page {
  margin: 0px;
  padding: 0px;
  size: auto;
}

@media print {
  .container_marksheet_template1 {
    width: 96.5% !important;
    height: 97.5% !important;
  }

  html,
  body {
    height: 100%;
  }

  .evaluation_table {
    min-width: 80% !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Times New Roman", serif;
  background: #fafafa;
  color: #000;
  font-size: 11pt;
  line-height: 1.3;
}

.container_marksheet_template1 {
  width: 97%;
  height: 94%;
  page-break-after: always;
  border: 1.5px solid #222;
  border-radius: 6px;
  margin: 0.5% auto;
  background: #fff;
  padding: 12px 18px;
}

/* Header */
.header_template1 {
  text-align: center;
  margin-bottom: 5px;
}

.logo_div_img_template1 img {
  width: 65px;
  height: auto;
  margin-bottom: 2px;
}

.heading_template1 {
  font-size: 16pt;
  font-weight: bold;
  text-transform: uppercase;
  color: #222;
}

.heading_code_info_template1,
.heading_address_template1,
.contact_template1 {
  font-size: 10pt;
  display: block;
  margin-top: 1px;
}

.heading_report_template1 {
  font-size: 18pt;
  font-weight: bold;
  margin-top: 8px;
  color: #1a237e;
  text-transform: uppercase;
}

.year_template1 {
  font-size: 10.5pt;
  margin-top: 2px;
  color: #444;
}

/* Student Info Section */
.student_info_template1 {
  width: 42%;
  display: inline-block;
  margin: 5px;
  vertical-align: top;
}

.student_info_table_template1 {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5pt;
}

.student_info_table_template1 td {
  padding: 3px 5px;
  border-bottom: 1px dashed #aaa;
  vertical-align: middle;
}

/* Table Title */
.table-title {
  text-align: center;
  margin: 15px 0 8px 0;
  font-size: 13pt;
  font-weight: bold;
  color: #222;
  text-transform: uppercase;
  border-bottom: 1.5px solid #000;
  display: inline-block;
  padding-bottom: 2px;
}

/* Evaluation Table */
.evaluation_table {
  border-collapse: collapse;
  width: 85%;
  margin: 0 auto;
  font-size: 10.5pt;
}

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

.evaluation_table th {
  background: #f2f2f2;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 10.5pt;
}

.evaluation_table td.subject-column {
  text-align: left;
}

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

.total-row {
  font-weight: bold;
  background: #e0e0e0;
}

/* Remarks Section */
.margintop50 .student_info_table_template1 td {
  border: 1px solid #999;
  height: 40px;
  padding: 6px;
  font-size: 10.5pt;
  font-style: italic;
  color: #333;
}

/* Footer Signatures */
.margintop50 .student_info_template1 {
  width: 40%;
  text-align: center;
}

.margintop50 .student_info_table_template1 td {
  border: none;
  font-weight: bold;
  padding: 15px 0 3px 0;
  border-top: 1px solid #000;
  font-size: 10.5pt;
}

/* Date & Note */
.date_footer {
  margin-top: 25px;
  font-size: 10.5pt;
  font-weight: bold;
}

.fullstretch.margintop20[style] {
  color: red;
  font-size: 9pt;
  font-style: italic;
  margin-top: 10px !important;
}
