/* Enterprise Dashboard Styles */

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

.welcome-section {
  text-align: center;
  margin-bottom: 3rem;
}

.welcome-section h1 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
}

.loading {
  text-align: center;
  padding: 3rem;
  color: var(--muted);
}

.error-message {
  background: rgba(var(--error-rgb), 0.2);
  border: 1px solid rgba(var(--error-rgb), 0.4);
  color: var(--error);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--card-bg);
  border: 2px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.9;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Navigation Grid */
.nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.nav-card {
  background: var(--card-bg);
  border: 2px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 16px;
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  display: block;
}

.nav-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.nav-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.nav-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.nav-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Dashboard Card */
.dashboard-card {
  background: var(--card-bg);
  border: 2px solid rgba(var(--accent-rgb), 0.2);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.dashboard-card h2 {
  color: var(--accent);
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
}

/* Activity List */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(var(--accent-rgb), 0.05);
  border-radius: 8px;
  border: 1px solid rgba(var(--accent-rgb), 0.1);
}

.activity-icon {
  font-size: 1.5rem;
  opacity: 0.8;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.25rem;
}

.activity-meta {
  font-size: 0.875rem;
  color: var(--muted);
}

.activity-time {
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
}

.loading-text {
  text-align: center;
  color: var(--muted);
  padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .stat-card {
    padding: 1rem;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .nav-grid {
    grid-template-columns: 1fr;
  }

  .welcome-section h1 {
    font-size: 2rem;
  }
}
