
/* MAGIC 1XTRA CREATE LISTING FINAL V1 */
/* Presentation only. All wizard steps preserved. */

html body #app.app-shell #page.page > section.mx-wizard {
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    max-width:860px!important;
    min-width:0!important;
    margin:0 auto!important;
    padding:16px 20px 100px!important;
    color:#f8fafc;
}

/* HEADER: FIX BROKEN TITLE */

html body #app #page .mx-wizard .mx-wiz-head {
    display:grid!important;
    grid-template-columns:40px minmax(0,1fr) auto!important;
    align-items:center!important;
    justify-content:normal!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    height:auto!important;
    margin:0 0 22px!important;
    padding:0 0 15px!important;
    border-bottom:1px solid #263548;
}

html body #app #page .mx-wiz-head > div {
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
}

html body #app #page .mx-wiz-head h1 {
    display:block!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    font-size:25px!important;
    line-height:1.3!important;
    letter-spacing:-.4px!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
}

html body #app #page .mx-wiz-close {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    margin:0!important;
    padding:0!important;
    background:#122031!important;
    border:1px solid #293b50!important;
    border-radius:50%!important;
    color:white!important;
    font-size:24px!important;
    text-decoration:none!important;
}

/* CLEAR BUTTON */

html body #app #page .mx-wiz-clear {
    width:auto!important;
    min-width:0!important;
    min-height:36px!important;
    margin:0!important;
    padding:8px 13px!important;
    color:#ff438e!important;
    background:transparent!important;
    border:1px solid #512039!important;
    border-radius:8px!important;
    font-size:13px!important;
    white-space:nowrap!important;
}

/* COMPACT FIVE-STEP PROGRESS */

html body #app #page .mx-wiz-progress {
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    align-items:start!important;
    width:100%!important;
    max-width:650px!important;
    min-width:0!important;
    gap:0!important;
    margin:0 auto 26px!important;
    padding:6px 0!important;
}

html body #app #page .mx-wiz-step {
    box-sizing:border-box!important;
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:flex-start!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    gap:7px!important;
    padding:0!important;
    margin:0!important;
}

html body #app #page .mx-wiz-step::before {
    content:none!important;
}

html body #app #page .mx-wiz-step:not(:last-child)::after {
    content:''!important;
    position:absolute!important;
    top:17px!important;
    left:calc(50% + 21px)!important;
    width:calc(100% - 42px)!important;
    height:2px!important;
    background:#2b3d50!important;
    margin:0!important;
}

html body #app #page .mx-wiz-step > span {
    box-sizing:border-box!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:36px!important;
    height:36px!important;
    min-width:36px!important;
    min-height:36px!important;
    border-radius:50%!important;
    font-size:13px!important;
    font-weight:700!important;
    background:#142231!important;
    border:1px solid #34465a!important;
    color:#b5c3d2!important;
    z-index:1;
}

html body #app #page .mx-wiz-step.active > span,
html body #app #page .mx-wiz-step.done > span {
    background:#ff0069!important;
    border-color:#ff0069!important;
    color:#fff!important;
}

html body #app #page .mx-wiz-step.done::after {
    background:#ff0069!important;
}

html body #app #page .mx-wiz-step > small {
    display:block!important;
    width:100%!important;
    min-width:0!important;
    font-size:11px!important;
    line-height:1.4!important;
    text-align:center!important;
    white-space:nowrap!important;
    color:#a1b0c2!important;
}

html body #app #page .mx-wiz-step.active > small {
    color:#fff!important;
}

/* ALL FIVE WIZARD SCREENS */

html body #app #page .mx-wiz-screen {
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:20px!important;
    border:1px solid #263548!important;
    border-radius:14px!important;
    background:#0e1927!important;
}

html body #app #page .mx-wiz-screen > h2 {
    font-size:21px!important;
    line-height:1.3!important;
    margin:0 0 7px!important;
    letter-spacing:-.2px!important;
}

html body #app #page .mx-wiz-lead {
    font-size:13px!important;
    line-height:1.5!important;
    color:#a9b9cd!important;
    margin:0 0 18px!important;
}

/* DYNAMIC LISTING TYPE CARDS */

html body #app #page .mx-wiz-choice-grid {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    min-width:0!important;
    gap:12px!important;
}

html body #app #page .mx-wiz-choice {
    box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:42px minmax(0,1fr) 16px!important;
    align-items:center!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:76px!important;
    height:auto!important;
    gap:10px!important;
    margin:0!important;
    padding:12px!important;
    text-align:left!important;
    border:1px solid #2a3b50!important;
    background:#142131!important;
    border-radius:10px!important;
    cursor:pointer;
}

html body #app #page .mx-wiz-choice.selected {
    border-color:#ff0069!important;
    background:#261628!important;
}

html body #app #page .mx-wiz-choice .ico {
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    height:40px!important;
    min-width:0!important;
    font-size:23px!important;
}

html body #app #page .mx-wiz-choice > div {
    width:100%!important;
    min-width:0!important;
}

html body #app #page .mx-wiz-choice b {
    display:block!important;
    font-size:14px!important;
    line-height:1.4!important;
    color:#fff!important;
}

html body #app #page .mx-wiz-choice small {
    display:block!important;
    margin-top:4px!important;
    font-size:11px!important;
    line-height:1.45!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    color:#a9b9cc!important;
}

html body #app #page .mx-wiz-choice > strong {
    font-size:20px!important;
    color:#a9b9cc!important;
}

/* DETAILS AND DYNAMIC FORM FIELDS */

html body #app #page .mx-wiz-screen
:is(input,select,textarea) {
    box-sizing:border-box!important;
    max-width:100%!important;
    min-width:0!important;
    font-size:14px!important;
}

html body #app #page .mx-wiz-screen
:is(input:not([type=checkbox]):not([type=radio]):not([type=range]),select) {
    min-height:44px!important;
}

html body #app #page .mx-wiz-screen textarea {
    min-height:100px;
}

html body #app #page .mx-wiz-screen img {
    max-width:100%!important;
}

/* EXISTING BACK / NEXT / PUBLISH ACTIONS */

html body #app #page .mx-wiz-actions {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    flex-wrap:wrap!important;
    width:100%!important;
    gap:12px!important;
    margin:20px 0 0!important;
    padding:15px 0 0!important;
    border-top:1px solid #29384b!important;
}

html body #app #page .mx-wiz-actions .btn {
    box-sizing:border-box!important;
    width:auto!important;
    min-width:120px!important;
    max-width:100%!important;
    min-height:44px!important;
    border-radius:9px!important;
    font-size:14px!important;
}

html body #app #page .mx-wiz-next {
    background:#ff0069!important;
    color:#fff!important;
}

html body #app #page .mx-wiz-next:disabled {
    opacity:.45!important;
    cursor:not-allowed!important;
}

/* MOBILE */

@media(max-width:700px) {

    html body #app.app-shell #page.page > section.mx-wizard {
        max-width:100%!important;
        padding:10px 8px 100px!important;
    }

    html body #app #page .mx-wizard .mx-wiz-head {
        grid-template-columns:34px minmax(0,1fr) auto!important;
        gap:9px!important;
        margin-bottom:14px!important;
        padding-bottom:12px!important;
    }

    html body #app #page .mx-wiz-head h1 {
        font-size:20px!important;
    }

    html body #app #page .mx-wiz-close {
        width:34px!important;
        min-width:34px!important;
        height:34px!important;
    }

    html body #app #page .mx-wiz-progress {
        margin-bottom:16px!important;
    }

    html body #app #page .mx-wiz-step > span {
        width:30px!important;
        height:30px!important;
        min-width:30px!important;
        min-height:30px!important;
        font-size:12px!important;
    }

    html body #app #page .mx-wiz-step:not(:last-child)::after {
        top:14px!important;
        left:calc(50% + 18px)!important;
        width:calc(100% - 36px)!important;
    }

    html body #app #page .mx-wiz-step > small {
        font-size:10px!important;
    }

    html body #app #page .mx-wiz-screen {
        padding:14px!important;
    }

    html body #app #page .mx-wiz-screen > h2 {
        font-size:19px!important;
    }

    html body #app #page .mx-wiz-choice-grid {
        grid-template-columns:minmax(0,1fr)!important;
        gap:9px!important;
    }

    html body #app #page .mx-wiz-choice {
        min-height:68px!important;
        padding:10px!important;
    }

    html body #app #page .mx-wiz-screen
    :is(input,select,textarea) {
        font-size:16px!important;
    }

    html body #app #page .mx-wiz-actions .btn {
        flex:1 1 100px!important;
        min-width:0!important;
    }
}

@media(max-width:360px) {
    html body #app #page .mx-wiz-step > small {
        font-size:9px!important;
    }
}
