@charset "utf-8";
/* CSS Document */

@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;
    }
}

/* General Reset */
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

/* Container Enhancements */
.container_marksheet_template1 {
    width: 97%;
    height: 94%;
    page-break-after: always;
    border: 5px double #e74c3c; /* Enhanced double border with red */
    background: linear-gradient(135deg, #f0e68c, #fff3b0); /* Subtle gradient background */
    font-family: 'Calibri', sans-serif;
    margin: 1% auto;
    padding: 20px 1.5%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Added shadow for depth */
    border-radius: 8px;
}

/* Content Container */
.content_container_template1 {
    padding: 10px 1%;
}

/* Header Styling */
.header_template1 {
    font-size: 12pt;
    text-transform: capitalize;
    font-family: 'Cambria', serif;
    color: #34495e;
    margin-bottom: 10px;
    
}

.heading_template1 {
    font-size: 18pt;
    text-transform: uppercase;
    font-weight: bold;
    color: #e74c3c;
    background: linear-gradient(135deg, #e74c3c, #f39c12); /* Gradient from red to orange */
    padding: 2px 16px;
    border-radius: 6px;
    text-align: center;
    color: #fff;
}


/* Report Title */
.heading_report_template1 {
    font-size: 24pt;
    font-weight: bold;
    margin-top: 15px;
    font-family: 'Monotype Corsiva', cursive;
    color: #e74c3c;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Subtle text shadow */
}

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

/* Logo */
/* Logo */
.logo_div_img_template1 {
    display: inline-block;
    margin-right: 20px; /* Space between logo and header info */
    /* Space above the logo */
    margin-bottom: 7px; /* Space below the logo */
}

.logo_div_img_template1 img {
    width: 180px;
    border-radius: 5px; /* Slight rounding of the logo image */
}

/* Header Info */
.header_info_container {
    display: inline-block;
    vertical-align: middle;
    margin-top: 15px;   /* Space above the header info */
    margin-bottom: 15px; /* Space below the header info */
}


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

.student_info_table_template1 td {
    padding-right: 5px;
    font-size: 12pt;
    color: #2c3e50;
}

.texttransformupper {
    text-transform: uppercase;
}

.alignleft {
    text-align: left;
}

/* Spacing Utilities */
.margintop20 {
    margin-top: 20px;
}

.margintop50 {
    margin-top: 50px;
}

/* Evaluation Table Enhancements */
.evaluation_table {
    border-collapse: collapse;
    width: 99%;
    margin-top: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* Soft shadow for the table */
}

.evaluation_table th {
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, #e74c3c, #c0392b); /* Gradient for table headers */
    padding: 10px 8px;
    font-size: 12pt;
    letter-spacing: 0.05em;
    border-radius: 10px 10px 0 0;
}

.evaluation_table td, .evaluation_table th {
    padding: 10px 15px;
    border: 1px solid #dcdcdc;
    text-align: center;
}

.evaluation_table td {
    background: linear-gradient(135deg, #fafafa, #f0f0f0); /* Light gradient for table rows */
    font-size: 11pt;
    color: #2c3e50;
}

.evaluation_table tr:nth-child(even) td {
    background-color: #f7f7f7; /* Alternate row color */
}

/* Misc */
.bold_text {
    font-weight: 600;
}


/* Form Styling */
#upload_student_marksheet {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Table Styling */
.table_container {
    width: 100%;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-family: Arial, sans-serif;
}

table th,
table td {
    padding: 10px;
    text-align: left;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
}

table th {
    background-color: #f0f0f0;
    font-weight: bold;
}

.columns_number {
    width: 60%;
    padding: 8px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

/* Select and Label Styling */
label {
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    display: block;
    color: #333;
}

select.form-control {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin-top: 10px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 4px;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

/* Success and Error Message Styling */
#displayadd_homework_success,
#error_div {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 600px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    z-index: 999;
}

/* Success Message */
#displayadd_homework_success {
    background-color: #4CAF50;
    color: white;
}

/* Error Message */
#error_div {
    background-color: #f44336;
    color: white;
}

/* Fade-In Animation */
#displayadd_homework_success.show,
#error_div.show {
    display: block;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #upload_student_marksheet {
        padding: 15px;
    }

    button {
        font-size: 14px;
    }

    table th,
    table td {
        font-size: 14px;
    }

    #displayadd_homework_success,
    #error_div {
        width: 90%;
    }
}



