@charset "utf-8";
@page {
    margin: 0;
    padding: 0;
    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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container_marksheet_template1 {
    width: 97%;
    max-width: 850px;
    margin: 1% auto;
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
}

.content_container_template1 {
    padding: 20px;
}

.header_template1 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.logo_div_img_template1 {
    margin-right: 20px;
}

.logo_div_img_template1 img {
    width: 100px;
    height: auto;
    border-radius: 5px;
}

.header_institution {
    text-align: center;
}

.heading_template1 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

.heading_code_info_template1 {
    font-size: 16px;
    color: #666;
}

.heading_address_template1,
.contact_template1 {
    font-size: 14px;
    color: #777;
}

.heading_report_template1 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    color: #2c3e50;
    margin: 20px 0;
}

.year_template1 {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.student_info_template1 {
    width: 45%;
    display: inline-block;
    vertical-align: top;
}

.student_info_table_template1 {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 15px;
}

.student_info_table_template1 td {
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
}

.student_info_table_template1 td:first-child {
    font-weight: 600;
    background-color: #f8f9fa;
    width: 40%;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th, 
.table td {
    border: 1px solid #e0e0e0;
    padding: 10px;
    text-align: left;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.texttransformupper {
    text-transform: uppercase;
}

.columns_number {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-align: center;
}

#submit_marksheet {
    width: 100%;
    padding: 12px;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#submit_marksheet:hover {
    background-color: #2980b9;
}

.margintop50 {
    margin-top: 50px;
}

.margintop20 {
    margin-top: 20px;
}

.date_footer {
    font-size: 14px;
    text-align: right;
    color: #666;
    margin-top: 20px;
    padding-right: 20px;
}