/* Modern Streak Timeline Styles */
.dash-streak-container.modern-streak {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 30px;
  width: 100%;
  max-width: 1100px;
  margin-bottom: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 30px;
  box-sizing: border-box;
}

.streak-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 20px;
}

.streak-flame-wrapper {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.2);
  animation: floatFlame 3s ease-in-out infinite;
}

@keyframes floatFlame {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.streak-hero-text h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 0 5px 0;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.streak-hero-text p {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0;
}

.streak-timeline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 10px 0;
}

/* Background connecting line */
.streak-timeline::before {
  content: '';
  position: absolute;
  top: 35px; /* Center of the node circles */
  left: 30px;
  right: 30px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  z-index: 0;
}

.streak-day-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 1;
  position: relative;
}

.streak-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1e293b;
  border: 3px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-weight: bold;
  font-size: 1.2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.streak-day-name {
  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* Active Day Styles */
.streak-day-node.active .streak-circle {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-color: #fcd34d;
  color: white;
  box-shadow: 0 10px 25px rgba(245, 158, 11, 0.4);
  transform: scale(1.15);
}
.streak-day-node.active .streak-day-name {
  color: #f59e0b;
  font-weight: 700;
}

/* Today Styles */
.streak-day-node.today .streak-day-name {
  color: #f8fafc;
}

/* Checkmark Icon inside active circles */
.streak-check {
  display: none;
}
.streak-day-node.active .streak-check {
  display: block;
}

@media (max-width: 768px) {
  .streak-circle {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  .streak-day-name {
    font-size: 0.7rem;
  }
  .streak-timeline::before {
    top: 27px;
    left: 15px;
    right: 15px;
  }
}
