/* =========================================================
   GTKZ — STEP 3 WORKSPACE OWNER
   ========================================================= */

/* Make simulator content own its layout cleanly */
.simulator-grid {
    display: block !important;
}

/* Step 3 heading block */
.gtkz-step3-block {
    margin-top: 18px !important;
    width: 100% !important;
}

.gtkz-step3-heading {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 12px 0 !important;
    color: #ffffff !important;
}

.gtkz-step3-number {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #08111f !important;
    background: linear-gradient(180deg, #48d6ff, #1d8fff) !important;
    box-shadow: 0 0 16px rgba(52,168,255,.35) !important;
}

.gtkz-step3-title-wrap {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.gtkz-step3-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    letter-spacing: .01em !important;
    color: #ffffff !important;
}

.gtkz-step3-subtitle {
    font-size: 13px !important;
    color: #5dd0ff !important;
    letter-spacing: .03em !important;
}

/* THIS is the main row you asked for */
.gtkz-step3-stage {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 170px 250px !important;
    gap: 18px !important;
    align-items: start !important;
    width: 100% !important;
}

/* left = simulator */
.gtkz-preview-col {
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
}

.gtkz-preview-col .sim-screen {
    width: 100% !important;
    min-height: 430px !important;
    height: 430px !important;
    max-height: none !important;
}

.gtkz-preview-col .deploy-button {
    width: 100% !important;
    min-height: 56px !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
}

/* middle = remote */
.gtkz-step3-stage .remote {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 170px !important;
    height: 430px !important;
    min-height: 430px !important;
    margin: 0 auto !important;
    align-self: start !important;
}

/* right = activity/status cards */
.gtkz-step3-side {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    align-content: start !important;
}

.gtkz-step3-side .panel,
.gtkz-step3-side .card,
.gtkz-step3-side > div {
    width: 100% !important;
    min-width: 0 !important;
}

/* kill inner junk scrollbars inside the workspace pieces */
.gtkz-step3-stage,
.gtkz-preview-col,
.gtkz-step3-side,
.gtkz-preview-col .sim-screen {
    overflow: visible !important;
}

/* stacked fallback only on smaller widths */
@media (max-width: 1350px) {
    .gtkz-step3-stage {
        grid-template-columns: 1fr !important;
    }

    .gtkz-step3-stage .remote {
        max-width: 180px !important;
        margin: 0 auto !important;
    }
}


/* =========================================================
   GTKZ — STEP 3 PLAYER WIDER / EVERYTHING VISIBLE
   ========================================================= */

@media (min-width: 901px) {

    /* Give the player the majority of the workspace */
    .gtkz-step3-stage {
        grid-template-columns:
            minmax(0, 1fr)
            155px
            245px !important;

        gap:
            14px !important;

        width:
            100% !important;
    }


    /* -----------------------------------------------------
       LIVE TV SIMULATOR
       ----------------------------------------------------- */

    .gtkz-preview-col {
        width:
            100% !important;

        max-width:
            none !important;

        min-width:
            0 !important;
    }


    .gtkz-preview-col .sim-screen {
        width:
            100% !important;

        max-width:
            none !important;

        min-width:
            0 !important;

        height:
            auto !important;

        min-height:
            0 !important;

        aspect-ratio:
            16 / 9 !important;
    }


    /* Make the player visually larger */
    .gtkz-preview-col .sim-screen {
        min-height:
            390px !important;
    }


    /* Launch button follows player width */
    .gtkz-preview-col .deploy-button,
    .gtkz-preview-col #deploy-selected {
        width:
            100% !important;

        max-width:
            none !important;

        min-height:
            44px !important;

        font-size:
            13px !important;
    }


    /* -----------------------------------------------------
       FACTORY REMOTE
       Narrower so player gets more room
       ----------------------------------------------------- */

    .gtkz-step3-stage .remote,
    .gtkz-step3-stage .gtkz-dynamic-control {
        width:
            155px !important;

        min-width:
            155px !important;

        max-width:
            155px !important;

        height:
            390px !important;

        min-height:
            390px !important;
    }


    /* -----------------------------------------------------
       ACTIVITY / STATUS
       Keep readable but compact
       ----------------------------------------------------- */

    .gtkz-step3-side {
        width:
            245px !important;

        min-width:
            245px !important;

        max-width:
            245px !important;

        gap:
            12px !important;
    }


    .gtkz-step3-side .panel {
        width:
            100% !important;

        padding:
            11px 12px !important;
    }


    .gtkz-step3-side .panel-title {
        font-size:
            13px !important;
    }


    .gtkz-step3-side .activity-row,
    .gtkz-step3-side .status-row {
        min-height:
            27px !important;

        font-size:
            9px !important;
    }
}


/* =========================================================
   LARGE DESKTOP
   Let player expand even more
   ========================================================= */

@media (min-width: 1500px) {

    .gtkz-step3-stage {
        grid-template-columns:
            minmax(0, 1fr)
            160px
            250px !important;

        gap:
            16px !important;
    }


    .gtkz-preview-col .sim-screen {
        min-height:
            420px !important;
    }


    .gtkz-step3-stage .remote,
    .gtkz-step3-stage .gtkz-dynamic-control {
        width:
            160px !important;

        min-width:
            160px !important;

        max-width:
            160px !important;

        height:
            420px !important;

        min-height:
            420px !important;
    }


    .gtkz-step3-side {
        width:
            250px !important;

        min-width:
            250px !important;

        max-width:
            250px !important;
    }
}





/* GTKZ FORGE — APPROVED SIMULATOR LAYOUT */

.simulator-grid > div.gtkz-step3-block {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: none !important;
    margin: 18px 0 0 !important;
    padding: 0 !important;
}

@media (min-width: 901px) {
    .simulator-grid > div.gtkz-step3-block
    > .gtkz-step3-stage {
        grid-template-columns:
            minmax(0, 620px)
            155px
            minmax(0, 1fr) !important;
    }
}

/* END APPROVED SIMULATOR LAYOUT */
