@charset "utf-8";

 @page {
      margin: 0;
      padding: 0;
      size: auto;
    }

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

    body {
      font-family: 'Calibri', 'Segoe UI', Arial, sans-serif;
      line-height: 1.3;
      color: #000;
      background-color: #f5f5f5;
    }

    /* Container Styling */
    .container_marksheet_template1 {
      width: 100%;
      height: 100%;
      page-break-after: always;
      border: 1px solid #cccccc;
      margin: 0 auto;
      background: #ffffff;
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
      position: relative;
    }

    .content_container_template1 {
      padding: 15px 2%;
    }

    /* Header Styling */
    .header_template1 {
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid #eaeaea;
    }

    .logo_div_img_template1 img {
      width: 70px;
      height: auto;
      margin-right: 20px;
    }

    .header_institution {
      margin-left: 10px;
      text-align: center;
    }

    .heading_template1 {
      font-size: 20pt;
      text-transform: uppercase;
      font-weight: bold;
      color: #0b722d;
      letter-spacing: 1px;
      margin-bottom: 2px;
    }

    .heading_code_info_template1 {
      font-size: 10pt;
      font-weight: bold;
      color: #666;
    }

    .heading_address_template1, .contact_template1 {
      font-size: 9pt;
      font-weight: bold;
      color: #666;
    }

    .heading_report_template1 {
      font-size: 16pt;
      font-weight: bold;
      color: #0b722d;
      margin-bottom: 4px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }

    .year_template1 {
      font-size: 12pt;
      color: #666;
      font-weight: bold;
    }

    /* Student Info Section */
    .student_info_template1 {
      width: 48%;
      vertical-align: top;
      padding: 5px 10px;
    }

    .student_info_table_template1 {
      width: 100%;
      border-collapse: collapse;
    }

    .student_info_table_template1 td {
      padding: 4px 0;    
    }

    /* Tables Styling */
    .table1_container_template1 {
      margin-top: 10px;
    }

    .table1_template1 {
      border-collapse: collapse;
      width: 98%;
      margin: 0 auto;
      border: 1px solid #d9d9d9;
      font-size: 9pt;
    }

    .table1_template1 th {
      background-color: #0b722d;
      color: white;
      font-weight: bold;
      text-align: center;
      padding: 4px;
    }

    .table1_template1 td {
      padding: 4px;
      text-align: center;
      border: 1px solid #d9d9d9;
    }

    .table1_template1 tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    .alignleft {
      text-align: left;
    }

    .alignright {
      text-align: right;
    }

    .aligncenter {
      text-align: center;
    }

    .texttransformupper {
      text-transform: uppercase;
    }

    /* Utility Classes */
    .fullstretch {
      width: 100%;
    }

    .margintop5 {
      margin-top: 5px;
    }

    .margintop10 {
      margin-top: 10px;
    }

    .margintop20 {
      margin-top: 20px;
    }

    .margintop35 {
      margin-top: 35px;
    }

    .marginbottom10 {
      margin-bottom: 10px;
    }

    .flexbox-row-spacearound-start {
      display: flex;
      justify-content: space-around;
      align-items: flex-start;
      flex-wrap: wrap;
    }

    .fontsize11 {
      font-size: 11pt;
    }

    .evaluation_table {
      width: 98%;
      margin: 0 auto;
    }

    .tablelayout_fixed {
      table-layout: fixed;
      width: 100%;
    }
    
    .container_marksheet_template1.fullstretch label {
      display: block;
      font-weight: 600;
      font-size: 14px;
      color: #333;
      /*margin-bottom: 2px;*/
      text-align: center;
        /*padding: 5px 6px;*/
    }

    .container_marksheet_template1.fullstretch select,
    .container_marksheet_template1.fullstretch input[type="date"] {
      width: 50%;
      padding: 5px 6px;
      margin-bottom: 1px;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 14px;
      transition: border-color 0.3s;
    }
    
    .container_marksheet_template1.fullstretch select:focus,
    .container_marksheet_template1.fullstretch input[type="date"]:focus {
      border-color: #3f51b5;
      outline: none;
    }

    .fullstretch button#submit_marksheet {
      background: #3f51b5;
      color: #fff;
      font-size: 15px;
      padding: 10px 18px;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.3s;
      margin-top: 6px;
    }

    .fullstretch button#submit_marksheet:hover {
      background: #2c3e99;
    }

/* Print styles */
@media print {
    body {
        margin: 0;
        padding: 0;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    
    .container_marksheet_template1 {
        width: 96.5% !important;
        height: 97.5% !important;
        background: none !important;
        border: none !important;
        margin: 0 auto !important; 
        padding: 0 !important;
        box-shadow : none !important;
    }
    
    .content_container_template1 {
        padding: 0.5cm 1cm !important;
    }
    
    .header_template1 {
        flex-direction: column;
        align-items: center;
        border-bottom: none;
        padding-bottom: 0;
        border-bottom: 1px solid #000 !important;
    }
    
    .logo_div_img_template1 {
        display: none !important;
    }
    
    .header_institution {
        text-align: center !important;
        margin-left: 0 !important;
        color: #000 !important;
    }
    
    .heading_template1 {
        opacity: 0 !important;
        margin: 0;
        padding: 0;
        height: 0;
        line-height: 0;
        font-size: 0;
    }
    
    .heading_code_info_template1, 
    .heading_address_template1, 
    .contact_template1 {
        color: #000 !important;
    }
    
    .heading_report_template1 {
        color: #000 !important;
    }
    
    .year_template1 {
        color: #000 !important;
        font-weight: normal !important;
    }
    
    /* Tables Styling */
    .table1_template1 {
      border: 1px solid #000 !important;
    }

    .table1_template1 th {
      background-color: #fff !important;
      color: #000 !important;
    }

    .table1_template1 td {
      border: 1px solid #000 !important;
    }

    .table1_template1 tr:nth-child(even) {
      background-color: #fff !important;
    }

}
