/* Copyright 2026 CLEALINK TECHNOLOGY CO.,LTD. All rights reserved. */

/* The steps of joining a meeting, on the entry page and the pre-join page. */

.flow { min-width: 0; }
.flow-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; font-size: var(--fs-12); color: var(--muted); }
.flow-list li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.flow-list li + li::before { content: "›"; color: var(--muted); margin-right: 2px; }
.flow-num { display: inline-grid; place-items: center; min-width: 18px; height: 18px; border-radius: 9px; border: 1px solid var(--border-strong); font-size: var(--fs-11); font-variant-numeric: tabular-nums; }
.flow-list li[data-optional="1"] .flow-name { font-style: italic; }
.flow-list li[data-state="done"] { color: var(--green-text); font-weight: 600; }
.flow-list li[data-state="done"] .flow-num { border-color: var(--green-text); }
.flow-list li[data-state="current"] { color: var(--link); font-weight: 700; }
.flow-list li[data-state="current"] .flow-num { border-color: var(--link); background: var(--primary-soft); }
.flow-line { display: none; margin: 0; font-size: var(--fs-12); font-weight: 700; color: var(--link); }

/* On the entry page the steps stand above the card. */
.entry-main > .flow { width: 100%; max-width: 424px; }

/* Narrow screens: one line, "2 / 4 Check camera and microphone". The list stays for assistive technology. */
@media (max-width: 900px) {
  .flow-list { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .flow-line { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
