/* Step-by-Step CSS for Tablet & Mobile Only */
@media (max-width: 1024px) {
    #createRepairPage .repair-form-layout {
        display: block !important;
        position: relative;
    }

    /* ซ่อน Panel ทั้งหมดก่อน */
    #createRepairPage .repair-panel {
        display: none !important;
        animation: fadeInStep 0.3s ease;
    }

    /* โชว์เฉพาะ Panel ที่มีคลาส active */
    #createRepairPage .repair-panel.active {
        display: block !important;
    }

    /* สไตล์สำหรับปุ่มนำทางด้านล่าง */
    .step-navigation {
        display: flex;
        justify-content: space-between;
        gap: 10px;
        margin-top: 20px;
        padding: 15px;
        background: #f8fafc;
        border-radius: 15px;
        border: 1px solid #e2e8f0;
    }

    .step-navigation button {
        flex: 1;
        min-height: 48px;
        font-weight: 800;
        border-radius: 999px;
    }

    /* แถบบอกสถานะ Step ด้านบน */
    .step-indicator {
        display: flex;
        justify-content: space-around;
        margin-bottom: 20px;
        padding: 10px;
        background: #0f172a;
        border-radius: 999px;
    }

    .step-item {
        color: #64748b;
        font-size: 14px;
        font-weight: 800;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .step-item.active {
        color: #ffffff;
    }

    .step-item.active .step-num {
        background: #0ea5e9;
        color: white;
    }

    .step-num {
        width: 24px;
        height: 24px;
        background: #334155;
        border-radius: 50%;
        display: inline-grid;
        place-items: center;
        font-size: 12px;
    }

    @keyframes fadeInStep {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

/* บน Desktop ให้ซ่อนตัวช่วย Step ทิ้งไป */
@media (min-width: 1025px) {
    .step-navigation, .step-indicator {
        display: none !important;
    }
}
