body {
      font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      background: radial-gradient(circle at top left, #FDEBD2 0, #FFFDF8 40%, #FFFFFF 100%);
}
@keyframes blinkRed {
  0%, 100% { background-color: #FEE2E2; } /* lysrød */
  50% { background-color: #FCA5A5; } /* mørkere rød midtvejs */
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes softSlide {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.poll-item {
  animation: softSlide .25s ease-out;
  transition: 0.25s ease;
  backdrop-filter: blur(4px);
}

.poll-item:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.poll-bubble {
  transition: 0.25s ease;
}

.poll-bubble:hover {
  transform: scale(1.10) rotate(-4deg);
}

.tooltip-premium {
  position: fixed;
  background: #1E2D24;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .15s ease;
  transform: translate(-50%, -10px);
  z-index: 9999;
}

.conflict-blink {
  animation: blinkRed 0.8s ease-in-out 3; /* blink 3 gange */
  transition: background-color 0.3s;
}
.step-dot {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #D1D5DB;
  background: #E5E7EB;
  color: #6B7280;
  transition: all 0.25s ease;
}

/* Animationer */
@keyframes pulseActive {
  0%,100% { box-shadow: 0 0 0 2px rgba(94,138,106,0.4); }
  50% { box-shadow: 0 0 0 6px rgba(94,138,106,0.15); }
}

@keyframes bounceDot {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.step-line {
  flex: 1;
  height: 2px;
  background: #E5E7EB;
  margin: 0 0.25rem;
  transition: background 0.25s ease;
}

.step-complete {
  background: #5E8A6A;
  border-color: #5E8A6A;
  color: #ffffff;
}

.step-active {
  background: #ffffff;
  border-color: #5E8A6A;
  color: #5E8A6A;
  animation: pulseActive 2s infinite ease-in-out;
}

.step-future {
  background: #E5E7EB;
  border-color: #D1D5DB;
  color: #9CA3AF;
}

.line-active {
  background: #5E8A6A;
}

/* Tooltip */
#stepTooltip {
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.15s ease;
}
/* ---- MOBILE STYLE ---- */
@media (max-width: 640px) {

  .steps-container {
    flex-direction: column;        /* vertical */
    gap: 1.2rem;
    align-items: flex-start;
  }

  .step-wrapper {
    flex-direction: row !important;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .step-line {
    width: 2px;                    /* vertical line */
    height: 20px;
    background: #E5E7EB;
    margin: 0 0 0 19px;            /* align under dot */
  }

  .line-active {
    background: #5E8A6A;
  }

  /* Smaller dots for mobile */
  .step-dot {
    width: 2.2rem;
    height: 2.2rem;
  }

  /* Tooltip disabled on mobile (popups overlap finger touches) */
}
#stepTooltip {
    position: fixed;
    z-index: 9999;
    max-width: 260px;
    padding: 14px 18px;

    /* Bedre GLAS-effekt (mørkere = bedre tekstkontrast) */
    background: rgba(30, 45, 36, 0.45); /* mørk olivengrøn glas */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.22);

    color: white; /* Nu kan tekst læses */

    /* Flyt tooltip 20% op */
    left: 50%;
    top: 30%; /* var 50%, nu 30% → 20% højere op */
    transform: translate(-50%, -50%) scale(0.9);

    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
}

#stepTooltip.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
