/* Responsive Table Styles */
.table-responsive {
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 767px) {
    .table-responsive {
        border: 0;
        margin-bottom: 0;
    }
    
    .table {
        margin-bottom: 0;
    }
    
    .table thead {
        display: none;
    }
    
    .table tbody {
        display: block;
        width: 100%;
    }
    
    .table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 0.5rem;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .table td {
        display: block;
        text-align: right;
        padding: 0.75rem;
        border: none;
        position: relative;
        padding-left: 50%;
    }
    
    .table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 1rem;
        font-weight: 600;
        text-align: left;
        color: #495057;
    }
    
    .table td:last-child {
        text-align: center;
        padding-left: 0.75rem;
    }
    
    .table td:last-child:before {
        display: none;
    }
    
    /* Action buttons styling */
    .table td:last-child .btn {
        margin: 0.25rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Additional responsive utilities */
@media screen and (max-width: 575px) {
    .table td {
        padding-left: 40%;
    }
    
    .table td:before {
        width: 35%;
    }
    
    .table td:last-child {
        padding-left: 0.5rem;
    }
} 