/* hax-tour.css — Site Help guided-tour carousel (GuidedTourDialog).
   Dark-theme, mobile-first. Centered card: icon medallion + headline + optional body + bullets,
   progress dots, and an actions row. Lime accent via --mud-palette-primary. No JS. */

/* Hide MudDialog's default title bar — the per-card headline is the title. */
.hax-tour-dialog .mud-dialog-title {
    display: none;
}

.hax-tour-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 8px 4px 4px;
    min-height: 240px;
}

/* Icon medallion */
.hax-tour-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background-color: rgba(163, 230, 53, 0.12); /* lime tint */
    margin-bottom: 4px;
}

.hax-tour-icon-glyph {
    width: 48px;
    height: 48px;
    color: var(--mud-palette-primary);
}

.hax-tour-icon-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.hax-tour-headline {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
}

.hax-tour-body {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Bullets — left-aligned, custom lime dots, full width of the card */
.hax-tour-bullets {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    text-align: left;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hax-tour-bullets li {
    position: relative;
    padding-left: 22px;
    font-size: 0.95rem;
    line-height: 1.35;
}

.hax-tour-bullets li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--mud-palette-primary);
}

/* Ordered variant — sequential steps render as green, slightly-larger numbers instead of dots
   (e.g. the "Your first match, in three moves" card). */
.hax-tour-bullets--ordered {
    counter-reset: hax-tour-step;
}

.hax-tour-bullets--ordered li {
    padding-left: 26px;
    counter-increment: hax-tour-step;
}

.hax-tour-bullets--ordered li::before {
    content: counter(hax-tour-step) ".";
    /* Override the dot: a green number, slightly larger than the bullet text. */
    left: 0;
    top: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    color: var(--mud-palette-primary);
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.2;
}

/* Progress dots */
.hax-tour-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hax-tour-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.25);
    transition: background-color 0.2s ease;
}

.hax-tour-dot.is-active {
    background-color: var(--mud-palette-primary);
}

/* Actions row: Skip on the left, Back + Next/Let's-go on the right */
.hax-tour-actions {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}
