/* Dashboard Statistics Styling */

.dashboard-container {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-header {
  margin-bottom: 32px;
  text-align: center;
}

.dashboard-header h1 {
  font-size: 32px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 8px;
}

.dashboard-header p {
  font-size: 16px;
  color: #6b7280;
}

.stat-card {
  background: white;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.2s ease;
}

.stat-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card-title {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-card-value {
  font-size: 32px;
  font-weight: 700;
  color: #0ea5e9; /* sky-500 */
  margin-bottom: 4px;
}

.stat-card-subtitle {
  font-size: 14px;
  color: #9ca3af;
  margin-top: 8px;
}

.stat-card-trend {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.stat-card-trend.up {
  background-color: #dcfce7; /* green-100 */
  color: #166534; /* green-800 */
}

.stat-card-trend.down {
  background-color: #fef2f2; /* red-100 */
  color: #991b1b; /* red-800 */
}

.stat-card-trend.neutral {
  background-color: #f3f4f6; /* gray-100 */
  color: #374151; /* gray-700 */
}

.stat-card-trend svg {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

.stat-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.stat-card-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Dashboard grid layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.dashboard-section {
  margin-bottom: 48px;
}

.dashboard-section-title {
  font-size: 24px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e5e7eb;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 16px;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .stat-card {
    padding: 20px;
  }
  
  .stat-card-value {
    font-size: 28px;
  }
  
  .dashboard-header h1 {
    font-size: 28px;
  }
}
