/* LIVE / ACTIVE EXAMS */
.card-header.live-exams {
    background-color: #198754 !important; /* GREEN */
    color: #fff;
}
/* UPCOMING EXAMS */
.card-header.upcoming-exams {
    background-color: #0d6efd !important; /* BLUE */
    color: #fff;
}
/* COMPLETED EXAMS */
.card-header.completed-exams {
    background-color: #7ed957 !important; /* LIGHT GREEN */
    color: #fff;
}
/* MISSED EXAMS */
.card-header.missed-exams {
    background-color: #dc3545 !important; /* RED */
    color: #fff;
}
/* RECENT STUDENTS */
.card-header.recent-students{
    background-color:#8254d6 !important;
    color:#fff;
}
/* TODAY'S EXAMS */
.card-header.todays-exams {
    background-color: rgb(137, 183, 44) !important; /* ORANGE */
    color: #fff;
}
body {
  background-color: #f8f9fa;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
}
/* DASHBOARD STAT CARDS */
.stat-card {
    color: #fff;
    border-radius: 14px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card h5 {
    font-size: 14px;
    opacity: 0.9;
}
.stat-card h3 {
    font-weight: 700;
    margin-top: 4px;
}
/* Hover effect (subtle flex) */
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}
/* Individual colors */
.stat-earnings {
    background: linear-gradient(135deg, #188947, #27ae60); /* PARROT GREEN */
}
.stat-exams {
    background: linear-gradient(135deg, #5dade2, #3498db); /* SKY BLUE */
}
.stat-students {
    background: linear-gradient(135deg, #f7dc6f, #f1c40f); /* YELLOW */
    color: #333; /* readable on yellow */
}
.stat-institution{
    background: linear-gradient(135deg, #20c997, #0f9d7a);   /* TEAL GREEN */
    color:#fff;
}
.stat-faculty {
    background: linear-gradient(135deg, #c39bd3, #9b59b6); /* PURPLE */
}
.stat-current {
    background: linear-gradient(135deg, #ffb347, #ff8100); /* ORANGE */
}
/* FACULTY ACTION CARDS */
.faculty-action {
    border-radius: 16px;
    padding: 16px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size:1.05rem;
}
.faculty-action:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.18);
}
/* Action colors */
.action-create { background: linear-gradient(135deg, #0d6efd, #0b5ed7); }
.action-manage { background: linear-gradient(135deg, #6c757d, #495057); }
.action-add { background: linear-gradient(135deg,  #e47ad5, #bb62c7);  }
.action-bank { background: linear-gradient(135deg, #f1c40f, #f39c12); }
.action-students { background: linear-gradient(135deg, #0dcaf0, #0bbcd6); }
/* FACULTY STATS CARDS */
.faculty-stat {
    border-radius: 14px;
    padding: 16px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.faculty-stat h5 {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    line-height: 1.3;
    min-height: 48px;   /* ⭐ Correct value */
}
.faculty-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}
/* Stat colors */
.stat-created { color: #0d6efd; }
.stat-assigned { color: #a65fc2; }
.stat-active { color: #198754; }
.stat-completed { color: #277905 ; }
/* QUICK ACTION CARDS */
.faculty-action .fs-4 {
    font-size: 2.2rem !important;  /* icon size */
}
.faculty-action div:last-child {
    font-size: 1.15rem;            /* label text */
    font-weight: 600;
}
/* STAT CARDS */
.faculty-stat h3 {
    font-size: 2.1rem;
    font-weight: 700;
    margin-top: 0.3rem;
}
/* ORANGE THEME – RESULT TABLE */
.orange-header th {
  background-color: #f38414 !important;   /* theme orange */
  color: #ffffff !important;
  text-align: center;
  vertical-align: middle;
  border-color: #e07000;
}
.table-bordered > :not(caption) > * > * {
  border-color: #f3a14f;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #fff7f0;
}
.table tbody tr:hover {
  background-color: #ffe2c6;
  transition: background-color 0.2s ease-in-out;
}
.table th,
.table td {
  vertical-align: middle;
  font-size: 0.95rem;
}
.text-success {
  color: #1e7e34 !important;
}
.text-danger {
  color: #b02a37 !important;
}
.text-warning {
  color: #d39e00 !important;
}
/* Make table header orange and text white */
.table-orange thead th {
    background-color: #fd7e14 !important; /* Bootstrap-safe orange */
    color: white !important;
}
.content .row{
    --bs-gutter-y: .25rem;
}
.content .card{
    margin-bottom:0;
}
/* ===========================
   FINAL RESULTS PAGE
=========================== */

.final-results-page table {
    width: 95%;
    border-collapse: collapse;
    margin: 20px auto;
}

.final-results-page th,
.final-results-page td {
    padding: 10px;
    border: 1px solid #555;
    text-align: center;
}

.final-results-page th {
    background-color: #f0f0f0;
}

.final-results-page tr.pass {
    background-color: #d4edda;
}

.final-results-page tr.fail {
    background-color: #f8d7da;
}

.final-results-page h1 {
    text-align: center;
    margin-bottom: 20px;
}

.final-results-page form {
    text-align: center;
    margin-bottom: 20px;
}