.exam-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: none;
}

.exam-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.exam-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.exam-card .card-body {
  padding: 20px;
}

.exam-card h5 {
  font-weight: 600;
  color: #1e293b;
}

.exam-card .exam-meta {
  font-size: 0.9rem;
}

.exam-card button {
  border-radius: 8px;
  padding: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.greeting-text {
  color: #0f172a;
  text-align: center;
  letter-spacing: 0.2px;
  
}

/* Soft underline accent (real SaaS feel) */
.greeting-text::after {
  content: "";
  display: block;
  width: 70px;
  height: 3px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #facc15, #f59e0b);
  border-radius: 2px;
  animation: growLine 0.6s ease forwards;
}

@keyframes growLine {
  from { width: 0; opacity: 0; }
  to { width: 70px; opacity: 1; }
}


/* ===== Dashboard Stats Cards ===== */

.stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.stat-title {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
}


/* Department Filter Card */
.department-card {
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  background: #fff;
}

.department-info h6 {
  font-size: 0.95rem;
  color: #1f2937;
}

.department-info small {
  font-size: 0.8rem;
}

/* Select Styling */
.department-select-wrapper {
  min-width: 220px;
}

.department-select {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.department-select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 0.15rem rgba(79, 70, 229, 0.25);
}

/* Hover micro-interaction */
.department-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .exam-card {
    padding: 15px;
  }
  
  .stat-card {
    padding: 15px;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
  
  .greeting-text {
    font-size: 1.2rem;
  }
  
  .department-select-wrapper {
    min-width: 100%;
    margin-top: 10px;
  }
}

