﻿/* ============================================================
   CREATE EVENT WIZARD — Step track layout only.
   All other elements (buttons, inputs, cards) use platform
   styles (wa-button, form-control, WaCard, PfSwitch, etc.)
   ============================================================ */

/* STEP TRACK ------------------------------------------------- */
.cew-track {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.75rem;
}

.cew-track-line {
    position: absolute;
    top: 24px;
    left: 48px;
    right: 48px;
    height: 3px;
    background: #e8ddd0;
    border-radius: 999px;
    z-index: 0;
}

.cew-track-fill {
    height: 100%;
    background: var(--wa-color-yellow-80);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* Step pill divs */
.cew-step-pill {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    user-select: none;
}

.cew-step-pill.locked {
    cursor: default;
    opacity: 0.45;
    pointer-events: none;
}

.cew-pill-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: #fff;
    border: 2px solid #e8ddd0;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.cew-pill-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #bbb;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Active step — use the wa-button yellow palette */
.cew-step-pill.active .cew-pill-icon {
    background: var(--wa-color-yellow-80);
    border: 2px solid #26314f;
    box-shadow: 0 0.25rem 0 0 #26314f;
    transform: scale(1.1);
}

.cew-step-pill.active .cew-pill-label {
    color: var(--wa-color-yellow-60);
}

/* Completed step */
.cew-step-pill.done .cew-pill-icon {
    background: #d1fae5;
    border-color: #059669;
    color: #059669;
}

.cew-step-pill.done .cew-pill-label {
    color: #059669;
}

/* Hover on navigable non-active steps */
.cew-step-pill:not(.active):not(.locked):hover .cew-pill-icon {
    border-color: var(--wa-color-yellow-80);
    box-shadow: 0 0 0 2px var(--wa-color-yellow-90);
}

/* STEP EMOJI ------------------------------------------------- */
.cew-step-emoji {
    font-size: 2.5rem;
    display: block;
    line-height: 1;
}

/* VISIBILITY INFO BOX --------------------------------------- */
.cew-vis-info {
    background: #fafafa;
    text-align: center;
}