/* ===== DATATABLES COMPONENT STYLES ===== */

.dataTables_wrapper .form-select-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    width: 100%;
    max-width: 120px;
}

.dataTables_wrapper th {
    vertical-align: top;
    padding: 8px !important;
}

.table-filters {
    background-color: #f8f9fa;
}

/* Child Rows Controls */
.dt-control {
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcgMUw3IDEzTTEgN0wxMyA3IiBzdHJva2U9IiM2QzY5NzIiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K') no-repeat center center;
    cursor: pointer;
    width: 18px;
    height: 18px;
    border: none;
    background-color: transparent;
}

.dt-control.details-open {
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEgN0wxMyA3IiBzdHJva2U9IiM2QzY5NzIiIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K') no-repeat center center;
}

/* Child Details Styling */
.child-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 3px solid #0d6efd;
    margin: 5px 0;
}

.child-details .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    border-bottom: 1px solid #dee2e6;
}

.child-details .detail-row:last-child {
    border-bottom: none;
}

.child-details .detail-label {
    font-weight: bold;
    color: #495057;
    width: 40%;
}

.child-details .detail-value {
    color: #212529;
    width: 60%;
    text-align: right;
}

.child-details .highlight-value {
    background-color: #fff3cd;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: bold;
}