.step { display: none; }

.step-form-box {
    max-width: 380px;
    margin: auto;
    padding: 24px;
}

label {
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

input, select {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

#prevBtn {
    background: #6c757d;
}

#nextBtn {
    background: linear-gradient(135deg, #007bff, #0056d2);
}

/* MOBILE FULL SCREEN */
@media (max-width: 768px) {

    body {
        background: linear-gradient(135deg, #4ad7b8, #f2a65a);
        min-height: 100vh;
        margin: 0;
    }

    .step-form-box {
        height: 60vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    form {
        background: #fff;
        width: 100%;
        padding: 28px;
        border-radius: 18px;
    }

    .step::before {
        content: attr(data-title);
        display: block;
        font-size: 24px;
        font-weight: 700;
        text-align: center;
        margin-bottom: 10px;
    }
}

/* ---------- GLOBAL STEP IMAGE ---------- */
.step-image {
    margin-bottom: 18px;
    text-align: center;
}

.step-image img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 14px;
}

/* Optional: make image sticky on mobile */
@media (max-width: 768px) {
    .step-image {
        position: sticky;
        top: 0;
        z-index: 2;
    }
}

