/* ========================================================
   User Dashboard & Activity Stylesheet
   AI Career & Student Assistant Platform
   ======================================================== */

.dashboard-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
  color: #fff;
  padding: 2.5rem 0;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(67, 56, 202, 0.2);
}

.dashboard-user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.stat-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-icon-indigo { background: #e0e7ff; color: #4338ca; }
.stat-icon-cyan   { background: #cffafe; color: #0891b2; }
.stat-icon-emerald{ background: #d1fae5; color: #059669; }
.stat-icon-amber  { background: #fef3c7; color: #d97706; }

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
  margin-top: 0.2rem;
}

/* Quick Action Cards */
.quick-action-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quick-action-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.action-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Saved Item Card */
.saved-item-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}

.saved-item-card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
  background-color: var(--gray-50);
}

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 1.1rem;
}

.score-high { background: #d1fae5; color: #065f46; border: 2px solid #10b981; }
.score-mid  { background: #fef3c7; color: #92400e; border: 2px solid #f59e0b; }
.score-low  { background: #fee2e2; color: #991b1b; border: 2px solid #ef4444; }

/* Interactive Wizard Navigation */
.wizard-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 2rem;
  counter-reset: step;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--gray-200);
  z-index: 1;
}

.wizard-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  background: #fff;
  padding: 0 0.5rem;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--gray-300);
  color: var(--gray-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}

.wizard-step.active .step-number {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.wizard-step.completed .step-number {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
}

.wizard-step.active .step-label {
  color: var(--primary);
}

@media (max-width: 768px) {
  .step-label { display: none; }
  .saved-item-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
