/* =========================
   DASHBOARD BASE
========================= */
.section h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}


/* =========================
   STATS GRID
========================= */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease;
}

/* subtle top highlight */
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: var(--primary);
  opacity: 0.15;
}

/* hover effect */
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: #e0e0e0;
}

.stat-card p {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.stat-card h2 {
  font-size: 30px;
  font-weight: 700;
  color: #111;
}


/* =========================
   ACTIONS
========================= */
.actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.action-card {
  display: block;
  background: linear-gradient(145deg, #ffffff, #fafafa);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  text-decoration: none;
  color: inherit;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* hover glow */
.action-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

/* subtle background effect */
.action-card::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  background: var(--primary);
  opacity: 0.05;
  border-radius: 50%;
  top: -40px;
  right: -40px;
}

.action-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 600;
}

.action-card p {
  font-size: 13px;
  color: #666;
}


/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .actions {
    grid-template-columns: 1fr;
  }

  .stat-card {
    padding: 18px;
  }
}