@media (max-width: 640px) {
    #site-header {
        display: none !important;
    }
    #site-footer {
        display: none !important;
    }
    #manage_bookings {
        width: 90% !important;
    }
    .menu2 {
        flex-direction: column !important;
    }
    .menu2 > li > a,
    .menu2 > li > label {
        font-size: 1.25rem !important;
        padding: 0.9375rem !important;
    }
    
    .vc_col-sm-10 {
        width: 85% !important;
    }
    .vc_col-sm-2 {
        width: 15% !important;
    }
    .booking_info_style_update {
        float: left !important;
        width: 90% !important;
    }

    /* Make the .table-striped container a flex container in row direction */
    .table-striped {
        display: flex !important;
        flex-direction: row !important;
    }
    
    /* Both thead and tbody take 50% of the table's width and stack their rows vertically */
    .table-striped thead,
    .table-striped tbody {
        width: 50% !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* Each row (tr) within thead and tbody is displayed as a column */
    .table-striped thead tr,
    .table-striped tbody tr {
        display: flex !important;
        flex-direction: column !important;
        border: 1px solid #ddd !important;  /* Optional: visual separation */
        margin-bottom: 1rem !important;
        padding: 0.5rem !important;
        min-height: 50px !important; /* Fixed minimum height for each row */
    }

    /* Ensure header cells (<th>) and data cells (<td>) span full width,
       include box-sizing, allow equal growth, and maintain a minimum height */
    .table-striped thead th,
    .table-striped tbody td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        flex: 1 !important; /* Let them grow equally if needed */
        min-height: 50px !important; /* Fixed minimum height for each cell */
    }

    /* For empty td cells, insert a non-breaking space so they still occupy space */
    .table-striped tbody td:empty::after {
        content: "\00a0" !important;
    }
}