/* css/components/streak.css — Daily streak widget */

.streak-widget {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: linear-gradient(135deg, #ede7f6, #d1c4e9);
  border-radius: 16px;
  color: #2D2E5F;
  box-shadow: 0 4px 16px rgba(45, 46, 95, 0.12);
}

.streak-fire {
  display: flex;
  align-items: center;
  justify-content: center;
}

.streak-fire .bento-streak-status-emoji {
  font-size: 2rem;
  line-height: 1;
  animation: fireFlicker 1.5s ease-in-out infinite;
}

.streak-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.streak-count {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.streak-label {
  font-size: 0.78rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.streak-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.streak-status .bento-streak-status-emoji {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.streak-status.streak-safe {
  background: rgba(16, 185, 129, 0.15);
  color: #065f46;
}

.streak-status.streak-risk {
  background: rgba(239, 68, 68, 0.15);
  color: #991b1b;
  animation: pulse 1.2s ease-in-out infinite;
}

.streak-best {
  font-size: 0.72rem;
  opacity: 0.65;
  margin-left: auto;
  white-space: nowrap;
}

.streak-celebration {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  background: linear-gradient(135deg, #f59e0b, #fcd34d);
  color: #2D2E5F;
  font-size: 1.8rem;
  font-weight: 900;
  padding: 20px 36px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(245, 158, 11, 0.5);
  pointer-events: none;
}

.streak-celebrate-anim {
  animation: celebratePop 0.4s ease-out forwards;
}
