/* report_card.css */

/* General Body and Container Styling */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5; /* Light grey background */
}

.report-card {
    border-radius: 10px;
    overflow: hidden; /* Ensures rounded corners apply to children */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Soft shadow */
}

/* Header Styling */
.report-card .card-header {
    background-color: #ffffff !important; /* Ensure white background */
    border-bottom: 2px solid #e0e0e0;
}

.report-card .card-header h2 {
    color: #007bff; /* Primary blue for school name */
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 2.5rem; /* Larger school name */
}

.report-card .card-header p.text-muted {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: #555 !important;
}

.report-card .card-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.report-card .card-header p.fs-5 {
    font-size: 1.1rem !important;
    font-weight: 500;
    color: #444;
}

/* Card Body General Spacing */
.report-card .card-body {
    padding: 30px;
}

/* Horizontal Rules */
.report-card hr {
    border-top: 1px solid #ddd;
    margin: 25px 0;
}

/* Student Info Section */
.student-info-section p {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.student-info-section strong {
    color: #333;
}

/* Subject Performance Table */
.student-results-table thead th {
    background-color: #e9ecef; /* Light grey for table header */
    color: #333;
    font-weight: 600;
    text-align: center; /* Center header text */
    vertical-align: middle;
}

.student-results-table tbody td {
    vertical-align: middle;
    padding: 8px;
    font-size: 0.95rem;
}

.student-results-table tbody tr:nth-child(even) {
    background-color: #f8f9fa; /* Alternate row shading */
}

.student-results-table td:nth-child(1) { text-align: center; } /* S/N */
.student-results-table td:nth-child(2) { text-align: left; padding-left: 15px; } /* Subject */
.student-results-table td:nth-child(3) { text-align: center; } /* Total Score */
.student-results-table td:nth-child(4) { text-align: center; } /* Grade */
.student-results-table td:nth-child(5) { text-align: left; } /* Remark */


/* Summary and Remarks Sections */
.summary-section p,
.remarks-section p {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.summary-section strong,
.remarks-section strong {
    color: #333;
}

/* Resumption Date */
.text-center p.fs-5 {
    font-weight: 600 !important;
    font-size: 1.2rem !important;
    color: #007bff;
    margin-top: 20px;
}

/* Signature Section */
.signature-section p {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.signature-section p:first-child {
    margin-bottom: 25px; /* Space above signature line */
    font-weight: bold;
}