/* === Reward Page Styling (Optimized) === */

.page-section {
  padding: 20px;
  min-height: calc(100vh - 120px);
}

.page-header {
  text-align: center;
  margin-bottom: 20px;
}

.page-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.page-header h2 i {
  color: var(--primary-color);
}

/* === Table === */
.table-container {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-size: 14px;
}

thead {
  background: var(--gradient-primary);
  color: #fff;
}

th,
td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

tbody tr:hover {
  background-color: rgba(99, 102, 241, 0.08);
  transition: 0.2s;
}

.no-data {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
}

/* === Status Colors === */
.status-achieved {
  color: #22c55e;
  font-weight: 600;
}

.status-pending {
  color: #ef4444;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-header h2 {
    font-size: 18px;
  }

  table {
    font-size: 13px;
  }
}
