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

* {
    margin: 0px;
    padding: 0px;
}

.container_marksheet_template1 {
    width: 97%;
    height: auto; /* Adjusted to auto for better adaptability */
    page-break-after: always;
    border-width: thick;
    border-style: double;
    border-color: red;
    margin: 1% 1% 1% 1%; /* Simplified margin for uniformity */
    background: #f0e68c;
    font-family: Calibri, sans-serif; /* Added fallback font */
}

.content_container_template1 {
    padding: 10px 1%;
}

.header_template1 {
    font-size: 12pt;
    text-transform: capitalize;
    font-family: Cambria, serif; /* Added fallback font */
    margin-bottom: 5px; /* Added a bit of space below header */
}

.heading_template1 {
    font-size: 18pt;
    text-transform: uppercase;
    font-weight: bold;
    color: #e74c3c; /* Changed color for better visibility */
    margin-bottom: 10px; /* Added margin for separation */
}

.fullstretch {
    width: 100%;
}

.heading_report_template1 {
    font-size: 24pt;
    font-weight: bold;
    margin-top: 15px; /* Increased margin for better spacing */
    font-family: "Monotype Corsiva", cursive;
    color: #e74c3c; /* Changed color for consistency */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Added subtle text shadow */
}

.logo_div_img_template1 {
    display: inline-block;
    margin-right: 10px; /* Added margin to space out logo */
}

.header_info_container {
    display: inline-block;
    vertical-align: middle; /* Aligns with the logo */
}

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

.student_info_table_template1 td {
    padding: 5px; /* Increased padding for better readability */
}

.texttransformupper {
    text-transform: uppercase;
}

.alignleft {
    text-align: left;
}

.margintop20 {
    margin-top: 20px;
}

.margintop50 {
    margin-top: 50px;
}

.logo_div_img_template1 img {
    width: 73px;
}

.evaluation_table {
    border-collapse: separate; /* Allows for spacing between cells */
    border-spacing: 0; /* No additional spacing between cells */
    max-width: 99%; /* Responsive max width */
    min-width: 60%; /* Minimum width to maintain structure */
    background: #ffffff; /* Clean white background */
    margin: 20px auto; /* Center the table with margin */
    border-radius: 8px; /* Rounded corners for a softer look */
    overflow: hidden; /* Ensures rounded corners are effective */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.evaluation_table td,
.evaluation_table th {
    padding: 12px 15px; /* Ample padding for readability */
    text-align: left; /* Align text to the left */
}

.evaluation_table th {
    text-transform: uppercase; /* Uppercase for headers */
    background-color: #e74c3c; /* Bold header color */
    color: white; /* White text for contrast */
    font-weight: bold; /* Bold font for emphasis */
    letter-spacing: 0.5px; /* Slight letter spacing */
    border-bottom: 2px solid #c0392b; /* Strong bottom border */
}

.evaluation_table td {
    border-bottom: 1px solid #ecf0f1; /* Light border for rows */
}

.evaluation_table tr:last-child td {
    border-bottom: none; /* Remove bottom border for last row */
}

.evaluation_table tr:nth-child(even) {
    background-color: #f9f9f9; /* Light background for even rows */
}

.evaluation_table tr:hover {
    background-color: #f5f5f5; /* Highlight row on hover */
    transition: background-color 0.3s ease; /* Smooth transition for hover */
}

/* Add a styled caption for the table if needed */
.evaluation_table caption {
    font-size: 1.2em; /* Larger font for the caption */
    font-weight: bold; /* Bold caption for emphasis */
    margin-bottom: 10px; /* Space below the caption */
    color: #34495e; /* Darker color for caption */
    text-align: center; /* Center the caption */
}

/* Optional: Add some responsive design for smaller screens */
@media screen and (max-width: 600px) {
    .evaluation_table {
        font-size: 14px; /* Slightly smaller font for mobile */
    }
    
    .evaluation_table th,
    .evaluation_table td {
        padding: 8px 10px; /* Less padding for mobile */
    }
}


/* General Styling */
body {
    font-family: 'Arial', sans-serif;
    background: #f7f9fc;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}

/* Form Container */
.section {
    width: 85%;
    max-width: 1000px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

h2 {
    text-align: center;
    color: #6a11cb;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 600;
}

/* Table Styling */
.table_container {
    margin-top: 30px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 16px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table th,
.table td {
    padding: 20px;
    text-align: left;
    font-size: 16px;
    border: 1px solid #e2e6ea;
    color: #4d4d4d;
}

.table th {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.table tr:nth-child(even) {
    background: #f8f9fa;
}

.table tr:hover {
    background: #f1f3f5;
}

/* Input Fields */
input[type="number"] {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f9f9f9;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="number"]:focus {
    outline: none;
    border-color: #6a11cb;
    background-color: #fff;
}

/* Dropdown Styling */
select.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    background-color: #f9f9f9;
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

select.form-control:focus {
    outline: none;
    border-color: #6a11cb;
    background-color: #fff;
}

/* Submit Button */
button {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 15px 25px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 30px;
}

button:hover {
    background: linear-gradient(135deg, #38f9d7, #43e97b);
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

button:active {
    transform: translateY(2px);
}

/* Success and Error Messages */
#displayadd_homework_success,
#error_div {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    text-align: center;
    width: 80%;
    max-width: 600px;
    word-wrap: break-word;
}

#displayadd_homework_success {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

#error_div {
    background: linear-gradient(135deg, #ff6a6a, #ff3e3e);
}

/* Form Label */
label {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
    width: 100%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .section {
        padding: 20px;
    }

    h2 {
        font-size: 24px;
    }

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

    input[type="number"],
    select.form-control,
    button {
        font-size: 16px;
        padding: 12px;
    }

    #displayadd_homework_success,
    #error_div {
        width: 90%;
        padding: 15px;
    }
}

