body {
    background-color: #f8f9fa;
}
.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.table th, .table td {
    vertical-align: middle;
    padding: 0.5rem;
}
.select2-container .select2-selection--single {
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
}
.nav-tabs .nav-link {
    font-weight: 500;
    color: #495057;
}
.nav-tabs .nav-link.active {
    color: #0d6efd;
    border-bottom-color: #0d6efd;
}
textarea#description {
    resize: vertical;
    min-height: 100px;
}
.form-select-sm {
    width: 120px;
}
.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}
@media (max-width: 768px) {
    .table {
        font-size: 0.85rem;
    }
    .table th, .table td {
        padding: 0.3rem;
    }
    .form-select-sm {
        width: 100px;
        font-size: 0.75rem;
    }
    .btn-sm {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    .col-who, .col-what, .col-status {
        display: table-cell;
    }
    .col-datetime, .col-completed, .col-actions {
        display: none;
    }
    .table-responsive {
        -webkit-overflow-scrolling: touch;
    }
}
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    .table {
        display: block;
        overflow-x: auto;
    }
    .table thead {
        display: none;
    }
    .table tbody {
        display: inline-block;
    }
    .table tbody tr {
        min-width: 100%;
        display: inline-block;
        margin-bottom: 1rem;
        border-bottom: 1px solid #dee2e6;
        padding: 0.5rem;
        background: #fff;
        border-radius: 5px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    .table tbody td {
        padding: 1em;
        display: block;
        text-align: left;
        padding: 0.3rem 0;
        border: none;
    }
    .table tbody td:before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        /*width: 100px;*/
        margin-right: 10px;
    }
    .col-status .badge {
        margin-top: 0.3rem;
    }
    .form-select-sm {
        width: 100%;
    }
}