@charset "utf-8";

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

/* Body */
body {
    font-family: 'Open Sans', sans-serif;
    background-color: #f0f2f5;
    color: #444;
}

/* Main Container */
.container_marksheet {
    width: auto;
    /* max-width: 900px; */
    margin: 10px;
    padding: 20px;
    background: #fff;
    border: 1px solid #000000;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
    padding-bottom: 10px;
}

.header .logo img {
    max-height: 80px;
}

.school-name {
    font-size: 24px;
    font-weight: 800;
    color: #2c3e50;
    letter-spacing: 1px;
}

.affiliation-details {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin: 3px 0;
}

/* Report Title */
.report_title {
    text-align: center;
    margin: 15px 0;
}

.report_title h2 {
    font-size: 20px;
    font-weight: 700;
    color: #0e2238;
    text-transform: uppercase;
}

.academic_session {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* Student Info */
.student-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 20px;
    margin: 20px 0;
    font-size: 15px;
    padding: 15px;
    border: 1px solid #000;
    border-radius: 8px;
    background: #f9fbfd;
}

.student-info-item .label {
    font-weight: 600;
    color: #2c3e50;
}

.student-info-item .value {
    font-weight: 500;
    color: #444;
}

/* Evaluation Table */
.evaluation_table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
    border: 1px solid #000;
}

.evaluation_table th,
.evaluation_table td {
    border: 1px solid #000;
    padding: 8px;
    text-align: center;
    font-size: 14px;
}

.evaluation_table thead {
    background-color: #0e2238;
    color: #fff;
    font-weight: 700;
}

.evaluation_table tbody tr:nth-child(even) {
    background-color: #f0f0f0;
}

.bold_text {
    font-weight: 700;
    color: #0e2238;
}

/* Remarks */
.remarks {
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
    width: 100%;
}

/* Signatures */
.signatures {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.signature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
}

.signature-line {
    border-bottom: 1px solid #000;
    width: 100%;
    height: 1px;
    margin-bottom: 5px;
}

.signature-label {
    font-weight: 600;
    text-align: center;
    font-size: 14px;
}

/* Date Footer */
.date-footer {
    margin-top: 25px;
    font-size: 14px;
    color: #444;
}

/* Disclaimer */
.disclaimer {
    text-align: center;
    font-size: 12px;
    color: #ff0000;
    font-style: italic;
    margin-top: 20px;
}

/* Print Settings */

/* Ensure consistent print layout */
@media print {
    body {
        margin: 0;
        padding: 0;
    }

    .container_marksheet {
        width: auto;
        padding: 20px;
        box-sizing: border-box;
    }

    .main-header {
        text-align: center;
        margin-bottom: 10px;
    }

    .main-header .header {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    .main-header .logo img {
        max-height: 80px;
        max-width: 80px;
    }

    .evaluation_table th,
    .evaluation_table td {
        border: 1px solid #000;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .evaluation_table thead {
        background-color: #0e2238 !important;
        color: #fff !important;
    }

    .school-name {
        font-size: 22px;
        font-weight: bold;
        margin: 0;
    }

    .affiliation-details {
        font-size: 14px;
        margin: 2px 0;
    }

    hr {
        border: 0;
        border-top: 1px solid #000;
        margin: 10px 0;
    }
}