/* Hide the +/- control column by default (desktop) */
.dt-table.dataTable > thead > tr > th.dtr-control,
.dt-table.dataTable > tbody > tr > td.dtr-control {
    display: none;
}

/* Show it only on tablet/mobile screens */
@media (max-width: 991.98px) {
    .dt-table.dataTable > thead > tr > th.dtr-control,
    .dt-table.dataTable > tbody > tr > td.dtr-control {
        display: table-cell;
        width: 30px;
    }

    .dt-table.dataTable > tbody > tr > td.dtr-control {
        position: relative;
        cursor: pointer;
    }

    .dt-table.dataTable > tbody > tr > td.dtr-control::before {
        content: '+' !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        line-height: 1;
        font-size: 16px;
        font-weight: 600;
        color: #fff !important;
        background-color: #405189;
        border-radius: 50%;
        box-shadow: 0 0 3px rgba(0,0,0,.2);
    }

    .dt-table.dataTable > tbody > tr.dtr-expanded > td.dtr-control::before {
        content: '−';
        background-color: #f06548;
    }
}







/* Expanded detail row styling (only relevant on mobile anyway) */
table.dataTable > tbody > tr.child ul.dtr-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

table.dataTable > tbody > tr.child ul.dtr-details > li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
}

table.dataTable > tbody > tr.child ul.dtr-details > li:last-child {
    border-bottom: none;
}

table.dataTable > tbody > tr.child span.dtr-title {
    font-weight: 600;
    display: inline-block;
    min-width: 100px;
    color: #405189;
}


.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #aaa !important;
    border-radius: 7px !important;
    height: 40px !important;
    padding: 5px;
}

.h-5{
        width: 20px;
}


.dataTables_length {
    display: block !important;
    margin-bottom: 15px;
}

.dataTables_length label {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.dataTables_length select {
    width: auto !important;
    min-width: 80px;
}




.toggle-switch{
    position:relative;
    display:inline-block;
    width:52px;
    height:28px;
}

.toggle-switch input{
    opacity:0;
    width:0;
    height:0;
    position:absolute;
}

.slider{
    position:absolute;
    inset:0;
    cursor:pointer;
    background:#fff;
    border:2px solid #28a745;
    border-radius:30px;
    transition:.3s;
}

.slider:before{
    content:"✓";
    position:absolute;
    width:20px;
    height:20px;
    left:2px;
    top:2px;
    background:#28a745;
    color:#fff;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:12px;
    font-weight:700;
    transition:.3s;
}

.toggle-switch input:checked + .slider:before{
    transform:translateX(24px);
}

.toggle-switch input:not(:checked) + .slider{
    border-color:#adb5bd;
}

.toggle-switch input:not(:checked) + .slider:before{
    background:#adb5bd;
    content:"";
}



@media only screen and (max-width:1065px) {
 .cv-50{
    float:left;
    width:100%; margin-top: 15px;}   
 .d-flex{display: inline !important;}   
}




