@charset "utf-8";
/* Premium Marksheet Design */
@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;
}

:root {
    --primary-color: #2c3e50;
    --accent-color: #3498db;
    --background-light: #ecf0f1;
    --text-primary: #2c3e50;
    --text-secondary: #34495e;
    --border-color: #bdc3c7;
}

.container_marksheet_template1 {
    width: 97%;
    height: 94%;
    page-break-after: always;
    border: 3px solid var(--primary-color);
    margin: 1%;
    background: linear-gradient(135deg, #ffffff 0%, var(--background-light) 100%);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 15px 30px rgba(0,0,0,0.1), 
        0 10px 20px rgba(0,0,0,0.08);
}

.container_marksheet_template1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            transparent,
            transparent 50px,
            rgba(52, 152, 219, 0.05) 50px,
            rgba(52, 152, 219, 0.05) 100px
        );
    transform: rotate(-45deg);
    z-index: 1;
    pointer-events: none;
}

.content_container_template1 {
    padding: 20px 3%;
    position: relative;
    z-index: 2;
}

.header_template1 {
    font-size: 14pt;
    text-transform: capitalize;
    font-family: 'Cambria', serif;
    margin-bottom: 10px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.heading_template1 {
    font-size: 20pt;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.heading_report_template1 {
    font-size: 28pt;
    font-weight: 700;
    margin-top: 15px;
    font-family: 'Monotype Corsiva', cursive;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    text-align: center;
}

.logo_div_img_template1 {
    display: inline-block;
    vertical-align: middle;
}

.logo_div_img_template1 img {
    width: 100px;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    box-shadow: 
        0 8px 15px rgba(0,0,0,0.1), 
        0 4px 6px rgba(0,0,0,0.05);
}

.header_info_container {
    display: inline-block;
    vertical-align: middle;
    margin-left: 30px;
}

.student_info_template1 {
    width: 45%;
    display: inline-block;
    margin-top: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.05), 
        0 5px 10px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}

.student_info_table_template1 {
    width: 100%;
}

.student_info_table_template1 td {
    padding: 6px 10px;
    line-height: 1.6;
    border-bottom: 1px solid var(--background-light);
}

.evaluation_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 20px 0;
    box-shadow: 
        0 10px 20px rgba(0,0,0,0.05), 
        0 5px 10px rgba(0,0,0,0.03);
}

.evaluation_table th, .evaluation_table td {
    padding: 10px 15px;
    text-align: left;
    border: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.evaluation_table th {
    background: var(--primary-color);
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.evaluation_table tr:nth-child(even) {
    background-color: rgba(52, 152, 219, 0.05);
}

.evaluation_table tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.texttransformupper {
    text-transform: uppercase;
}

.alignleft {
    text-align: left;
}

.margintop20 {
    margin-top: 20px;
}

.margintop50 {
    margin-top: 50px;
}

.fullstretch {
    width: 100%;
}






.student_info_table_template1 {
    width: 100%;
}

.student_info_table_template1 tr {
    border-bottom: 1px solid var(--border-color);
}

.student_info_table_template1 td {
    padding: 8px 0;
}

.student_info_table_template1 td:first-child {
    font-weight: bold;
    width: 40%;
}

/* Table Styling */
#template_table_edit {
    width: 100%;
    margin: 20px 0;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#template_table_edit th,
#template_table_edit td {
    border: 1px solid var(--border-color);
    padding: 10px;
    text-align: left;
}

#template_table_edit th {
    background-color: var(--primary-color);
    color: white;
    text-transform: uppercase;
}

#template_table_edit tr:nth-child(even) {
    background-color: rgba(52, 152, 219, 0.05);
}

/* Input Styling */
.columns_number,
.forms_cp_inputtext {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--input-background);
    transition: all 0.3s ease;
}

.columns_number:focus,
.forms_cp_inputtext:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* Remarks Dropdown */
#remarks_marksheet {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--input-background);
}

/* Submit Button */
#submit_marksheet {
    width: 100%;
    padding: 12px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
}

#submit_marksheet:hover {
    background-color: var(--primary-color);
}

/* Footer Styling */
.date_footer {
    text-align: left;
    margin-top: 30px;
    color: var(--text-secondary);
}

/* Disclaimer */
.margintop20 {
    color: #d9534f;
    font-size: 12px;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .student_info_template1 {
        display: block;
        width: 100%;
        margin: 10px 0;
    }

    .heading_template1 {
        font-size: 20px;
    }

    .heading_report_template1 {
        font-size: 24px;
    }
}