/* Quimitor V3.5 Dashboard & Cards visual overrides */

/* Cards double shadow and hover lift */
.card,
.suggested-section-card,
.streak-card {
  background-color: var(--bg-card);
  border: 4px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 6px 0 var(--color-primary), 0 12px 24px rgba(8, 43, 91, 0.08);
  padding: 28px;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease-out;
}

.card:hover,
.suggested-section-card:hover,
.streak-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 0 var(--color-primary), 0 16px 32px rgba(8, 43, 91, 0.12);
}

/* Dashboard Hero Card styling */
.dashboard-hero-card {
  background-color: var(--bg-card);
  border: 4px solid var(--color-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 0 var(--color-primary);
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dashboard-hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 900px) {
  .dashboard-hero-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.dashboard-hero-profile {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media (max-width: 900px) {
  .dashboard-hero-profile {
    flex-direction: column;
    align-items: center;
  }
}

.profile-avatar-initials {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: var(--border-radius-md);
  background-color: var(--bg-primary);
  border: 4px solid var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 900;
  color: var(--color-primary);
  box-shadow: 0 4px 0 var(--color-primary);
}

.profile-meta-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.profile-name {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 900;
  color: var(--color-primary);
  margin: 0;
}

.profile-course {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Stats Pill */
.profile-stats-pill {
  display: flex;
  align-items: center;
  gap: 24px;
  background-color: var(--bg-secondary);
  border: 3px solid var(--color-primary);
  border-radius: var(--border-radius-md);
  padding: 16px 24px;
  box-shadow: 0 4px 0 var(--color-primary);
}

.pill-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pill-stat .stat-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 900;
  color: var(--color-primary);
}

.pill-stat .stat-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.pill-divider {
  width: 2px;
  height: 32px;
  background-color: var(--color-primary);
}

/* Next achievements / insignias a desbloquear layout */
.next-achievement-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--bg-secondary);
  border: 2px solid var(--color-primary);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  margin-top: 12px;
}

.next-achievement-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background-color: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.next-achievement-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: grayscale(0.8) opacity(0.6);
}

.next-achievement-details {
  flex: 1;
}

.next-achievement-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.next-achievement-desc {
  font-size: 11px;
  color: var(--color-text-muted);
}
