.hide-button-search {
    display: none;
}

@media screen and (max-width: 768px) {

    table {
        width: 100%;
        margin-top: 10px;
        table-layout: auto;
    }

    thead {
        display: none;
    }

    tbody tr, tfoot tr {
        background: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        display: flex;
        flex-direction: column;
        gap: 12px;
        transition: all 0.2s ease-in-out;
    }

    tbody td, tfoot td {
        display: flex;
        text-align: start;
        justify-content: start;
        float: right;
        gap: 15px;
        font-size: 0.8rem;
    }

    tbody td:before, tfoot td:before {
        content: attr(data-th);
        text-align: start;
        font-weight: bold;
        float: left;
    }

    tbody td.reminder-actions:before, tfoot td.reminder-actions:before  {
        content: none !important;
    }

    tbody td.vehicle-actions:before, tfoot td.vehicle-actions:before {
        content: none !important;
    }

    tbody td.vehicle-actions .btn-group, tfoot td.vehicle-actions .btn-group{
        flex-direction: row !important;
    }

    [data-th=Actions]:before, .no-label:before {
        content: none !important;
    }

    [data-th=Actions] {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

    [data-th=Actions] > .btn-group {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 100%;
        align-self: center;
    }

    [data-th=Actions] > .btn-group > button,
    [data-th=Actions] > .btn-group > a {
        width: 100%;
        box-sizing: border-box;
    }


    [data-th=Actions] > .btn-group > form {
        display: block;
        width: 100%;
    }

    [data-th=Actions] > .btn-group > form > button {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    [data-th=Actions] > .btn-group > button {
        width: 100%;
    }

    [data-th=Actions] > .btn-group > a,
    [data-th=Actions] > .btn-group > form > a {
        width: 100%;
    }

    tfoot.create td:before, tbody.create td:before{
        content: attr(data-label);
        font-weight: bold;
        display: block;
        margin-bottom: 0.3rem;
        color: #555;
    }

    tfoot.create td, tbody.create td {
        display: block;
        width: 100%;
    }

    .show-filters {
        display: none;
    }

    .ribbon-box {
        width: 40%;
    }

    span.badge.bg-secondary {
        white-space: normal;
    }

    .hide-button-search {
        display: block;
    }

    .upcoming-scheduled {
        top: 0 !important;
    }

    audio {
        width: 100%;
    }

    .hide-responsive {
        display: none !important;
    }
    .action-buttons{
        display: block;
    }
}
