/* Base styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: linear-gradient(135deg, #f8f9fa 0%, #eef2f7 100%);
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.dashboard-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  justify-content: center;
  width: 100%;
  max-width: 1000px;
  padding: 0 20px;
  box-sizing: border-box;
}

.section-title {
  color: #343a40;
  font-size: 1rem;
  margin-top: 40px;
  margin-bottom: 0px;
  font-weight: 600;
  text-shadow: none;
}

/* --- Card Component --- */
.card {
  border-radius: 16px;
  padding: 20px 24px;
  min-width: 160px;
  max-width: 220px;
  width: 100%;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-4px);
  color: #fff;
}

.card:hover::before {
  opacity: 1;
}

.card-title,
.card-subtitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: center;
  transition: color 0.3s ease;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-subtitle {
  font-size: 0.85rem;
  margin-top: 8px;
  color: #555;
}

.card:hover .card-title,
.card:hover .card-subtitle {
  color: #fff;
}

/* Card Modifiers */
.card--blue {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  color: #0d6efd;
  border: 1px solid #dee2e6;
}

.card--blue::before {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

.card--blue:hover {
  box-shadow: 0 8px 24px rgba(13,110,253,0.25);
  border-color: #0d6efd;
}

.card--purple {
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  color: #6f42c1;
  border: 1px solid #dee2e6;
}

.card--purple::before {
  background: linear-gradient(135deg, #6f42c1 0%, #59369a 100%);
}

.card--purple:hover {
  box-shadow: 0 8px 24px rgba(111,66,193,0.25);
  border-color: #6f42c1;
}

/* Responsive */
@media (max-width: 768px) {
  .dashboard-cards {
    gap: 16px;
    padding: 0 16px;
  }
  .card {
    min-width: 140px;
    max-width: 180px;
    padding: 16px 20px;
  }
} 