/* CBC School Results System - Main Stylesheet */

body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 0.9rem;
}

.navbar-brand { font-size: 1rem; }

.card {
    border-radius: 10px;
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
}

/* Grade badge colors */
.badge-EE { background-color: #27ae60; }
.badge-ME { background-color: #2980b9; }
.badge-AE { background-color: #f39c12; }
.badge-BE { background-color: #e74c3c; }

/* Table tweaks */
.table th { font-size: 0.82rem; font-weight: 600; }
.table td { vertical-align: middle; }

/* Footer */
.footer { background-color: #f8f9fa; }

/* Report Card Print Styles */
@media print {
    body { background: white; font-size: 11pt; }
    .report-card { break-after: page; border: 1px solid #ccc !important; }
    .navbar, .footer, .d-print-none { display: none !important; }
    .container-fluid { padding: 0 !important; }
    .card { box-shadow: none !important; }
}

/* Score input highlight */
.score-input:focus { border-color: #2980b9; box-shadow: 0 0 0 3px rgba(41,128,185,.15); }

/* Stat card hover */
.card.bg-primary:hover,
.card.bg-success:hover,
.card.bg-info:hover,
.card.bg-warning:hover { opacity: 0.92; transition: opacity .2s; }
