/* Flow Diagram — tab-driven dot + arrow visualization
   ==================================================== */

/* Force light appearance regardless of system theme */
.flow-diagram-component .tabs-content {
  background: #ebebf0;
  padding-bottom: 24px;
}

.flow-diagram {
  position: relative;
  aspect-ratio: 5 / 3;
  margin: 24px 36px 0;
  contain: layout;
}

.flow-dot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid #fff;
  transform: translate(-50%, -50%);
  transition:
    left 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.4s ease;
  z-index: 1;
  box-shadow:
    0 1px 4px rgba(0, 0, 0, 0.15),
    0 0 0 0.5px rgba(0, 0, 0, 0.04);
}

.flow-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── Mobile ── */
@media (max-width: 720px) {
  .flow-diagram {
    margin: 20px 24px 0;
  }
  .flow-dot {
    width: 26px;
    height: 26px;
    border-width: 2.5px;
  }
}

@media (max-width: 500px) {
  .flow-diagram {
    margin: 16px 16px 0;
  }
  .flow-dot {
    width: 22px;
    height: 22px;
    border-width: 2px;
  }
}
