/* Dashboard Card Enhancements */
.card {
  transition: all 0.3s ease;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: none;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
  font-weight: 600;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 1.5rem;
}

.card-text {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.card:hover .card-text {
  transform: scale(1.05);
}

/* List Group Styling */
.list-group-item {
  transition: all 0.3s ease;
  border-left: none;
  border-right: none;
}

.list-group-item:hover {
  background-color: rgba(0, 0, 0, 0.02);
  transform: translateX(5px);
}

/* Dark Mode Enhancements */
.dark-mode .card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  background-color: #2c2c40;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.dark-mode .card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
}

.dark-mode .list-group-item {
  background-color: #2c2c40;
  border-color: rgba(255, 255, 255, 0.1);
}

.dark-mode .list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* Section Headers */
h3 {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #4361ee;
  border-radius: 3px;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.row {
  animation: fadeIn 0.5s ease forwards;
}

.row:nth-child(2) {
  animation-delay: 0.2s;
}